diff --git a/README.md b/README.md index eeef5af..16fd13e 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,26 @@ -# Digital.ai Release SDK +# Digital.ai Release Python SDK -The Digital.ai Release Python SDK (digitalai-release-sdk) is a set of tools that developers can use to create container-based tasks. +The **Digital.ai Release Python SDK** (`digitalai-release-sdk`) provides a set of tools for developers to create container-based integration with Digital.ai Release. It simplifies integration creation by offering built-in functions to interact with the execution environment. + +## Features +- Define custom tasks using the `BaseTask` abstract class. +- Easily manage input and output properties. +- Interact with the Digital.ai Release environment seamlessly. +- Simplified API client for efficient communication with Release API. -Developers can use the `BaseTask` abstract class as a starting point to define their custom tasks and take advantage of the other methods and attributes provided by the SDK to interact with the task execution environment. ## Installation +Install the SDK using `pip`: -```shell script +```sh pip install digitalai-release-sdk ``` -## Task Example: hello.py + +## Getting Started + +### Example Task: `hello.py` + +The following example demonstrates how to create a simple task using the SDK: ```python from digitalai.release.integration import BaseTask @@ -17,22 +28,41 @@ from digitalai.release.integration import BaseTask class Hello(BaseTask): def execute(self) -> None: - # Get the name from the input - name = self.input_properties['yourName'] + name = self.input_properties.get('yourName') if not name: raise ValueError("The 'yourName' field cannot be empty") - # Create greeting + # Create greeting message greeting = f"Hello {name}" # Add greeting to the task's comment section in the UI self.add_comment(greeting) - # Put greeting in the output of the task + # Store greeting as an output property self.set_output_property('greeting', greeting) +``` + +## Changelog +### Version 25.1.0 + +#### 🚨 Breaking Changes +- **Removed `get_default_api_client()`** from the `BaseTask` class. +- **Removed `digitalai.release.v1` package**, which contained OpenAPI-generated stubs for Release API functions. + - These stubs were difficult to use and had several non-functioning methods. + - A new, simplified API client replaces them for better usability and reliability. + - The removed package will be released as a separate library in the future. + +#### ✨ New Features +- **Introduced `get_release_api_client()`** in the `BaseTask` class as a replacement for `get_default_api_client()`. +- **New `ReleaseAPIClient` class** for simplified API interactions. + - Functions in `ReleaseAPIClient` take an **endpoint URL** and **body as a dictionary**, making API calls more intuitive and easier to work with. + +#### 🔧 Changes & Improvements +- **Updated minimum Python version requirement to 3.8**. +- **Updated dependency versions** to enhance compatibility and security. +- **Bundled `requests` library** to ensure seamless HTTP request handling. - ``` +--- +**For more details, visit the [official documentation](https://docs.digital.ai/release/docs/category/python-sdk).** -## Documentation -Read more about Digital.ai Release Python SDK [here](https://digital.ai/) \ No newline at end of file diff --git a/digitalai/release/integration/base_task.py b/digitalai/release/integration/base_task.py index 7229a75..e4606be 100644 --- a/digitalai/release/integration/base_task.py +++ b/digitalai/release/integration/base_task.py @@ -3,13 +3,10 @@ from abc import ABC, abstractmethod from typing import Any, Dict -from digitalai.release.v1.configuration import Configuration - -from digitalai.release.v1.api_client import ApiClient - -from .input_context import AutomatedTaskAsUserContext, ReleaseContext +from .input_context import AutomatedTaskAsUserContext from .output_context import OutputContext from .exceptions import AbortException +from digitalai.release.release_api_client import ReleaseAPIClient logger = logging.getLogger("Digitalai") @@ -18,6 +15,14 @@ class BaseTask(ABC): """ An abstract base class representing a task that can be executed. """ + + def __init__(self): + self.task_id = None + self.release_context = None + self.release_server_url = None + self.input_properties = None + self.output_context = None + def execute_task(self) -> None: """ Executes the task by calling the execute method. If an AbortException is raised during execution, @@ -30,8 +35,8 @@ def execute_task(self) -> None: except AbortException: logger.debug("Abort requested") self.set_exit_code(1) - sys.exit(1) self.set_error_message("Abort requested") + sys.exit(1) except Exception as e: logger.error("Unexpected error occurred.", exc_info=True) self.set_exit_code(1) @@ -130,21 +135,6 @@ def get_task_user(self) -> AutomatedTaskAsUserContext: """ return self.release_context.automated_task_as_user - def get_default_api_client(self) -> ApiClient: - """ - Returns an ApiClient object with default configuration based on the task. - """ - if not all([self.get_release_server_url(), self.get_task_user().username, self.get_task_user().password]): - raise ValueError("Cannot connect to Release API without server URL, username, or password. " - "Make sure that the 'Run as user' property is set on the release.") - - configuration = Configuration( - host=self.get_release_server_url(), - username=self.get_task_user().username, - password=self.get_task_user().password) - - return ApiClient(configuration) - def get_release_id(self) -> str: """ Returns the Release ID of the task @@ -157,5 +147,28 @@ def get_task_id(self) -> str: """ return self.task_id + def get_release_api_client(self) -> ReleaseAPIClient: + """ + Returns a ReleaseAPIClient object with default configuration based on the task. + """ + self._validate_api_credentials() + return ReleaseAPIClient(self.get_release_server_url(), + self.get_task_user().username, + self.get_task_user().password) + + def _validate_api_credentials(self) -> None: + """ + Validates that the necessary credentials are available for connecting to the Release API. + """ + if not all([ + self.get_release_server_url(), + self.get_task_user().username, + self.get_task_user().password + ]): + raise ValueError( + "Cannot connect to Release API without server URL, username, or password. " + "Make sure that the 'Run as user' property is set on the release." + ) + diff --git a/digitalai/release/release_api_client.py b/digitalai/release/release_api_client.py new file mode 100644 index 0000000..8969057 --- /dev/null +++ b/digitalai/release/release_api_client.py @@ -0,0 +1,96 @@ +import requests + + +class ReleaseAPIClient: + """ + A client for interacting with the Release API. + Supports authentication via username/password or personal access token. + """ + + def __init__(self, server_address, username=None, password=None, personal_access_token=None, **kwargs): + """ + Initializes the API client. + + :param server_address: Base URL of the Release API server. + :param username: Optional username for basic authentication. + :param password: Optional password for basic authentication. + :param personal_access_token: Optional personal access token for authentication. + :param kwargs: Additional session parameters (e.g., headers, timeout). + """ + if not server_address: + raise ValueError("server_address must not be empty.") + + self.server_address = server_address.rstrip('/') # Remove trailing slash if present + self.session = requests.Session() + self.session.headers.update({"Accept": "application/json"}) + + # Set authentication method + if username and password: + self.session.auth = (username, password) + elif personal_access_token: + self.session.headers.update({"x-release-personal-token": personal_access_token}) + else: + raise ValueError("Either username and password or a personal access token must be provided.") + + # Apply additional session configurations + for key, value in kwargs.items(): + if key == 'headers': + self.session.headers.update(value) # Merge custom headers + elif hasattr(self.session, key) and key != 'auth': # Skip 'auth' key + setattr(self.session, key, value) + + def _request(self, method, endpoint, params=None, json=None, data=None, **kwargs): + """ + Internal method to send an HTTP request. + + :param method: HTTP method (GET, POST, PUT, DELETE, PATCH). + :param endpoint: API endpoint (relative path). + :param params: Optional query parameters. + :param json: Optional JSON payload. + :param data: Optional raw data payload. + :param kwargs: Additional request options. + :return: Response object. + """ + if not endpoint: + raise ValueError("Endpoint must not be empty.") + + kwargs.pop('auth', None) # Remove 'auth' key if present to avoid conflicts + url = f"{self.server_address}/{endpoint.lstrip('/')}" # Construct full URL + + response = self.session.request( + method, url, params=params, data=data, json=json, **kwargs + ) + + return response + + def get(self, endpoint, params=None, **kwargs): + """Sends a GET request to the specified endpoint.""" + return self._request("GET", endpoint, params=params, **kwargs) + + def post(self, endpoint, json=None, data=None, **kwargs): + """Sends a POST request to the specified endpoint.""" + return self._request("POST", endpoint, data=data, json=json, **kwargs) + + def put(self, endpoint, json=None, data=None, **kwargs): + """Sends a PUT request to the specified endpoint.""" + return self._request("PUT", endpoint, data=data, json=json, **kwargs) + + def delete(self, endpoint, params=None, **kwargs): + """Sends a DELETE request to the specified endpoint.""" + return self._request("DELETE", endpoint, params=params, **kwargs) + + def patch(self, endpoint, json=None, data=None, **kwargs): + """Sends a PATCH request to the specified endpoint.""" + return self._request("PATCH", endpoint, data=data, json=json, **kwargs) + + def close(self): + """Closes the session.""" + self.session.close() + + def __enter__(self): + """Enables the use of 'with' statements for automatic resource management.""" + return self + + def __exit__(self, exc_type, exc_value, traceback): + """Ensures the session is closed when exiting a 'with' block.""" + self.close() \ No newline at end of file diff --git a/digitalai/release/v1/README.md b/digitalai/release/v1/README.md deleted file mode 100644 index 3491498..0000000 --- a/digitalai/release/v1/README.md +++ /dev/null @@ -1,527 +0,0 @@ -# digitalai.release.v1 -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: v1 -- Package version: 1.0.0 -- Build package: org.openapitools.codegen.languages.PythonClientCodegen - -## Requirements. - -Python >=3.6 - -## Installation & Usage -### pip install - -If the python package is hosted on a repository, you can install directly using: - -```sh -pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git -``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) - -Then import the package: -```python -import digitalai.release.v1 -``` - -### Setuptools - -Install via [Setuptools](http://pypi.python.org/pypi/setuptools). - -```sh -python setup.py install --user -``` -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: -```python -import digitalai.release.v1 -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python - -import time -import digitalai.release.v1 -from pprint import pprint -from digitalai.release.v1.api import activity_logs_api -from digitalai.release.v1.model.activity_log_entry import ActivityLogEntry -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = activity_logs_api.ActivityLogsApi(api_client) - container_id = "jUR,rZ#UM/?R,Fp^l6$ARj/Release*" # str | - - try: - api_response = api_instance.get_activity_logs(container_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ActivityLogsApi->get_activity_logs: %s\n" % e) -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost:5516* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ActivityLogsApi* | [**get_activity_logs**](docs/ActivityLogsApi.md#get_activity_logs) | **GET** /api/v1/activities/{containerId} | -*ApplicationApi* | [**create_application**](docs/ApplicationApi.md#create_application) | **POST** /api/v1/applications | -*ApplicationApi* | [**delete_application**](docs/ApplicationApi.md#delete_application) | **DELETE** /api/v1/applications/{applicationId} | -*ApplicationApi* | [**get_application**](docs/ApplicationApi.md#get_application) | **GET** /api/v1/applications/{applicationId} | -*ApplicationApi* | [**search_applications**](docs/ApplicationApi.md#search_applications) | **POST** /api/v1/applications/search | -*ApplicationApi* | [**update_application**](docs/ApplicationApi.md#update_application) | **PUT** /api/v1/applications/{applicationId} | -*ConfigurationApi* | [**add_configuration**](docs/ConfigurationApi.md#add_configuration) | **POST** /api/v1/config | -*ConfigurationApi* | [**add_global_variable**](docs/ConfigurationApi.md#add_global_variable) | **POST** /api/v1/config/Configuration/variables/global | -*ConfigurationApi* | [**check_status**](docs/ConfigurationApi.md#check_status) | **POST** /api/v1/config/status | -*ConfigurationApi* | [**check_status1**](docs/ConfigurationApi.md#check_status1) | **POST** /api/v1/config/{configurationId}/status | -*ConfigurationApi* | [**delete_configuration**](docs/ConfigurationApi.md#delete_configuration) | **DELETE** /api/v1/config/{configurationId} | -*ConfigurationApi* | [**delete_global_variable**](docs/ConfigurationApi.md#delete_global_variable) | **DELETE** /api/v1/config/{variableId} | -*ConfigurationApi* | [**get_configuration**](docs/ConfigurationApi.md#get_configuration) | **GET** /api/v1/config/{configurationId} | -*ConfigurationApi* | [**get_global_variable**](docs/ConfigurationApi.md#get_global_variable) | **GET** /api/v1/config/{variableId} | -*ConfigurationApi* | [**get_global_variable_values**](docs/ConfigurationApi.md#get_global_variable_values) | **GET** /api/v1/config/Configuration/variableValues/global | -*ConfigurationApi* | [**get_global_variables**](docs/ConfigurationApi.md#get_global_variables) | **GET** /api/v1/config/Configuration/variables/global | -*ConfigurationApi* | [**get_system_message**](docs/ConfigurationApi.md#get_system_message) | **GET** /api/v1/config/system-message | -*ConfigurationApi* | [**search_by_type_and_title**](docs/ConfigurationApi.md#search_by_type_and_title) | **GET** /api/v1/config/byTypeAndTitle | -*ConfigurationApi* | [**update_configuration**](docs/ConfigurationApi.md#update_configuration) | **PUT** /api/v1/config/{configurationId} | -*ConfigurationApi* | [**update_global_variable**](docs/ConfigurationApi.md#update_global_variable) | **PUT** /api/v1/config/{variableId} | -*ConfigurationApi* | [**update_system_message**](docs/ConfigurationApi.md#update_system_message) | **PUT** /api/v1/config/system-message | -*DeliveryApi* | [**complete_stage**](docs/DeliveryApi.md#complete_stage) | **POST** /api/v1/deliveries/{stageId}/complete | -*DeliveryApi* | [**complete_tracked_item**](docs/DeliveryApi.md#complete_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/complete | -*DeliveryApi* | [**complete_transition**](docs/DeliveryApi.md#complete_transition) | **POST** /api/v1/deliveries/{transitionId}/complete | -*DeliveryApi* | [**create_tracked_item_in_delivery**](docs/DeliveryApi.md#create_tracked_item_in_delivery) | **POST** /api/v1/deliveries/{deliveryId}/tracked-items | -*DeliveryApi* | [**delete_delivery**](docs/DeliveryApi.md#delete_delivery) | **DELETE** /api/v1/deliveries/{deliveryId} | -*DeliveryApi* | [**delete_tracked_item_delivery**](docs/DeliveryApi.md#delete_tracked_item_delivery) | **DELETE** /api/v1/deliveries/{itemId} | -*DeliveryApi* | [**descope_tracked_item**](docs/DeliveryApi.md#descope_tracked_item) | **PUT** /api/v1/deliveries/{itemId}/descope | -*DeliveryApi* | [**get_delivery**](docs/DeliveryApi.md#get_delivery) | **GET** /api/v1/deliveries/{deliveryId} | -*DeliveryApi* | [**get_delivery_timeline**](docs/DeliveryApi.md#get_delivery_timeline) | **GET** /api/v1/deliveries/{deliveryId}/timeline | -*DeliveryApi* | [**get_releases_for_delivery**](docs/DeliveryApi.md#get_releases_for_delivery) | **GET** /api/v1/deliveries/{deliveryId}/releases | -*DeliveryApi* | [**get_stages_in_delivery**](docs/DeliveryApi.md#get_stages_in_delivery) | **GET** /api/v1/deliveries/{deliveryId}/stages | -*DeliveryApi* | [**get_tracked_itemsin_delivery**](docs/DeliveryApi.md#get_tracked_itemsin_delivery) | **GET** /api/v1/deliveries/{deliveryId}/tracked-items | -*DeliveryApi* | [**reopen_stage**](docs/DeliveryApi.md#reopen_stage) | **POST** /api/v1/deliveries/{stageId}/reopen | -*DeliveryApi* | [**rescope_tracked_item**](docs/DeliveryApi.md#rescope_tracked_item) | **PUT** /api/v1/deliveries/{itemId}/rescope | -*DeliveryApi* | [**reset_tracked_item**](docs/DeliveryApi.md#reset_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/reset | -*DeliveryApi* | [**search_deliveries**](docs/DeliveryApi.md#search_deliveries) | **POST** /api/v1/deliveries/search | -*DeliveryApi* | [**skip_tracked_item**](docs/DeliveryApi.md#skip_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/skip | -*DeliveryApi* | [**update_delivery**](docs/DeliveryApi.md#update_delivery) | **PUT** /api/v1/deliveries/{deliveryId} | -*DeliveryApi* | [**update_stage_in_delivery**](docs/DeliveryApi.md#update_stage_in_delivery) | **PUT** /api/v1/deliveries/{stageId} | -*DeliveryApi* | [**update_tracked_item_in_delivery**](docs/DeliveryApi.md#update_tracked_item_in_delivery) | **PUT** /api/v1/deliveries/{itemId} | -*DeliveryApi* | [**update_transition_in_delivery**](docs/DeliveryApi.md#update_transition_in_delivery) | **PUT** /api/v1/deliveries/{transitionId} | -*DeliveryPatternApi* | [**check_title**](docs/DeliveryPatternApi.md#check_title) | **POST** /api/v1/delivery-patterns/checkTitle | -*DeliveryPatternApi* | [**create_delivery_from_pattern**](docs/DeliveryPatternApi.md#create_delivery_from_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/create | -*DeliveryPatternApi* | [**create_pattern**](docs/DeliveryPatternApi.md#create_pattern) | **POST** /api/v1/delivery-patterns | -*DeliveryPatternApi* | [**create_stage**](docs/DeliveryPatternApi.md#create_stage) | **POST** /api/v1/delivery-patterns/{patternId}/createStage | -*DeliveryPatternApi* | [**create_stage1**](docs/DeliveryPatternApi.md#create_stage1) | **POST** /api/v1/delivery-patterns/{patternId}/stages | -*DeliveryPatternApi* | [**create_stage2**](docs/DeliveryPatternApi.md#create_stage2) | **POST** /api/v1/delivery-patterns/{patternId}/stages/{position} | -*DeliveryPatternApi* | [**create_tracked_item_in_pattern**](docs/DeliveryPatternApi.md#create_tracked_item_in_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/tracked-items | -*DeliveryPatternApi* | [**create_transition**](docs/DeliveryPatternApi.md#create_transition) | **POST** /api/v1/delivery-patterns/{stageId}/transitions | -*DeliveryPatternApi* | [**delete_pattern**](docs/DeliveryPatternApi.md#delete_pattern) | **DELETE** /api/v1/delivery-patterns/{patternId} | -*DeliveryPatternApi* | [**delete_stage**](docs/DeliveryPatternApi.md#delete_stage) | **DELETE** /api/v1/delivery-patterns/{stageId} | -*DeliveryPatternApi* | [**delete_tracked_item_delivery_pattern**](docs/DeliveryPatternApi.md#delete_tracked_item_delivery_pattern) | **DELETE** /api/v1/delivery-patterns/{itemId} | -*DeliveryPatternApi* | [**delete_transition**](docs/DeliveryPatternApi.md#delete_transition) | **DELETE** /api/v1/delivery-patterns/{transitionId} | -*DeliveryPatternApi* | [**duplicate_pattern**](docs/DeliveryPatternApi.md#duplicate_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/duplicate | -*DeliveryPatternApi* | [**get_pattern**](docs/DeliveryPatternApi.md#get_pattern) | **GET** /api/v1/delivery-patterns/{patternId} | -*DeliveryPatternApi* | [**get_pattern_by_id_or_title**](docs/DeliveryPatternApi.md#get_pattern_by_id_or_title) | **GET** /api/v1/delivery-patterns/{patternIdOrTitle} | -*DeliveryPatternApi* | [**get_stages_in_pattern**](docs/DeliveryPatternApi.md#get_stages_in_pattern) | **GET** /api/v1/delivery-patterns/{patternId}/stages | -*DeliveryPatternApi* | [**get_tracked_items_in_pattern**](docs/DeliveryPatternApi.md#get_tracked_items_in_pattern) | **GET** /api/v1/delivery-patterns/{patternId}/tracked-items | -*DeliveryPatternApi* | [**search_patterns**](docs/DeliveryPatternApi.md#search_patterns) | **POST** /api/v1/delivery-patterns/search | -*DeliveryPatternApi* | [**update_pattern**](docs/DeliveryPatternApi.md#update_pattern) | **PUT** /api/v1/delivery-patterns/{patternId} | -*DeliveryPatternApi* | [**update_stage_from_batch**](docs/DeliveryPatternApi.md#update_stage_from_batch) | **PUT** /api/v1/delivery-patterns/{stageId}/batched | -*DeliveryPatternApi* | [**update_stage_in_pattern**](docs/DeliveryPatternApi.md#update_stage_in_pattern) | **PUT** /api/v1/delivery-patterns/{stageId} | -*DeliveryPatternApi* | [**update_tracked_item_in_pattern**](docs/DeliveryPatternApi.md#update_tracked_item_in_pattern) | **PUT** /api/v1/delivery-patterns/{itemId} | -*DeliveryPatternApi* | [**update_transition_in_pattern**](docs/DeliveryPatternApi.md#update_transition_in_pattern) | **PUT** /api/v1/delivery-patterns/{transitionId} | -*DslApi* | [**export_template_to_x_file**](docs/DslApi.md#export_template_to_x_file) | **GET** /api/v1/dsl/export/{templateId} | -*DslApi* | [**preview_export_template_to_x_file**](docs/DslApi.md#preview_export_template_to_x_file) | **GET** /api/v1/dsl/preview/{templateId} | -*EnvironmentApi* | [**create_environment**](docs/EnvironmentApi.md#create_environment) | **POST** /api/v1/environments | -*EnvironmentApi* | [**delete_environment**](docs/EnvironmentApi.md#delete_environment) | **DELETE** /api/v1/environments/{environmentId} | -*EnvironmentApi* | [**get_deployable_applications_for_environment**](docs/EnvironmentApi.md#get_deployable_applications_for_environment) | **GET** /api/v1/environments/{environmentId}/applications | -*EnvironmentApi* | [**get_environment**](docs/EnvironmentApi.md#get_environment) | **GET** /api/v1/environments/{environmentId} | -*EnvironmentApi* | [**get_reservations_for_environment**](docs/EnvironmentApi.md#get_reservations_for_environment) | **GET** /api/v1/environments/{environmentId}/reservations | -*EnvironmentApi* | [**search_environments**](docs/EnvironmentApi.md#search_environments) | **POST** /api/v1/environments/search | -*EnvironmentApi* | [**update_environment**](docs/EnvironmentApi.md#update_environment) | **PUT** /api/v1/environments/{environmentId} | -*EnvironmentLabelApi* | [**create_label**](docs/EnvironmentLabelApi.md#create_label) | **POST** /api/v1/environments/labels | -*EnvironmentLabelApi* | [**delete_environment_label**](docs/EnvironmentLabelApi.md#delete_environment_label) | **DELETE** /api/v1/environments/labels/{environmentLabelId} | -*EnvironmentLabelApi* | [**get_label_by_id**](docs/EnvironmentLabelApi.md#get_label_by_id) | **GET** /api/v1/environments/labels/{environmentLabelId} | -*EnvironmentLabelApi* | [**search_labels**](docs/EnvironmentLabelApi.md#search_labels) | **POST** /api/v1/environments/labels/search | -*EnvironmentLabelApi* | [**update_label**](docs/EnvironmentLabelApi.md#update_label) | **PUT** /api/v1/environments/labels/{environmentLabelId} | -*EnvironmentReservationApi* | [**add_application**](docs/EnvironmentReservationApi.md#add_application) | **POST** /api/v1/environments/reservations/{environmentReservationId} | -*EnvironmentReservationApi* | [**create_reservation**](docs/EnvironmentReservationApi.md#create_reservation) | **POST** /api/v1/environments/reservations | -*EnvironmentReservationApi* | [**delete_environment_reservation**](docs/EnvironmentReservationApi.md#delete_environment_reservation) | **DELETE** /api/v1/environments/reservations/{environmentReservationId} | -*EnvironmentReservationApi* | [**get_reservation**](docs/EnvironmentReservationApi.md#get_reservation) | **GET** /api/v1/environments/reservations/{environmentReservationId} | -*EnvironmentReservationApi* | [**search_reservations**](docs/EnvironmentReservationApi.md#search_reservations) | **POST** /api/v1/environments/reservations/search | -*EnvironmentReservationApi* | [**update_reservation**](docs/EnvironmentReservationApi.md#update_reservation) | **PUT** /api/v1/environments/reservations/{environmentReservationId} | -*EnvironmentStageApi* | [**create_stage3**](docs/EnvironmentStageApi.md#create_stage3) | **POST** /api/v1/environments/stages | -*EnvironmentStageApi* | [**delete_environment_stage**](docs/EnvironmentStageApi.md#delete_environment_stage) | **DELETE** /api/v1/environments/stages/{environmentStageId} | -*EnvironmentStageApi* | [**get_stage_by_id**](docs/EnvironmentStageApi.md#get_stage_by_id) | **GET** /api/v1/environments/stages/{environmentStageId} | -*EnvironmentStageApi* | [**search_stages**](docs/EnvironmentStageApi.md#search_stages) | **POST** /api/v1/environments/stages/search | -*EnvironmentStageApi* | [**update_stage_in_environment**](docs/EnvironmentStageApi.md#update_stage_in_environment) | **PUT** /api/v1/environments/stages/{environmentStageId} | -*FacetApi* | [**create_facet**](docs/FacetApi.md#create_facet) | **POST** /api/v1/facets | -*FacetApi* | [**delete_facet**](docs/FacetApi.md#delete_facet) | **DELETE** /api/v1/facets/{facetId} | -*FacetApi* | [**get_facet**](docs/FacetApi.md#get_facet) | **GET** /api/v1/facets/{facetId} | -*FacetApi* | [**get_facet_types**](docs/FacetApi.md#get_facet_types) | **GET** /api/v1/facets/types | -*FacetApi* | [**search_facets**](docs/FacetApi.md#search_facets) | **POST** /api/v1/facets/search | -*FacetApi* | [**update_facet**](docs/FacetApi.md#update_facet) | **PUT** /api/v1/facets/{facetId} | -*FolderApi* | [**add_folder**](docs/FolderApi.md#add_folder) | **POST** /api/v1/folders/{folderId} | -*FolderApi* | [**create_folder_variable**](docs/FolderApi.md#create_folder_variable) | **POST** /api/v1/folders/{folderId}/variables | -*FolderApi* | [**delete_folder**](docs/FolderApi.md#delete_folder) | **DELETE** /api/v1/folders/{folderId} | -*FolderApi* | [**delete_folder_variable**](docs/FolderApi.md#delete_folder_variable) | **DELETE** /api/v1/folders/{folderId}/{variableId} | -*FolderApi* | [**find**](docs/FolderApi.md#find) | **GET** /api/v1/folders/find | -*FolderApi* | [**get_folder**](docs/FolderApi.md#get_folder) | **GET** /api/v1/folders/{folderId} | -*FolderApi* | [**get_folder_permissions**](docs/FolderApi.md#get_folder_permissions) | **GET** /api/v1/folders/permissions | -*FolderApi* | [**get_folder_teams**](docs/FolderApi.md#get_folder_teams) | **GET** /api/v1/folders/{folderId}/teams | -*FolderApi* | [**get_folder_templates**](docs/FolderApi.md#get_folder_templates) | **GET** /api/v1/folders/{folderId}/templates | -*FolderApi* | [**get_folder_variable**](docs/FolderApi.md#get_folder_variable) | **GET** /api/v1/folders/{folderId}/{variableId} | -*FolderApi* | [**is_folder_owner**](docs/FolderApi.md#is_folder_owner) | **GET** /api/v1/folders/{folderId}/folderOwner | -*FolderApi* | [**list**](docs/FolderApi.md#list) | **GET** /api/v1/folders/{folderId}/list | -*FolderApi* | [**list_root**](docs/FolderApi.md#list_root) | **GET** /api/v1/folders/list | -*FolderApi* | [**list_variable_values**](docs/FolderApi.md#list_variable_values) | **GET** /api/v1/folders/{folderId}/variableValues | -*FolderApi* | [**list_variables**](docs/FolderApi.md#list_variables) | **GET** /api/v1/folders/{folderId}/variables | -*FolderApi* | [**move**](docs/FolderApi.md#move) | **POST** /api/v1/folders/{folderId}/move | -*FolderApi* | [**move_template**](docs/FolderApi.md#move_template) | **POST** /api/v1/folders/{folderId}/templates/{templateId} | -*FolderApi* | [**rename_folder**](docs/FolderApi.md#rename_folder) | **POST** /api/v1/folders/{folderId}/rename | -*FolderApi* | [**search_releases_folder**](docs/FolderApi.md#search_releases_folder) | **POST** /api/v1/folders/{folderId}/releases | -*FolderApi* | [**set_folder_teams**](docs/FolderApi.md#set_folder_teams) | **POST** /api/v1/folders/{folderId}/teams | -*FolderApi* | [**update_folder_variable**](docs/FolderApi.md#update_folder_variable) | **PUT** /api/v1/folders/{folderId}/{variableId} | -*PermissionsApi* | [**get_global_permissions**](docs/PermissionsApi.md#get_global_permissions) | **GET** /api/v1/global-permissions | -*PhaseApi* | [**add_phase**](docs/PhaseApi.md#add_phase) | **POST** /api/v1/phases/{releaseId}/phase | -*PhaseApi* | [**add_task_to_container**](docs/PhaseApi.md#add_task_to_container) | **POST** /api/v1/phases/{containerId}/tasks | -*PhaseApi* | [**copy_phase**](docs/PhaseApi.md#copy_phase) | **POST** /api/v1/phases/{phaseId}/copy | -*PhaseApi* | [**delete_phase**](docs/PhaseApi.md#delete_phase) | **DELETE** /api/v1/phases/{phaseId} | -*PhaseApi* | [**get_phase**](docs/PhaseApi.md#get_phase) | **GET** /api/v1/phases/{phaseId} | -*PhaseApi* | [**search_phases**](docs/PhaseApi.md#search_phases) | **GET** /api/v1/phases/search | -*PhaseApi* | [**search_phases_by_title**](docs/PhaseApi.md#search_phases_by_title) | **GET** /api/v1/phases/byTitle | -*PhaseApi* | [**update_phase**](docs/PhaseApi.md#update_phase) | **PUT** /api/v1/phases/{phaseId} | -*PlannerApi* | [**get_active_releases**](docs/PlannerApi.md#get_active_releases) | **GET** /api/v1/analytics/planner/active | -*PlannerApi* | [**get_completed_releases**](docs/PlannerApi.md#get_completed_releases) | **GET** /api/v1/analytics/planner/completed | -*PlannerApi* | [**get_releases_by_ids**](docs/PlannerApi.md#get_releases_by_ids) | **POST** /api/v1/analytics/planner/byIds | -*ReleaseApi* | [**abort**](docs/ReleaseApi.md#abort) | **POST** /api/v1/releases/{releaseId}/abort | -*ReleaseApi* | [**count_releases**](docs/ReleaseApi.md#count_releases) | **POST** /api/v1/releases/count | -*ReleaseApi* | [**create_release_variable**](docs/ReleaseApi.md#create_release_variable) | **POST** /api/v1/releases/{releaseId}/variables | -*ReleaseApi* | [**delete_release**](docs/ReleaseApi.md#delete_release) | **DELETE** /api/v1/releases/{releaseId} | -*ReleaseApi* | [**delete_release_variable**](docs/ReleaseApi.md#delete_release_variable) | **DELETE** /api/v1/releases/{variableId} | -*ReleaseApi* | [**download_attachment**](docs/ReleaseApi.md#download_attachment) | **GET** /api/v1/releases/attachments/{attachmentId} | -*ReleaseApi* | [**full_search_releases**](docs/ReleaseApi.md#full_search_releases) | **POST** /api/v1/releases/fullSearch | -*ReleaseApi* | [**get_active_tasks**](docs/ReleaseApi.md#get_active_tasks) | **GET** /api/v1/releases/{releaseId}/active-tasks | -*ReleaseApi* | [**get_archived_release**](docs/ReleaseApi.md#get_archived_release) | **GET** /api/v1/releases/archived/{releaseId} | -*ReleaseApi* | [**get_possible_release_variable_values**](docs/ReleaseApi.md#get_possible_release_variable_values) | **GET** /api/v1/releases/{variableId}/possibleValues | -*ReleaseApi* | [**get_release**](docs/ReleaseApi.md#get_release) | **GET** /api/v1/releases/{releaseId} | -*ReleaseApi* | [**get_release_permissions**](docs/ReleaseApi.md#get_release_permissions) | **GET** /api/v1/releases/permissions | -*ReleaseApi* | [**get_release_teams**](docs/ReleaseApi.md#get_release_teams) | **GET** /api/v1/releases/{releaseId}/teams | -*ReleaseApi* | [**get_release_variable**](docs/ReleaseApi.md#get_release_variable) | **GET** /api/v1/releases/{variableId} | -*ReleaseApi* | [**get_release_variables**](docs/ReleaseApi.md#get_release_variables) | **GET** /api/v1/releases/{releaseId}/variables | -*ReleaseApi* | [**get_releases**](docs/ReleaseApi.md#get_releases) | **GET** /api/v1/releases | -*ReleaseApi* | [**get_variable_values**](docs/ReleaseApi.md#get_variable_values) | **GET** /api/v1/releases/{releaseId}/variableValues | -*ReleaseApi* | [**is_variable_used_release**](docs/ReleaseApi.md#is_variable_used_release) | **GET** /api/v1/releases/{variableId}/used | -*ReleaseApi* | [**replace_release_variables**](docs/ReleaseApi.md#replace_release_variables) | **POST** /api/v1/releases/{variableId}/replace | -*ReleaseApi* | [**restart_phases**](docs/ReleaseApi.md#restart_phases) | **POST** /api/v1/releases/{releaseId}/restart | -*ReleaseApi* | [**resume**](docs/ReleaseApi.md#resume) | **POST** /api/v1/releases/{releaseId}/resume | -*ReleaseApi* | [**search_releases_by_title**](docs/ReleaseApi.md#search_releases_by_title) | **GET** /api/v1/releases/byTitle | -*ReleaseApi* | [**search_releases_release**](docs/ReleaseApi.md#search_releases_release) | **POST** /api/v1/releases/search | -*ReleaseApi* | [**set_release_teams**](docs/ReleaseApi.md#set_release_teams) | **POST** /api/v1/releases/{releaseId}/teams | -*ReleaseApi* | [**start_release**](docs/ReleaseApi.md#start_release) | **POST** /api/v1/releases/{releaseId}/start | -*ReleaseApi* | [**update_release**](docs/ReleaseApi.md#update_release) | **PUT** /api/v1/releases/{releaseId} | -*ReleaseApi* | [**update_release_variable**](docs/ReleaseApi.md#update_release_variable) | **PUT** /api/v1/releases/{variableId} | -*ReleaseApi* | [**update_release_variables**](docs/ReleaseApi.md#update_release_variables) | **PUT** /api/v1/releases/{releaseId}/variables | -*ReleaseGroupApi* | [**add_members_to_group**](docs/ReleaseGroupApi.md#add_members_to_group) | **POST** /api/v1/release-groups/{groupId}/members | -*ReleaseGroupApi* | [**create_group**](docs/ReleaseGroupApi.md#create_group) | **POST** /api/v1/release-groups | -*ReleaseGroupApi* | [**delete_group**](docs/ReleaseGroupApi.md#delete_group) | **DELETE** /api/v1/release-groups/{groupId} | -*ReleaseGroupApi* | [**get_group**](docs/ReleaseGroupApi.md#get_group) | **GET** /api/v1/release-groups/{groupId} | -*ReleaseGroupApi* | [**get_members**](docs/ReleaseGroupApi.md#get_members) | **GET** /api/v1/release-groups/{groupId}/members | -*ReleaseGroupApi* | [**get_release_group_timeline**](docs/ReleaseGroupApi.md#get_release_group_timeline) | **GET** /api/v1/release-groups/{groupId}/timeline | -*ReleaseGroupApi* | [**remove_members_from_group**](docs/ReleaseGroupApi.md#remove_members_from_group) | **DELETE** /api/v1/release-groups/{groupId}/members | -*ReleaseGroupApi* | [**search_groups**](docs/ReleaseGroupApi.md#search_groups) | **POST** /api/v1/release-groups/search | -*ReleaseGroupApi* | [**update_group**](docs/ReleaseGroupApi.md#update_group) | **PUT** /api/v1/release-groups/{groupId} | -*ReportApi* | [**download_release_report**](docs/ReportApi.md#download_release_report) | **GET** /api/v1/reports/download/{reportType}/{releaseId} | -*ReportApi* | [**get_records_for_release**](docs/ReportApi.md#get_records_for_release) | **GET** /api/v1/reports/records/{releaseId} | -*ReportApi* | [**get_records_for_task**](docs/ReportApi.md#get_records_for_task) | **GET** /api/v1/reports/records/{taskId} | -*ReportApi* | [**search_records**](docs/ReportApi.md#search_records) | **POST** /api/v1/reports/records/search | -*RiskApi* | [**copy_risk_profile**](docs/RiskApi.md#copy_risk_profile) | **POST** /api/v1/risks/profiles/{riskProfileId}/copy | -*RiskApi* | [**create_risk_profile**](docs/RiskApi.md#create_risk_profile) | **POST** /api/v1/risks/profiles | -*RiskApi* | [**delete_risk_profile**](docs/RiskApi.md#delete_risk_profile) | **DELETE** /api/v1/risks/profiles/{riskProfileId} | -*RiskApi* | [**get_all_risk_assessors**](docs/RiskApi.md#get_all_risk_assessors) | **GET** /api/v1/risks/assessors | -*RiskApi* | [**get_risk**](docs/RiskApi.md#get_risk) | **GET** /api/v1/risks/{riskId} | -*RiskApi* | [**get_risk_global_thresholds**](docs/RiskApi.md#get_risk_global_thresholds) | **GET** /api/v1/risks/config | -*RiskApi* | [**get_risk_profile**](docs/RiskApi.md#get_risk_profile) | **GET** /api/v1/risks/profiles/{riskProfileId} | -*RiskApi* | [**get_risk_profiles**](docs/RiskApi.md#get_risk_profiles) | **GET** /api/v1/risks/profiles | -*RiskApi* | [**update_risk_global_thresholds**](docs/RiskApi.md#update_risk_global_thresholds) | **PUT** /api/v1/risks/config | -*RiskApi* | [**update_risk_profile**](docs/RiskApi.md#update_risk_profile) | **PUT** /api/v1/risks/profiles/{riskProfileId} | -*RiskAssessmentApi* | [**get_assessment**](docs/RiskAssessmentApi.md#get_assessment) | **GET** /api/v1/risks/assessments/{riskAssessmentId} | -*RolesApi* | [**create_roles**](docs/RolesApi.md#create_roles) | **POST** /api/v1/roles | -*RolesApi* | [**create_roles1**](docs/RolesApi.md#create_roles1) | **POST** /api/v1/roles/{roleName} | -*RolesApi* | [**delete_roles**](docs/RolesApi.md#delete_roles) | **DELETE** /api/v1/roles/{roleName} | -*RolesApi* | [**get_role**](docs/RolesApi.md#get_role) | **GET** /api/v1/roles/{roleName} | -*RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/v1/roles | -*RolesApi* | [**rename_roles**](docs/RolesApi.md#rename_roles) | **POST** /api/v1/roles/{roleName}/rename | -*RolesApi* | [**update_roles**](docs/RolesApi.md#update_roles) | **PUT** /api/v1/roles | -*RolesApi* | [**update_roles1**](docs/RolesApi.md#update_roles1) | **PUT** /api/v1/roles/{roleName} | -*TaskApi* | [**abort_task**](docs/TaskApi.md#abort_task) | **POST** /api/v1/tasks/{taskId}/abort | -*TaskApi* | [**add_attachments**](docs/TaskApi.md#add_attachments) | **POST** /api/v1/tasks/{taskId}/attachments | -*TaskApi* | [**add_condition**](docs/TaskApi.md#add_condition) | **POST** /api/v1/tasks/{taskId}/conditions | -*TaskApi* | [**add_dependency**](docs/TaskApi.md#add_dependency) | **POST** /api/v1/tasks/{taskId}/dependencies/{targetId} | -*TaskApi* | [**add_task_task**](docs/TaskApi.md#add_task_task) | **POST** /api/v1/tasks/{containerId}/tasks | -*TaskApi* | [**assign_task**](docs/TaskApi.md#assign_task) | **POST** /api/v1/tasks/{taskId}/assign/{username} | -*TaskApi* | [**change_task_type**](docs/TaskApi.md#change_task_type) | **POST** /api/v1/tasks/{taskId}/changeType | -*TaskApi* | [**comment_task**](docs/TaskApi.md#comment_task) | **POST** /api/v1/tasks/{taskId}/comment | -*TaskApi* | [**complete_task**](docs/TaskApi.md#complete_task) | **POST** /api/v1/tasks/{taskId}/complete | -*TaskApi* | [**copy_task**](docs/TaskApi.md#copy_task) | **POST** /api/v1/tasks/{taskId}/copy | -*TaskApi* | [**delete_attachment**](docs/TaskApi.md#delete_attachment) | **DELETE** /api/v1/tasks/{taskId}/attachments/{attachmentId} | -*TaskApi* | [**delete_condition**](docs/TaskApi.md#delete_condition) | **DELETE** /api/v1/tasks/{conditionId} | -*TaskApi* | [**delete_dependency**](docs/TaskApi.md#delete_dependency) | **DELETE** /api/v1/tasks/{dependencyId} | -*TaskApi* | [**delete_task**](docs/TaskApi.md#delete_task) | **DELETE** /api/v1/tasks/{taskId} | -*TaskApi* | [**fail_task**](docs/TaskApi.md#fail_task) | **POST** /api/v1/tasks/{taskId}/fail | -*TaskApi* | [**get_task**](docs/TaskApi.md#get_task) | **GET** /api/v1/tasks/{taskId} | -*TaskApi* | [**get_task_variables**](docs/TaskApi.md#get_task_variables) | **GET** /api/v1/tasks/{taskId}/variables | -*TaskApi* | [**lock_task**](docs/TaskApi.md#lock_task) | **PUT** /api/v1/tasks/{taskId}/lock | -*TaskApi* | [**reopen_task**](docs/TaskApi.md#reopen_task) | **POST** /api/v1/tasks/{taskId}/reopen | -*TaskApi* | [**retry_task**](docs/TaskApi.md#retry_task) | **POST** /api/v1/tasks/{taskId}/retry | -*TaskApi* | [**search_tasks_by_title**](docs/TaskApi.md#search_tasks_by_title) | **GET** /api/v1/tasks/byTitle | -*TaskApi* | [**skip_task**](docs/TaskApi.md#skip_task) | **POST** /api/v1/tasks/{taskId}/skip | -*TaskApi* | [**start_task**](docs/TaskApi.md#start_task) | **POST** /api/v1/tasks/{taskId}/start | -*TaskApi* | [**start_task1**](docs/TaskApi.md#start_task1) | **POST** /api/v1/tasks/{taskId}/startNow | -*TaskApi* | [**unlock_task**](docs/TaskApi.md#unlock_task) | **DELETE** /api/v1/tasks/{taskId}/lock | -*TaskApi* | [**update_condition**](docs/TaskApi.md#update_condition) | **POST** /api/v1/tasks/{conditionId} | -*TaskApi* | [**update_input_variables**](docs/TaskApi.md#update_input_variables) | **PUT** /api/v1/tasks/{taskId}/variables | -*TaskApi* | [**update_task**](docs/TaskApi.md#update_task) | **PUT** /api/v1/tasks/{taskId} | -*TemplateApi* | [**copy_template**](docs/TemplateApi.md#copy_template) | **POST** /api/v1/templates/{templateId}/copy | -*TemplateApi* | [**create_template**](docs/TemplateApi.md#create_template) | **POST** /api/v1/templates | -*TemplateApi* | [**create_template1**](docs/TemplateApi.md#create_template1) | **POST** /api/v1/templates/{templateId}/create | -*TemplateApi* | [**create_template_variable**](docs/TemplateApi.md#create_template_variable) | **POST** /api/v1/templates/{templateId}/variables | -*TemplateApi* | [**delete_template**](docs/TemplateApi.md#delete_template) | **DELETE** /api/v1/templates/{templateId} | -*TemplateApi* | [**delete_template_variable**](docs/TemplateApi.md#delete_template_variable) | **DELETE** /api/v1/templates/{variableId} | -*TemplateApi* | [**export_template_to_zip**](docs/TemplateApi.md#export_template_to_zip) | **GET** /api/v1/templates/zip/{templateId} | -*TemplateApi* | [**get_possible_template_variable_values**](docs/TemplateApi.md#get_possible_template_variable_values) | **GET** /api/v1/templates/{variableId}/possibleValues | -*TemplateApi* | [**get_template**](docs/TemplateApi.md#get_template) | **GET** /api/v1/templates/{templateId} | -*TemplateApi* | [**get_template_permissions**](docs/TemplateApi.md#get_template_permissions) | **GET** /api/v1/templates/permissions | -*TemplateApi* | [**get_template_teams**](docs/TemplateApi.md#get_template_teams) | **GET** /api/v1/templates/{templateId}/teams | -*TemplateApi* | [**get_template_variable**](docs/TemplateApi.md#get_template_variable) | **GET** /api/v1/templates/{variableId} | -*TemplateApi* | [**get_template_variables**](docs/TemplateApi.md#get_template_variables) | **GET** /api/v1/templates/{templateId}/variables | -*TemplateApi* | [**get_templates**](docs/TemplateApi.md#get_templates) | **GET** /api/v1/templates | -*TemplateApi* | [**import_template**](docs/TemplateApi.md#import_template) | **POST** /api/v1/templates/import | -*TemplateApi* | [**is_variable_used_template**](docs/TemplateApi.md#is_variable_used_template) | **GET** /api/v1/templates/{variableId}/used | -*TemplateApi* | [**replace_template_variables**](docs/TemplateApi.md#replace_template_variables) | **POST** /api/v1/templates/{variableId}/replace | -*TemplateApi* | [**set_template_teams**](docs/TemplateApi.md#set_template_teams) | **POST** /api/v1/templates/{templateId}/teams | -*TemplateApi* | [**start_template**](docs/TemplateApi.md#start_template) | **POST** /api/v1/templates/{templateId}/start | -*TemplateApi* | [**update_template**](docs/TemplateApi.md#update_template) | **PUT** /api/v1/templates/{templateId} | -*TemplateApi* | [**update_template_variable**](docs/TemplateApi.md#update_template_variable) | **PUT** /api/v1/templates/{variableId} | -*TemplateApi* | [**update_template_variables**](docs/TemplateApi.md#update_template_variables) | **PUT** /api/v1/templates/{releaseId}/variables | -*TriggersApi* | [**add_trigger**](docs/TriggersApi.md#add_trigger) | **POST** /api/v1/triggers | -*TriggersApi* | [**disable_all_triggers**](docs/TriggersApi.md#disable_all_triggers) | **POST** /api/v1/triggers/disable/all | -*TriggersApi* | [**disable_trigger**](docs/TriggersApi.md#disable_trigger) | **PUT** /api/v1/triggers/{triggerId}/disable | -*TriggersApi* | [**disable_triggers**](docs/TriggersApi.md#disable_triggers) | **POST** /api/v1/triggers/disable | -*TriggersApi* | [**enable_all_triggers**](docs/TriggersApi.md#enable_all_triggers) | **POST** /api/v1/triggers/enable/all | -*TriggersApi* | [**enable_trigger**](docs/TriggersApi.md#enable_trigger) | **PUT** /api/v1/triggers/{triggerId}/enable | -*TriggersApi* | [**enable_triggers**](docs/TriggersApi.md#enable_triggers) | **POST** /api/v1/triggers/enable | -*TriggersApi* | [**get_trigger**](docs/TriggersApi.md#get_trigger) | **GET** /api/v1/triggers/{triggerId} | -*TriggersApi* | [**get_types**](docs/TriggersApi.md#get_types) | **GET** /api/v1/triggers/types | -*TriggersApi* | [**remove_trigger**](docs/TriggersApi.md#remove_trigger) | **DELETE** /api/v1/triggers/{triggerId} | -*TriggersApi* | [**run_trigger**](docs/TriggersApi.md#run_trigger) | **POST** /api/v1/triggers/{triggerId}/run | -*TriggersApi* | [**search_triggers**](docs/TriggersApi.md#search_triggers) | **GET** /api/v1/triggers | -*TriggersApi* | [**update_trigger**](docs/TriggersApi.md#update_trigger) | **PUT** /api/v1/triggers/{triggerId} | -*UserApi* | [**create_user**](docs/UserApi.md#create_user) | **POST** /api/v1/users/{username} | -*UserApi* | [**delete_user_rest**](docs/UserApi.md#delete_user_rest) | **DELETE** /api/v1/users/{username} | -*UserApi* | [**find_users**](docs/UserApi.md#find_users) | **GET** /api/v1/users | -*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /api/v1/users/{username} | -*UserApi* | [**update_password**](docs/UserApi.md#update_password) | **POST** /api/v1/users/{username}/password | -*UserApi* | [**update_user**](docs/UserApi.md#update_user) | **PUT** /api/v1/users/{username} | -*UserApi* | [**update_users_rest**](docs/UserApi.md#update_users_rest) | **PUT** /api/v1/users | - - -## Documentation For Models - - - [AbortRelease](docs/AbortRelease.md) - - [ActivityLogEntry](docs/ActivityLogEntry.md) - - [ApplicationFilters](docs/ApplicationFilters.md) - - [ApplicationForm](docs/ApplicationForm.md) - - [ApplicationView](docs/ApplicationView.md) - - [Attachment](docs/Attachment.md) - - [BaseApplicationView](docs/BaseApplicationView.md) - - [BaseEnvironmentView](docs/BaseEnvironmentView.md) - - [BlackoutMetadata](docs/BlackoutMetadata.md) - - [BlackoutPeriod](docs/BlackoutPeriod.md) - - [BulkActionResultView](docs/BulkActionResultView.md) - - [ChangePasswordView](docs/ChangePasswordView.md) - - [CiProperty](docs/CiProperty.md) - - [Comment](docs/Comment.md) - - [Comment1](docs/Comment1.md) - - [CompleteTransition](docs/CompleteTransition.md) - - [Condition](docs/Condition.md) - - [Condition1](docs/Condition1.md) - - [ConfigurationFacet](docs/ConfigurationFacet.md) - - [ConfigurationView](docs/ConfigurationView.md) - - [CopyTemplate](docs/CopyTemplate.md) - - [CreateDelivery](docs/CreateDelivery.md) - - [CreateDeliveryStage](docs/CreateDeliveryStage.md) - - [CreateRelease](docs/CreateRelease.md) - - [Delivery](docs/Delivery.md) - - [DeliveryFilters](docs/DeliveryFilters.md) - - [DeliveryFlowReleaseInfo](docs/DeliveryFlowReleaseInfo.md) - - [DeliveryOrderMode](docs/DeliveryOrderMode.md) - - [DeliveryPatternFilters](docs/DeliveryPatternFilters.md) - - [DeliveryStatus](docs/DeliveryStatus.md) - - [DeliveryTimeline](docs/DeliveryTimeline.md) - - [Dependency](docs/Dependency.md) - - [DuplicateDeliveryPattern](docs/DuplicateDeliveryPattern.md) - - [EnvironmentFilters](docs/EnvironmentFilters.md) - - [EnvironmentForm](docs/EnvironmentForm.md) - - [EnvironmentLabelFilters](docs/EnvironmentLabelFilters.md) - - [EnvironmentLabelForm](docs/EnvironmentLabelForm.md) - - [EnvironmentLabelView](docs/EnvironmentLabelView.md) - - [EnvironmentReservationForm](docs/EnvironmentReservationForm.md) - - [EnvironmentReservationSearchView](docs/EnvironmentReservationSearchView.md) - - [EnvironmentReservationView](docs/EnvironmentReservationView.md) - - [EnvironmentStageFilters](docs/EnvironmentStageFilters.md) - - [EnvironmentStageForm](docs/EnvironmentStageForm.md) - - [EnvironmentStageView](docs/EnvironmentStageView.md) - - [EnvironmentView](docs/EnvironmentView.md) - - [ExternalVariableValue](docs/ExternalVariableValue.md) - - [Facet](docs/Facet.md) - - [FacetFilters](docs/FacetFilters.md) - - [FacetScope](docs/FacetScope.md) - - [FlagStatus](docs/FlagStatus.md) - - [Folder](docs/Folder.md) - - [FolderVariables](docs/FolderVariables.md) - - [GateCondition](docs/GateCondition.md) - - [GateTask](docs/GateTask.md) - - [GlobalVariables](docs/GlobalVariables.md) - - [ImportResult](docs/ImportResult.md) - - [MemberType](docs/MemberType.md) - - [ModelProperty](docs/ModelProperty.md) - - [Phase](docs/Phase.md) - - [PhaseStatus](docs/PhaseStatus.md) - - [PhaseTimeline](docs/PhaseTimeline.md) - - [PhaseVersion](docs/PhaseVersion.md) - - [PlanItem](docs/PlanItem.md) - - [PollType](docs/PollType.md) - - [PrincipalView](docs/PrincipalView.md) - - [ProjectedPhase](docs/ProjectedPhase.md) - - [ProjectedRelease](docs/ProjectedRelease.md) - - [ProjectedTask](docs/ProjectedTask.md) - - [Release](docs/Release.md) - - [ReleaseConfiguration](docs/ReleaseConfiguration.md) - - [ReleaseCountResult](docs/ReleaseCountResult.md) - - [ReleaseCountResults](docs/ReleaseCountResults.md) - - [ReleaseExtension](docs/ReleaseExtension.md) - - [ReleaseFullSearchResult](docs/ReleaseFullSearchResult.md) - - [ReleaseGroup](docs/ReleaseGroup.md) - - [ReleaseGroupFilters](docs/ReleaseGroupFilters.md) - - [ReleaseGroupOrderMode](docs/ReleaseGroupOrderMode.md) - - [ReleaseGroupStatus](docs/ReleaseGroupStatus.md) - - [ReleaseGroupTimeline](docs/ReleaseGroupTimeline.md) - - [ReleaseOrderDirection](docs/ReleaseOrderDirection.md) - - [ReleaseOrderMode](docs/ReleaseOrderMode.md) - - [ReleaseSearchResult](docs/ReleaseSearchResult.md) - - [ReleaseStatus](docs/ReleaseStatus.md) - - [ReleaseTimeline](docs/ReleaseTimeline.md) - - [ReleaseTrigger](docs/ReleaseTrigger.md) - - [ReleasesFilters](docs/ReleasesFilters.md) - - [ReservationFilters](docs/ReservationFilters.md) - - [ReservationSearchView](docs/ReservationSearchView.md) - - [Risk](docs/Risk.md) - - [RiskAssessment](docs/RiskAssessment.md) - - [RiskAssessor](docs/RiskAssessor.md) - - [RiskGlobalThresholds](docs/RiskGlobalThresholds.md) - - [RiskProfile](docs/RiskProfile.md) - - [RiskStatus](docs/RiskStatus.md) - - [RiskStatusWithThresholds](docs/RiskStatusWithThresholds.md) - - [RoleView](docs/RoleView.md) - - [SharedConfigurationStatusResponse](docs/SharedConfigurationStatusResponse.md) - - [Stage](docs/Stage.md) - - [StageStatus](docs/StageStatus.md) - - [StageTrackedItem](docs/StageTrackedItem.md) - - [StartRelease](docs/StartRelease.md) - - [StartTask](docs/StartTask.md) - - [Subscriber](docs/Subscriber.md) - - [SystemMessageSettings](docs/SystemMessageSettings.md) - - [Task](docs/Task.md) - - [TaskContainer](docs/TaskContainer.md) - - [TaskRecoverOp](docs/TaskRecoverOp.md) - - [TaskReportingRecord](docs/TaskReportingRecord.md) - - [TaskStatus](docs/TaskStatus.md) - - [Team](docs/Team.md) - - [TeamMemberView](docs/TeamMemberView.md) - - [TeamView](docs/TeamView.md) - - [TimeFrame](docs/TimeFrame.md) - - [TrackedItem](docs/TrackedItem.md) - - [TrackedItemStatus](docs/TrackedItemStatus.md) - - [Transition](docs/Transition.md) - - [Trigger](docs/Trigger.md) - - [TriggerExecutionStatus](docs/TriggerExecutionStatus.md) - - [UsagePoint](docs/UsagePoint.md) - - [UserAccount](docs/UserAccount.md) - - [UserInputTask](docs/UserInputTask.md) - - [ValidatePattern](docs/ValidatePattern.md) - - [ValueProviderConfiguration](docs/ValueProviderConfiguration.md) - - [ValueWithInterpolation](docs/ValueWithInterpolation.md) - - [Variable](docs/Variable.md) - - [Variable1](docs/Variable1.md) - - [VariableOrValue](docs/VariableOrValue.md) - - -## Documentation For Authorization - - -## basicAuth - -- **Type**: HTTP basic authentication - - -## patAuth - -- **Type**: API key -- **API key parameter name**: x-release-personal-token -- **Location**: HTTP header - - -## Author - - - - -## Notes for Large OpenAPI documents -If the OpenAPI document is large, imports in digitalai.release.v1.apis and digitalai.release.v1.models may fail with a -RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions: - -Solution 1: -Use specific imports for apis and models like: -- `from digitalai.release.v1.api.default_api import DefaultApi` -- `from digitalai.release.v1.model.pet import Pet` - -Solution 2: -Before importing the package, adjust the maximum recursion limit as shown below: -``` -import sys -sys.setrecursionlimit(1500) -import digitalai.release.v1 -from digitalai.release.v1.apis import * -from digitalai.release.v1.models import * -``` - diff --git a/digitalai/release/v1/__init__.py b/digitalai/release/v1/__init__.py deleted file mode 100644 index f60ce21..0000000 --- a/digitalai/release/v1/__init__.py +++ /dev/null @@ -1,27 +0,0 @@ -# flake8: noqa - -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -__version__ = "1.0.0" - -# import ApiClient -from digitalai.release.v1.api_client import ApiClient - -# import Configuration -from digitalai.release.v1.configuration import Configuration - -# import exceptions -from digitalai.release.v1.exceptions import OpenApiException -from digitalai.release.v1.exceptions import ApiAttributeError -from digitalai.release.v1.exceptions import ApiTypeError -from digitalai.release.v1.exceptions import ApiValueError -from digitalai.release.v1.exceptions import ApiKeyError -from digitalai.release.v1.exceptions import ApiException diff --git a/digitalai/release/v1/api/__init__.py b/digitalai/release/v1/api/__init__.py deleted file mode 100644 index 9c67c51..0000000 --- a/digitalai/release/v1/api/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# do not import all apis into this module because that uses a lot of memory and stack frames -# if you need the ability to import all apis from one package, import them with -# from digitalai.release.v1.apis import ActivityLogsApi diff --git a/digitalai/release/v1/api/activity_logs_api.py b/digitalai/release/v1/api/activity_logs_api.py deleted file mode 100644 index dbd3984..0000000 --- a/digitalai/release/v1/api/activity_logs_api.py +++ /dev/null @@ -1,179 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.activity_log_entry import ActivityLogEntry - - -class ActivityLogsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_activity_logs_endpoint = _Endpoint( - settings={ - 'response_type': ([ActivityLogEntry],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/activities/{containerId}', - 'operation_id': 'get_activity_logs', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'container_id', - ], - 'required': [ - 'container_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'container_id', - ] - }, - root_map={ - 'validations': { - ('container_id',): { - - 'regex': { - 'pattern': r'.*\/(Release|Delivery|Trigger)[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'container_id': - (str,), - }, - 'attribute_map': { - 'container_id': 'containerId', - }, - 'location_map': { - 'container_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_activity_logs( - self, - container_id, - **kwargs - ): - """get_activity_logs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_activity_logs(container_id, async_req=True) - >>> result = thread.get() - - Args: - container_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [ActivityLogEntry] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['container_id'] = \ - container_id - return self.get_activity_logs_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/application_api.py b/digitalai/release/v1/api/application_api.py deleted file mode 100644 index a0781e9..0000000 --- a/digitalai/release/v1/api/application_api.py +++ /dev/null @@ -1,726 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.application_filters import ApplicationFilters -from digitalai.release.v1.model.application_form import ApplicationForm -from digitalai.release.v1.model.application_view import ApplicationView - - -class ApplicationApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_application_endpoint = _Endpoint( - settings={ - 'response_type': (ApplicationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/applications', - 'operation_id': 'create_application', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'application_form', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'application_form': - (ApplicationForm,), - }, - 'attribute_map': { - }, - 'location_map': { - 'application_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_application_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/applications/{applicationId}', - 'operation_id': 'delete_application', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'application_id', - ], - 'required': [ - 'application_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'application_id', - ] - }, - root_map={ - 'validations': { - ('application_id',): { - - 'regex': { - 'pattern': r'.*\/Application[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'application_id': - (str,), - }, - 'attribute_map': { - 'application_id': 'applicationId', - }, - 'location_map': { - 'application_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_application_endpoint = _Endpoint( - settings={ - 'response_type': (ApplicationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/applications/{applicationId}', - 'operation_id': 'get_application', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'application_id', - ], - 'required': [ - 'application_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'application_id', - ] - }, - root_map={ - 'validations': { - ('application_id',): { - - 'regex': { - 'pattern': r'.*\/Application[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'application_id': - (str,), - }, - 'attribute_map': { - 'application_id': 'applicationId', - }, - 'location_map': { - 'application_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_applications_endpoint = _Endpoint( - settings={ - 'response_type': ([ApplicationView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/applications/search', - 'operation_id': 'search_applications', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'application_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'application_filters': - (ApplicationFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'application_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_application_endpoint = _Endpoint( - settings={ - 'response_type': (ApplicationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/applications/{applicationId}', - 'operation_id': 'update_application', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'application_id', - 'application_form', - ], - 'required': [ - 'application_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'application_id', - ] - }, - root_map={ - 'validations': { - ('application_id',): { - - 'regex': { - 'pattern': r'.*\/Application[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'application_id': - (str,), - 'application_form': - (ApplicationForm,), - }, - 'attribute_map': { - 'application_id': 'applicationId', - }, - 'location_map': { - 'application_id': 'path', - 'application_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_application( - self, - **kwargs - ): - """create_application # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_application(async_req=True) - >>> result = thread.get() - - - Keyword Args: - application_form (ApplicationForm): [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: - ApplicationView - 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.create_application_endpoint.call_with_http_info(**kwargs) - - def delete_application( - self, - application_id, - **kwargs - ): - """delete_application # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_application(application_id, async_req=True) - >>> result = thread.get() - - Args: - application_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['application_id'] = \ - application_id - return self.delete_application_endpoint.call_with_http_info(**kwargs) - - def get_application( - self, - application_id, - **kwargs - ): - """get_application # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_application(application_id, async_req=True) - >>> result = thread.get() - - Args: - application_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ApplicationView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['application_id'] = \ - application_id - return self.get_application_endpoint.call_with_http_info(**kwargs) - - def search_applications( - self, - **kwargs - ): - """search_applications # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_applications(async_req=True) - >>> result = thread.get() - - - Keyword Args: - application_filters (ApplicationFilters): [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: - [ApplicationView] - 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.search_applications_endpoint.call_with_http_info(**kwargs) - - def update_application( - self, - application_id, - **kwargs - ): - """update_application # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_application(application_id, async_req=True) - >>> result = thread.get() - - Args: - application_id (str): - - Keyword Args: - application_form (ApplicationForm): [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: - ApplicationView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['application_id'] = \ - application_id - return self.update_application_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/configuration_api.py b/digitalai/release/v1/api/configuration_api.py deleted file mode 100644 index e91a42b..0000000 --- a/digitalai/release/v1/api/configuration_api.py +++ /dev/null @@ -1,2068 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.configuration_view import ConfigurationView -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from digitalai.release.v1.model.shared_configuration_status_response import SharedConfigurationStatusResponse -from digitalai.release.v1.model.system_message_settings import SystemMessageSettings -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 - - -class ConfigurationApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_configuration_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseConfiguration,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config', - 'operation_id': 'add_configuration', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_configuration', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_configuration': - (ReleaseConfiguration,), - }, - 'attribute_map': { - }, - 'location_map': { - 'release_configuration': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.add_global_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/Configuration/variables/global', - 'operation_id': 'add_global_variable', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable1', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable1': - (Variable1,), - }, - 'attribute_map': { - }, - 'location_map': { - 'variable1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.check_status_endpoint = _Endpoint( - settings={ - 'response_type': (SharedConfigurationStatusResponse,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/status', - 'operation_id': 'check_status', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_view', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_view': - (ConfigurationView,), - }, - 'attribute_map': { - }, - 'location_map': { - 'configuration_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.check_status1_endpoint = _Endpoint( - settings={ - 'response_type': (SharedConfigurationStatusResponse,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{configurationId}/status', - 'operation_id': 'check_status1', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_id', - ], - 'required': [ - 'configuration_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'configuration_id', - ] - }, - root_map={ - 'validations': { - ('configuration_id',): { - - 'regex': { - 'pattern': r'.*\/Configuration[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_id': - (str,), - }, - 'attribute_map': { - 'configuration_id': 'configurationId', - }, - 'location_map': { - 'configuration_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_configuration_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{configurationId}', - 'operation_id': 'delete_configuration', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_id', - ], - 'required': [ - 'configuration_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'configuration_id', - ] - }, - root_map={ - 'validations': { - ('configuration_id',): { - - 'regex': { - 'pattern': r'.*\/Configuration[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_id': - (str,), - }, - 'attribute_map': { - 'configuration_id': 'configurationId', - }, - 'location_map': { - 'configuration_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_global_variable_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{variableId}', - 'operation_id': 'delete_global_variable', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_configuration_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseConfiguration,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{configurationId}', - 'operation_id': 'get_configuration', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_id', - ], - 'required': [ - 'configuration_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'configuration_id', - ] - }, - root_map={ - 'validations': { - ('configuration_id',): { - - 'regex': { - 'pattern': r'.*\/Configuration[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_id': - (str,), - }, - 'attribute_map': { - 'configuration_id': 'configurationId', - }, - 'location_map': { - 'configuration_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_global_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{variableId}', - 'operation_id': 'get_global_variable', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_global_variable_values_endpoint = _Endpoint( - settings={ - 'response_type': ({str: (str,)},), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/Configuration/variableValues/global', - 'operation_id': 'get_global_variable_values', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_global_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/Configuration/variables/global', - 'operation_id': 'get_global_variables', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_system_message_endpoint = _Endpoint( - settings={ - 'response_type': (SystemMessageSettings,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/system-message', - 'operation_id': 'get_system_message', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_by_type_and_title_endpoint = _Endpoint( - settings={ - 'response_type': ([ReleaseConfiguration],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/byTypeAndTitle', - 'operation_id': 'search_by_type_and_title', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_type', - 'folder_id', - 'folder_only', - 'title', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_type': - (str,), - 'folder_id': - (str,), - 'folder_only': - (bool,), - 'title': - (str,), - }, - 'attribute_map': { - 'configuration_type': 'configurationType', - 'folder_id': 'folderId', - 'folder_only': 'folderOnly', - 'title': 'title', - }, - 'location_map': { - 'configuration_type': 'query', - 'folder_id': 'query', - 'folder_only': 'query', - 'title': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_configuration_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseConfiguration,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{configurationId}', - 'operation_id': 'update_configuration', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_id', - 'release_configuration', - ], - 'required': [ - 'configuration_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'configuration_id', - ] - }, - root_map={ - 'validations': { - ('configuration_id',): { - - 'regex': { - 'pattern': r'.*\/Configuration[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_id': - (str,), - 'release_configuration': - (ReleaseConfiguration,), - }, - 'attribute_map': { - 'configuration_id': 'configurationId', - }, - 'location_map': { - 'configuration_id': 'path', - 'release_configuration': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_global_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/{variableId}', - 'operation_id': 'update_global_variable', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - 'variable', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - 'variable': - (Variable,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_system_message_endpoint = _Endpoint( - settings={ - 'response_type': (SystemMessageSettings,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/config/system-message', - 'operation_id': 'update_system_message', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'system_message_settings', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'system_message_settings': - (SystemMessageSettings,), - }, - 'attribute_map': { - }, - 'location_map': { - 'system_message_settings': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_configuration( - self, - **kwargs - ): - """add_configuration # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_configuration(async_req=True) - >>> result = thread.get() - - - Keyword Args: - release_configuration (ReleaseConfiguration): [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: - ReleaseConfiguration - 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.add_configuration_endpoint.call_with_http_info(**kwargs) - - def add_global_variable( - self, - **kwargs - ): - """add_global_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_global_variable(async_req=True) - >>> result = thread.get() - - - Keyword Args: - variable1 (Variable1): [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: - Variable - 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.add_global_variable_endpoint.call_with_http_info(**kwargs) - - def check_status( - self, - **kwargs - ): - """check_status # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.check_status(async_req=True) - >>> result = thread.get() - - - Keyword Args: - configuration_view (ConfigurationView): [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: - SharedConfigurationStatusResponse - 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.check_status_endpoint.call_with_http_info(**kwargs) - - def check_status1( - self, - configuration_id, - **kwargs - ): - """check_status1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.check_status1(configuration_id, async_req=True) - >>> result = thread.get() - - Args: - configuration_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - SharedConfigurationStatusResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['configuration_id'] = \ - configuration_id - return self.check_status1_endpoint.call_with_http_info(**kwargs) - - def delete_configuration( - self, - configuration_id, - **kwargs - ): - """delete_configuration # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_configuration(configuration_id, async_req=True) - >>> result = thread.get() - - Args: - configuration_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['configuration_id'] = \ - configuration_id - return self.delete_configuration_endpoint.call_with_http_info(**kwargs) - - def delete_global_variable( - self, - variable_id, - **kwargs - ): - """delete_global_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_global_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.delete_global_variable_endpoint.call_with_http_info(**kwargs) - - def get_configuration( - self, - configuration_id, - **kwargs - ): - """get_configuration # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_configuration(configuration_id, async_req=True) - >>> result = thread.get() - - Args: - configuration_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ReleaseConfiguration - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['configuration_id'] = \ - configuration_id - return self.get_configuration_endpoint.call_with_http_info(**kwargs) - - def get_global_variable( - self, - variable_id, - **kwargs - ): - """get_global_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_global_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.get_global_variable_endpoint.call_with_http_info(**kwargs) - - def get_global_variable_values( - self, - **kwargs - ): - """get_global_variable_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_global_variable_values(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - {str: (str,)} - 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.get_global_variable_values_endpoint.call_with_http_info(**kwargs) - - def get_global_variables( - self, - **kwargs - ): - """get_global_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_global_variables(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Variable] - 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.get_global_variables_endpoint.call_with_http_info(**kwargs) - - def get_system_message( - self, - **kwargs - ): - """get_system_message # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_system_message(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - SystemMessageSettings - 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.get_system_message_endpoint.call_with_http_info(**kwargs) - - def search_by_type_and_title( - self, - **kwargs - ): - """search_by_type_and_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_by_type_and_title(async_req=True) - >>> result = thread.get() - - - Keyword Args: - configuration_type (str): [optional] - folder_id (str): [optional] - folder_only (bool): [optional] - title (str): [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: - [ReleaseConfiguration] - 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.search_by_type_and_title_endpoint.call_with_http_info(**kwargs) - - def update_configuration( - self, - configuration_id, - **kwargs - ): - """update_configuration # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_configuration(configuration_id, async_req=True) - >>> result = thread.get() - - Args: - configuration_id (str): - - Keyword Args: - release_configuration (ReleaseConfiguration): [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: - ReleaseConfiguration - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['configuration_id'] = \ - configuration_id - return self.update_configuration_endpoint.call_with_http_info(**kwargs) - - def update_global_variable( - self, - variable_id, - **kwargs - ): - """update_global_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_global_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - variable (Variable): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.update_global_variable_endpoint.call_with_http_info(**kwargs) - - def update_system_message( - self, - **kwargs - ): - """update_system_message # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_system_message(async_req=True) - >>> result = thread.get() - - - Keyword Args: - system_message_settings (SystemMessageSettings): [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: - SystemMessageSettings - 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.update_system_message_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/delivery_api.py b/digitalai/release/v1/api/delivery_api.py deleted file mode 100644 index aab4bb2..0000000 --- a/digitalai/release/v1/api/delivery_api.py +++ /dev/null @@ -1,3085 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.complete_transition import CompleteTransition -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.delivery_filters import DeliveryFilters -from digitalai.release.v1.model.delivery_flow_release_info import DeliveryFlowReleaseInfo -from digitalai.release.v1.model.delivery_timeline import DeliveryTimeline -from digitalai.release.v1.model.stage import Stage -from digitalai.release.v1.model.tracked_item import TrackedItem -from digitalai.release.v1.model.transition import Transition - - -class DeliveryApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.complete_stage_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}/complete', - 'operation_id': 'complete_stage', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.complete_tracked_item_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}/{itemId}/complete', - 'operation_id': 'complete_tracked_item', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - 'stage_id', - ], - 'required': [ - 'item_id', - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - 'stage_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - 'stage_id': 'stageId', - }, - 'location_map': { - 'item_id': 'path', - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.complete_transition_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{transitionId}/complete', - 'operation_id': 'complete_transition', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'transition_id', - 'complete_transition', - ], - 'required': [ - 'transition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'transition_id', - ] - }, - root_map={ - 'validations': { - ('transition_id',): { - - 'regex': { - 'pattern': r'.*Transition[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'transition_id': - (str,), - 'complete_transition': - (CompleteTransition,), - }, - 'attribute_map': { - 'transition_id': 'transitionId', - }, - 'location_map': { - 'transition_id': 'path', - 'complete_transition': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_tracked_item_in_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (TrackedItem,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}/tracked-items', - 'operation_id': 'create_tracked_item_in_delivery', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - 'tracked_item', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - 'tracked_item': - (TrackedItem,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - 'tracked_item': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_delivery_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}', - 'operation_id': 'delete_delivery', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_tracked_item_delivery_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{itemId}', - 'operation_id': 'delete_tracked_item_delivery', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.descope_tracked_item_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{itemId}/descope', - 'operation_id': 'descope_tracked_item', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}', - 'operation_id': 'get_delivery', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_delivery_timeline_endpoint = _Endpoint( - settings={ - 'response_type': (DeliveryTimeline,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}/timeline', - 'operation_id': 'get_delivery_timeline', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_releases_for_delivery_endpoint = _Endpoint( - settings={ - 'response_type': ([DeliveryFlowReleaseInfo],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}/releases', - 'operation_id': 'get_releases_for_delivery', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_stages_in_delivery_endpoint = _Endpoint( - settings={ - 'response_type': ([Stage],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}/stages', - 'operation_id': 'get_stages_in_delivery', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_tracked_itemsin_delivery_endpoint = _Endpoint( - settings={ - 'response_type': ([TrackedItem],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}/tracked-items', - 'operation_id': 'get_tracked_itemsin_delivery', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.reopen_stage_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}/reopen', - 'operation_id': 'reopen_stage', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.rescope_tracked_item_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{itemId}/rescope', - 'operation_id': 'rescope_tracked_item', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.reset_tracked_item_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}/{itemId}/reset', - 'operation_id': 'reset_tracked_item', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - 'stage_id', - ], - 'required': [ - 'item_id', - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - 'stage_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - 'stage_id': 'stageId', - }, - 'location_map': { - 'item_id': 'path', - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.search_deliveries_endpoint = _Endpoint( - settings={ - 'response_type': ([Delivery],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/search', - 'operation_id': 'search_deliveries', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'order_by', - 'page', - 'results_per_page', - 'delivery_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'order_by': - (bool, date, datetime, dict, float, int, list, str, none_type,), - 'page': - (int,), - 'results_per_page': - (int,), - 'delivery_filters': - (DeliveryFilters,), - }, - 'attribute_map': { - 'order_by': 'orderBy', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'order_by': 'query', - 'page': 'query', - 'results_per_page': 'query', - 'delivery_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.skip_tracked_item_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}/{itemId}/skip', - 'operation_id': 'skip_tracked_item', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - 'stage_id', - ], - 'required': [ - 'item_id', - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - 'stage_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - 'stage_id': 'stageId', - }, - 'location_map': { - 'item_id': 'path', - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.update_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{deliveryId}', - 'operation_id': 'update_delivery', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery_id', - 'delivery', - ], - 'required': [ - 'delivery_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'delivery_id', - ] - }, - root_map={ - 'validations': { - ('delivery_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery_id': - (str,), - 'delivery': - (Delivery,), - }, - 'attribute_map': { - 'delivery_id': 'deliveryId', - }, - 'location_map': { - 'delivery_id': 'path', - 'delivery': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_stage_in_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{stageId}', - 'operation_id': 'update_stage_in_delivery', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - 'stage', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - 'stage': - (Stage,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - 'stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_tracked_item_in_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (TrackedItem,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{itemId}', - 'operation_id': 'update_tracked_item_in_delivery', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - 'tracked_item', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - 'tracked_item': - (TrackedItem,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - 'tracked_item': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_transition_in_delivery_endpoint = _Endpoint( - settings={ - 'response_type': (Transition,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/deliveries/{transitionId}', - 'operation_id': 'update_transition_in_delivery', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'transition_id', - 'transition', - ], - 'required': [ - 'transition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'transition_id', - ] - }, - root_map={ - 'validations': { - ('transition_id',): { - - 'regex': { - 'pattern': r'.*Transition[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'transition_id': - (str,), - 'transition': - (Transition,), - }, - 'attribute_map': { - 'transition_id': 'transitionId', - }, - 'location_map': { - 'transition_id': 'path', - 'transition': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def complete_stage( - self, - stage_id, - **kwargs - ): - """complete_stage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.complete_stage(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.complete_stage_endpoint.call_with_http_info(**kwargs) - - def complete_tracked_item( - self, - item_id, - stage_id, - **kwargs - ): - """complete_tracked_item # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.complete_tracked_item(item_id, stage_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - kwargs['stage_id'] = \ - stage_id - return self.complete_tracked_item_endpoint.call_with_http_info(**kwargs) - - def complete_transition( - self, - transition_id, - **kwargs - ): - """complete_transition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.complete_transition(transition_id, async_req=True) - >>> result = thread.get() - - Args: - transition_id (str): - - Keyword Args: - complete_transition (CompleteTransition): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['transition_id'] = \ - transition_id - return self.complete_transition_endpoint.call_with_http_info(**kwargs) - - def create_tracked_item_in_delivery( - self, - delivery_id, - **kwargs - ): - """create_tracked_item_in_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_tracked_item_in_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - tracked_item (TrackedItem): [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: - TrackedItem - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.create_tracked_item_in_delivery_endpoint.call_with_http_info(**kwargs) - - def delete_delivery( - self, - delivery_id, - **kwargs - ): - """delete_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.delete_delivery_endpoint.call_with_http_info(**kwargs) - - def delete_tracked_item_delivery( - self, - item_id, - **kwargs - ): - """delete_tracked_item_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_tracked_item_delivery(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.delete_tracked_item_delivery_endpoint.call_with_http_info(**kwargs) - - def descope_tracked_item( - self, - item_id, - **kwargs - ): - """descope_tracked_item # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.descope_tracked_item(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.descope_tracked_item_endpoint.call_with_http_info(**kwargs) - - def get_delivery( - self, - delivery_id, - **kwargs - ): - """get_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.get_delivery_endpoint.call_with_http_info(**kwargs) - - def get_delivery_timeline( - self, - delivery_id, - **kwargs - ): - """get_delivery_timeline # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_delivery_timeline(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - DeliveryTimeline - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.get_delivery_timeline_endpoint.call_with_http_info(**kwargs) - - def get_releases_for_delivery( - self, - delivery_id, - **kwargs - ): - """get_releases_for_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_releases_for_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [DeliveryFlowReleaseInfo] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.get_releases_for_delivery_endpoint.call_with_http_info(**kwargs) - - def get_stages_in_delivery( - self, - delivery_id, - **kwargs - ): - """get_stages_in_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_stages_in_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Stage] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.get_stages_in_delivery_endpoint.call_with_http_info(**kwargs) - - def get_tracked_itemsin_delivery( - self, - delivery_id, - **kwargs - ): - """get_tracked_itemsin_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_tracked_itemsin_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TrackedItem] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.get_tracked_itemsin_delivery_endpoint.call_with_http_info(**kwargs) - - def reopen_stage( - self, - stage_id, - **kwargs - ): - """reopen_stage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.reopen_stage(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.reopen_stage_endpoint.call_with_http_info(**kwargs) - - def rescope_tracked_item( - self, - item_id, - **kwargs - ): - """rescope_tracked_item # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.rescope_tracked_item(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.rescope_tracked_item_endpoint.call_with_http_info(**kwargs) - - def reset_tracked_item( - self, - item_id, - stage_id, - **kwargs - ): - """reset_tracked_item # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.reset_tracked_item(item_id, stage_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - kwargs['stage_id'] = \ - stage_id - return self.reset_tracked_item_endpoint.call_with_http_info(**kwargs) - - def search_deliveries( - self, - **kwargs - ): - """search_deliveries # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_deliveries(async_req=True) - >>> result = thread.get() - - - Keyword Args: - order_by (bool, date, datetime, dict, float, int, list, str, none_type): [optional] - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - delivery_filters (DeliveryFilters): [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: - [Delivery] - 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.search_deliveries_endpoint.call_with_http_info(**kwargs) - - def skip_tracked_item( - self, - item_id, - stage_id, - **kwargs - ): - """skip_tracked_item # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.skip_tracked_item(item_id, stage_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - kwargs['stage_id'] = \ - stage_id - return self.skip_tracked_item_endpoint.call_with_http_info(**kwargs) - - def update_delivery( - self, - delivery_id, - **kwargs - ): - """update_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_delivery(delivery_id, async_req=True) - >>> result = thread.get() - - Args: - delivery_id (str): - - Keyword Args: - delivery (Delivery): [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: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['delivery_id'] = \ - delivery_id - return self.update_delivery_endpoint.call_with_http_info(**kwargs) - - def update_stage_in_delivery( - self, - stage_id, - **kwargs - ): - """update_stage_in_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_stage_in_delivery(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - stage (Stage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.update_stage_in_delivery_endpoint.call_with_http_info(**kwargs) - - def update_tracked_item_in_delivery( - self, - item_id, - **kwargs - ): - """update_tracked_item_in_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_tracked_item_in_delivery(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - tracked_item (TrackedItem): [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: - TrackedItem - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.update_tracked_item_in_delivery_endpoint.call_with_http_info(**kwargs) - - def update_transition_in_delivery( - self, - transition_id, - **kwargs - ): - """update_transition_in_delivery # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_transition_in_delivery(transition_id, async_req=True) - >>> result = thread.get() - - Args: - transition_id (str): - - Keyword Args: - transition (Transition): [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: - Transition - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['transition_id'] = \ - transition_id - return self.update_transition_in_delivery_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/delivery_pattern_api.py b/digitalai/release/v1/api/delivery_pattern_api.py deleted file mode 100644 index 4d998ed..0000000 --- a/digitalai/release/v1/api/delivery_pattern_api.py +++ /dev/null @@ -1,3344 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.create_delivery import CreateDelivery -from digitalai.release.v1.model.create_delivery_stage import CreateDeliveryStage -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.delivery_pattern_filters import DeliveryPatternFilters -from digitalai.release.v1.model.duplicate_delivery_pattern import DuplicateDeliveryPattern -from digitalai.release.v1.model.stage import Stage -from digitalai.release.v1.model.tracked_item import TrackedItem -from digitalai.release.v1.model.transition import Transition -from digitalai.release.v1.model.validate_pattern import ValidatePattern - - -class DeliveryPatternApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.check_title_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/checkTitle', - 'operation_id': 'check_title', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'validate_pattern', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'validate_pattern': - (ValidatePattern,), - }, - 'attribute_map': { - }, - 'location_map': { - 'validate_pattern': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_delivery_from_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/create', - 'operation_id': 'create_delivery_from_pattern', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'create_delivery', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'create_delivery': - (CreateDelivery,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'create_delivery': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns', - 'operation_id': 'create_pattern', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'delivery', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'delivery': - (Delivery,), - }, - 'attribute_map': { - }, - 'location_map': { - 'delivery': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_stage_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/createStage', - 'operation_id': 'create_stage', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'create_delivery_stage', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'create_delivery_stage': - (CreateDeliveryStage,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'create_delivery_stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_stage1_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/stages', - 'operation_id': 'create_stage1', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'stage', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'stage': - (Stage,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_stage2_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/stages/{position}', - 'operation_id': 'create_stage2', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'position', - 'stage', - ], - 'required': [ - 'pattern_id', - 'position', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'position': - (int,), - 'stage': - (Stage,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - 'position': 'position', - }, - 'location_map': { - 'pattern_id': 'path', - 'position': 'path', - 'stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_tracked_item_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (TrackedItem,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/tracked-items', - 'operation_id': 'create_tracked_item_in_pattern', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'tracked_item', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'tracked_item': - (TrackedItem,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'tracked_item': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_transition_endpoint = _Endpoint( - settings={ - 'response_type': (Transition,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{stageId}/transitions', - 'operation_id': 'create_transition', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - 'transition', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - 'transition': - (Transition,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - 'transition': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_pattern_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}', - 'operation_id': 'delete_pattern', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_stage_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{stageId}', - 'operation_id': 'delete_stage', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_tracked_item_delivery_pattern_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{itemId}', - 'operation_id': 'delete_tracked_item_delivery_pattern', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_transition_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{transitionId}', - 'operation_id': 'delete_transition', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'transition_id', - ], - 'required': [ - 'transition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'transition_id', - ] - }, - root_map={ - 'validations': { - ('transition_id',): { - - 'regex': { - 'pattern': r'.*Transition[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'transition_id': - (str,), - }, - 'attribute_map': { - 'transition_id': 'transitionId', - }, - 'location_map': { - 'transition_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.duplicate_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/duplicate', - 'operation_id': 'duplicate_pattern', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'duplicate_delivery_pattern', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'duplicate_delivery_pattern': - (DuplicateDeliveryPattern,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'duplicate_delivery_pattern': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}', - 'operation_id': 'get_pattern', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_pattern_by_id_or_title_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternIdOrTitle}', - 'operation_id': 'get_pattern_by_id_or_title', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id_or_title', - ], - 'required': [ - 'pattern_id_or_title', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id_or_title': - (str,), - }, - 'attribute_map': { - 'pattern_id_or_title': 'patternIdOrTitle', - }, - 'location_map': { - 'pattern_id_or_title': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_stages_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': ([Stage],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/stages', - 'operation_id': 'get_stages_in_pattern', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_tracked_items_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': ([TrackedItem],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}/tracked-items', - 'operation_id': 'get_tracked_items_in_pattern', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_patterns_endpoint = _Endpoint( - settings={ - 'response_type': ([Delivery],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/search', - 'operation_id': 'search_patterns', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'page', - 'results_per_page', - 'delivery_pattern_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'page': - (int,), - 'results_per_page': - (int,), - 'delivery_pattern_filters': - (DeliveryPatternFilters,), - }, - 'attribute_map': { - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'page': 'query', - 'results_per_page': 'query', - 'delivery_pattern_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Delivery,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{patternId}', - 'operation_id': 'update_pattern', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'pattern_id', - 'delivery', - ], - 'required': [ - 'pattern_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'pattern_id', - ] - }, - root_map={ - 'validations': { - ('pattern_id',): { - - 'regex': { - 'pattern': r'.*Delivery[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'pattern_id': - (str,), - 'delivery': - (Delivery,), - }, - 'attribute_map': { - 'pattern_id': 'patternId', - }, - 'location_map': { - 'pattern_id': 'path', - 'delivery': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_stage_from_batch_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{stageId}/batched', - 'operation_id': 'update_stage_from_batch', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - 'stage', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - 'stage': - (Stage,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - 'stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_stage_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Stage,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{stageId}', - 'operation_id': 'update_stage_in_pattern', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'stage_id', - 'stage', - ], - 'required': [ - 'stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'stage_id', - ] - }, - root_map={ - 'validations': { - ('stage_id',): { - - 'regex': { - 'pattern': r'.*Stage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stage_id': - (str,), - 'stage': - (Stage,), - }, - 'attribute_map': { - 'stage_id': 'stageId', - }, - 'location_map': { - 'stage_id': 'path', - 'stage': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_tracked_item_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (TrackedItem,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{itemId}', - 'operation_id': 'update_tracked_item_in_pattern', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'item_id', - 'tracked_item', - ], - 'required': [ - 'item_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'item_id', - ] - }, - root_map={ - 'validations': { - ('item_id',): { - - 'regex': { - 'pattern': r'.*TrackedItem[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'item_id': - (str,), - 'tracked_item': - (TrackedItem,), - }, - 'attribute_map': { - 'item_id': 'itemId', - }, - 'location_map': { - 'item_id': 'path', - 'tracked_item': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_transition_in_pattern_endpoint = _Endpoint( - settings={ - 'response_type': (Transition,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/delivery-patterns/{transitionId}', - 'operation_id': 'update_transition_in_pattern', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'transition_id', - 'transition', - ], - 'required': [ - 'transition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'transition_id', - ] - }, - root_map={ - 'validations': { - ('transition_id',): { - - 'regex': { - 'pattern': r'.*Transition[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'transition_id': - (str,), - 'transition': - (Transition,), - }, - 'attribute_map': { - 'transition_id': 'transitionId', - }, - 'location_map': { - 'transition_id': 'path', - 'transition': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def check_title( - self, - **kwargs - ): - """check_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.check_title(async_req=True) - >>> result = thread.get() - - - Keyword Args: - validate_pattern (ValidatePattern): [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: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.check_title_endpoint.call_with_http_info(**kwargs) - - def create_delivery_from_pattern( - self, - pattern_id, - **kwargs - ): - """create_delivery_from_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_delivery_from_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - create_delivery (CreateDelivery): [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: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.create_delivery_from_pattern_endpoint.call_with_http_info(**kwargs) - - def create_pattern( - self, - **kwargs - ): - """create_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_pattern(async_req=True) - >>> result = thread.get() - - - Keyword Args: - delivery (Delivery): [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: - Delivery - 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.create_pattern_endpoint.call_with_http_info(**kwargs) - - def create_stage( - self, - pattern_id, - **kwargs - ): - """create_stage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_stage(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - create_delivery_stage (CreateDeliveryStage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.create_stage_endpoint.call_with_http_info(**kwargs) - - def create_stage1( - self, - pattern_id, - **kwargs - ): - """create_stage1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_stage1(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - stage (Stage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.create_stage1_endpoint.call_with_http_info(**kwargs) - - def create_stage2( - self, - pattern_id, - position, - **kwargs - ): - """create_stage2 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_stage2(pattern_id, position, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - position (int): - - Keyword Args: - stage (Stage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - kwargs['position'] = \ - position - return self.create_stage2_endpoint.call_with_http_info(**kwargs) - - def create_tracked_item_in_pattern( - self, - pattern_id, - **kwargs - ): - """create_tracked_item_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_tracked_item_in_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - tracked_item (TrackedItem): [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: - TrackedItem - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.create_tracked_item_in_pattern_endpoint.call_with_http_info(**kwargs) - - def create_transition( - self, - stage_id, - **kwargs - ): - """create_transition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_transition(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - transition (Transition): [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: - Transition - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.create_transition_endpoint.call_with_http_info(**kwargs) - - def delete_pattern( - self, - pattern_id, - **kwargs - ): - """delete_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.delete_pattern_endpoint.call_with_http_info(**kwargs) - - def delete_stage( - self, - stage_id, - **kwargs - ): - """delete_stage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_stage(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.delete_stage_endpoint.call_with_http_info(**kwargs) - - def delete_tracked_item_delivery_pattern( - self, - item_id, - **kwargs - ): - """delete_tracked_item_delivery_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_tracked_item_delivery_pattern(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.delete_tracked_item_delivery_pattern_endpoint.call_with_http_info(**kwargs) - - def delete_transition( - self, - transition_id, - **kwargs - ): - """delete_transition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_transition(transition_id, async_req=True) - >>> result = thread.get() - - Args: - transition_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['transition_id'] = \ - transition_id - return self.delete_transition_endpoint.call_with_http_info(**kwargs) - - def duplicate_pattern( - self, - pattern_id, - **kwargs - ): - """duplicate_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.duplicate_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - duplicate_delivery_pattern (DuplicateDeliveryPattern): [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: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.duplicate_pattern_endpoint.call_with_http_info(**kwargs) - - def get_pattern( - self, - pattern_id, - **kwargs - ): - """get_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.get_pattern_endpoint.call_with_http_info(**kwargs) - - def get_pattern_by_id_or_title( - self, - pattern_id_or_title, - **kwargs - ): - """get_pattern_by_id_or_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_pattern_by_id_or_title(pattern_id_or_title, async_req=True) - >>> result = thread.get() - - Args: - pattern_id_or_title (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id_or_title'] = \ - pattern_id_or_title - return self.get_pattern_by_id_or_title_endpoint.call_with_http_info(**kwargs) - - def get_stages_in_pattern( - self, - pattern_id, - **kwargs - ): - """get_stages_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_stages_in_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Stage] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.get_stages_in_pattern_endpoint.call_with_http_info(**kwargs) - - def get_tracked_items_in_pattern( - self, - pattern_id, - **kwargs - ): - """get_tracked_items_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_tracked_items_in_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TrackedItem] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.get_tracked_items_in_pattern_endpoint.call_with_http_info(**kwargs) - - def search_patterns( - self, - **kwargs - ): - """search_patterns # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_patterns(async_req=True) - >>> result = thread.get() - - - Keyword Args: - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - delivery_pattern_filters (DeliveryPatternFilters): [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: - [Delivery] - 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.search_patterns_endpoint.call_with_http_info(**kwargs) - - def update_pattern( - self, - pattern_id, - **kwargs - ): - """update_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_pattern(pattern_id, async_req=True) - >>> result = thread.get() - - Args: - pattern_id (str): - - Keyword Args: - delivery (Delivery): [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: - Delivery - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['pattern_id'] = \ - pattern_id - return self.update_pattern_endpoint.call_with_http_info(**kwargs) - - def update_stage_from_batch( - self, - stage_id, - **kwargs - ): - """update_stage_from_batch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_stage_from_batch(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - stage (Stage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.update_stage_from_batch_endpoint.call_with_http_info(**kwargs) - - def update_stage_in_pattern( - self, - stage_id, - **kwargs - ): - """update_stage_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_stage_in_pattern(stage_id, async_req=True) - >>> result = thread.get() - - Args: - stage_id (str): - - Keyword Args: - stage (Stage): [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: - Stage - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['stage_id'] = \ - stage_id - return self.update_stage_in_pattern_endpoint.call_with_http_info(**kwargs) - - def update_tracked_item_in_pattern( - self, - item_id, - **kwargs - ): - """update_tracked_item_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_tracked_item_in_pattern(item_id, async_req=True) - >>> result = thread.get() - - Args: - item_id (str): - - Keyword Args: - tracked_item (TrackedItem): [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: - TrackedItem - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['item_id'] = \ - item_id - return self.update_tracked_item_in_pattern_endpoint.call_with_http_info(**kwargs) - - def update_transition_in_pattern( - self, - transition_id, - **kwargs - ): - """update_transition_in_pattern # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_transition_in_pattern(transition_id, async_req=True) - >>> result = thread.get() - - Args: - transition_id (str): - - Keyword Args: - transition (Transition): [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: - Transition - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['transition_id'] = \ - transition_id - return self.update_transition_in_pattern_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/dsl_api.py b/digitalai/release/v1/api/dsl_api.py deleted file mode 100644 index 3555541..0000000 --- a/digitalai/release/v1/api/dsl_api.py +++ /dev/null @@ -1,327 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) - - -class DslApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.export_template_to_x_file_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/dsl/export/{templateId}', - 'operation_id': 'export_template_to_x_file', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'export_template', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'export_template': - (bool,), - }, - 'attribute_map': { - 'template_id': 'templateId', - 'export_template': 'exportTemplate', - }, - 'location_map': { - 'template_id': 'path', - 'export_template': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.preview_export_template_to_x_file_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/dsl/preview/{templateId}', - 'operation_id': 'preview_export_template_to_x_file', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'export_template', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'export_template': - (bool,), - }, - 'attribute_map': { - 'template_id': 'templateId', - 'export_template': 'exportTemplate', - }, - 'location_map': { - 'template_id': 'path', - 'export_template': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - - def export_template_to_x_file( - self, - template_id, - **kwargs - ): - """export_template_to_x_file # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.export_template_to_x_file(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - export_template (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.export_template_to_x_file_endpoint.call_with_http_info(**kwargs) - - def preview_export_template_to_x_file( - self, - template_id, - **kwargs - ): - """preview_export_template_to_x_file # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.preview_export_template_to_x_file(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - export_template (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.preview_export_template_to_x_file_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/environment_api.py b/digitalai/release/v1/api/environment_api.py deleted file mode 100644 index fef69d7..0000000 --- a/digitalai/release/v1/api/environment_api.py +++ /dev/null @@ -1,1010 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.base_application_view import BaseApplicationView -from digitalai.release.v1.model.environment_filters import EnvironmentFilters -from digitalai.release.v1.model.environment_form import EnvironmentForm -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from digitalai.release.v1.model.environment_view import EnvironmentView - - -class EnvironmentApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_environment_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments', - 'operation_id': 'create_environment', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_form', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_form': - (EnvironmentForm,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_environment_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/{environmentId}', - 'operation_id': 'delete_environment', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_id', - ], - 'required': [ - 'environment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_id', - ] - }, - root_map={ - 'validations': { - ('environment_id',): { - - 'regex': { - 'pattern': r'.*\/Environment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_id': - (str,), - }, - 'attribute_map': { - 'environment_id': 'environmentId', - }, - 'location_map': { - 'environment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_deployable_applications_for_environment_endpoint = _Endpoint( - settings={ - 'response_type': ([BaseApplicationView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/{environmentId}/applications', - 'operation_id': 'get_deployable_applications_for_environment', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_id', - ], - 'required': [ - 'environment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_id', - ] - }, - root_map={ - 'validations': { - ('environment_id',): { - - 'regex': { - 'pattern': r'.*\/Environment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_id': - (str,), - }, - 'attribute_map': { - 'environment_id': 'environmentId', - }, - 'location_map': { - 'environment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_environment_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/{environmentId}', - 'operation_id': 'get_environment', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_id', - ], - 'required': [ - 'environment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_id', - ] - }, - root_map={ - 'validations': { - ('environment_id',): { - - 'regex': { - 'pattern': r'.*\/Environment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_id': - (str,), - }, - 'attribute_map': { - 'environment_id': 'environmentId', - }, - 'location_map': { - 'environment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_reservations_for_environment_endpoint = _Endpoint( - settings={ - 'response_type': ([EnvironmentReservationView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/{environmentId}/reservations', - 'operation_id': 'get_reservations_for_environment', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_id', - ], - 'required': [ - 'environment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_id', - ] - }, - root_map={ - 'validations': { - ('environment_id',): { - - 'regex': { - 'pattern': r'.*\/Environment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_id': - (str,), - }, - 'attribute_map': { - 'environment_id': 'environmentId', - }, - 'location_map': { - 'environment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_environments_endpoint = _Endpoint( - settings={ - 'response_type': ([EnvironmentView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/search', - 'operation_id': 'search_environments', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_filters': - (EnvironmentFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_environment_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/{environmentId}', - 'operation_id': 'update_environment', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_id', - 'environment_form', - ], - 'required': [ - 'environment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_id', - ] - }, - root_map={ - 'validations': { - ('environment_id',): { - - 'regex': { - 'pattern': r'.*\/Environment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_id': - (str,), - 'environment_form': - (EnvironmentForm,), - }, - 'attribute_map': { - 'environment_id': 'environmentId', - }, - 'location_map': { - 'environment_id': 'path', - 'environment_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_environment( - self, - **kwargs - ): - """create_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_environment(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_form (EnvironmentForm): [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: - EnvironmentView - 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.create_environment_endpoint.call_with_http_info(**kwargs) - - def delete_environment( - self, - environment_id, - **kwargs - ): - """delete_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_environment(environment_id, async_req=True) - >>> result = thread.get() - - Args: - environment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_id'] = \ - environment_id - return self.delete_environment_endpoint.call_with_http_info(**kwargs) - - def get_deployable_applications_for_environment( - self, - environment_id, - **kwargs - ): - """get_deployable_applications_for_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_deployable_applications_for_environment(environment_id, async_req=True) - >>> result = thread.get() - - Args: - environment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [BaseApplicationView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_id'] = \ - environment_id - return self.get_deployable_applications_for_environment_endpoint.call_with_http_info(**kwargs) - - def get_environment( - self, - environment_id, - **kwargs - ): - """get_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_environment(environment_id, async_req=True) - >>> result = thread.get() - - Args: - environment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - EnvironmentView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_id'] = \ - environment_id - return self.get_environment_endpoint.call_with_http_info(**kwargs) - - def get_reservations_for_environment( - self, - environment_id, - **kwargs - ): - """get_reservations_for_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_reservations_for_environment(environment_id, async_req=True) - >>> result = thread.get() - - Args: - environment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [EnvironmentReservationView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_id'] = \ - environment_id - return self.get_reservations_for_environment_endpoint.call_with_http_info(**kwargs) - - def search_environments( - self, - **kwargs - ): - """search_environments # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_environments(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_filters (EnvironmentFilters): [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: - [EnvironmentView] - 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.search_environments_endpoint.call_with_http_info(**kwargs) - - def update_environment( - self, - environment_id, - **kwargs - ): - """update_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_environment(environment_id, async_req=True) - >>> result = thread.get() - - Args: - environment_id (str): - - Keyword Args: - environment_form (EnvironmentForm): [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: - EnvironmentView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_id'] = \ - environment_id - return self.update_environment_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/environment_label_api.py b/digitalai/release/v1/api/environment_label_api.py deleted file mode 100644 index 55696f4..0000000 --- a/digitalai/release/v1/api/environment_label_api.py +++ /dev/null @@ -1,726 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.environment_label_filters import EnvironmentLabelFilters -from digitalai.release.v1.model.environment_label_form import EnvironmentLabelForm -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView - - -class EnvironmentLabelApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_label_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentLabelView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/labels', - 'operation_id': 'create_label', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_label_form', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_label_form': - (EnvironmentLabelForm,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_label_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_environment_label_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/labels/{environmentLabelId}', - 'operation_id': 'delete_environment_label', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_label_id', - ], - 'required': [ - 'environment_label_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_label_id', - ] - }, - root_map={ - 'validations': { - ('environment_label_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentLabel[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_label_id': - (str,), - }, - 'attribute_map': { - 'environment_label_id': 'environmentLabelId', - }, - 'location_map': { - 'environment_label_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_label_by_id_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentLabelView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/labels/{environmentLabelId}', - 'operation_id': 'get_label_by_id', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_label_id', - ], - 'required': [ - 'environment_label_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_label_id', - ] - }, - root_map={ - 'validations': { - ('environment_label_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentLabel[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_label_id': - (str,), - }, - 'attribute_map': { - 'environment_label_id': 'environmentLabelId', - }, - 'location_map': { - 'environment_label_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_labels_endpoint = _Endpoint( - settings={ - 'response_type': ([EnvironmentLabelView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/labels/search', - 'operation_id': 'search_labels', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_label_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_label_filters': - (EnvironmentLabelFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_label_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_label_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentLabelView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/labels/{environmentLabelId}', - 'operation_id': 'update_label', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_label_id', - 'environment_label_form', - ], - 'required': [ - 'environment_label_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_label_id', - ] - }, - root_map={ - 'validations': { - ('environment_label_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentLabel[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_label_id': - (str,), - 'environment_label_form': - (EnvironmentLabelForm,), - }, - 'attribute_map': { - 'environment_label_id': 'environmentLabelId', - }, - 'location_map': { - 'environment_label_id': 'path', - 'environment_label_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_label( - self, - **kwargs - ): - """create_label # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_label(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_label_form (EnvironmentLabelForm): [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: - EnvironmentLabelView - 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.create_label_endpoint.call_with_http_info(**kwargs) - - def delete_environment_label( - self, - environment_label_id, - **kwargs - ): - """delete_environment_label # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_environment_label(environment_label_id, async_req=True) - >>> result = thread.get() - - Args: - environment_label_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_label_id'] = \ - environment_label_id - return self.delete_environment_label_endpoint.call_with_http_info(**kwargs) - - def get_label_by_id( - self, - environment_label_id, - **kwargs - ): - """get_label_by_id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_label_by_id(environment_label_id, async_req=True) - >>> result = thread.get() - - Args: - environment_label_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - EnvironmentLabelView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_label_id'] = \ - environment_label_id - return self.get_label_by_id_endpoint.call_with_http_info(**kwargs) - - def search_labels( - self, - **kwargs - ): - """search_labels # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_labels(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_label_filters (EnvironmentLabelFilters): [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: - [EnvironmentLabelView] - 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.search_labels_endpoint.call_with_http_info(**kwargs) - - def update_label( - self, - environment_label_id, - **kwargs - ): - """update_label # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_label(environment_label_id, async_req=True) - >>> result = thread.get() - - Args: - environment_label_id (str): - - Keyword Args: - environment_label_form (EnvironmentLabelForm): [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: - EnvironmentLabelView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_label_id'] = \ - environment_label_id - return self.update_label_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/environment_reservation_api.py b/digitalai/release/v1/api/environment_reservation_api.py deleted file mode 100644 index 5e2070e..0000000 --- a/digitalai/release/v1/api/environment_reservation_api.py +++ /dev/null @@ -1,872 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.environment_reservation_form import EnvironmentReservationForm -from digitalai.release.v1.model.environment_reservation_search_view import EnvironmentReservationSearchView -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from digitalai.release.v1.model.reservation_filters import ReservationFilters - - -class EnvironmentReservationApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_application_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations/{environmentReservationId}', - 'operation_id': 'add_application', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_reservation_id', - 'application_id', - ], - 'required': [ - 'environment_reservation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_reservation_id', - ] - }, - root_map={ - 'validations': { - ('environment_reservation_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentReservation[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_reservation_id': - (str,), - 'application_id': - (str,), - }, - 'attribute_map': { - 'environment_reservation_id': 'environmentReservationId', - 'application_id': 'applicationId', - }, - 'location_map': { - 'environment_reservation_id': 'path', - 'application_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.create_reservation_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentReservationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations', - 'operation_id': 'create_reservation', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_reservation_form', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_reservation_form': - (EnvironmentReservationForm,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_reservation_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_environment_reservation_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations/{environmentReservationId}', - 'operation_id': 'delete_environment_reservation', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_reservation_id', - ], - 'required': [ - 'environment_reservation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_reservation_id', - ] - }, - root_map={ - 'validations': { - ('environment_reservation_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentReservation[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_reservation_id': - (str,), - }, - 'attribute_map': { - 'environment_reservation_id': 'environmentReservationId', - }, - 'location_map': { - 'environment_reservation_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_reservation_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentReservationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations/{environmentReservationId}', - 'operation_id': 'get_reservation', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_reservation_id', - ], - 'required': [ - 'environment_reservation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_reservation_id', - ] - }, - root_map={ - 'validations': { - ('environment_reservation_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentReservation[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_reservation_id': - (str,), - }, - 'attribute_map': { - 'environment_reservation_id': 'environmentReservationId', - }, - 'location_map': { - 'environment_reservation_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_reservations_endpoint = _Endpoint( - settings={ - 'response_type': ([EnvironmentReservationSearchView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations/search', - 'operation_id': 'search_reservations', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'reservation_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'reservation_filters': - (ReservationFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'reservation_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_reservation_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentReservationView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/reservations/{environmentReservationId}', - 'operation_id': 'update_reservation', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_reservation_id', - 'environment_reservation_form', - ], - 'required': [ - 'environment_reservation_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_reservation_id', - ] - }, - root_map={ - 'validations': { - ('environment_reservation_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentReservation[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_reservation_id': - (str,), - 'environment_reservation_form': - (EnvironmentReservationForm,), - }, - 'attribute_map': { - 'environment_reservation_id': 'environmentReservationId', - }, - 'location_map': { - 'environment_reservation_id': 'path', - 'environment_reservation_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_application( - self, - environment_reservation_id, - **kwargs - ): - """add_application # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_application(environment_reservation_id, async_req=True) - >>> result = thread.get() - - Args: - environment_reservation_id (str): - - Keyword Args: - application_id (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_reservation_id'] = \ - environment_reservation_id - return self.add_application_endpoint.call_with_http_info(**kwargs) - - def create_reservation( - self, - **kwargs - ): - """create_reservation # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_reservation(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_reservation_form (EnvironmentReservationForm): [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: - EnvironmentReservationView - 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.create_reservation_endpoint.call_with_http_info(**kwargs) - - def delete_environment_reservation( - self, - environment_reservation_id, - **kwargs - ): - """delete_environment_reservation # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_environment_reservation(environment_reservation_id, async_req=True) - >>> result = thread.get() - - Args: - environment_reservation_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_reservation_id'] = \ - environment_reservation_id - return self.delete_environment_reservation_endpoint.call_with_http_info(**kwargs) - - def get_reservation( - self, - environment_reservation_id, - **kwargs - ): - """get_reservation # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_reservation(environment_reservation_id, async_req=True) - >>> result = thread.get() - - Args: - environment_reservation_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - EnvironmentReservationView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_reservation_id'] = \ - environment_reservation_id - return self.get_reservation_endpoint.call_with_http_info(**kwargs) - - def search_reservations( - self, - **kwargs - ): - """search_reservations # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_reservations(async_req=True) - >>> result = thread.get() - - - Keyword Args: - reservation_filters (ReservationFilters): [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: - [EnvironmentReservationSearchView] - 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.search_reservations_endpoint.call_with_http_info(**kwargs) - - def update_reservation( - self, - environment_reservation_id, - **kwargs - ): - """update_reservation # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_reservation(environment_reservation_id, async_req=True) - >>> result = thread.get() - - Args: - environment_reservation_id (str): - - Keyword Args: - environment_reservation_form (EnvironmentReservationForm): [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: - EnvironmentReservationView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_reservation_id'] = \ - environment_reservation_id - return self.update_reservation_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/environment_stage_api.py b/digitalai/release/v1/api/environment_stage_api.py deleted file mode 100644 index 81c4f21..0000000 --- a/digitalai/release/v1/api/environment_stage_api.py +++ /dev/null @@ -1,726 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.environment_stage_filters import EnvironmentStageFilters -from digitalai.release.v1.model.environment_stage_form import EnvironmentStageForm -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView - - -class EnvironmentStageApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_stage3_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentStageView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/stages', - 'operation_id': 'create_stage3', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_stage_form', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_stage_form': - (EnvironmentStageForm,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_stage_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_environment_stage_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/stages/{environmentStageId}', - 'operation_id': 'delete_environment_stage', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_stage_id', - ], - 'required': [ - 'environment_stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_stage_id', - ] - }, - root_map={ - 'validations': { - ('environment_stage_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentStage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_stage_id': - (str,), - }, - 'attribute_map': { - 'environment_stage_id': 'environmentStageId', - }, - 'location_map': { - 'environment_stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_stage_by_id_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentStageView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/stages/{environmentStageId}', - 'operation_id': 'get_stage_by_id', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_stage_id', - ], - 'required': [ - 'environment_stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_stage_id', - ] - }, - root_map={ - 'validations': { - ('environment_stage_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentStage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_stage_id': - (str,), - }, - 'attribute_map': { - 'environment_stage_id': 'environmentStageId', - }, - 'location_map': { - 'environment_stage_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_stages_endpoint = _Endpoint( - settings={ - 'response_type': ([EnvironmentStageView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/stages/search', - 'operation_id': 'search_stages', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_stage_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_stage_filters': - (EnvironmentStageFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'environment_stage_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_stage_in_environment_endpoint = _Endpoint( - settings={ - 'response_type': (EnvironmentStageView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/environments/stages/{environmentStageId}', - 'operation_id': 'update_stage_in_environment', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'environment_stage_id', - 'environment_stage_form', - ], - 'required': [ - 'environment_stage_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'environment_stage_id', - ] - }, - root_map={ - 'validations': { - ('environment_stage_id',): { - - 'regex': { - 'pattern': r'.*\/EnvironmentStage[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'environment_stage_id': - (str,), - 'environment_stage_form': - (EnvironmentStageForm,), - }, - 'attribute_map': { - 'environment_stage_id': 'environmentStageId', - }, - 'location_map': { - 'environment_stage_id': 'path', - 'environment_stage_form': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_stage3( - self, - **kwargs - ): - """create_stage3 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_stage3(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_stage_form (EnvironmentStageForm): [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: - EnvironmentStageView - 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.create_stage3_endpoint.call_with_http_info(**kwargs) - - def delete_environment_stage( - self, - environment_stage_id, - **kwargs - ): - """delete_environment_stage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_environment_stage(environment_stage_id, async_req=True) - >>> result = thread.get() - - Args: - environment_stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_stage_id'] = \ - environment_stage_id - return self.delete_environment_stage_endpoint.call_with_http_info(**kwargs) - - def get_stage_by_id( - self, - environment_stage_id, - **kwargs - ): - """get_stage_by_id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_stage_by_id(environment_stage_id, async_req=True) - >>> result = thread.get() - - Args: - environment_stage_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - EnvironmentStageView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_stage_id'] = \ - environment_stage_id - return self.get_stage_by_id_endpoint.call_with_http_info(**kwargs) - - def search_stages( - self, - **kwargs - ): - """search_stages # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_stages(async_req=True) - >>> result = thread.get() - - - Keyword Args: - environment_stage_filters (EnvironmentStageFilters): [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: - [EnvironmentStageView] - 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.search_stages_endpoint.call_with_http_info(**kwargs) - - def update_stage_in_environment( - self, - environment_stage_id, - **kwargs - ): - """update_stage_in_environment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_stage_in_environment(environment_stage_id, async_req=True) - >>> result = thread.get() - - Args: - environment_stage_id (str): - - Keyword Args: - environment_stage_form (EnvironmentStageForm): [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: - EnvironmentStageView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['environment_stage_id'] = \ - environment_stage_id - return self.update_stage_in_environment_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/facet_api.py b/digitalai/release/v1/api/facet_api.py deleted file mode 100644 index 7282e19..0000000 --- a/digitalai/release/v1/api/facet_api.py +++ /dev/null @@ -1,854 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.configuration_facet import ConfigurationFacet -from digitalai.release.v1.model.facet import Facet -from digitalai.release.v1.model.facet_filters import FacetFilters - - -class FacetApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_facet_endpoint = _Endpoint( - settings={ - 'response_type': (Facet,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets', - 'operation_id': 'create_facet', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'configuration_facet', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'configuration_facet': - (ConfigurationFacet,), - }, - 'attribute_map': { - }, - 'location_map': { - 'configuration_facet': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_facet_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets/{facetId}', - 'operation_id': 'delete_facet', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'facet_id', - ], - 'required': [ - 'facet_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'facet_id', - ] - }, - root_map={ - 'validations': { - ('facet_id',): { - - 'regex': { - 'pattern': r'.*Facet[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'facet_id': - (str,), - }, - 'attribute_map': { - 'facet_id': 'facetId', - }, - 'location_map': { - 'facet_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_facet_endpoint = _Endpoint( - settings={ - 'response_type': (Facet,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets/{facetId}', - 'operation_id': 'get_facet', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'facet_id', - ], - 'required': [ - 'facet_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'facet_id', - ] - }, - root_map={ - 'validations': { - ('facet_id',): { - - 'regex': { - 'pattern': r'.*Facet[^\/-]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'facet_id': - (str,), - }, - 'attribute_map': { - 'facet_id': 'facetId', - }, - 'location_map': { - 'facet_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_facet_types_endpoint = _Endpoint( - settings={ - 'response_type': ([bool, date, datetime, dict, float, int, list, str, none_type],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets/types', - 'operation_id': 'get_facet_types', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'base_type', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'base_type': - (str,), - }, - 'attribute_map': { - 'base_type': 'baseType', - }, - 'location_map': { - 'base_type': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_facets_endpoint = _Endpoint( - settings={ - 'response_type': ([Facet],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets/search', - 'operation_id': 'search_facets', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'facet_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'facet_filters': - (FacetFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'facet_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_facet_endpoint = _Endpoint( - settings={ - 'response_type': (Facet,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/facets/{facetId}', - 'operation_id': 'update_facet', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'facet_id', - 'configuration_facet', - ], - 'required': [ - 'facet_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'facet_id', - ] - }, - root_map={ - 'validations': { - ('facet_id',): { - - 'regex': { - 'pattern': r'.*Facet[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'facet_id': - (str,), - 'configuration_facet': - (ConfigurationFacet,), - }, - 'attribute_map': { - 'facet_id': 'facetId', - }, - 'location_map': { - 'facet_id': 'path', - 'configuration_facet': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_facet( - self, - **kwargs - ): - """create_facet # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_facet(async_req=True) - >>> result = thread.get() - - - Keyword Args: - configuration_facet (ConfigurationFacet): [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: - Facet - 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.create_facet_endpoint.call_with_http_info(**kwargs) - - def delete_facet( - self, - facet_id, - **kwargs - ): - """delete_facet # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_facet(facet_id, async_req=True) - >>> result = thread.get() - - Args: - facet_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['facet_id'] = \ - facet_id - return self.delete_facet_endpoint.call_with_http_info(**kwargs) - - def get_facet( - self, - facet_id, - **kwargs - ): - """get_facet # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_facet(facet_id, async_req=True) - >>> result = thread.get() - - Args: - facet_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Facet - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['facet_id'] = \ - facet_id - return self.get_facet_endpoint.call_with_http_info(**kwargs) - - def get_facet_types( - self, - **kwargs - ): - """get_facet_types # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_facet_types(async_req=True) - >>> result = thread.get() - - - Keyword Args: - base_type (str): [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: - [bool, date, datetime, dict, float, int, list, str, none_type] - 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.get_facet_types_endpoint.call_with_http_info(**kwargs) - - def search_facets( - self, - **kwargs - ): - """search_facets # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_facets(async_req=True) - >>> result = thread.get() - - - Keyword Args: - facet_filters (FacetFilters): [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: - [Facet] - 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.search_facets_endpoint.call_with_http_info(**kwargs) - - def update_facet( - self, - facet_id, - **kwargs - ): - """update_facet # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_facet(facet_id, async_req=True) - >>> result = thread.get() - - Args: - facet_id (str): - - Keyword Args: - configuration_facet (ConfigurationFacet): [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: - Facet - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['facet_id'] = \ - facet_id - return self.update_facet_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/folder_api.py b/digitalai/release/v1/api/folder_api.py deleted file mode 100644 index 094b6b6..0000000 --- a/digitalai/release/v1/api/folder_api.py +++ /dev/null @@ -1,3172 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.folder import Folder -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from digitalai.release.v1.model.team_view import TeamView -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 - - -class FolderApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_folder_endpoint = _Endpoint( - settings={ - 'response_type': (Folder,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}', - 'operation_id': 'add_folder', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'folder', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'folder': - (Folder,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - 'folder': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_folder_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/variables', - 'operation_id': 'create_folder_variable', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'variable1', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'variable1': - (Variable1,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - 'variable1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_folder_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}', - 'operation_id': 'delete_folder', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_folder_variable_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/{variableId}', - 'operation_id': 'delete_folder_variable', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'variable_id', - ], - 'required': [ - 'folder_id', - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - ('variable_id',): { - - 'regex': { - 'pattern': r'.*Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'variable_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'variable_id': 'variableId', - }, - 'location_map': { - 'folder_id': 'path', - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.find_endpoint = _Endpoint( - settings={ - 'response_type': (Folder,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/find', - 'operation_id': 'find', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'by_path', - 'depth', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'by_path': - (str,), - 'depth': - (int,), - }, - 'attribute_map': { - 'by_path': 'byPath', - 'depth': 'depth', - }, - 'location_map': { - 'by_path': 'query', - 'depth': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_folder_endpoint = _Endpoint( - settings={ - 'response_type': (Folder,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}', - 'operation_id': 'get_folder', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'depth', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'depth': - (int,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'depth': 'depth', - }, - 'location_map': { - 'folder_id': 'path', - 'depth': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_folder_permissions_endpoint = _Endpoint( - settings={ - 'response_type': ([str],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/permissions', - 'operation_id': 'get_folder_permissions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_folder_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/teams', - 'operation_id': 'get_folder_teams', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_folder_templates_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/templates', - 'operation_id': 'get_folder_templates', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'depth', - 'page', - 'results_per_page', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'depth': - (int,), - 'page': - (int,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'depth': 'depth', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'folder_id': 'path', - 'depth': 'query', - 'page': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_folder_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/{variableId}', - 'operation_id': 'get_folder_variable', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'variable_id', - ], - 'required': [ - 'folder_id', - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - ('variable_id',): { - - 'regex': { - 'pattern': r'.*Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'variable_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'variable_id': 'variableId', - }, - 'location_map': { - 'folder_id': 'path', - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.is_folder_owner_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/folderOwner', - 'operation_id': 'is_folder_owner', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_endpoint = _Endpoint( - settings={ - 'response_type': ([Folder],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/list', - 'operation_id': 'list', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'depth', - 'page', - 'permissions', - 'results_per_page', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'depth': - (int,), - 'page': - (int,), - 'permissions': - (bool,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'depth': 'depth', - 'page': 'page', - 'permissions': 'permissions', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'folder_id': 'path', - 'depth': 'query', - 'page': 'query', - 'permissions': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_root_endpoint = _Endpoint( - settings={ - 'response_type': ([Folder],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/list', - 'operation_id': 'list_root', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'depth', - 'page', - 'permissions', - 'results_per_page', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'depth': - (int,), - 'page': - (int,), - 'permissions': - (bool,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'depth': 'depth', - 'page': 'page', - 'permissions': 'permissions', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'depth': 'query', - 'page': 'query', - 'permissions': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_variable_values_endpoint = _Endpoint( - settings={ - 'response_type': ({str: (str,)},), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/variableValues', - 'operation_id': 'list_variable_values', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'folder_only', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'folder_only': - (bool,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'folder_only': 'folderOnly', - }, - 'location_map': { - 'folder_id': 'path', - 'folder_only': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/variables', - 'operation_id': 'list_variables', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'folder_only', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'folder_only': - (bool,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'folder_only': 'folderOnly', - }, - 'location_map': { - 'folder_id': 'path', - 'folder_only': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.move_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/move', - 'operation_id': 'move', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'new_parent_id', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'new_parent_id': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'new_parent_id': 'newParentId', - }, - 'location_map': { - 'folder_id': 'path', - 'new_parent_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.move_template_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/templates/{templateId}', - 'operation_id': 'move_template', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'template_id', - 'merge_permissions', - ], - 'required': [ - 'folder_id', - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - 'template_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'template_id': - (str,), - 'merge_permissions': - (bool,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'template_id': 'templateId', - 'merge_permissions': 'mergePermissions', - }, - 'location_map': { - 'folder_id': 'path', - 'template_id': 'path', - 'merge_permissions': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.rename_folder_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/rename', - 'operation_id': 'rename_folder', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'new_name', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'new_name': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'new_name': 'newName', - }, - 'location_map': { - 'folder_id': 'path', - 'new_name': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.search_releases_folder_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/releases', - 'operation_id': 'search_releases_folder', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'depth', - 'numberbypage', - 'page', - 'releases_filters', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'depth': - (int,), - 'numberbypage': - (int,), - 'page': - (int,), - 'releases_filters': - (ReleasesFilters,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'depth': 'depth', - 'numberbypage': 'numberbypage', - 'page': 'page', - }, - 'location_map': { - 'folder_id': 'path', - 'depth': 'query', - 'numberbypage': 'query', - 'page': 'query', - 'releases_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_folder_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/teams', - 'operation_id': 'set_folder_teams', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'team_view', - ], - 'required': [ - 'folder_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'team_view': - ([TeamView],), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'path', - 'team_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_folder_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/folders/{folderId}/{variableId}', - 'operation_id': 'update_folder_variable', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'variable_id', - 'variable', - ], - 'required': [ - 'folder_id', - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'folder_id', - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('folder_id',): { - - 'regex': { - 'pattern': r'.*(Folder[^\/]*|Applications)', # noqa: E501 - }, - }, - ('variable_id',): { - - 'regex': { - 'pattern': r'.*Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'variable_id': - (str,), - 'variable': - (Variable,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'variable_id': 'variableId', - }, - 'location_map': { - 'folder_id': 'path', - 'variable_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_folder( - self, - folder_id, - **kwargs - ): - """add_folder # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_folder(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - folder (Folder): [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: - Folder - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.add_folder_endpoint.call_with_http_info(**kwargs) - - def create_folder_variable( - self, - folder_id, - **kwargs - ): - """create_folder_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_folder_variable(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - variable1 (Variable1): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.create_folder_variable_endpoint.call_with_http_info(**kwargs) - - def delete_folder( - self, - folder_id, - **kwargs - ): - """delete_folder # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_folder(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.delete_folder_endpoint.call_with_http_info(**kwargs) - - def delete_folder_variable( - self, - folder_id, - variable_id, - **kwargs - ): - """delete_folder_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_folder_variable(folder_id, variable_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - kwargs['variable_id'] = \ - variable_id - return self.delete_folder_variable_endpoint.call_with_http_info(**kwargs) - - def find( - self, - **kwargs - ): - """find # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.find(async_req=True) - >>> result = thread.get() - - - Keyword Args: - by_path (str): [optional] - depth (int): [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: - Folder - 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.find_endpoint.call_with_http_info(**kwargs) - - def get_folder( - self, - folder_id, - **kwargs - ): - """get_folder # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_folder(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - depth (int): [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: - Folder - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.get_folder_endpoint.call_with_http_info(**kwargs) - - def get_folder_permissions( - self, - **kwargs - ): - """get_folder_permissions # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_folder_permissions(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [str] - 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.get_folder_permissions_endpoint.call_with_http_info(**kwargs) - - def get_folder_teams( - self, - folder_id, - **kwargs - ): - """get_folder_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_folder_teams(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.get_folder_teams_endpoint.call_with_http_info(**kwargs) - - def get_folder_templates( - self, - folder_id, - **kwargs - ): - """get_folder_templates # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_folder_templates(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - depth (int): [optional] - page (int): [optional] - results_per_page (int): [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: - [Release] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.get_folder_templates_endpoint.call_with_http_info(**kwargs) - - def get_folder_variable( - self, - folder_id, - variable_id, - **kwargs - ): - """get_folder_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_folder_variable(folder_id, variable_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - kwargs['variable_id'] = \ - variable_id - return self.get_folder_variable_endpoint.call_with_http_info(**kwargs) - - def is_folder_owner( - self, - folder_id, - **kwargs - ): - """is_folder_owner # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.is_folder_owner(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.is_folder_owner_endpoint.call_with_http_info(**kwargs) - - def list( - self, - folder_id, - **kwargs - ): - """list # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - depth (int): [optional] - page (int): [optional] - permissions (bool): [optional] - results_per_page (int): [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: - [Folder] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.list_endpoint.call_with_http_info(**kwargs) - - def list_root( - self, - **kwargs - ): - """list_root # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_root(async_req=True) - >>> result = thread.get() - - - Keyword Args: - depth (int): [optional] - page (int): [optional] - permissions (bool): [optional] - results_per_page (int): [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: - [Folder] - 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.list_root_endpoint.call_with_http_info(**kwargs) - - def list_variable_values( - self, - folder_id, - **kwargs - ): - """list_variable_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_variable_values(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - folder_only (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - {str: (str,)} - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.list_variable_values_endpoint.call_with_http_info(**kwargs) - - def list_variables( - self, - folder_id, - **kwargs - ): - """list_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_variables(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - folder_only (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.list_variables_endpoint.call_with_http_info(**kwargs) - - def move( - self, - folder_id, - **kwargs - ): - """move # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.move(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - new_parent_id (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.move_endpoint.call_with_http_info(**kwargs) - - def move_template( - self, - folder_id, - template_id, - **kwargs - ): - """move_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.move_template(folder_id, template_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - template_id (str): - - Keyword Args: - merge_permissions (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - kwargs['template_id'] = \ - template_id - return self.move_template_endpoint.call_with_http_info(**kwargs) - - def rename_folder( - self, - folder_id, - **kwargs - ): - """rename_folder # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.rename_folder(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - new_name (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.rename_folder_endpoint.call_with_http_info(**kwargs) - - def search_releases_folder( - self, - folder_id, - **kwargs - ): - """search_releases_folder # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_releases_folder(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - depth (int): [optional] - numberbypage (int): [optional] - page (int): [optional] - releases_filters (ReleasesFilters): [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: - [Release] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.search_releases_folder_endpoint.call_with_http_info(**kwargs) - - def set_folder_teams( - self, - folder_id, - **kwargs - ): - """set_folder_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_folder_teams(folder_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - - Keyword Args: - team_view ([TeamView]): [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: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - return self.set_folder_teams_endpoint.call_with_http_info(**kwargs) - - def update_folder_variable( - self, - folder_id, - variable_id, - **kwargs - ): - """update_folder_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_folder_variable(folder_id, variable_id, async_req=True) - >>> result = thread.get() - - Args: - folder_id (str): - variable_id (str): - - Keyword Args: - variable (Variable): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['folder_id'] = \ - folder_id - kwargs['variable_id'] = \ - variable_id - return self.update_folder_variable_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/permissions_api.py b/digitalai/release/v1/api/permissions_api.py deleted file mode 100644 index 2580176..0000000 --- a/digitalai/release/v1/api/permissions_api.py +++ /dev/null @@ -1,159 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) - - -class PermissionsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_global_permissions_endpoint = _Endpoint( - settings={ - 'response_type': ([str],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/global-permissions', - 'operation_id': 'get_global_permissions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_global_permissions( - self, - **kwargs - ): - """get_global_permissions # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_global_permissions(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [str] - 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.get_global_permissions_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/phase_api.py b/digitalai/release/v1/api/phase_api.py deleted file mode 100644 index d2b2016..0000000 --- a/digitalai/release/v1/api/phase_api.py +++ /dev/null @@ -1,1197 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.phase import Phase -from digitalai.release.v1.model.phase_version import PhaseVersion -from digitalai.release.v1.model.task import Task - - -class PhaseApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_phase_endpoint = _Endpoint( - settings={ - 'response_type': (Phase,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{releaseId}/phase', - 'operation_id': 'add_phase', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'position', - 'phase', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'position': - (int,), - 'phase': - (Phase,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - 'position': 'position', - }, - 'location_map': { - 'release_id': 'path', - 'position': 'query', - 'phase': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.add_task_to_container_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{containerId}/tasks', - 'operation_id': 'add_task_to_container', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'container_id', - 'position', - 'task', - ], - 'required': [ - 'container_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'container_id', - ] - }, - root_map={ - 'validations': { - ('container_id',): { - - 'regex': { - 'pattern': r'.*\/Phase.*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'container_id': - (str,), - 'position': - (int,), - 'task': - (Task,), - }, - 'attribute_map': { - 'container_id': 'containerId', - 'position': 'position', - }, - 'location_map': { - 'container_id': 'path', - 'position': 'query', - 'task': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.copy_phase_endpoint = _Endpoint( - settings={ - 'response_type': (Phase,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{phaseId}/copy', - 'operation_id': 'copy_phase', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_id', - 'target_position', - ], - 'required': [ - 'phase_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'phase_id', - ] - }, - root_map={ - 'validations': { - ('phase_id',): { - - 'regex': { - 'pattern': r'.*\/Phase[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_id': - (str,), - 'target_position': - (int,), - }, - 'attribute_map': { - 'phase_id': 'phaseId', - 'target_position': 'targetPosition', - }, - 'location_map': { - 'phase_id': 'path', - 'target_position': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_phase_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{phaseId}', - 'operation_id': 'delete_phase', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_id', - ], - 'required': [ - 'phase_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'phase_id', - ] - }, - root_map={ - 'validations': { - ('phase_id',): { - - 'regex': { - 'pattern': r'.*\/Phase[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_id': - (str,), - }, - 'attribute_map': { - 'phase_id': 'phaseId', - }, - 'location_map': { - 'phase_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_phase_endpoint = _Endpoint( - settings={ - 'response_type': (Phase,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{phaseId}', - 'operation_id': 'get_phase', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_id', - ], - 'required': [ - 'phase_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'phase_id', - ] - }, - root_map={ - 'validations': { - ('phase_id',): { - - 'regex': { - 'pattern': r'.*\/Phase[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_id': - (str,), - }, - 'attribute_map': { - 'phase_id': 'phaseId', - }, - 'location_map': { - 'phase_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_phases_endpoint = _Endpoint( - settings={ - 'response_type': ([Phase],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/search', - 'operation_id': 'search_phases', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_title', - 'phase_version', - 'release_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_title': - (str,), - 'phase_version': - (PhaseVersion,), - 'release_id': - (str,), - }, - 'attribute_map': { - 'phase_title': 'phaseTitle', - 'phase_version': 'phaseVersion', - 'release_id': 'releaseId', - }, - 'location_map': { - 'phase_title': 'query', - 'phase_version': 'query', - 'release_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_phases_by_title_endpoint = _Endpoint( - settings={ - 'response_type': ([Phase],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/byTitle', - 'operation_id': 'search_phases_by_title', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_title', - 'release_id', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_title': - (str,), - 'release_id': - (str,), - }, - 'attribute_map': { - 'phase_title': 'phaseTitle', - 'release_id': 'releaseId', - }, - 'location_map': { - 'phase_title': 'query', - 'release_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_phase_endpoint = _Endpoint( - settings={ - 'response_type': (Phase,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/phases/{phaseId}', - 'operation_id': 'update_phase', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_id', - 'phase', - ], - 'required': [ - 'phase_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'phase_id', - ] - }, - root_map={ - 'validations': { - ('phase_id',): { - - 'regex': { - 'pattern': r'.*\/Phase[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_id': - (str,), - 'phase': - (Phase,), - }, - 'attribute_map': { - 'phase_id': 'phaseId', - }, - 'location_map': { - 'phase_id': 'path', - 'phase': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_phase( - self, - release_id, - **kwargs - ): - """add_phase # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_phase(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - position (int): [optional] - phase (Phase): [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: - Phase - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.add_phase_endpoint.call_with_http_info(**kwargs) - - def add_task_to_container( - self, - container_id, - **kwargs - ): - """add_task_to_container # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_task_to_container(container_id, async_req=True) - >>> result = thread.get() - - Args: - container_id (str): - - Keyword Args: - position (int): [optional] - task (Task): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['container_id'] = \ - container_id - return self.add_task_to_container_endpoint.call_with_http_info(**kwargs) - - def copy_phase( - self, - phase_id, - **kwargs - ): - """copy_phase # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.copy_phase(phase_id, async_req=True) - >>> result = thread.get() - - Args: - phase_id (str): - - Keyword Args: - target_position (int): [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: - Phase - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['phase_id'] = \ - phase_id - return self.copy_phase_endpoint.call_with_http_info(**kwargs) - - def delete_phase( - self, - phase_id, - **kwargs - ): - """delete_phase # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_phase(phase_id, async_req=True) - >>> result = thread.get() - - Args: - phase_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['phase_id'] = \ - phase_id - return self.delete_phase_endpoint.call_with_http_info(**kwargs) - - def get_phase( - self, - phase_id, - **kwargs - ): - """get_phase # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_phase(phase_id, async_req=True) - >>> result = thread.get() - - Args: - phase_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Phase - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['phase_id'] = \ - phase_id - return self.get_phase_endpoint.call_with_http_info(**kwargs) - - def search_phases( - self, - **kwargs - ): - """search_phases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_phases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - phase_title (str): [optional] - phase_version (PhaseVersion): [optional] - release_id (str): [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: - [Phase] - 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.search_phases_endpoint.call_with_http_info(**kwargs) - - def search_phases_by_title( - self, - **kwargs - ): - """search_phases_by_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_phases_by_title(async_req=True) - >>> result = thread.get() - - - Keyword Args: - phase_title (str): [optional] - release_id (str): [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: - [Phase] - 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.search_phases_by_title_endpoint.call_with_http_info(**kwargs) - - def update_phase( - self, - phase_id, - **kwargs - ): - """update_phase # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_phase(phase_id, async_req=True) - >>> result = thread.get() - - Args: - phase_id (str): - - Keyword Args: - phase (Phase): [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: - Phase - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['phase_id'] = \ - phase_id - return self.update_phase_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/planner_api.py b/digitalai/release/v1/api/planner_api.py deleted file mode 100644 index 5b0ce4f..0000000 --- a/digitalai/release/v1/api/planner_api.py +++ /dev/null @@ -1,441 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.projected_release import ProjectedRelease - - -class PlannerApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_active_releases_endpoint = _Endpoint( - settings={ - 'response_type': ([ProjectedRelease],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/analytics/planner/active', - 'operation_id': 'get_active_releases', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'page', - 'results_per_page', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'page': - (int,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'page': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_completed_releases_endpoint = _Endpoint( - settings={ - 'response_type': ([ProjectedRelease],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/analytics/planner/completed', - 'operation_id': 'get_completed_releases', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'page', - 'results_per_page', - 'since', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'page': - (int,), - 'results_per_page': - (int,), - 'since': - (int,), - }, - 'attribute_map': { - 'page': 'page', - 'results_per_page': 'resultsPerPage', - 'since': 'since', - }, - 'location_map': { - 'page': 'query', - 'results_per_page': 'query', - 'since': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_releases_by_ids_endpoint = _Endpoint( - settings={ - 'response_type': ([ProjectedRelease],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/analytics/planner/byIds', - 'operation_id': 'get_releases_by_ids', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'request_body', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'request_body': - ([str],), - }, - 'attribute_map': { - }, - 'location_map': { - 'request_body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def get_active_releases( - self, - **kwargs - ): - """get_active_releases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_active_releases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - _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: - [ProjectedRelease] - 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.get_active_releases_endpoint.call_with_http_info(**kwargs) - - def get_completed_releases( - self, - **kwargs - ): - """get_completed_releases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_completed_releases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - since (int): [optional] if omitted the server will use the default value of 0 - _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: - [ProjectedRelease] - 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.get_completed_releases_endpoint.call_with_http_info(**kwargs) - - def get_releases_by_ids( - self, - **kwargs - ): - """get_releases_by_ids # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_releases_by_ids(async_req=True) - >>> result = thread.get() - - - Keyword Args: - request_body ([str]): [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: - [ProjectedRelease] - 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.get_releases_by_ids_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/release_api.py b/digitalai/release/v1/api/release_api.py deleted file mode 100644 index 53ddb46..0000000 --- a/digitalai/release/v1/api/release_api.py +++ /dev/null @@ -1,4046 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.abort_release import AbortRelease -from digitalai.release.v1.model.phase_version import PhaseVersion -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.release_count_results import ReleaseCountResults -from digitalai.release.v1.model.release_full_search_result import ReleaseFullSearchResult -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from digitalai.release.v1.model.task import Task -from digitalai.release.v1.model.team_view import TeamView -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from digitalai.release.v1.model.variable_or_value import VariableOrValue - - -class ReleaseApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.abort_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/abort', - 'operation_id': 'abort', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'abort_release', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'abort_release': - (AbortRelease,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'abort_release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.count_releases_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseCountResults,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/count', - 'operation_id': 'count_releases', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'releases_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'releases_filters': - (ReleasesFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'releases_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_release_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/variables', - 'operation_id': 'create_release_variable', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'variable1', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'variable1': - (Variable1,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'variable1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_release_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}', - 'operation_id': 'delete_release', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_release_variable_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}', - 'operation_id': 'delete_release_variable', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.download_attachment_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/attachments/{attachmentId}', - 'operation_id': 'download_attachment', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'attachment_id', - ], - 'required': [ - 'attachment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'attachment_id', - ] - }, - root_map={ - 'validations': { - ('attachment_id',): { - - 'regex': { - 'pattern': r'.*\/Attachment[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'attachment_id': - (str,), - }, - 'attribute_map': { - 'attachment_id': 'attachmentId', - }, - 'location_map': { - 'attachment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.full_search_releases_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseFullSearchResult,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/fullSearch', - 'operation_id': 'full_search_releases', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'archive_page', - 'archive_results_per_page', - 'page', - 'results_per_page', - 'releases_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'archive_page': - (int,), - 'archive_results_per_page': - (int,), - 'page': - (int,), - 'results_per_page': - (int,), - 'releases_filters': - (ReleasesFilters,), - }, - 'attribute_map': { - 'archive_page': 'archivePage', - 'archive_results_per_page': 'archiveResultsPerPage', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'archive_page': 'query', - 'archive_results_per_page': 'query', - 'page': 'query', - 'results_per_page': 'query', - 'releases_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_active_tasks_endpoint = _Endpoint( - settings={ - 'response_type': ([Task],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/active-tasks', - 'operation_id': 'get_active_tasks', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_archived_release_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/archived/{releaseId}', - 'operation_id': 'get_archived_release', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'role_ids', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'role_ids': - (bool,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - 'role_ids': 'roleIds', - }, - 'location_map': { - 'release_id': 'path', - 'role_ids': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_possible_release_variable_values_endpoint = _Endpoint( - settings={ - 'response_type': ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}/possibleValues', - 'operation_id': 'get_possible_release_variable_values', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}', - 'operation_id': 'get_release', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'role_ids', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'((?!archived).)*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'role_ids': - (bool,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - 'role_ids': 'roleIds', - }, - 'location_map': { - 'release_id': 'path', - 'role_ids': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_permissions_endpoint = _Endpoint( - settings={ - 'response_type': ([str],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/permissions', - 'operation_id': 'get_release_permissions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/teams', - 'operation_id': 'get_release_teams', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}', - 'operation_id': 'get_release_variable', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/variables', - 'operation_id': 'get_release_variables', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_releases_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases', - 'operation_id': 'get_releases', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'depth', - 'page', - 'results_per_page', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'depth': - (int,), - 'page': - (int,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'depth': 'depth', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'depth': 'query', - 'page': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_variable_values_endpoint = _Endpoint( - settings={ - 'response_type': ({str: (str,)},), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/variableValues', - 'operation_id': 'get_variable_values', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.is_variable_used_release_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}/used', - 'operation_id': 'is_variable_used_release', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.replace_release_variables_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}/replace', - 'operation_id': 'replace_release_variables', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - 'variable_or_value', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - 'variable_or_value': - (VariableOrValue,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - 'variable_or_value': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.restart_phases_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/restart', - 'operation_id': 'restart_phases', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'from_phase_id', - 'from_task_id', - 'phase_version', - 'resume', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'from_phase_id': - (str,), - 'from_task_id': - (str,), - 'phase_version': - (PhaseVersion,), - 'resume': - (bool,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - 'from_phase_id': 'fromPhaseId', - 'from_task_id': 'fromTaskId', - 'phase_version': 'phaseVersion', - 'resume': 'resume', - }, - 'location_map': { - 'release_id': 'path', - 'from_phase_id': 'query', - 'from_task_id': 'query', - 'phase_version': 'query', - 'resume': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.resume_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/resume', - 'operation_id': 'resume', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_releases_by_title_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/byTitle', - 'operation_id': 'search_releases_by_title', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_title', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_title': - (str,), - }, - 'attribute_map': { - 'release_title': 'releaseTitle', - }, - 'location_map': { - 'release_title': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_releases_release_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/search', - 'operation_id': 'search_releases_release', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'page', - 'page_is_offset', - 'results_per_page', - 'releases_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'page': - (int,), - 'page_is_offset': - (bool,), - 'results_per_page': - (int,), - 'releases_filters': - (ReleasesFilters,), - }, - 'attribute_map': { - 'page': 'page', - 'page_is_offset': 'pageIsOffset', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'page': 'query', - 'page_is_offset': 'query', - 'results_per_page': 'query', - 'releases_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_release_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/teams', - 'operation_id': 'set_release_teams', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'team_view', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'team_view': - ([TeamView],), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'team_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.start_release_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/start', - 'operation_id': 'start_release', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_release_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}', - 'operation_id': 'update_release', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'release', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'release': - (Release,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_release_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{variableId}', - 'operation_id': 'update_release_variable', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - 'variable', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - 'variable': - (Variable,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_release_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/releases/{releaseId}/variables', - 'operation_id': 'update_release_variables', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'variable', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'variable': - ([Variable],), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def abort( - self, - release_id, - **kwargs - ): - """abort # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.abort(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - abort_release (AbortRelease): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.abort_endpoint.call_with_http_info(**kwargs) - - def count_releases( - self, - **kwargs - ): - """count_releases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.count_releases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - releases_filters (ReleasesFilters): [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: - ReleaseCountResults - 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.count_releases_endpoint.call_with_http_info(**kwargs) - - def create_release_variable( - self, - release_id, - **kwargs - ): - """create_release_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_release_variable(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - variable1 (Variable1): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.create_release_variable_endpoint.call_with_http_info(**kwargs) - - def delete_release( - self, - release_id, - **kwargs - ): - """delete_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.delete_release_endpoint.call_with_http_info(**kwargs) - - def delete_release_variable( - self, - variable_id, - **kwargs - ): - """delete_release_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_release_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.delete_release_variable_endpoint.call_with_http_info(**kwargs) - - def download_attachment( - self, - attachment_id, - **kwargs - ): - """download_attachment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.download_attachment(attachment_id, async_req=True) - >>> result = thread.get() - - Args: - attachment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['attachment_id'] = \ - attachment_id - return self.download_attachment_endpoint.call_with_http_info(**kwargs) - - def full_search_releases( - self, - **kwargs - ): - """full_search_releases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.full_search_releases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - archive_page (int): [optional] - archive_results_per_page (int): [optional] - page (int): [optional] - results_per_page (int): [optional] - releases_filters (ReleasesFilters): [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: - ReleaseFullSearchResult - 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.full_search_releases_endpoint.call_with_http_info(**kwargs) - - def get_active_tasks( - self, - release_id, - **kwargs - ): - """get_active_tasks # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_active_tasks(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Task] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_active_tasks_endpoint.call_with_http_info(**kwargs) - - def get_archived_release( - self, - release_id, - **kwargs - ): - """get_archived_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_archived_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - role_ids (bool): [optional] if omitted the server will use the default value of False - _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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_archived_release_endpoint.call_with_http_info(**kwargs) - - def get_possible_release_variable_values( - self, - variable_id, - **kwargs - ): - """get_possible_release_variable_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_possible_release_variable_values(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.get_possible_release_variable_values_endpoint.call_with_http_info(**kwargs) - - def get_release( - self, - release_id, - **kwargs - ): - """get_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - role_ids (bool): [optional] if omitted the server will use the default value of False - _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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_release_endpoint.call_with_http_info(**kwargs) - - def get_release_permissions( - self, - **kwargs - ): - """get_release_permissions # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release_permissions(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [str] - 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.get_release_permissions_endpoint.call_with_http_info(**kwargs) - - def get_release_teams( - self, - release_id, - **kwargs - ): - """get_release_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release_teams(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_release_teams_endpoint.call_with_http_info(**kwargs) - - def get_release_variable( - self, - variable_id, - **kwargs - ): - """get_release_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.get_release_variable_endpoint.call_with_http_info(**kwargs) - - def get_release_variables( - self, - release_id, - **kwargs - ): - """get_release_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release_variables(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_release_variables_endpoint.call_with_http_info(**kwargs) - - def get_releases( - self, - **kwargs - ): - """get_releases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_releases(async_req=True) - >>> result = thread.get() - - - Keyword Args: - depth (int): [optional] if omitted the server will use the default value of 1 - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - _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: - [Release] - 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.get_releases_endpoint.call_with_http_info(**kwargs) - - def get_variable_values( - self, - release_id, - **kwargs - ): - """get_variable_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_variable_values(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - {str: (str,)} - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_variable_values_endpoint.call_with_http_info(**kwargs) - - def is_variable_used_release( - self, - variable_id, - **kwargs - ): - """is_variable_used_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.is_variable_used_release(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.is_variable_used_release_endpoint.call_with_http_info(**kwargs) - - def replace_release_variables( - self, - variable_id, - **kwargs - ): - """replace_release_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.replace_release_variables(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - variable_or_value (VariableOrValue): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.replace_release_variables_endpoint.call_with_http_info(**kwargs) - - def restart_phases( - self, - release_id, - **kwargs - ): - """restart_phases # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.restart_phases(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - from_phase_id (str): [optional] - from_task_id (str): [optional] - phase_version (PhaseVersion): [optional] - resume (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.restart_phases_endpoint.call_with_http_info(**kwargs) - - def resume( - self, - release_id, - **kwargs - ): - """resume # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.resume(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.resume_endpoint.call_with_http_info(**kwargs) - - def search_releases_by_title( - self, - **kwargs - ): - """search_releases_by_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_releases_by_title(async_req=True) - >>> result = thread.get() - - - Keyword Args: - release_title (str): [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: - [Release] - 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.search_releases_by_title_endpoint.call_with_http_info(**kwargs) - - def search_releases_release( - self, - **kwargs - ): - """search_releases_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_releases_release(async_req=True) - >>> result = thread.get() - - - Keyword Args: - page (int): [optional] if omitted the server will use the default value of 0 - page_is_offset (bool): [optional] if omitted the server will use the default value of False - results_per_page (int): [optional] if omitted the server will use the default value of 100 - releases_filters (ReleasesFilters): [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: - [Release] - 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.search_releases_release_endpoint.call_with_http_info(**kwargs) - - def set_release_teams( - self, - release_id, - **kwargs - ): - """set_release_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_release_teams(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - team_view ([TeamView]): [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: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.set_release_teams_endpoint.call_with_http_info(**kwargs) - - def start_release( - self, - release_id, - **kwargs - ): - """start_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.start_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.start_release_endpoint.call_with_http_info(**kwargs) - - def update_release( - self, - release_id, - **kwargs - ): - """update_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - release (Release): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.update_release_endpoint.call_with_http_info(**kwargs) - - def update_release_variable( - self, - variable_id, - **kwargs - ): - """update_release_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_release_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - variable (Variable): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.update_release_variable_endpoint.call_with_http_info(**kwargs) - - def update_release_variables( - self, - release_id, - **kwargs - ): - """update_release_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_release_variables(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - variable ([Variable]): [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: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.update_release_variables_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/release_group_api.py b/digitalai/release/v1/api/release_group_api.py deleted file mode 100644 index 02e722d..0000000 --- a/digitalai/release/v1/api/release_group_api.py +++ /dev/null @@ -1,1318 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.release_group import ReleaseGroup -from digitalai.release.v1.model.release_group_filters import ReleaseGroupFilters -from digitalai.release.v1.model.release_group_timeline import ReleaseGroupTimeline - - -class ReleaseGroupApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_members_to_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}/members', - 'operation_id': 'add_members_to_group', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'request_body', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'request_body': - ([str],), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - 'request_body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_group_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseGroup,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups', - 'operation_id': 'create_group', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_group', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_group': - (ReleaseGroup,), - }, - 'attribute_map': { - }, - 'location_map': { - 'release_group': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}', - 'operation_id': 'delete_group', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_group_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseGroup,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}', - 'operation_id': 'get_group', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_members_endpoint = _Endpoint( - settings={ - 'response_type': ([str],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}/members', - 'operation_id': 'get_members', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_release_group_timeline_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseGroupTimeline,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}/timeline', - 'operation_id': 'get_release_group_timeline', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.remove_members_from_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}/members', - 'operation_id': 'remove_members_from_group', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'request_body', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'request_body': - ([str],), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - 'request_body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.search_groups_endpoint = _Endpoint( - settings={ - 'response_type': ([ReleaseGroup],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/search', - 'operation_id': 'search_groups', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'order_by', - 'page', - 'results_per_page', - 'release_group_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'order_by': - (bool, date, datetime, dict, float, int, list, str, none_type,), - 'page': - (int,), - 'results_per_page': - (int,), - 'release_group_filters': - (ReleaseGroupFilters,), - }, - 'attribute_map': { - 'order_by': 'orderBy', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'order_by': 'query', - 'page': 'query', - 'results_per_page': 'query', - 'release_group_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_group_endpoint = _Endpoint( - settings={ - 'response_type': (ReleaseGroup,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/release-groups/{groupId}', - 'operation_id': 'update_group', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'release_group', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'group_id', - ] - }, - root_map={ - 'validations': { - ('group_id',): { - - 'regex': { - 'pattern': r'.*ReleaseGroup[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'release_group': - (ReleaseGroup,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - 'release_group': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_members_to_group( - self, - group_id, - **kwargs - ): - """add_members_to_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_members_to_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - request_body ([str]): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.add_members_to_group_endpoint.call_with_http_info(**kwargs) - - def create_group( - self, - **kwargs - ): - """create_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_group(async_req=True) - >>> result = thread.get() - - - Keyword Args: - release_group (ReleaseGroup): [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: - ReleaseGroup - 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.create_group_endpoint.call_with_http_info(**kwargs) - - def delete_group( - self, - group_id, - **kwargs - ): - """delete_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.delete_group_endpoint.call_with_http_info(**kwargs) - - def get_group( - self, - group_id, - **kwargs - ): - """get_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ReleaseGroup - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.get_group_endpoint.call_with_http_info(**kwargs) - - def get_members( - self, - group_id, - **kwargs - ): - """get_members # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_members(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [str] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.get_members_endpoint.call_with_http_info(**kwargs) - - def get_release_group_timeline( - self, - group_id, - **kwargs - ): - """get_release_group_timeline # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_release_group_timeline(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ReleaseGroupTimeline - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.get_release_group_timeline_endpoint.call_with_http_info(**kwargs) - - def remove_members_from_group( - self, - group_id, - **kwargs - ): - """remove_members_from_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.remove_members_from_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - request_body ([str]): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.remove_members_from_group_endpoint.call_with_http_info(**kwargs) - - def search_groups( - self, - **kwargs - ): - """search_groups # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_groups(async_req=True) - >>> result = thread.get() - - - Keyword Args: - order_by (bool, date, datetime, dict, float, int, list, str, none_type): [optional] - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - release_group_filters (ReleaseGroupFilters): [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: - [ReleaseGroup] - 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.search_groups_endpoint.call_with_http_info(**kwargs) - - def update_group( - self, - group_id, - **kwargs - ): - """update_group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - release_group (ReleaseGroup): [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: - ReleaseGroup - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['group_id'] = \ - group_id - return self.update_group_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/report_api.py b/digitalai/release/v1/api/report_api.py deleted file mode 100644 index f8da03f..0000000 --- a/digitalai/release/v1/api/report_api.py +++ /dev/null @@ -1,599 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.facet_filters import FacetFilters -from digitalai.release.v1.model.task_reporting_record import TaskReportingRecord - - -class ReportApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.download_release_report_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/reports/download/{reportType}/{releaseId}', - 'operation_id': 'download_release_report', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'report_type', - ], - 'required': [ - 'release_id', - 'report_type', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'report_type': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - 'report_type': 'reportType', - }, - 'location_map': { - 'release_id': 'path', - 'report_type': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_records_for_release_endpoint = _Endpoint( - settings={ - 'response_type': ([TaskReportingRecord],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/reports/records/{releaseId}', - 'operation_id': 'get_records_for_release', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_records_for_task_endpoint = _Endpoint( - settings={ - 'response_type': ([TaskReportingRecord],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/reports/records/{taskId}', - 'operation_id': 'get_records_for_task', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.search_records_endpoint = _Endpoint( - settings={ - 'response_type': ([TaskReportingRecord],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/reports/records/search', - 'operation_id': 'search_records', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'facet_filters', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'facet_filters': - (FacetFilters,), - }, - 'attribute_map': { - }, - 'location_map': { - 'facet_filters': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def download_release_report( - self, - release_id, - report_type, - **kwargs - ): - """download_release_report # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.download_release_report(release_id, report_type, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - report_type (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - kwargs['report_type'] = \ - report_type - return self.download_release_report_endpoint.call_with_http_info(**kwargs) - - def get_records_for_release( - self, - release_id, - **kwargs - ): - """get_records_for_release # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_records_for_release(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TaskReportingRecord] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.get_records_for_release_endpoint.call_with_http_info(**kwargs) - - def get_records_for_task( - self, - task_id, - **kwargs - ): - """get_records_for_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_records_for_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TaskReportingRecord] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.get_records_for_task_endpoint.call_with_http_info(**kwargs) - - def search_records( - self, - **kwargs - ): - """search_records # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_records(async_req=True) - >>> result = thread.get() - - - Keyword Args: - facet_filters (FacetFilters): [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: - [TaskReportingRecord] - 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.search_records_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/risk_api.py b/digitalai/release/v1/api/risk_api.py deleted file mode 100644 index 9ab11bf..0000000 --- a/digitalai/release/v1/api/risk_api.py +++ /dev/null @@ -1,1375 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.risk import Risk -from digitalai.release.v1.model.risk_assessor import RiskAssessor -from digitalai.release.v1.model.risk_global_thresholds import RiskGlobalThresholds -from digitalai.release.v1.model.risk_profile import RiskProfile - - -class RiskApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.copy_risk_profile_endpoint = _Endpoint( - settings={ - 'response_type': (RiskProfile,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles/{riskProfileId}/copy', - 'operation_id': 'copy_risk_profile', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_profile_id', - ], - 'required': [ - 'risk_profile_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_profile_id', - ] - }, - root_map={ - 'validations': { - ('risk_profile_id',): { - - 'regex': { - 'pattern': r'.*\/RiskProfile[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_profile_id': - (str,), - }, - 'attribute_map': { - 'risk_profile_id': 'riskProfileId', - }, - 'location_map': { - 'risk_profile_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.create_risk_profile_endpoint = _Endpoint( - settings={ - 'response_type': (RiskProfile,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles', - 'operation_id': 'create_risk_profile', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_profile', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_profile': - (RiskProfile,), - }, - 'attribute_map': { - }, - 'location_map': { - 'risk_profile': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_risk_profile_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles/{riskProfileId}', - 'operation_id': 'delete_risk_profile', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_profile_id', - ], - 'required': [ - 'risk_profile_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_profile_id', - ] - }, - root_map={ - 'validations': { - ('risk_profile_id',): { - - 'regex': { - 'pattern': r'.*\/RiskProfile[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_profile_id': - (str,), - }, - 'attribute_map': { - 'risk_profile_id': 'riskProfileId', - }, - 'location_map': { - 'risk_profile_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_all_risk_assessors_endpoint = _Endpoint( - settings={ - 'response_type': ([RiskAssessor],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/assessors', - 'operation_id': 'get_all_risk_assessors', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_risk_endpoint = _Endpoint( - settings={ - 'response_type': (Risk,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/{riskId}', - 'operation_id': 'get_risk', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_id', - ], - 'required': [ - 'risk_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_id', - ] - }, - root_map={ - 'validations': { - ('risk_id',): { - - 'regex': { - 'pattern': r'.*\/Risk', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_id': - (str,), - }, - 'attribute_map': { - 'risk_id': 'riskId', - }, - 'location_map': { - 'risk_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_risk_global_thresholds_endpoint = _Endpoint( - settings={ - 'response_type': (RiskGlobalThresholds,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/config', - 'operation_id': 'get_risk_global_thresholds', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_risk_profile_endpoint = _Endpoint( - settings={ - 'response_type': (RiskProfile,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles/{riskProfileId}', - 'operation_id': 'get_risk_profile', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_profile_id', - ], - 'required': [ - 'risk_profile_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_profile_id', - ] - }, - root_map={ - 'validations': { - ('risk_profile_id',): { - - 'regex': { - 'pattern': r'.*\/RiskProfile[^\/]*|new', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_profile_id': - (str,), - }, - 'attribute_map': { - 'risk_profile_id': 'riskProfileId', - }, - 'location_map': { - 'risk_profile_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_risk_profiles_endpoint = _Endpoint( - settings={ - 'response_type': ([RiskProfile],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles', - 'operation_id': 'get_risk_profiles', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_risk_global_thresholds_endpoint = _Endpoint( - settings={ - 'response_type': (RiskGlobalThresholds,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/config', - 'operation_id': 'update_risk_global_thresholds', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_global_thresholds', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_global_thresholds': - (RiskGlobalThresholds,), - }, - 'attribute_map': { - }, - 'location_map': { - 'risk_global_thresholds': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_risk_profile_endpoint = _Endpoint( - settings={ - 'response_type': (RiskProfile,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/profiles/{riskProfileId}', - 'operation_id': 'update_risk_profile', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_profile_id', - 'risk_profile', - ], - 'required': [ - 'risk_profile_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_profile_id', - ] - }, - root_map={ - 'validations': { - ('risk_profile_id',): { - - 'regex': { - 'pattern': r'.*\/RiskProfile[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_profile_id': - (str,), - 'risk_profile': - (RiskProfile,), - }, - 'attribute_map': { - 'risk_profile_id': 'riskProfileId', - }, - 'location_map': { - 'risk_profile_id': 'path', - 'risk_profile': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def copy_risk_profile( - self, - risk_profile_id, - **kwargs - ): - """copy_risk_profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.copy_risk_profile(risk_profile_id, async_req=True) - >>> result = thread.get() - - Args: - risk_profile_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RiskProfile - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_profile_id'] = \ - risk_profile_id - return self.copy_risk_profile_endpoint.call_with_http_info(**kwargs) - - def create_risk_profile( - self, - **kwargs - ): - """create_risk_profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_risk_profile(async_req=True) - >>> result = thread.get() - - - Keyword Args: - risk_profile (RiskProfile): [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: - RiskProfile - 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.create_risk_profile_endpoint.call_with_http_info(**kwargs) - - def delete_risk_profile( - self, - risk_profile_id, - **kwargs - ): - """delete_risk_profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_risk_profile(risk_profile_id, async_req=True) - >>> result = thread.get() - - Args: - risk_profile_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_profile_id'] = \ - risk_profile_id - return self.delete_risk_profile_endpoint.call_with_http_info(**kwargs) - - def get_all_risk_assessors( - self, - **kwargs - ): - """get_all_risk_assessors # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_all_risk_assessors(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [RiskAssessor] - 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.get_all_risk_assessors_endpoint.call_with_http_info(**kwargs) - - def get_risk( - self, - risk_id, - **kwargs - ): - """get_risk # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_risk(risk_id, async_req=True) - >>> result = thread.get() - - Args: - risk_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Risk - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_id'] = \ - risk_id - return self.get_risk_endpoint.call_with_http_info(**kwargs) - - def get_risk_global_thresholds( - self, - **kwargs - ): - """get_risk_global_thresholds # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_risk_global_thresholds(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RiskGlobalThresholds - 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.get_risk_global_thresholds_endpoint.call_with_http_info(**kwargs) - - def get_risk_profile( - self, - risk_profile_id, - **kwargs - ): - """get_risk_profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_risk_profile(risk_profile_id, async_req=True) - >>> result = thread.get() - - Args: - risk_profile_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RiskProfile - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_profile_id'] = \ - risk_profile_id - return self.get_risk_profile_endpoint.call_with_http_info(**kwargs) - - def get_risk_profiles( - self, - **kwargs - ): - """get_risk_profiles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_risk_profiles(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [RiskProfile] - 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.get_risk_profiles_endpoint.call_with_http_info(**kwargs) - - def update_risk_global_thresholds( - self, - **kwargs - ): - """update_risk_global_thresholds # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_risk_global_thresholds(async_req=True) - >>> result = thread.get() - - - Keyword Args: - risk_global_thresholds (RiskGlobalThresholds): [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: - RiskGlobalThresholds - 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.update_risk_global_thresholds_endpoint.call_with_http_info(**kwargs) - - def update_risk_profile( - self, - risk_profile_id, - **kwargs - ): - """update_risk_profile # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_risk_profile(risk_profile_id, async_req=True) - >>> result = thread.get() - - Args: - risk_profile_id (str): - - Keyword Args: - risk_profile (RiskProfile): [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: - RiskProfile - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_profile_id'] = \ - risk_profile_id - return self.update_risk_profile_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/risk_assessment_api.py b/digitalai/release/v1/api/risk_assessment_api.py deleted file mode 100644 index 4ab0bfd..0000000 --- a/digitalai/release/v1/api/risk_assessment_api.py +++ /dev/null @@ -1,179 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.risk_assessment import RiskAssessment - - -class RiskAssessmentApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_assessment_endpoint = _Endpoint( - settings={ - 'response_type': (RiskAssessment,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/risks/assessments/{riskAssessmentId}', - 'operation_id': 'get_assessment', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'risk_assessment_id', - ], - 'required': [ - 'risk_assessment_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'risk_assessment_id', - ] - }, - root_map={ - 'validations': { - ('risk_assessment_id',): { - - 'regex': { - 'pattern': r'.*RiskAssessment[^\/-]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'risk_assessment_id': - (str,), - }, - 'attribute_map': { - 'risk_assessment_id': 'riskAssessmentId', - }, - 'location_map': { - 'risk_assessment_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_assessment( - self, - risk_assessment_id, - **kwargs - ): - """get_assessment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_assessment(risk_assessment_id, async_req=True) - >>> result = thread.get() - - Args: - risk_assessment_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RiskAssessment - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['risk_assessment_id'] = \ - risk_assessment_id - return self.get_assessment_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/roles_api.py b/digitalai/release/v1/api/roles_api.py deleted file mode 100644 index 7a1fa97..0000000 --- a/digitalai/release/v1/api/roles_api.py +++ /dev/null @@ -1,1143 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.role_view import RoleView - - -class RolesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_roles_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles', - 'operation_id': 'create_roles', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_view', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_view': - ([RoleView],), - }, - 'attribute_map': { - }, - 'location_map': { - 'role_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_roles1_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles/{roleName}', - 'operation_id': 'create_roles1', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_name', - 'role_view', - ], - 'required': [ - 'role_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'role_name', - ] - }, - root_map={ - 'validations': { - ('role_name',): { - - 'regex': { - 'pattern': r'.*[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_name': - (str,), - 'role_view': - (RoleView,), - }, - 'attribute_map': { - 'role_name': 'roleName', - }, - 'location_map': { - 'role_name': 'path', - 'role_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_roles_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles/{roleName}', - 'operation_id': 'delete_roles', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_name', - ], - 'required': [ - 'role_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'role_name', - ] - }, - root_map={ - 'validations': { - ('role_name',): { - - 'regex': { - 'pattern': r'.*[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_name': - (str,), - }, - 'attribute_map': { - 'role_name': 'roleName', - }, - 'location_map': { - 'role_name': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_role_endpoint = _Endpoint( - settings={ - 'response_type': (RoleView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles/{roleName}', - 'operation_id': 'get_role', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_name', - ], - 'required': [ - 'role_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'role_name', - ] - }, - root_map={ - 'validations': { - ('role_name',): { - - 'regex': { - 'pattern': r'.*[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_name': - (str,), - }, - 'attribute_map': { - 'role_name': 'roleName', - }, - 'location_map': { - 'role_name': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_roles_endpoint = _Endpoint( - settings={ - 'response_type': ([RoleView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles', - 'operation_id': 'get_roles', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'page', - 'results_per_page', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'page': - (int,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'page': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.rename_roles_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles/{roleName}/rename', - 'operation_id': 'rename_roles', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_name', - 'new_name', - ], - 'required': [ - 'role_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'role_name', - ] - }, - root_map={ - 'validations': { - ('role_name',): { - - 'regex': { - 'pattern': r'.*[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_name': - (str,), - 'new_name': - (str,), - }, - 'attribute_map': { - 'role_name': 'roleName', - 'new_name': 'newName', - }, - 'location_map': { - 'role_name': 'path', - 'new_name': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.update_roles_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles', - 'operation_id': 'update_roles', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_view', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_view': - ([RoleView],), - }, - 'attribute_map': { - }, - 'location_map': { - 'role_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_roles1_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/roles/{roleName}', - 'operation_id': 'update_roles1', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'role_name', - 'role_view', - ], - 'required': [ - 'role_name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'role_name', - ] - }, - root_map={ - 'validations': { - ('role_name',): { - - 'regex': { - 'pattern': r'.*[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'role_name': - (str,), - 'role_view': - (RoleView,), - }, - 'attribute_map': { - 'role_name': 'roleName', - }, - 'location_map': { - 'role_name': 'path', - 'role_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_roles( - self, - **kwargs - ): - """create_roles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_roles(async_req=True) - >>> result = thread.get() - - - Keyword Args: - role_view ([RoleView]): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.create_roles_endpoint.call_with_http_info(**kwargs) - - def create_roles1( - self, - role_name, - **kwargs - ): - """create_roles1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_roles1(role_name, async_req=True) - >>> result = thread.get() - - Args: - role_name (str): - - Keyword Args: - role_view (RoleView): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['role_name'] = \ - role_name - return self.create_roles1_endpoint.call_with_http_info(**kwargs) - - def delete_roles( - self, - role_name, - **kwargs - ): - """delete_roles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_roles(role_name, async_req=True) - >>> result = thread.get() - - Args: - role_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['role_name'] = \ - role_name - return self.delete_roles_endpoint.call_with_http_info(**kwargs) - - def get_role( - self, - role_name, - **kwargs - ): - """get_role # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_role(role_name, async_req=True) - >>> result = thread.get() - - Args: - role_name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - RoleView - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['role_name'] = \ - role_name - return self.get_role_endpoint.call_with_http_info(**kwargs) - - def get_roles( - self, - **kwargs - ): - """get_roles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_roles(async_req=True) - >>> result = thread.get() - - - Keyword Args: - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - _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: - [RoleView] - 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.get_roles_endpoint.call_with_http_info(**kwargs) - - def rename_roles( - self, - role_name, - **kwargs - ): - """rename_roles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.rename_roles(role_name, async_req=True) - >>> result = thread.get() - - Args: - role_name (str): - - Keyword Args: - new_name (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['role_name'] = \ - role_name - return self.rename_roles_endpoint.call_with_http_info(**kwargs) - - def update_roles( - self, - **kwargs - ): - """update_roles # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_roles(async_req=True) - >>> result = thread.get() - - - Keyword Args: - role_view ([RoleView]): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.update_roles_endpoint.call_with_http_info(**kwargs) - - def update_roles1( - self, - role_name, - **kwargs - ): - """update_roles1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_roles1(role_name, async_req=True) - >>> result = thread.get() - - Args: - role_name (str): - - Keyword Args: - role_view (RoleView): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['role_name'] = \ - role_name - return self.update_roles1_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/task_api.py b/digitalai/release/v1/api/task_api.py deleted file mode 100644 index b943e87..0000000 --- a/digitalai/release/v1/api/task_api.py +++ /dev/null @@ -1,4147 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.attachment import Attachment -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.condition1 import Condition1 -from digitalai.release.v1.model.dependency import Dependency -from digitalai.release.v1.model.gate_condition import GateCondition -from digitalai.release.v1.model.start_task import StartTask -from digitalai.release.v1.model.task import Task -from digitalai.release.v1.model.variable import Variable - - -class TaskApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.abort_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/abort', - 'operation_id': 'abort_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.add_attachments_endpoint = _Endpoint( - settings={ - 'response_type': ([Attachment],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/attachments', - 'operation_id': 'add_attachments', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.add_condition_endpoint = _Endpoint( - settings={ - 'response_type': (GateCondition,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/conditions', - 'operation_id': 'add_condition', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'condition1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'condition1': - (Condition1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'condition1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.add_dependency_endpoint = _Endpoint( - settings={ - 'response_type': (Dependency,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/dependencies/{targetId}', - 'operation_id': 'add_dependency', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'target_id', - 'task_id', - ], - 'required': [ - 'target_id', - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'target_id', - 'task_id', - ] - }, - root_map={ - 'validations': { - ('target_id',): { - - 'regex': { - 'pattern': r'.*?', # noqa: E501 - }, - }, - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'target_id': - (str,), - 'task_id': - (str,), - }, - 'attribute_map': { - 'target_id': 'targetId', - 'task_id': 'taskId', - }, - 'location_map': { - 'target_id': 'path', - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.add_task_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{containerId}/tasks', - 'operation_id': 'add_task_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'container_id', - 'task', - ], - 'required': [ - 'container_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'container_id', - ] - }, - root_map={ - 'validations': { - ('container_id',): { - - 'regex': { - 'pattern': r'.*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'container_id': - (str,), - 'task': - (Task,), - }, - 'attribute_map': { - 'container_id': 'containerId', - }, - 'location_map': { - 'container_id': 'path', - 'task': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.assign_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/assign/{username}', - 'operation_id': 'assign_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'username', - ], - 'required': [ - 'task_id', - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - 'username', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - ('username',): { - - 'regex': { - 'pattern': r'.*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'username': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - 'username': 'username', - }, - 'location_map': { - 'task_id': 'path', - 'username': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.change_task_type_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/changeType', - 'operation_id': 'change_task_type', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'target_type', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'target_type': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - 'target_type': 'targetType', - }, - 'location_map': { - 'task_id': 'path', - 'target_type': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.comment_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/comment', - 'operation_id': 'comment_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.complete_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/complete', - 'operation_id': 'complete_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.copy_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/copy', - 'operation_id': 'copy_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'target_container_id', - 'target_position', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'target_container_id': - (str,), - 'target_position': - (int,), - }, - 'attribute_map': { - 'task_id': 'taskId', - 'target_container_id': 'targetContainerId', - 'target_position': 'targetPosition', - }, - 'location_map': { - 'task_id': 'path', - 'target_container_id': 'query', - 'target_position': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_attachment_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/attachments/{attachmentId}', - 'operation_id': 'delete_attachment', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'attachment_id', - 'task_id', - ], - 'required': [ - 'attachment_id', - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'attachment_id', - 'task_id', - ] - }, - root_map={ - 'validations': { - ('attachment_id',): { - - 'regex': { - 'pattern': r'.*\/Attachment[^\/]*', # noqa: E501 - }, - }, - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'attachment_id': - (str,), - 'task_id': - (str,), - }, - 'attribute_map': { - 'attachment_id': 'attachmentId', - 'task_id': 'taskId', - }, - 'location_map': { - 'attachment_id': 'path', - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_condition_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{conditionId}', - 'operation_id': 'delete_condition', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'condition_id', - ], - 'required': [ - 'condition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'condition_id', - ] - }, - root_map={ - 'validations': { - ('condition_id',): { - - 'regex': { - 'pattern': r'.*\/GateCondition[^\/]*?', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'condition_id': - (str,), - }, - 'attribute_map': { - 'condition_id': 'conditionId', - }, - 'location_map': { - 'condition_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_dependency_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{dependencyId}', - 'operation_id': 'delete_dependency', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'dependency_id', - ], - 'required': [ - 'dependency_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'dependency_id', - ] - }, - root_map={ - 'validations': { - ('dependency_id',): { - - 'regex': { - 'pattern': r'.*\/Dependency[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'dependency_id': - (str,), - }, - 'attribute_map': { - 'dependency_id': 'dependencyId', - }, - 'location_map': { - 'dependency_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_task_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}', - 'operation_id': 'delete_task', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.fail_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/fail', - 'operation_id': 'fail_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}', - 'operation_id': 'get_task', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_task_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/variables', - 'operation_id': 'get_task_variables', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.lock_task_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/lock', - 'operation_id': 'lock_task', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.reopen_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/reopen', - 'operation_id': 'reopen_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.retry_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/retry', - 'operation_id': 'retry_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.search_tasks_by_title_endpoint = _Endpoint( - settings={ - 'response_type': ([Task],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/byTitle', - 'operation_id': 'search_tasks_by_title', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'phase_title', - 'release_id', - 'task_title', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'phase_title': - (str,), - 'release_id': - (str,), - 'task_title': - (str,), - }, - 'attribute_map': { - 'phase_title': 'phaseTitle', - 'release_id': 'releaseId', - 'task_title': 'taskTitle', - }, - 'location_map': { - 'phase_title': 'query', - 'release_id': 'query', - 'task_title': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.skip_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/skip', - 'operation_id': 'skip_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.start_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/start', - 'operation_id': 'start_task', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'start_task', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'start_task': - (StartTask,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'start_task': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.start_task1_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/startNow', - 'operation_id': 'start_task1', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'comment1', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'comment1': - (Comment1,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'comment1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.unlock_task_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/lock', - 'operation_id': 'unlock_task', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.update_condition_endpoint = _Endpoint( - settings={ - 'response_type': (GateCondition,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{conditionId}', - 'operation_id': 'update_condition', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'condition_id', - 'condition1', - ], - 'required': [ - 'condition_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'condition_id', - ] - }, - root_map={ - 'validations': { - ('condition_id',): { - - 'regex': { - 'pattern': r'.*\/GateCondition[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'condition_id': - (str,), - 'condition1': - (Condition1,), - }, - 'attribute_map': { - 'condition_id': 'conditionId', - }, - 'location_map': { - 'condition_id': 'path', - 'condition1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_input_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}/variables', - 'operation_id': 'update_input_variables', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'variable', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'variable': - ([Variable],), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_task_endpoint = _Endpoint( - settings={ - 'response_type': (Task,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/tasks/{taskId}', - 'operation_id': 'update_task', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'task_id', - 'task', - ], - 'required': [ - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'task_id', - ] - }, - root_map={ - 'validations': { - ('task_id',): { - - 'regex': { - 'pattern': r'.*\/Task[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'task_id': - (str,), - 'task': - (Task,), - }, - 'attribute_map': { - 'task_id': 'taskId', - }, - 'location_map': { - 'task_id': 'path', - 'task': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def abort_task( - self, - task_id, - **kwargs - ): - """abort_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.abort_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.abort_task_endpoint.call_with_http_info(**kwargs) - - def add_attachments( - self, - task_id, - **kwargs - ): - """add_attachments # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_attachments(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Attachment] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.add_attachments_endpoint.call_with_http_info(**kwargs) - - def add_condition( - self, - task_id, - **kwargs - ): - """add_condition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_condition(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - condition1 (Condition1): [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: - GateCondition - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.add_condition_endpoint.call_with_http_info(**kwargs) - - def add_dependency( - self, - target_id, - task_id, - **kwargs - ): - """add_dependency # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_dependency(target_id, task_id, async_req=True) - >>> result = thread.get() - - Args: - target_id (str): - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Dependency - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['target_id'] = \ - target_id - kwargs['task_id'] = \ - task_id - return self.add_dependency_endpoint.call_with_http_info(**kwargs) - - def add_task_task( - self, - container_id, - **kwargs - ): - """add_task_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_task_task(container_id, async_req=True) - >>> result = thread.get() - - Args: - container_id (str): - - Keyword Args: - task (Task): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['container_id'] = \ - container_id - return self.add_task_task_endpoint.call_with_http_info(**kwargs) - - def assign_task( - self, - task_id, - username, - **kwargs - ): - """assign_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.assign_task(task_id, username, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - username (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - kwargs['username'] = \ - username - return self.assign_task_endpoint.call_with_http_info(**kwargs) - - def change_task_type( - self, - task_id, - **kwargs - ): - """change_task_type # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.change_task_type(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - target_type (str): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.change_task_type_endpoint.call_with_http_info(**kwargs) - - def comment_task( - self, - task_id, - **kwargs - ): - """comment_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.comment_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.comment_task_endpoint.call_with_http_info(**kwargs) - - def complete_task( - self, - task_id, - **kwargs - ): - """complete_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.complete_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.complete_task_endpoint.call_with_http_info(**kwargs) - - def copy_task( - self, - task_id, - **kwargs - ): - """copy_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.copy_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - target_container_id (str): [optional] - target_position (int): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.copy_task_endpoint.call_with_http_info(**kwargs) - - def delete_attachment( - self, - attachment_id, - task_id, - **kwargs - ): - """delete_attachment # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_attachment(attachment_id, task_id, async_req=True) - >>> result = thread.get() - - Args: - attachment_id (str): - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['attachment_id'] = \ - attachment_id - kwargs['task_id'] = \ - task_id - return self.delete_attachment_endpoint.call_with_http_info(**kwargs) - - def delete_condition( - self, - condition_id, - **kwargs - ): - """delete_condition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_condition(condition_id, async_req=True) - >>> result = thread.get() - - Args: - condition_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['condition_id'] = \ - condition_id - return self.delete_condition_endpoint.call_with_http_info(**kwargs) - - def delete_dependency( - self, - dependency_id, - **kwargs - ): - """delete_dependency # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_dependency(dependency_id, async_req=True) - >>> result = thread.get() - - Args: - dependency_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['dependency_id'] = \ - dependency_id - return self.delete_dependency_endpoint.call_with_http_info(**kwargs) - - def delete_task( - self, - task_id, - **kwargs - ): - """delete_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.delete_task_endpoint.call_with_http_info(**kwargs) - - def fail_task( - self, - task_id, - **kwargs - ): - """fail_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.fail_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.fail_task_endpoint.call_with_http_info(**kwargs) - - def get_task( - self, - task_id, - **kwargs - ): - """get_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.get_task_endpoint.call_with_http_info(**kwargs) - - def get_task_variables( - self, - task_id, - **kwargs - ): - """get_task_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_task_variables(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.get_task_variables_endpoint.call_with_http_info(**kwargs) - - def lock_task( - self, - task_id, - **kwargs - ): - """lock_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.lock_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.lock_task_endpoint.call_with_http_info(**kwargs) - - def reopen_task( - self, - task_id, - **kwargs - ): - """reopen_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.reopen_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.reopen_task_endpoint.call_with_http_info(**kwargs) - - def retry_task( - self, - task_id, - **kwargs - ): - """retry_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.retry_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.retry_task_endpoint.call_with_http_info(**kwargs) - - def search_tasks_by_title( - self, - **kwargs - ): - """search_tasks_by_title # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_tasks_by_title(async_req=True) - >>> result = thread.get() - - - Keyword Args: - phase_title (str): [optional] - release_id (str): [optional] - task_title (str): [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: - [Task] - 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.search_tasks_by_title_endpoint.call_with_http_info(**kwargs) - - def skip_task( - self, - task_id, - **kwargs - ): - """skip_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.skip_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.skip_task_endpoint.call_with_http_info(**kwargs) - - def start_task( - self, - task_id, - **kwargs - ): - """start_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.start_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - start_task (StartTask): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.start_task_endpoint.call_with_http_info(**kwargs) - - def start_task1( - self, - task_id, - **kwargs - ): - """start_task1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.start_task1(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - comment1 (Comment1): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.start_task1_endpoint.call_with_http_info(**kwargs) - - def unlock_task( - self, - task_id, - **kwargs - ): - """unlock_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.unlock_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.unlock_task_endpoint.call_with_http_info(**kwargs) - - def update_condition( - self, - condition_id, - **kwargs - ): - """update_condition # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_condition(condition_id, async_req=True) - >>> result = thread.get() - - Args: - condition_id (str): - - Keyword Args: - condition1 (Condition1): [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: - GateCondition - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['condition_id'] = \ - condition_id - return self.update_condition_endpoint.call_with_http_info(**kwargs) - - def update_input_variables( - self, - task_id, - **kwargs - ): - """update_input_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_input_variables(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - variable ([Variable]): [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: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.update_input_variables_endpoint.call_with_http_info(**kwargs) - - def update_task( - self, - task_id, - **kwargs - ): - """update_task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_task(task_id, async_req=True) - >>> result = thread.get() - - Args: - task_id (str): - - Keyword Args: - task (Task): [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: - Task - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['task_id'] = \ - task_id - return self.update_task_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/template_api.py b/digitalai/release/v1/api/template_api.py deleted file mode 100644 index 993250d..0000000 --- a/digitalai/release/v1/api/template_api.py +++ /dev/null @@ -1,3190 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.copy_template import CopyTemplate -from digitalai.release.v1.model.create_release import CreateRelease -from digitalai.release.v1.model.import_result import ImportResult -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.start_release import StartRelease -from digitalai.release.v1.model.team_view import TeamView -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from digitalai.release.v1.model.variable_or_value import VariableOrValue - - -class TemplateApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.copy_template_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/copy', - 'operation_id': 'copy_template', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'copy_template', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'copy_template': - (CopyTemplate,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'copy_template': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_template_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates', - 'operation_id': 'create_template', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'release', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'release': - (Release,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - }, - 'location_map': { - 'folder_id': 'query', - 'release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_template1_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/create', - 'operation_id': 'create_template1', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'create_release', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'create_release': - (CreateRelease,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'create_release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_template_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/variables', - 'operation_id': 'create_template_variable', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'variable1', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'variable1': - (Variable1,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'variable1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_template_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}', - 'operation_id': 'delete_template', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_template_variable_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}', - 'operation_id': 'delete_template_variable', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.export_template_to_zip_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/zip/{templateId}', - 'operation_id': 'export_template_to_zip', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.get_possible_template_variable_values_endpoint = _Endpoint( - settings={ - 'response_type': ([{str: (bool, date, datetime, dict, float, int, list, str, none_type)}],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}/possibleValues', - 'operation_id': 'get_possible_template_variable_values', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_template_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}', - 'operation_id': 'get_template', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_template_permissions_endpoint = _Endpoint( - settings={ - 'response_type': ([str],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/permissions', - 'operation_id': 'get_template_permissions', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_template_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/teams', - 'operation_id': 'get_template_teams', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_template_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}', - 'operation_id': 'get_template_variable', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_template_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/variables', - 'operation_id': 'get_template_variables', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_templates_endpoint = _Endpoint( - settings={ - 'response_type': ([Release],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates', - 'operation_id': 'get_templates', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'depth', - 'page', - 'results_per_page', - 'tag', - 'title', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'depth': - (int,), - 'page': - (int,), - 'results_per_page': - (int,), - 'tag': - ([str],), - 'title': - (str,), - }, - 'attribute_map': { - 'depth': 'depth', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - 'tag': 'tag', - 'title': 'title', - }, - 'location_map': { - 'depth': 'query', - 'page': 'query', - 'results_per_page': 'query', - 'tag': 'query', - 'title': 'query', - }, - 'collection_format_map': { - 'tag': 'multi', - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.import_template_endpoint = _Endpoint( - settings={ - 'response_type': ([ImportResult],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/import', - 'operation_id': 'import_template', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'version', - 'body', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'version': - (str,), - 'body': - (str,), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'version': 'version', - }, - 'location_map': { - 'folder_id': 'query', - 'version': 'query', - 'body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.is_variable_used_template_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}/used', - 'operation_id': 'is_variable_used_template', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.replace_template_variables_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}/replace', - 'operation_id': 'replace_template_variables', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - 'variable_or_value', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - 'variable_or_value': - (VariableOrValue,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - 'variable_or_value': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_template_teams_endpoint = _Endpoint( - settings={ - 'response_type': ([TeamView],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/teams', - 'operation_id': 'set_template_teams', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'team_view', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'team_view': - ([TeamView],), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'team_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.start_template_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}/start', - 'operation_id': 'start_template', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'start_release', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'start_release': - (StartRelease,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'start_release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_template_endpoint = _Endpoint( - settings={ - 'response_type': (Release,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{templateId}', - 'operation_id': 'update_template', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'template_id', - 'release', - ], - 'required': [ - 'template_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'template_id', - ] - }, - root_map={ - 'validations': { - ('template_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'template_id': - (str,), - 'release': - (Release,), - }, - 'attribute_map': { - 'template_id': 'templateId', - }, - 'location_map': { - 'template_id': 'path', - 'release': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_template_variable_endpoint = _Endpoint( - settings={ - 'response_type': (Variable,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{variableId}', - 'operation_id': 'update_template_variable', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'variable_id', - 'variable', - ], - 'required': [ - 'variable_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'variable_id', - ] - }, - root_map={ - 'validations': { - ('variable_id',): { - - 'regex': { - 'pattern': r'.*\/Variable[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'variable_id': - (str,), - 'variable': - (Variable,), - }, - 'attribute_map': { - 'variable_id': 'variableId', - }, - 'location_map': { - 'variable_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_template_variables_endpoint = _Endpoint( - settings={ - 'response_type': ([Variable],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/templates/{releaseId}/variables', - 'operation_id': 'update_template_variables', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'release_id', - 'variable', - ], - 'required': [ - 'release_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'release_id', - ] - }, - root_map={ - 'validations': { - ('release_id',): { - - 'regex': { - 'pattern': r'.*Release[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'release_id': - (str,), - 'variable': - ([Variable],), - }, - 'attribute_map': { - 'release_id': 'releaseId', - }, - 'location_map': { - 'release_id': 'path', - 'variable': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def copy_template( - self, - template_id, - **kwargs - ): - """copy_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.copy_template(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - copy_template (CopyTemplate): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.copy_template_endpoint.call_with_http_info(**kwargs) - - def create_template( - self, - **kwargs - ): - """create_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_template(async_req=True) - >>> result = thread.get() - - - Keyword Args: - folder_id (str): [optional] - release (Release): [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: - Release - 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.create_template_endpoint.call_with_http_info(**kwargs) - - def create_template1( - self, - template_id, - **kwargs - ): - """create_template1 # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_template1(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - create_release (CreateRelease): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.create_template1_endpoint.call_with_http_info(**kwargs) - - def create_template_variable( - self, - template_id, - **kwargs - ): - """create_template_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_template_variable(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - variable1 (Variable1): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.create_template_variable_endpoint.call_with_http_info(**kwargs) - - def delete_template( - self, - template_id, - **kwargs - ): - """delete_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_template(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.delete_template_endpoint.call_with_http_info(**kwargs) - - def delete_template_variable( - self, - variable_id, - **kwargs - ): - """delete_template_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_template_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.delete_template_variable_endpoint.call_with_http_info(**kwargs) - - def export_template_to_zip( - self, - template_id, - **kwargs - ): - """export_template_to_zip # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.export_template_to_zip(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.export_template_to_zip_endpoint.call_with_http_info(**kwargs) - - def get_possible_template_variable_values( - self, - variable_id, - **kwargs - ): - """get_possible_template_variable_values # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_possible_template_variable_values(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.get_possible_template_variable_values_endpoint.call_with_http_info(**kwargs) - - def get_template( - self, - template_id, - **kwargs - ): - """get_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_template(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.get_template_endpoint.call_with_http_info(**kwargs) - - def get_template_permissions( - self, - **kwargs - ): - """get_template_permissions # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_template_permissions(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [str] - 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.get_template_permissions_endpoint.call_with_http_info(**kwargs) - - def get_template_teams( - self, - template_id, - **kwargs - ): - """get_template_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_template_teams(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.get_template_teams_endpoint.call_with_http_info(**kwargs) - - def get_template_variable( - self, - variable_id, - **kwargs - ): - """get_template_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_template_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.get_template_variable_endpoint.call_with_http_info(**kwargs) - - def get_template_variables( - self, - template_id, - **kwargs - ): - """get_template_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_template_variables(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.get_template_variables_endpoint.call_with_http_info(**kwargs) - - def get_templates( - self, - **kwargs - ): - """get_templates # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_templates(async_req=True) - >>> result = thread.get() - - - Keyword Args: - depth (int): [optional] if omitted the server will use the default value of 1 - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - tag ([str]): [optional] - title (str): [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: - [Release] - 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.get_templates_endpoint.call_with_http_info(**kwargs) - - def import_template( - self, - **kwargs - ): - """import_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.import_template(async_req=True) - >>> result = thread.get() - - - Keyword Args: - folder_id (str): [optional] - version (str): [optional] - body (str): [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: - [ImportResult] - 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.import_template_endpoint.call_with_http_info(**kwargs) - - def is_variable_used_template( - self, - variable_id, - **kwargs - ): - """is_variable_used_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.is_variable_used_template(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.is_variable_used_template_endpoint.call_with_http_info(**kwargs) - - def replace_template_variables( - self, - variable_id, - **kwargs - ): - """replace_template_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.replace_template_variables(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - variable_or_value (VariableOrValue): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.replace_template_variables_endpoint.call_with_http_info(**kwargs) - - def set_template_teams( - self, - template_id, - **kwargs - ): - """set_template_teams # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_template_teams(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - team_view ([TeamView]): [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: - [TeamView] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.set_template_teams_endpoint.call_with_http_info(**kwargs) - - def start_template( - self, - template_id, - **kwargs - ): - """start_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.start_template(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - start_release (StartRelease): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.start_template_endpoint.call_with_http_info(**kwargs) - - def update_template( - self, - template_id, - **kwargs - ): - """update_template # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_template(template_id, async_req=True) - >>> result = thread.get() - - Args: - template_id (str): - - Keyword Args: - release (Release): [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: - Release - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['template_id'] = \ - template_id - return self.update_template_endpoint.call_with_http_info(**kwargs) - - def update_template_variable( - self, - variable_id, - **kwargs - ): - """update_template_variable # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_template_variable(variable_id, async_req=True) - >>> result = thread.get() - - Args: - variable_id (str): - - Keyword Args: - variable (Variable): [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: - Variable - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['variable_id'] = \ - variable_id - return self.update_template_variable_endpoint.call_with_http_info(**kwargs) - - def update_template_variables( - self, - release_id, - **kwargs - ): - """update_template_variables # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_template_variables(release_id, async_req=True) - >>> result = thread.get() - - Args: - release_id (str): - - Keyword Args: - variable ([Variable]): [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: - [Variable] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['release_id'] = \ - release_id - return self.update_template_variables_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/triggers_api.py b/digitalai/release/v1/api/triggers_api.py deleted file mode 100644 index 1e01987..0000000 --- a/digitalai/release/v1/api/triggers_api.py +++ /dev/null @@ -1,1808 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from digitalai.release.v1.model.trigger import Trigger - - -class TriggersApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_trigger_endpoint = _Endpoint( - settings={ - 'response_type': (Trigger,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers', - 'operation_id': 'add_trigger', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger': - (Trigger,), - }, - 'attribute_map': { - }, - 'location_map': { - 'trigger': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.disable_all_triggers_endpoint = _Endpoint( - settings={ - 'response_type': (BulkActionResultView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/disable/all', - 'operation_id': 'disable_all_triggers', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.disable_trigger_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}/disable', - 'operation_id': 'disable_trigger', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*\/Trigger[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.disable_triggers_endpoint = _Endpoint( - settings={ - 'response_type': (BulkActionResultView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/disable', - 'operation_id': 'disable_triggers', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'request_body', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'request_body': - ([str],), - }, - 'attribute_map': { - }, - 'location_map': { - 'request_body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.enable_all_triggers_endpoint = _Endpoint( - settings={ - 'response_type': (BulkActionResultView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/enable/all', - 'operation_id': 'enable_all_triggers', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.enable_trigger_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}/enable', - 'operation_id': 'enable_trigger', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*\/Trigger[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.enable_triggers_endpoint = _Endpoint( - settings={ - 'response_type': (BulkActionResultView,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/enable', - 'operation_id': 'enable_triggers', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'request_body', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'request_body': - ([str],), - }, - 'attribute_map': { - }, - 'location_map': { - 'request_body': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_trigger_endpoint = _Endpoint( - settings={ - 'response_type': (Trigger,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}', - 'operation_id': 'get_trigger', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*Trigger[^\/-]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_types_endpoint = _Endpoint( - settings={ - 'response_type': ([bool, date, datetime, dict, float, int, list, str, none_type],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/types', - 'operation_id': 'get_types', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.remove_trigger_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}', - 'operation_id': 'remove_trigger', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*\/Trigger[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.run_trigger_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}/run', - 'operation_id': 'run_trigger', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*\/Trigger[^\/]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.search_triggers_endpoint = _Endpoint( - settings={ - 'response_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers', - 'operation_id': 'search_triggers', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'folder_id', - 'folder_title', - 'page', - 'results_per_page', - 'template_id', - 'template_title', - 'trigger_title', - 'trigger_type', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'folder_id': - (str,), - 'folder_title': - (str,), - 'page': - (int,), - 'results_per_page': - (int,), - 'template_id': - (str,), - 'template_title': - (str,), - 'trigger_title': - (str,), - 'trigger_type': - ([str],), - }, - 'attribute_map': { - 'folder_id': 'folderId', - 'folder_title': 'folderTitle', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - 'template_id': 'templateId', - 'template_title': 'templateTitle', - 'trigger_title': 'triggerTitle', - 'trigger_type': 'triggerType', - }, - 'location_map': { - 'folder_id': 'query', - 'folder_title': 'query', - 'page': 'query', - 'results_per_page': 'query', - 'template_id': 'query', - 'template_title': 'query', - 'trigger_title': 'query', - 'trigger_type': 'query', - }, - 'collection_format_map': { - 'trigger_type': 'multi', - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_trigger_endpoint = _Endpoint( - settings={ - 'response_type': (Trigger,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/triggers/{triggerId}', - 'operation_id': 'update_trigger', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'trigger_id', - 'trigger', - ], - 'required': [ - 'trigger_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'trigger_id', - ] - }, - root_map={ - 'validations': { - ('trigger_id',): { - - 'regex': { - 'pattern': r'.*Trigger[^\/-]*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'trigger_id': - (str,), - 'trigger': - (Trigger,), - }, - 'attribute_map': { - 'trigger_id': 'triggerId', - }, - 'location_map': { - 'trigger_id': 'path', - 'trigger': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_trigger( - self, - **kwargs - ): - """add_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_trigger(async_req=True) - >>> result = thread.get() - - - Keyword Args: - trigger (Trigger): [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: - Trigger - 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.add_trigger_endpoint.call_with_http_info(**kwargs) - - def disable_all_triggers( - self, - **kwargs - ): - """disable_all_triggers # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.disable_all_triggers(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - BulkActionResultView - 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.disable_all_triggers_endpoint.call_with_http_info(**kwargs) - - def disable_trigger( - self, - trigger_id, - **kwargs - ): - """disable_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.disable_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.disable_trigger_endpoint.call_with_http_info(**kwargs) - - def disable_triggers( - self, - **kwargs - ): - """disable_triggers # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.disable_triggers(async_req=True) - >>> result = thread.get() - - - Keyword Args: - request_body ([str]): [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: - BulkActionResultView - 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.disable_triggers_endpoint.call_with_http_info(**kwargs) - - def enable_all_triggers( - self, - **kwargs - ): - """enable_all_triggers # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.enable_all_triggers(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - BulkActionResultView - 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.enable_all_triggers_endpoint.call_with_http_info(**kwargs) - - def enable_trigger( - self, - trigger_id, - **kwargs - ): - """enable_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.enable_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.enable_trigger_endpoint.call_with_http_info(**kwargs) - - def enable_triggers( - self, - **kwargs - ): - """enable_triggers # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.enable_triggers(async_req=True) - >>> result = thread.get() - - - Keyword Args: - request_body ([str]): [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: - BulkActionResultView - 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.enable_triggers_endpoint.call_with_http_info(**kwargs) - - def get_trigger( - self, - trigger_id, - **kwargs - ): - """get_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - Trigger - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.get_trigger_endpoint.call_with_http_info(**kwargs) - - def get_types( - self, - **kwargs - ): - """get_types # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_types(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [bool, date, datetime, dict, float, int, list, str, none_type] - 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.get_types_endpoint.call_with_http_info(**kwargs) - - def remove_trigger( - self, - trigger_id, - **kwargs - ): - """remove_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.remove_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.remove_trigger_endpoint.call_with_http_info(**kwargs) - - def run_trigger( - self, - trigger_id, - **kwargs - ): - """run_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.run_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.run_trigger_endpoint.call_with_http_info(**kwargs) - - def search_triggers( - self, - **kwargs - ): - """search_triggers # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.search_triggers(async_req=True) - >>> result = thread.get() - - - Keyword Args: - folder_id (str): [optional] - folder_title (str): [optional] - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - template_id (str): [optional] - template_title (str): [optional] - trigger_title (str): [optional] - trigger_type ([str]): [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: - {str: (bool, date, datetime, dict, float, int, list, str, none_type)} - 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.search_triggers_endpoint.call_with_http_info(**kwargs) - - def update_trigger( - self, - trigger_id, - **kwargs - ): - """update_trigger # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_trigger(trigger_id, async_req=True) - >>> result = thread.get() - - Args: - trigger_id (str): - - Keyword Args: - trigger (Trigger): [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: - Trigger - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['trigger_id'] = \ - trigger_id - return self.update_trigger_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api/user_api.py b/digitalai/release/v1/api/user_api.py deleted file mode 100644 index 35df3e3..0000000 --- a/digitalai/release/v1/api/user_api.py +++ /dev/null @@ -1,1054 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.api_client import ApiClient, Endpoint as _Endpoint -from digitalai.release.v1.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from digitalai.release.v1.model.change_password_view import ChangePasswordView -from digitalai.release.v1.model.user_account import UserAccount - - -class UserApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_user_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users/{username}', - 'operation_id': 'create_user', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - 'user_account', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'username', - ] - }, - root_map={ - 'validations': { - ('username',): { - - 'regex': { - 'pattern': r'[^\/]+', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - 'user_account': - (UserAccount,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - 'user_account': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_user_rest_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users/{username}', - 'operation_id': 'delete_user_rest', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'username', - ] - }, - root_map={ - 'validations': { - ('username',): { - - 'regex': { - 'pattern': r'.*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.find_users_endpoint = _Endpoint( - settings={ - 'response_type': ([UserAccount],), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users', - 'operation_id': 'find_users', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'email', - 'external', - 'full_name', - 'last_active_after', - 'last_active_before', - 'login_allowed', - 'page', - 'results_per_page', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'email': - (str,), - 'external': - (bool,), - 'full_name': - (str,), - 'last_active_after': - (datetime,), - 'last_active_before': - (datetime,), - 'login_allowed': - (bool,), - 'page': - (int,), - 'results_per_page': - (int,), - }, - 'attribute_map': { - 'email': 'email', - 'external': 'external', - 'full_name': 'fullName', - 'last_active_after': 'lastActiveAfter', - 'last_active_before': 'lastActiveBefore', - 'login_allowed': 'loginAllowed', - 'page': 'page', - 'results_per_page': 'resultsPerPage', - }, - 'location_map': { - 'email': 'query', - 'external': 'query', - 'full_name': 'query', - 'last_active_after': 'query', - 'last_active_before': 'query', - 'login_allowed': 'query', - 'page': 'query', - 'results_per_page': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_user_endpoint = _Endpoint( - settings={ - 'response_type': (UserAccount,), - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users/{username}', - 'operation_id': 'get_user', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'username', - ] - }, - root_map={ - 'validations': { - ('username',): { - - 'regex': { - 'pattern': r'.*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_password_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users/{username}/password', - 'operation_id': 'update_password', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - 'change_password_view', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'username', - ] - }, - root_map={ - 'validations': { - ('username',): { - - 'regex': { - 'pattern': r'[^\/]+', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - 'change_password_view': - (ChangePasswordView,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - 'change_password_view': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_user_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users/{username}', - 'operation_id': 'update_user', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'username', - 'user_account', - ], - 'required': [ - 'username', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'username', - ] - }, - root_map={ - 'validations': { - ('username',): { - - 'regex': { - 'pattern': r'.*', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'username': - (str,), - 'user_account': - (UserAccount,), - }, - 'attribute_map': { - 'username': 'username', - }, - 'location_map': { - 'username': 'path', - 'user_account': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_users_rest_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basicAuth', - 'patAuth' - ], - 'endpoint_path': '/api/v1/users', - 'operation_id': 'update_users_rest', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_account', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_account': - ([UserAccount],), - }, - 'attribute_map': { - }, - 'location_map': { - 'user_account': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_user( - self, - username, - **kwargs - ): - """create_user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_user(username, async_req=True) - >>> result = thread.get() - - Args: - username (str): - - Keyword Args: - user_account (UserAccount): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['username'] = \ - username - return self.create_user_endpoint.call_with_http_info(**kwargs) - - def delete_user_rest( - self, - username, - **kwargs - ): - """delete_user_rest # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user_rest(username, async_req=True) - >>> result = thread.get() - - Args: - username (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['username'] = \ - username - return self.delete_user_rest_endpoint.call_with_http_info(**kwargs) - - def find_users( - self, - **kwargs - ): - """find_users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.find_users(async_req=True) - >>> result = thread.get() - - - Keyword Args: - email (str): [optional] - external (bool): [optional] - full_name (str): [optional] - last_active_after (datetime): [optional] - last_active_before (datetime): [optional] - login_allowed (bool): [optional] - page (int): [optional] if omitted the server will use the default value of 0 - results_per_page (int): [optional] if omitted the server will use the default value of 100 - _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: - [UserAccount] - 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.find_users_endpoint.call_with_http_info(**kwargs) - - def get_user( - self, - username, - **kwargs - ): - """get_user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_user(username, async_req=True) - >>> result = thread.get() - - Args: - username (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - UserAccount - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['username'] = \ - username - return self.get_user_endpoint.call_with_http_info(**kwargs) - - def update_password( - self, - username, - **kwargs - ): - """update_password # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_password(username, async_req=True) - >>> result = thread.get() - - Args: - username (str): - - Keyword Args: - change_password_view (ChangePasswordView): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['username'] = \ - username - return self.update_password_endpoint.call_with_http_info(**kwargs) - - def update_user( - self, - username, - **kwargs - ): - """update_user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_user(username, async_req=True) - >>> result = thread.get() - - Args: - username (str): - - Keyword Args: - user_account (UserAccount): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['username'] = \ - username - return self.update_user_endpoint.call_with_http_info(**kwargs) - - def update_users_rest( - self, - **kwargs - ): - """update_users_rest # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_users_rest(async_req=True) - >>> result = thread.get() - - - Keyword Args: - user_account ([UserAccount]): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.update_users_rest_endpoint.call_with_http_info(**kwargs) - diff --git a/digitalai/release/v1/api_client.py b/digitalai/release/v1/api_client.py deleted file mode 100644 index 98bc253..0000000 --- a/digitalai/release/v1/api_client.py +++ /dev/null @@ -1,896 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import json -import atexit -import mimetypes -from multiprocessing.pool import ThreadPool -import io -import os -import re -import typing -from urllib.parse import quote -from urllib3.fields import RequestField - - -from digitalai.release.v1 import rest -from digitalai.release.v1.configuration import Configuration -from digitalai.release.v1.exceptions import ApiTypeError, ApiValueError, ApiException -from digitalai.release.v1.model_utils import ( - ModelNormal, - ModelSimple, - ModelComposed, - check_allowed_values, - check_validations, - date, - datetime, - deserialize_file, - file_type, - model_to_dict, - none_type, - validate_and_convert_types -) - - -class ApiClient(object): - """Generic API client for OpenAPI client library builds. - - OpenAPI generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the OpenAPI - templates. - - NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - :param pool_threads: The number of threads to use for async requests - to the API. More threads means more concurrent API requests. - """ - - _pool = None - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, pool_threads=1): - if configuration is None: - configuration = Configuration.get_default_copy() - self.configuration = configuration - self.pool_threads = pool_threads - - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.0/python' - - def __enter__(self): - return self - - def __exit__(self, exc_type, exc_value, traceback): - self.close() - - def close(self): - if self._pool: - self._pool.close() - self._pool.join() - self._pool = None - if hasattr(atexit, 'unregister'): - atexit.unregister(self.close) - - @property - def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ - if self._pool is None: - atexit.register(self.close) - self._pool = ThreadPool(self.pool_threads) - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None, - _content_type: typing.Optional[str] = None, - _request_auths: typing.Optional[typing.List[typing.Dict[str, typing.Any]]] = None - ): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = post_params if post_params else [] - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - post_params.extend(self.files_parameters(files)) - if header_params['Content-Type'].startswith("multipart"): - post_params = self.parameters_to_multipart(post_params, - (dict)) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # auth setting - self.update_params_for_auth(header_params, query_params, - auth_settings, resource_path, method, body, - request_auths=_request_auths) - - # request url - if _host is None: - url = self.configuration.host + resource_path - else: - # use server/host defined in path or operation instead - url = _host + resource_path - - try: - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - except ApiException as e: - e.body = e.body.decode('utf-8') - raise e - - self.last_response = response_data - - return_data = response_data - - if not _preload_content: - return (return_data) - return return_data - - # deserialize response data - if response_type: - if response_type != (file_type,): - encoding = "utf-8" - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) - if match: - encoding = match.group(1) - response_data.data = response_data.data.decode(encoding) - - return_data = self.deserialize( - response_data, - response_type, - _check_type - ) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def parameters_to_multipart(self, params, collection_types): - """Get parameters as list of tuples, formatting as json if value is collection_types - - :param params: Parameters as list of two-tuples - :param dict collection_types: Parameter collection types - :return: Parameters as list of tuple or urllib3.fields.RequestField - """ - new_params = [] - if collection_types is None: - collection_types = (dict) - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if isinstance( - v, collection_types): # v is instance of collection_type, formatting as application/json - v = json.dumps(v, ensure_ascii=False).encode("utf-8") - field = RequestField(k, v) - field.make_multipart(content_type="application/json; charset=utf-8") - new_params.append(field) - else: - new_params.append((k, v)) - return new_params - - @classmethod - def sanitize_for_serialization(cls, obj): - """Prepares data for transmission before it is sent with the rest client - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - If obj is io.IOBase, return the bytes - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if isinstance(obj, (ModelNormal, ModelComposed)): - return { - key: cls.sanitize_for_serialization(val) for key, - val in model_to_dict( - obj, - serialize=True).items()} - elif isinstance(obj, io.IOBase): - return cls.get_file_data_and_close_file(obj) - elif isinstance(obj, (str, int, float, none_type, bool)): - return obj - elif isinstance(obj, (datetime, date)): - return obj.isoformat() - elif isinstance(obj, ModelSimple): - return cls.sanitize_for_serialization(obj.value) - elif isinstance(obj, (list, tuple)): - return [cls.sanitize_for_serialization(item) for item in obj] - if isinstance(obj, dict): - return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} - raise ApiValueError( - 'Unable to prepare type {} for serialization'.format( - obj.__class__.__name__)) - - def deserialize(self, response, response_type, _check_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param _check_type: boolean, whether to check the types of the data - received from the server - :type _check_type: bool - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == (file_type,): - content_disposition = response.getheader("Content-Disposition") - return deserialize_file(response.data, self.configuration, - content_disposition=content_disposition) - - # fetch data from response object - try: - received_data = json.loads(response.data) - except ValueError: - received_data = response.data - - # store our data under the key of 'received_data' so users have some - # context if they are deserializing a string and the data type is wrong - deserialized_data = validate_and_convert_types( - received_data, - response_type, - ['received_data'], - True, - _check_type, - configuration=self.configuration - ) - return deserialized_data - - def call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - async_req: typing.Optional[bool] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None, - _request_auths: typing.Optional[typing.List[typing.Dict[str, typing.Any]]] = None - ): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async_req request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param files: key -> field name, value -> a list of open file - objects for `multipart/form-data`. - :type files: dict - :param async_req bool: execute request asynchronously - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :type collection_formats: dict, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: 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. - :param _check_type: boolean describing if the data back from the server - should have its type checked. - :type _check_type: bool, optional - :param _request_auths: set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - :type _request_auths: list, optional - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout, _host, - _check_type, _request_auths=_request_auths) - - return self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, - query_params, - header_params, body, - post_params, files, - response_type, - auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, - _request_timeout, - _host, _check_type, None, _request_auths)) - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ApiValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - @staticmethod - def get_file_data_and_close_file(file_instance: io.IOBase) -> bytes: - file_data = file_instance.read() - file_instance.close() - return file_data - - def files_parameters(self, - files: typing.Optional[typing.Dict[str, - typing.List[io.IOBase]]] = None): - """Builds form parameters. - - :param files: None or a dict with key=param_name and - value is a list of open file objects - :return: List of tuples of form parameters with file data - """ - if files is None: - return [] - - params = [] - for param_name, file_instances in files.items(): - if file_instances is None: - # if the file field is nullable, skip None values - continue - for file_instance in file_instances: - if file_instance is None: - # if the file field is nullable, skip None values - continue - if file_instance.closed is True: - raise ApiValueError( - "Cannot read a closed file. The passed in file_type " - "for %s must be open." % param_name - ) - filename = os.path.basename(file_instance.name) - filedata = self.get_file_data_and_close_file(file_instance) - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([param_name, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types, method=None, body=None): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :param method: http method (e.g. POST, PATCH). - :param body: http body to send. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return None - - content_types = [x.lower() for x in content_types] - - if (method == 'PATCH' and - 'application/json-patch+json' in content_types and - isinstance(body, list)): - return 'application/json-patch+json' - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings, - resource_path, method, body, request_auths=None): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - :param resource_path: A string representation of the HTTP request resource path. - :param method: A string representation of the HTTP request method. - :param body: A object representing the body of the HTTP request. - The object type is the return value of _encoder.default(). - :param request_auths: if set, the provided settings will - override the token in the configuration. - """ - if not auth_settings: - return - - if request_auths: - for auth_setting in request_auths: - self._apply_auth_params( - headers, queries, resource_path, method, body, auth_setting) - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - self._apply_auth_params( - headers, queries, resource_path, method, body, auth_setting) - - def _apply_auth_params(self, headers, queries, resource_path, method, body, auth_setting): - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['key'] + "=" + auth_setting['value'] - elif auth_setting['in'] == 'header': - if auth_setting['type'] != 'http-signature': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - -class Endpoint(object): - def __init__(self, settings=None, params_map=None, root_map=None, - headers_map=None, api_client=None, callable=None): - """Creates an endpoint - - Args: - settings (dict): see below key value pairs - 'response_type' (tuple/None): response type - 'auth' (list): a list of auth type keys - 'endpoint_path' (str): the endpoint path - 'operation_id' (str): endpoint string identifier - 'http_method' (str): POST/PUT/PATCH/GET etc - 'servers' (list): list of str servers that this endpoint is at - params_map (dict): see below key value pairs - 'all' (list): list of str endpoint parameter names - 'required' (list): list of required parameter names - 'nullable' (list): list of nullable parameter names - 'enum' (list): list of parameters with enum values - 'validation' (list): list of parameters with validations - root_map - 'validations' (dict): the dict mapping endpoint parameter tuple - paths to their validation dictionaries - 'allowed_values' (dict): the dict mapping endpoint parameter - tuple paths to their allowed_values (enum) dictionaries - 'openapi_types' (dict): param_name to openapi type - 'attribute_map' (dict): param_name to camelCase name - 'location_map' (dict): param_name to 'body', 'file', 'form', - 'header', 'path', 'query' - collection_format_map (dict): param_name to `csv` etc. - headers_map (dict): see below key value pairs - 'accept' (list): list of Accept header strings - 'content_type' (list): list of Content-Type header strings - api_client (ApiClient) api client instance - callable (function): the function which is invoked when the - Endpoint is called - """ - self.settings = settings - self.params_map = params_map - self.params_map['all'].extend([ - 'async_req', - '_host_index', - '_preload_content', - '_request_timeout', - '_return_http_data_only', - '_check_input_type', - '_check_return_type', - '_content_type', - '_spec_property_naming', - '_request_auths' - ]) - self.params_map['nullable'].extend(['_request_timeout']) - self.validations = root_map['validations'] - self.allowed_values = root_map['allowed_values'] - self.openapi_types = root_map['openapi_types'] - extra_types = { - 'async_req': (bool,), - '_host_index': (none_type, int), - '_preload_content': (bool,), - '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), - '_return_http_data_only': (bool,), - '_check_input_type': (bool,), - '_check_return_type': (bool,), - '_spec_property_naming': (bool,), - '_content_type': (none_type, str), - '_request_auths': (none_type, list) - } - self.openapi_types.update(extra_types) - self.attribute_map = root_map['attribute_map'] - self.location_map = root_map['location_map'] - self.collection_format_map = root_map['collection_format_map'] - self.headers_map = headers_map - self.api_client = api_client - self.callable = callable - - def __validate_inputs(self, kwargs): - for param in self.params_map['enum']: - if param in kwargs: - check_allowed_values( - self.allowed_values, - (param,), - kwargs[param] - ) - - for param in self.params_map['validation']: - if param in kwargs: - check_validations( - self.validations, - (param,), - kwargs[param], - configuration=self.api_client.configuration - ) - - if kwargs['_check_input_type'] is False: - return - - for key, value in kwargs.items(): - fixed_val = validate_and_convert_types( - value, - self.openapi_types[key], - [key], - kwargs['_spec_property_naming'], - kwargs['_check_input_type'], - configuration=self.api_client.configuration - ) - kwargs[key] = fixed_val - - def __gather_params(self, kwargs): - params = { - 'body': None, - 'collection_format': {}, - 'file': {}, - 'form': [], - 'header': {}, - 'path': {}, - 'query': [] - } - - for param_name, param_value in kwargs.items(): - param_location = self.location_map.get(param_name) - if param_location is None: - continue - if param_location: - if param_location == 'body': - params['body'] = param_value - continue - base_name = self.attribute_map[param_name] - if (param_location == 'form' and - self.openapi_types[param_name] == (file_type,)): - params['file'][base_name] = [param_value] - elif (param_location == 'form' and - self.openapi_types[param_name] == ([file_type],)): - # param_value is already a list - params['file'][base_name] = param_value - elif param_location in {'form', 'query'}: - param_value_full = (base_name, param_value) - params[param_location].append(param_value_full) - if param_location not in {'form', 'query'}: - params[param_location][base_name] = param_value - collection_format = self.collection_format_map.get(param_name) - if collection_format: - params['collection_format'][base_name] = collection_format - - return params - - def __call__(self, *args, **kwargs): - """ This method is invoked when endpoints are called - Example: - - api_instance = ActivityLogsApi() - api_instance.get_activity_logs # this is an instance of the class Endpoint - api_instance.get_activity_logs() # this invokes api_instance.get_activity_logs.__call__() - which then invokes the callable functions stored in that endpoint at - api_instance.get_activity_logs.callable or self.callable in this class - - """ - return self.callable(self, *args, **kwargs) - - def call_with_http_info(self, **kwargs): - - try: - index = self.api_client.configuration.server_operation_index.get( - self.settings['operation_id'], self.api_client.configuration.server_index - ) if kwargs['_host_index'] is None else kwargs['_host_index'] - server_variables = self.api_client.configuration.server_operation_variables.get( - self.settings['operation_id'], self.api_client.configuration.server_variables - ) - _host = self.api_client.configuration.get_host_from_settings( - index, variables=server_variables, servers=self.settings['servers'] - ) - except IndexError: - if self.settings['servers']: - raise ApiValueError( - "Invalid host index. Must be 0 <= index < %s" % - len(self.settings['servers']) - ) - _host = None - - for key, value in kwargs.items(): - if key not in self.params_map['all']: - raise ApiTypeError( - "Got an unexpected parameter '%s'" - " to method `%s`" % - (key, self.settings['operation_id']) - ) - # only throw this nullable ApiValueError if _check_input_type - # is False, if _check_input_type==True we catch this case - # in self.__validate_inputs - if (key not in self.params_map['nullable'] and value is None - and kwargs['_check_input_type'] is False): - raise ApiValueError( - "Value may not be None for non-nullable parameter `%s`" - " when calling `%s`" % - (key, self.settings['operation_id']) - ) - - for key in self.params_map['required']: - if key not in kwargs.keys(): - raise ApiValueError( - "Missing the required parameter `%s` when calling " - "`%s`" % (key, self.settings['operation_id']) - ) - - self.__validate_inputs(kwargs) - - params = self.__gather_params(kwargs) - - accept_headers_list = self.headers_map['accept'] - if accept_headers_list: - params['header']['Accept'] = self.api_client.select_header_accept( - accept_headers_list) - - if kwargs.get('_content_type'): - params['header']['Content-Type'] = kwargs['_content_type'] - else: - content_type_headers_list = self.headers_map['content_type'] - if content_type_headers_list: - if params['body'] != "": - content_types_list = self.api_client.select_header_content_type( - content_type_headers_list, self.settings['http_method'], - params['body']) - if content_types_list: - params['header']['Content-Type'] = content_types_list - - return self.api_client.call_api( - self.settings['endpoint_path'], self.settings['http_method'], - params['path'], - params['query'], - params['header'], - body=params['body'], - post_params=params['form'], - files=params['file'], - response_type=self.settings['response_type'], - auth_settings=self.settings['auth'], - async_req=kwargs['async_req'], - _check_type=kwargs['_check_return_type'], - _return_http_data_only=kwargs['_return_http_data_only'], - _preload_content=kwargs['_preload_content'], - _request_timeout=kwargs['_request_timeout'], - _host=_host, - _request_auths=kwargs['_request_auths'], - collection_formats=params['collection_format']) diff --git a/digitalai/release/v1/apis/__init__.py b/digitalai/release/v1/apis/__init__.py deleted file mode 100644 index 1a4a2f0..0000000 --- a/digitalai/release/v1/apis/__init__.py +++ /dev/null @@ -1,41 +0,0 @@ - -# flake8: noqa - -# Import all APIs into this package. -# If you have many APIs here with many many models used in each API this may -# raise a `RecursionError`. -# In order to avoid this, import only the API that you directly need like: -# -# from digitalai.release.v1.api.activity_logs_api import ActivityLogsApi -# -# or import this package, but before doing it, use: -# -# import sys -# sys.setrecursionlimit(n) - -# Import APIs into API package: -from digitalai.release.v1.api.activity_logs_api import ActivityLogsApi -from digitalai.release.v1.api.application_api import ApplicationApi -from digitalai.release.v1.api.configuration_api import ConfigurationApi -from digitalai.release.v1.api.delivery_api import DeliveryApi -from digitalai.release.v1.api.delivery_pattern_api import DeliveryPatternApi -from digitalai.release.v1.api.dsl_api import DslApi -from digitalai.release.v1.api.environment_api import EnvironmentApi -from digitalai.release.v1.api.environment_label_api import EnvironmentLabelApi -from digitalai.release.v1.api.environment_reservation_api import EnvironmentReservationApi -from digitalai.release.v1.api.environment_stage_api import EnvironmentStageApi -from digitalai.release.v1.api.facet_api import FacetApi -from digitalai.release.v1.api.folder_api import FolderApi -from digitalai.release.v1.api.permissions_api import PermissionsApi -from digitalai.release.v1.api.phase_api import PhaseApi -from digitalai.release.v1.api.planner_api import PlannerApi -from digitalai.release.v1.api.release_api import ReleaseApi -from digitalai.release.v1.api.release_group_api import ReleaseGroupApi -from digitalai.release.v1.api.report_api import ReportApi -from digitalai.release.v1.api.risk_api import RiskApi -from digitalai.release.v1.api.risk_assessment_api import RiskAssessmentApi -from digitalai.release.v1.api.roles_api import RolesApi -from digitalai.release.v1.api.task_api import TaskApi -from digitalai.release.v1.api.template_api import TemplateApi -from digitalai.release.v1.api.triggers_api import TriggersApi -from digitalai.release.v1.api.user_api import UserApi diff --git a/digitalai/release/v1/configuration.py b/digitalai/release/v1/configuration.py deleted file mode 100644 index eb9b8cb..0000000 --- a/digitalai/release/v1/configuration.py +++ /dev/null @@ -1,498 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -from http import client as http_client -from digitalai.release.v1.exceptions import ApiValueError - - -JSON_SCHEMA_VALIDATION_KEYWORDS = { - 'multipleOf', 'maximum', 'exclusiveMaximum', - 'minimum', 'exclusiveMinimum', 'maxLength', - 'minLength', 'pattern', 'maxItems', 'minItems' -} - -class Configuration(object): - """NOTE: This class is auto generated by OpenAPI Generator - - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param host: Base url - :param api_key: Dict to store API key(s). - Each entry in the dict specifies an API key. - The dict key is the name of the security scheme in the OAS specification. - The dict value is the API key secret. - :param api_key_prefix: Dict to store API prefix (e.g. Bearer) - The dict key is the name of the security scheme in the OAS specification. - The dict value is an API key prefix when generating the auth data. - :param username: Username for HTTP basic authentication - :param password: Password for HTTP basic authentication - :param discard_unknown_keys: Boolean value indicating whether to discard - unknown properties. A server may send a response that includes additional - properties that are not known by the client in the following scenarios: - 1. The OpenAPI document is incomplete, i.e. it does not match the server - implementation. - 2. The client was generated using an older version of the OpenAPI document - and the server has been upgraded since then. - If a schema in the OpenAPI document defines the additionalProperties attribute, - then all undeclared properties received by the server are injected into the - additional properties map. In that case, there are undeclared properties, and - nothing to discard. - :param disabled_client_side_validations (string): Comma-separated list of - JSON schema validation keywords to disable JSON schema structural validation - rules. The following keywords may be specified: multipleOf, maximum, - exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern, - maxItems, minItems. - By default, the validation is performed for data generated locally by the client - and data received from the server, independent of any validation performed by - the server side. If the input data does not satisfy the JSON schema validation - rules specified in the OpenAPI document, an exception is raised. - If disabled_client_side_validations is set, structural validation is - disabled. This can be useful to troubleshoot data validation problem, such as - when the OpenAPI document validation rules do not match the actual API data - received by the server. - :param server_index: Index to servers configuration. - :param server_variables: Mapping with string values to replace variables in - templated server configuration. The validation of enums is performed for - variables with defined enum values before. - :param server_operation_index: Mapping from operation ID to an index to server - configuration. - :param server_operation_variables: Mapping from operation ID to a mapping with - string values to replace variables in templated server configuration. - The validation of enums is performed for variables with defined enum values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates - in PEM format - - :Example: - - API Key Authentication Example. - Given the following security scheme in the OpenAPI specification: - components: - securitySchemes: - cookieAuth: # name for the security scheme - type: apiKey - in: cookie - name: JSESSIONID # cookie name - - You can programmatically set the cookie: - -conf = digitalai.release.v1.Configuration( - api_key={'cookieAuth': 'abc123'} - api_key_prefix={'cookieAuth': 'JSESSIONID'} -) - - The following cookie will be added to the HTTP request: - Cookie: JSESSIONID abc123 - - HTTP Basic Authentication Example. - Given the following security scheme in the OpenAPI specification: - components: - securitySchemes: - http_basic_auth: - type: http - scheme: basic - - Configure API client with HTTP basic authentication: - -conf = digitalai.release.v1.Configuration( - username='the-user', - password='the-password', -) - - """ - - _default = None - - def __init__(self, host=None, - api_key=None, api_key_prefix=None, - access_token=None, - username=None, password=None, - discard_unknown_keys=False, - disabled_client_side_validations="", - server_index=None, server_variables=None, - server_operation_index=None, server_operation_variables=None, - ssl_ca_cert=None, - ): - """Constructor - """ - self._base_path = "http://localhost:5516" if host is None else host - """Default Base url - """ - self.server_index = 0 if server_index is None and host is None else server_index - self.server_operation_index = server_operation_index or {} - """Default server index - """ - self.server_variables = server_variables or {} - self.server_operation_variables = server_operation_variables or {} - """Default server variables - """ - self.temp_folder_path = None - """Temp file folder for downloading files - """ - # Authentication Settings - self.access_token = access_token - self.api_key = {} - if api_key: - self.api_key = api_key - """dict to store API key(s) - """ - self.api_key_prefix = {} - if api_key_prefix: - self.api_key_prefix = api_key_prefix - """dict to store API prefix (e.g. Bearer) - """ - self.refresh_api_key_hook = None - """function hook to refresh API key if expired - """ - self.username = username - """Username for HTTP basic authentication - """ - self.password = password - """Password for HTTP basic authentication - """ - self.discard_unknown_keys = discard_unknown_keys - self.disabled_client_side_validations = disabled_client_side_validations - self.logger = {} - """Logging Settings - """ - self.logger["package_logger"] = logging.getLogger("digitalai.release.v1") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - """Log format - """ - self.logger_stream_handler = None - """Log stream handler - """ - self.logger_file_handler = None - """Log file handler - """ - self.logger_file = None - """Debug file location - """ - self.debug = False - """Debug switch - """ - - self.verify_ssl = True - """SSL/TLS verification - Set this to false to skip verifying SSL certificate when calling API - from https server. - """ - self.ssl_ca_cert = ssl_ca_cert - """Set this to customize the certificate file to verify the peer. - """ - self.cert_file = None - """client certificate file - """ - self.key_file = None - """client key file - """ - self.assert_hostname = None - """Set this to True/False to enable/disable SSL hostname verification. - """ - - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - """urllib3 connection pool's maximum number of connections saved - per pool. urllib3 uses 1 connection as default value, but this is - not the best value when you are making a lot of possibly parallel - requests to the same host, which is often the case here. - cpu_count * 5 is used as default value to increase performance. - """ - - self.proxy = None - """Proxy URL - """ - self.no_proxy = None - """bypass proxy for host in the no_proxy list. - """ - self.proxy_headers = None - """Proxy headers - """ - self.safe_chars_for_path_param = '/' - """Safe chars for path_param - """ - self.retries = None - """Adding retries to override urllib3 default value 3 - """ - # Enable client side validation - self.client_side_validation = True - - # Options to pass down to the underlying urllib3 socket - self.socket_options = None - - def __deepcopy__(self, memo): - cls = self.__class__ - result = cls.__new__(cls) - memo[id(self)] = result - for k, v in self.__dict__.items(): - if k not in ('logger', 'logger_file_handler'): - setattr(result, k, copy.deepcopy(v, memo)) - # shallow copy of loggers - result.logger = copy.copy(self.logger) - # use setters to configure loggers - result.logger_file = self.logger_file - result.debug = self.debug - return result - - def __setattr__(self, name, value): - object.__setattr__(self, name, value) - if name == 'disabled_client_side_validations': - s = set(filter(None, value.split(','))) - for v in s: - if v not in JSON_SCHEMA_VALIDATION_KEYWORDS: - raise ApiValueError( - "Invalid keyword: '{0}''".format(v)) - self._disabled_client_side_validations = s - - @classmethod - def set_default(cls, default): - """Set default instance of configuration. - - It stores default configuration, which can be - returned by get_default_copy method. - - :param default: object of Configuration - """ - cls._default = copy.deepcopy(default) - - @classmethod - def get_default_copy(cls): - """Return new instance of configuration. - - This method returns newly created, based on default constructor, - object of Configuration class or returns a copy of default - configuration passed by the set_default method. - - :return: The configuration object. - """ - if cls._default is not None: - return copy.deepcopy(cls._default) - return Configuration() - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in self.logger.items(): - logger.addHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in self.logger.items(): - logger.setLevel(logging.DEBUG) - # turn on http_client debug - http_client.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in self.logger.items(): - logger.setLevel(logging.WARNING) - # turn off http_client debug - http_client.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier, alias=None): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :param alias: The alternative identifier of apiKey. - :return: The token for api key authentication. - """ - if self.refresh_api_key_hook is not None: - self.refresh_api_key_hook(self) - key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None) - if key: - prefix = self.api_key_prefix.get(identifier) - if prefix: - return "%s %s" % (prefix, key) - else: - return key - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - username = "" - if self.username is not None: - username = self.username - password = "" - if self.password is not None: - password = self.password - return urllib3.util.make_headers( - basic_auth=username + ':' + password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - auth = {} - if self.username is not None and self.password is not None: - auth['basicAuth'] = { - 'type': 'basic', - 'in': 'header', - 'key': 'Authorization', - 'value': self.get_basic_auth_token() - } - if 'patAuth' in self.api_key: - auth['patAuth'] = { - 'type': 'api_key', - 'in': 'header', - 'key': 'x-release-personal-token', - 'value': self.get_api_key_with_prefix( - 'patAuth', - ), - } - return auth - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: v1\n"\ - "SDK Package Version: 1.0.0".\ - format(env=sys.platform, pyversion=sys.version) - - def get_host_settings(self): - """Gets an array of host settings - - :return: An array of host settings - """ - return [ - { - 'url': "http://localhost:5516", - 'description': "No description provided", - } - ] - - def get_host_from_settings(self, index, variables=None, servers=None): - """Gets host URL based on the index and variables - :param index: array index of the host settings - :param variables: hash of variable and the corresponding value - :param servers: an array of host settings or None - :return: URL based on host settings - """ - if index is None: - return self._base_path - - variables = {} if variables is None else variables - servers = self.get_host_settings() if servers is None else servers - - try: - server = servers[index] - except IndexError: - raise ValueError( - "Invalid index {0} when selecting the host settings. " - "Must be less than {1}".format(index, len(servers))) - - url = server['url'] - - # go through variables and replace placeholders - for variable_name, variable in server.get('variables', {}).items(): - used_value = variables.get( - variable_name, variable['default_value']) - - if 'enum_values' in variable \ - and used_value not in variable['enum_values']: - raise ValueError( - "The variable `{0}` in the host URL has invalid value " - "{1}. Must be {2}.".format( - variable_name, variables[variable_name], - variable['enum_values'])) - - url = url.replace("{" + variable_name + "}", used_value) - - return url - - @property - def host(self): - """Return generated host.""" - return self.get_host_from_settings(self.server_index, variables=self.server_variables) - - @host.setter - def host(self, value): - """Fix base path.""" - self._base_path = value - self.server_index = None diff --git a/digitalai/release/v1/docs/AbortRelease.md b/digitalai/release/v1/docs/AbortRelease.md deleted file mode 100644 index a96beed..0000000 --- a/digitalai/release/v1/docs/AbortRelease.md +++ /dev/null @@ -1,12 +0,0 @@ -# AbortRelease - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**abort_comment** | **str** | | [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/digitalai/release/v1/docs/ActivityLogEntry.md b/digitalai/release/v1/docs/ActivityLogEntry.md deleted file mode 100644 index 9065c4a..0000000 --- a/digitalai/release/v1/docs/ActivityLogEntry.md +++ /dev/null @@ -1,20 +0,0 @@ -# ActivityLogEntry - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**username** | **str** | | [optional] -**activity_type** | **str** | | [optional] -**message** | **str** | | [optional] -**event_time** | **datetime** | | [optional] -**target_type** | **str** | | [optional] -**target_id** | **str** | | [optional] -**data_id** | **str** | | [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/digitalai/release/v1/docs/ActivityLogsApi.md b/digitalai/release/v1/docs/ActivityLogsApi.md deleted file mode 100644 index 7261b85..0000000 --- a/digitalai/release/v1/docs/ActivityLogsApi.md +++ /dev/null @@ -1,91 +0,0 @@ -# digitalai.release.v1.ActivityLogsApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_activity_logs**](ActivityLogsApi.md#get_activity_logs) | **GET** /api/v1/activities/{containerId} | - - -# **get_activity_logs** -> [ActivityLogEntry] get_activity_logs(container_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import activity_logs_api -from digitalai.release.v1.model.activity_log_entry import ActivityLogEntry -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = activity_logs_api.ActivityLogsApi(api_client) - container_id = "jUR,rZ#UM/?R,Fp^l6$ARj/Release*" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_activity_logs(container_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ActivityLogsApi->get_activity_logs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **container_id** | **str**| | - -### Return type - -[**[ActivityLogEntry]**](ActivityLogEntry.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ApplicationApi.md b/digitalai/release/v1/docs/ApplicationApi.md deleted file mode 100644 index 4fc9dca..0000000 --- a/digitalai/release/v1/docs/ApplicationApi.md +++ /dev/null @@ -1,451 +0,0 @@ -# digitalai.release.v1.ApplicationApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_application**](ApplicationApi.md#create_application) | **POST** /api/v1/applications | -[**delete_application**](ApplicationApi.md#delete_application) | **DELETE** /api/v1/applications/{applicationId} | -[**get_application**](ApplicationApi.md#get_application) | **GET** /api/v1/applications/{applicationId} | -[**search_applications**](ApplicationApi.md#search_applications) | **POST** /api/v1/applications/search | -[**update_application**](ApplicationApi.md#update_application) | **PUT** /api/v1/applications/{applicationId} | - - -# **create_application** -> ApplicationView create_application() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import application_api -from digitalai.release.v1.model.application_view import ApplicationView -from digitalai.release.v1.model.application_form import ApplicationForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = application_api.ApplicationApi(api_client) - application_form = ApplicationForm( - title="title_example", - environment_ids=[ - "environment_ids_example", - ], - ) # ApplicationForm | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_application(application_form=application_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->create_application: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **application_form** | [**ApplicationForm**](ApplicationForm.md)| | [optional] - -### Return type - -[**ApplicationView**](ApplicationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_application** -> delete_application(application_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import application_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = application_api.ApplicationApi(api_client) - application_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ApplicationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_application(application_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->delete_application: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **application_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_application** -> ApplicationView get_application(application_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import application_api -from digitalai.release.v1.model.application_view import ApplicationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = application_api.ApplicationApi(api_client) - application_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ApplicationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_application(application_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->get_application: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **application_id** | **str**| | - -### Return type - -[**ApplicationView**](ApplicationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_applications** -> [ApplicationView] search_applications() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import application_api -from digitalai.release.v1.model.application_view import ApplicationView -from digitalai.release.v1.model.application_filters import ApplicationFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = application_api.ApplicationApi(api_client) - application_filters = ApplicationFilters( - title="title_example", - environments=[ - "environments_example", - ], - ) # ApplicationFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_applications(application_filters=application_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->search_applications: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **application_filters** | [**ApplicationFilters**](ApplicationFilters.md)| | [optional] - -### Return type - -[**[ApplicationView]**](ApplicationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_application** -> ApplicationView update_application(application_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import application_api -from digitalai.release.v1.model.application_view import ApplicationView -from digitalai.release.v1.model.application_form import ApplicationForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = application_api.ApplicationApi(api_client) - application_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ApplicationQ" # str | - application_form = ApplicationForm( - title="title_example", - environment_ids=[ - "environment_ids_example", - ], - ) # ApplicationForm | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_application(application_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->update_application: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_application(application_id, application_form=application_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ApplicationApi->update_application: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **application_id** | **str**| | - **application_form** | [**ApplicationForm**](ApplicationForm.md)| | [optional] - -### Return type - -[**ApplicationView**](ApplicationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ApplicationFilters.md b/digitalai/release/v1/docs/ApplicationFilters.md deleted file mode 100644 index 04a003f..0000000 --- a/digitalai/release/v1/docs/ApplicationFilters.md +++ /dev/null @@ -1,13 +0,0 @@ -# ApplicationFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**environments** | **[str]** | | [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/digitalai/release/v1/docs/ApplicationForm.md b/digitalai/release/v1/docs/ApplicationForm.md deleted file mode 100644 index 0bd11b6..0000000 --- a/digitalai/release/v1/docs/ApplicationForm.md +++ /dev/null @@ -1,13 +0,0 @@ -# ApplicationForm - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**environment_ids** | **[str]** | | [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/digitalai/release/v1/docs/ApplicationView.md b/digitalai/release/v1/docs/ApplicationView.md deleted file mode 100644 index aab1ea3..0000000 --- a/digitalai/release/v1/docs/ApplicationView.md +++ /dev/null @@ -1,14 +0,0 @@ -# ApplicationView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**environments** | [**[BaseEnvironmentView]**](BaseEnvironmentView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/Attachment.md b/digitalai/release/v1/docs/Attachment.md deleted file mode 100644 index ca93db4..0000000 --- a/digitalai/release/v1/docs/Attachment.md +++ /dev/null @@ -1,22 +0,0 @@ -# Attachment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**file** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**content_type** | **str** | | [optional] -**export_filename** | **str** | | [optional] -**file_uri** | **str** | | [optional] -**placeholders** | **[str]** | | [optional] -**text_file_names_regex** | **str** | | [optional] -**exclude_file_names_regex** | **str** | | [optional] -**file_encodings** | **{str: (str,)}** | | [optional] -**checksum** | **str** | | [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/digitalai/release/v1/docs/BaseApplicationView.md b/digitalai/release/v1/docs/BaseApplicationView.md deleted file mode 100644 index 67ac3fc..0000000 --- a/digitalai/release/v1/docs/BaseApplicationView.md +++ /dev/null @@ -1,13 +0,0 @@ -# BaseApplicationView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/BaseEnvironmentView.md b/digitalai/release/v1/docs/BaseEnvironmentView.md deleted file mode 100644 index d5eb2a1..0000000 --- a/digitalai/release/v1/docs/BaseEnvironmentView.md +++ /dev/null @@ -1,13 +0,0 @@ -# BaseEnvironmentView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/BlackoutMetadata.md b/digitalai/release/v1/docs/BlackoutMetadata.md deleted file mode 100644 index 98cc8df..0000000 --- a/digitalai/release/v1/docs/BlackoutMetadata.md +++ /dev/null @@ -1,12 +0,0 @@ -# BlackoutMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**periods** | [**[BlackoutPeriod]**](BlackoutPeriod.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/BlackoutPeriod.md b/digitalai/release/v1/docs/BlackoutPeriod.md deleted file mode 100644 index 0fa086d..0000000 --- a/digitalai/release/v1/docs/BlackoutPeriod.md +++ /dev/null @@ -1,13 +0,0 @@ -# BlackoutPeriod - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [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/digitalai/release/v1/docs/BulkActionResultView.md b/digitalai/release/v1/docs/BulkActionResultView.md deleted file mode 100644 index 6dfa5ab..0000000 --- a/digitalai/release/v1/docs/BulkActionResultView.md +++ /dev/null @@ -1,12 +0,0 @@ -# BulkActionResultView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**updated_ids** | **[str]** | | [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/digitalai/release/v1/docs/ChangePasswordView.md b/digitalai/release/v1/docs/ChangePasswordView.md deleted file mode 100644 index a987529..0000000 --- a/digitalai/release/v1/docs/ChangePasswordView.md +++ /dev/null @@ -1,13 +0,0 @@ -# ChangePasswordView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**current_password** | **str** | | [optional] -**new_password** | **str** | | [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/digitalai/release/v1/docs/CiProperty.md b/digitalai/release/v1/docs/CiProperty.md deleted file mode 100644 index ca7f7a7..0000000 --- a/digitalai/release/v1/docs/CiProperty.md +++ /dev/null @@ -1,23 +0,0 @@ -# CiProperty - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**wrapped** | [**CiProperty**](CiProperty.md) | | [optional] -**last_property** | [**ModelProperty**](ModelProperty.md) | | [optional] -**parent** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**exists** | **bool** | | [optional] -**property_name** | **str** | | [optional] -**value** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**parent_ci** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**descriptor** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**kind** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**category** | **str** | | [optional] -**password** | **bool** | | [optional] -**indexed** | **bool** | | [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/digitalai/release/v1/docs/Comment.md b/digitalai/release/v1/docs/Comment.md deleted file mode 100644 index dcd8888..0000000 --- a/digitalai/release/v1/docs/Comment.md +++ /dev/null @@ -1,17 +0,0 @@ -# Comment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**text** | **str** | | [optional] -**author** | **str** | | [optional] -**date** | **datetime** | | [optional] -**creation_date** | **datetime** | | [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/digitalai/release/v1/docs/Comment1.md b/digitalai/release/v1/docs/Comment1.md deleted file mode 100644 index a72ecc5..0000000 --- a/digitalai/release/v1/docs/Comment1.md +++ /dev/null @@ -1,12 +0,0 @@ -# Comment1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**comment** | **str** | | [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/digitalai/release/v1/docs/CompleteTransition.md b/digitalai/release/v1/docs/CompleteTransition.md deleted file mode 100644 index 2157ee6..0000000 --- a/digitalai/release/v1/docs/CompleteTransition.md +++ /dev/null @@ -1,13 +0,0 @@ -# CompleteTransition - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**transition_items** | **[str]** | | [optional] -**close_stages** | **bool** | | [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/digitalai/release/v1/docs/Condition.md b/digitalai/release/v1/docs/Condition.md deleted file mode 100644 index 29ff1f4..0000000 --- a/digitalai/release/v1/docs/Condition.md +++ /dev/null @@ -1,21 +0,0 @@ -# Condition - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**satisfied** | **bool** | | [optional] -**satisfied_date** | **datetime** | | [optional] -**description** | **str** | | [optional] -**active** | **bool** | | [optional] -**input_properties** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] -**leaf** | **bool** | | [optional] -**all_conditions** | [**[Condition]**](Condition.md) | | [optional] -**leaf_conditions** | [**[Condition]**](Condition.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/Condition1.md b/digitalai/release/v1/docs/Condition1.md deleted file mode 100644 index 1a6f96f..0000000 --- a/digitalai/release/v1/docs/Condition1.md +++ /dev/null @@ -1,13 +0,0 @@ -# Condition1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**checked** | **bool** | | [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/digitalai/release/v1/docs/ConfigurationApi.md b/digitalai/release/v1/docs/ConfigurationApi.md deleted file mode 100644 index 0c3e3d9..0000000 --- a/digitalai/release/v1/docs/ConfigurationApi.md +++ /dev/null @@ -1,1362 +0,0 @@ -# digitalai.release.v1.ConfigurationApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_configuration**](ConfigurationApi.md#add_configuration) | **POST** /api/v1/config | -[**add_global_variable**](ConfigurationApi.md#add_global_variable) | **POST** /api/v1/config/Configuration/variables/global | -[**check_status**](ConfigurationApi.md#check_status) | **POST** /api/v1/config/status | -[**check_status1**](ConfigurationApi.md#check_status1) | **POST** /api/v1/config/{configurationId}/status | -[**delete_configuration**](ConfigurationApi.md#delete_configuration) | **DELETE** /api/v1/config/{configurationId} | -[**delete_global_variable**](ConfigurationApi.md#delete_global_variable) | **DELETE** /api/v1/config/{variableId} | -[**get_configuration**](ConfigurationApi.md#get_configuration) | **GET** /api/v1/config/{configurationId} | -[**get_global_variable**](ConfigurationApi.md#get_global_variable) | **GET** /api/v1/config/{variableId} | -[**get_global_variable_values**](ConfigurationApi.md#get_global_variable_values) | **GET** /api/v1/config/Configuration/variableValues/global | -[**get_global_variables**](ConfigurationApi.md#get_global_variables) | **GET** /api/v1/config/Configuration/variables/global | -[**get_system_message**](ConfigurationApi.md#get_system_message) | **GET** /api/v1/config/system-message | -[**search_by_type_and_title**](ConfigurationApi.md#search_by_type_and_title) | **GET** /api/v1/config/byTypeAndTitle | -[**update_configuration**](ConfigurationApi.md#update_configuration) | **PUT** /api/v1/config/{configurationId} | -[**update_global_variable**](ConfigurationApi.md#update_global_variable) | **PUT** /api/v1/config/{variableId} | -[**update_system_message**](ConfigurationApi.md#update_system_message) | **PUT** /api/v1/config/system-message | - - -# **add_configuration** -> ReleaseConfiguration add_configuration() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - release_configuration = ReleaseConfiguration( - folder_id="folder_id_example", - title="title_example", - variable_mapping={ - "key": "key_example", - }, - ) # ReleaseConfiguration | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_configuration(release_configuration=release_configuration) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->add_configuration: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_configuration** | [**ReleaseConfiguration**](ReleaseConfiguration.md)| | [optional] - -### Return type - -[**ReleaseConfiguration**](ReleaseConfiguration.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_global_variable** -> Variable add_global_variable() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - variable1 = Variable1( - id="id_example", - key="key_example", - type="type_example", - requires_value=True, - show_on_release_start=True, - value=None, - label="label_example", - description="description_example", - multiline=True, - inherited=True, - prevent_interpolation=True, - external_variable_value=ExternalVariableValue( - server="server_example", - server_type="server_type_example", - path="path_example", - external_key="external_key_example", - ), - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration(), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ), - ) # Variable1 | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_global_variable(variable1=variable1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->add_global_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable1** | [**Variable1**](Variable1.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **check_status** -> SharedConfigurationStatusResponse check_status() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.shared_configuration_status_response import SharedConfigurationStatusResponse -from digitalai.release.v1.model.configuration_view import ConfigurationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_view = ConfigurationView( - type="type_example", - title="title_example", - properties={ - "key": {}, - }, - id="id_example", - ) # ConfigurationView | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.check_status(configuration_view=configuration_view) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->check_status: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_view** | [**ConfigurationView**](ConfigurationView.md)| | [optional] - -### Return type - -[**SharedConfigurationStatusResponse**](SharedConfigurationStatusResponse.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **check_status1** -> SharedConfigurationStatusResponse check_status1(configuration_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.shared_configuration_status_response import SharedConfigurationStatusResponse -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ConfigurationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.check_status1(configuration_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->check_status1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_id** | **str**| | - -### Return type - -[**SharedConfigurationStatusResponse**](SharedConfigurationStatusResponse.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_configuration** -> delete_configuration(configuration_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ConfigurationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_configuration(configuration_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->delete_configuration: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_global_variable** -> delete_global_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_global_variable(variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->delete_global_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_configuration** -> ReleaseConfiguration get_configuration(configuration_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ConfigurationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_configuration(configuration_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->get_configuration: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_id** | **str**| | - -### Return type - -[**ReleaseConfiguration**](ReleaseConfiguration.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_global_variable** -> Variable get_global_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_global_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->get_global_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_global_variable_values** -> {str: (str,)} get_global_variable_values() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_global_variable_values() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->get_global_variable_values: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**{str: (str,)}** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_global_variables** -> [Variable] get_global_variables() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_global_variables() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->get_global_variables: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_system_message** -> SystemMessageSettings get_system_message() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.system_message_settings import SystemMessageSettings -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_system_message() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->get_system_message: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**SystemMessageSettings**](SystemMessageSettings.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_by_type_and_title** -> [ReleaseConfiguration] search_by_type_and_title() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_type = "configurationType_example" # str | (optional) - folder_id = "folderId_example" # str | (optional) - folder_only = True # bool | (optional) - title = "title_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_by_type_and_title(configuration_type=configuration_type, folder_id=folder_id, folder_only=folder_only, title=title) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->search_by_type_and_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_type** | **str**| | [optional] - **folder_id** | **str**| | [optional] - **folder_only** | **bool**| | [optional] - **title** | **str**| | [optional] - -### Return type - -[**[ReleaseConfiguration]**](ReleaseConfiguration.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_configuration** -> ReleaseConfiguration update_configuration(configuration_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - configuration_id = "jUR,rZ#UM/?R,Fp^l6$ARj/ConfigurationQ" # str | - release_configuration = ReleaseConfiguration( - folder_id="folder_id_example", - title="title_example", - variable_mapping={ - "key": "key_example", - }, - ) # ReleaseConfiguration | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_configuration(configuration_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->update_configuration: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_configuration(configuration_id, release_configuration=release_configuration) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->update_configuration: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_id** | **str**| | - **release_configuration** | [**ReleaseConfiguration**](ReleaseConfiguration.md)| | [optional] - -### Return type - -[**ReleaseConfiguration**](ReleaseConfiguration.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_global_variable** -> Variable update_global_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - variable = Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ) # Variable | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_global_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->update_global_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_global_variable(variable_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->update_global_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - **variable** | [**Variable**](Variable.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_system_message** -> SystemMessageSettings update_system_message() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import configuration_api -from digitalai.release.v1.model.system_message_settings import SystemMessageSettings -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = configuration_api.ConfigurationApi(api_client) - system_message_settings = SystemMessageSettings( - id="id_example", - type="type_example", - title="title_example", - enabled=True, - message="message_example", - automated=True, - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ) # SystemMessageSettings | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_system_message(system_message_settings=system_message_settings) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ConfigurationApi->update_system_message: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **system_message_settings** | [**SystemMessageSettings**](SystemMessageSettings.md)| | [optional] - -### Return type - -[**SystemMessageSettings**](SystemMessageSettings.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ConfigurationFacet.md b/digitalai/release/v1/docs/ConfigurationFacet.md deleted file mode 100644 index a25102f..0000000 --- a/digitalai/release/v1/docs/ConfigurationFacet.md +++ /dev/null @@ -1,19 +0,0 @@ -# ConfigurationFacet - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scope** | [**FacetScope**](FacetScope.md) | | [optional] -**target_id** | **str** | | [optional] -**configuration_uri** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**properties_with_variables** | **[bool, date, datetime, dict, float, int, list, 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/digitalai/release/v1/docs/ConfigurationView.md b/digitalai/release/v1/docs/ConfigurationView.md deleted file mode 100644 index 03bc1e2..0000000 --- a/digitalai/release/v1/docs/ConfigurationView.md +++ /dev/null @@ -1,15 +0,0 @@ -# ConfigurationView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**properties** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**id** | **str** | | [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/digitalai/release/v1/docs/CopyTemplate.md b/digitalai/release/v1/docs/CopyTemplate.md deleted file mode 100644 index 0e49af7..0000000 --- a/digitalai/release/v1/docs/CopyTemplate.md +++ /dev/null @@ -1,13 +0,0 @@ -# CopyTemplate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**description** | **str** | | [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/digitalai/release/v1/docs/CreateDelivery.md b/digitalai/release/v1/docs/CreateDelivery.md deleted file mode 100644 index bfe2e83..0000000 --- a/digitalai/release/v1/docs/CreateDelivery.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateDelivery - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**duration** | **int** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**auto_complete** | **bool** | | [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/digitalai/release/v1/docs/CreateDeliveryStage.md b/digitalai/release/v1/docs/CreateDeliveryStage.md deleted file mode 100644 index 4839b26..0000000 --- a/digitalai/release/v1/docs/CreateDeliveryStage.md +++ /dev/null @@ -1,14 +0,0 @@ -# CreateDeliveryStage - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**after** | **str** | | [optional] -**before** | **str** | | [optional] -**stage** | [**Stage**](Stage.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/CreateRelease.md b/digitalai/release/v1/docs/CreateRelease.md deleted file mode 100644 index 4f1056a..0000000 --- a/digitalai/release/v1/docs/CreateRelease.md +++ /dev/null @@ -1,20 +0,0 @@ -# CreateRelease - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**release_title** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**variables** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**release_variables** | **{str: (str,)}** | | [optional] -**release_password_variables** | **{str: (str,)}** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**auto_start** | **bool** | | [optional] -**started_from_task_id** | **str** | | [optional] -**release_owner** | **str** | | [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/digitalai/release/v1/docs/Delivery.md b/digitalai/release/v1/docs/Delivery.md deleted file mode 100644 index 23186d2..0000000 --- a/digitalai/release/v1/docs/Delivery.md +++ /dev/null @@ -1,29 +0,0 @@ -# Delivery - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | **{str: (dict,)}** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**status** | [**DeliveryStatus**](DeliveryStatus.md) | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**release_ids** | **[str]** | | [optional] -**folder_id** | **str** | | [optional] -**origin_pattern_id** | **str** | | [optional] -**stages** | [**[Stage]**](Stage.md) | | [optional] -**tracked_items** | [**[TrackedItem]**](TrackedItem.md) | | [optional] -**subscribers** | [**[Subscriber]**](Subscriber.md) | | [optional] -**auto_complete** | **bool** | | [optional] -**template** | **bool** | | [optional] -**transitions** | [**[Transition]**](Transition.md) | | [optional] -**stages_before_first_open_transition** | [**[Stage]**](Stage.md) | | [optional] -**updatable** | **bool** | | [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/digitalai/release/v1/docs/DeliveryApi.md b/digitalai/release/v1/docs/DeliveryApi.md deleted file mode 100644 index ecfa9e6..0000000 --- a/digitalai/release/v1/docs/DeliveryApi.md +++ /dev/null @@ -1,2342 +0,0 @@ -# digitalai.release.v1.DeliveryApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**complete_stage**](DeliveryApi.md#complete_stage) | **POST** /api/v1/deliveries/{stageId}/complete | -[**complete_tracked_item**](DeliveryApi.md#complete_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/complete | -[**complete_transition**](DeliveryApi.md#complete_transition) | **POST** /api/v1/deliveries/{transitionId}/complete | -[**create_tracked_item_in_delivery**](DeliveryApi.md#create_tracked_item_in_delivery) | **POST** /api/v1/deliveries/{deliveryId}/tracked-items | -[**delete_delivery**](DeliveryApi.md#delete_delivery) | **DELETE** /api/v1/deliveries/{deliveryId} | -[**delete_tracked_item_delivery**](DeliveryApi.md#delete_tracked_item_delivery) | **DELETE** /api/v1/deliveries/{itemId} | -[**descope_tracked_item**](DeliveryApi.md#descope_tracked_item) | **PUT** /api/v1/deliveries/{itemId}/descope | -[**get_delivery**](DeliveryApi.md#get_delivery) | **GET** /api/v1/deliveries/{deliveryId} | -[**get_delivery_timeline**](DeliveryApi.md#get_delivery_timeline) | **GET** /api/v1/deliveries/{deliveryId}/timeline | -[**get_releases_for_delivery**](DeliveryApi.md#get_releases_for_delivery) | **GET** /api/v1/deliveries/{deliveryId}/releases | -[**get_stages_in_delivery**](DeliveryApi.md#get_stages_in_delivery) | **GET** /api/v1/deliveries/{deliveryId}/stages | -[**get_tracked_itemsin_delivery**](DeliveryApi.md#get_tracked_itemsin_delivery) | **GET** /api/v1/deliveries/{deliveryId}/tracked-items | -[**reopen_stage**](DeliveryApi.md#reopen_stage) | **POST** /api/v1/deliveries/{stageId}/reopen | -[**rescope_tracked_item**](DeliveryApi.md#rescope_tracked_item) | **PUT** /api/v1/deliveries/{itemId}/rescope | -[**reset_tracked_item**](DeliveryApi.md#reset_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/reset | -[**search_deliveries**](DeliveryApi.md#search_deliveries) | **POST** /api/v1/deliveries/search | -[**skip_tracked_item**](DeliveryApi.md#skip_tracked_item) | **PUT** /api/v1/deliveries/{stageId}/{itemId}/skip | -[**update_delivery**](DeliveryApi.md#update_delivery) | **PUT** /api/v1/deliveries/{deliveryId} | -[**update_stage_in_delivery**](DeliveryApi.md#update_stage_in_delivery) | **PUT** /api/v1/deliveries/{stageId} | -[**update_tracked_item_in_delivery**](DeliveryApi.md#update_tracked_item_in_delivery) | **PUT** /api/v1/deliveries/{itemId} | -[**update_transition_in_delivery**](DeliveryApi.md#update_transition_in_delivery) | **PUT** /api/v1/deliveries/{transitionId} | - - -# **complete_stage** -> complete_stage(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.complete_stage(stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->complete_stage: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **complete_tracked_item** -> complete_tracked_item(item_id, stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.complete_tracked_item(item_id, stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->complete_tracked_item: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **complete_transition** -> complete_transition(transition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.complete_transition import CompleteTransition -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - transition_id = "jUR,rZ#UM/?R,Fp^l6$ARjTransitionQ" # str | - complete_transition = CompleteTransition( - transition_items=[ - "transition_items_example", - ], - close_stages=True, - ) # CompleteTransition | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.complete_transition(transition_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->complete_transition: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.complete_transition(transition_id, complete_transition=complete_transition) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->complete_transition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **transition_id** | **str**| | - **complete_transition** | [**CompleteTransition**](CompleteTransition.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **create_tracked_item_in_delivery** -> TrackedItem create_tracked_item_in_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - tracked_item = TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ) # TrackedItem | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_tracked_item_in_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->create_tracked_item_in_delivery: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_tracked_item_in_delivery(delivery_id, tracked_item=tracked_item) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->create_tracked_item_in_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - **tracked_item** | [**TrackedItem**](TrackedItem.md)| | [optional] - -### Return type - -[**TrackedItem**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_delivery** -> delete_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_delivery(delivery_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->delete_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_tracked_item_delivery** -> delete_tracked_item_delivery(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_tracked_item_delivery(item_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->delete_tracked_item_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **descope_tracked_item** -> descope_tracked_item(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.descope_tracked_item(item_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->descope_tracked_item: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_delivery** -> Delivery get_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->get_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_delivery_timeline** -> DeliveryTimeline get_delivery_timeline(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.delivery_timeline import DeliveryTimeline -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_delivery_timeline(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->get_delivery_timeline: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -[**DeliveryTimeline**](DeliveryTimeline.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_releases_for_delivery** -> [DeliveryFlowReleaseInfo] get_releases_for_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.delivery_flow_release_info import DeliveryFlowReleaseInfo -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_releases_for_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->get_releases_for_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -[**[DeliveryFlowReleaseInfo]**](DeliveryFlowReleaseInfo.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_stages_in_delivery** -> [Stage] get_stages_in_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_stages_in_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->get_stages_in_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -[**[Stage]**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_tracked_itemsin_delivery** -> [TrackedItem] get_tracked_itemsin_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_tracked_itemsin_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->get_tracked_itemsin_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - -### Return type - -[**[TrackedItem]**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **reopen_stage** -> reopen_stage(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.reopen_stage(stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->reopen_stage: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **rescope_tracked_item** -> rescope_tracked_item(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.rescope_tracked_item(item_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->rescope_tracked_item: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **reset_tracked_item** -> reset_tracked_item(item_id, stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.reset_tracked_item(item_id, stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->reset_tracked_item: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **search_deliveries** -> [Delivery] search_deliveries() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.delivery_filters import DeliveryFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - order_by = None # bool, date, datetime, dict, float, int, list, str, none_type | (optional) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - delivery_filters = DeliveryFilters( - title="title_example", - strict_title_match=True, - tracked_item_title="tracked_item_title_example", - strict_tracked_item_title_match=True, - folder_id="folder_id_example", - origin_pattern_id="origin_pattern_id_example", - statuses=[ - DeliveryStatus("TEMPLATE"), - ], - ) # DeliveryFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_deliveries(order_by=order_by, page=page, results_per_page=results_per_page, delivery_filters=delivery_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->search_deliveries: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **order_by** | **bool, date, datetime, dict, float, int, list, str, none_type**| | [optional] - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **delivery_filters** | [**DeliveryFilters**](DeliveryFilters.md)| | [optional] - -### Return type - -[**[Delivery]**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **skip_tracked_item** -> skip_tracked_item(item_id, stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.skip_tracked_item(item_id, stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->skip_tracked_item: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **update_delivery** -> Delivery update_delivery(delivery_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - delivery_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - delivery = Delivery( - metadata={ - "key": {}, - }, - title="title_example", - description="description_example", - status=DeliveryStatus("TEMPLATE"), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - release_ids=[ - "release_ids_example", - ], - folder_id="folder_id_example", - origin_pattern_id="origin_pattern_id_example", - stages=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - tracked_items=[ - TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - subscribers=[ - Subscriber( - id="id_example", - type="type_example", - source_id="source_id_example", - ), - ], - auto_complete=True, - template=True, - transitions=[ - Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - ], - stages_before_first_open_transition=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - updatable=True, - ) # Delivery | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_delivery(delivery_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_delivery: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_delivery(delivery_id, delivery=delivery) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery_id** | **str**| | - **delivery** | [**Delivery**](Delivery.md)| | [optional] - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_stage_in_delivery** -> Stage update_stage_in_delivery(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - stage = Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ) # Stage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_stage_in_delivery(stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_stage_in_delivery: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_stage_in_delivery(stage_id, stage=stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_stage_in_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - **stage** | [**Stage**](Stage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_tracked_item_in_delivery** -> TrackedItem update_tracked_item_in_delivery(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - tracked_item = TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ) # TrackedItem | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_tracked_item_in_delivery(item_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_tracked_item_in_delivery: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_tracked_item_in_delivery(item_id, tracked_item=tracked_item) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_tracked_item_in_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - **tracked_item** | [**TrackedItem**](TrackedItem.md)| | [optional] - -### Return type - -[**TrackedItem**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_transition_in_delivery** -> Transition update_transition_in_delivery(transition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_api -from digitalai.release.v1.model.transition import Transition -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_api.DeliveryApi(api_client) - transition_id = "jUR,rZ#UM/?R,Fp^l6$ARjTransitionQ" # str | - transition = Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ) # Transition | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_transition_in_delivery(transition_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_transition_in_delivery: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_transition_in_delivery(transition_id, transition=transition) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryApi->update_transition_in_delivery: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **transition_id** | **str**| | - **transition** | [**Transition**](Transition.md)| | [optional] - -### Return type - -[**Transition**](Transition.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/DeliveryFilters.md b/digitalai/release/v1/docs/DeliveryFilters.md deleted file mode 100644 index 33684f3..0000000 --- a/digitalai/release/v1/docs/DeliveryFilters.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeliveryFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**strict_title_match** | **bool** | | [optional] -**tracked_item_title** | **str** | | [optional] -**strict_tracked_item_title_match** | **bool** | | [optional] -**folder_id** | **str** | | [optional] -**origin_pattern_id** | **str** | | [optional] -**statuses** | [**[DeliveryStatus]**](DeliveryStatus.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/DeliveryFlowReleaseInfo.md b/digitalai/release/v1/docs/DeliveryFlowReleaseInfo.md deleted file mode 100644 index 28861b2..0000000 --- a/digitalai/release/v1/docs/DeliveryFlowReleaseInfo.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeliveryFlowReleaseInfo - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**status** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**archived** | **bool** | | [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/digitalai/release/v1/docs/DeliveryOrderMode.md b/digitalai/release/v1/docs/DeliveryOrderMode.md deleted file mode 100644 index 8c73ad8..0000000 --- a/digitalai/release/v1/docs/DeliveryOrderMode.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeliveryOrderMode - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["START_DATE", "END_DATE", "CREATED_DATE", ] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/DeliveryPatternApi.md b/digitalai/release/v1/docs/DeliveryPatternApi.md deleted file mode 100644 index 63f868a..0000000 --- a/digitalai/release/v1/docs/DeliveryPatternApi.md +++ /dev/null @@ -1,3368 +0,0 @@ -# digitalai.release.v1.DeliveryPatternApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**check_title**](DeliveryPatternApi.md#check_title) | **POST** /api/v1/delivery-patterns/checkTitle | -[**create_delivery_from_pattern**](DeliveryPatternApi.md#create_delivery_from_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/create | -[**create_pattern**](DeliveryPatternApi.md#create_pattern) | **POST** /api/v1/delivery-patterns | -[**create_stage**](DeliveryPatternApi.md#create_stage) | **POST** /api/v1/delivery-patterns/{patternId}/createStage | -[**create_stage1**](DeliveryPatternApi.md#create_stage1) | **POST** /api/v1/delivery-patterns/{patternId}/stages | -[**create_stage2**](DeliveryPatternApi.md#create_stage2) | **POST** /api/v1/delivery-patterns/{patternId}/stages/{position} | -[**create_tracked_item_in_pattern**](DeliveryPatternApi.md#create_tracked_item_in_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/tracked-items | -[**create_transition**](DeliveryPatternApi.md#create_transition) | **POST** /api/v1/delivery-patterns/{stageId}/transitions | -[**delete_pattern**](DeliveryPatternApi.md#delete_pattern) | **DELETE** /api/v1/delivery-patterns/{patternId} | -[**delete_stage**](DeliveryPatternApi.md#delete_stage) | **DELETE** /api/v1/delivery-patterns/{stageId} | -[**delete_tracked_item_delivery_pattern**](DeliveryPatternApi.md#delete_tracked_item_delivery_pattern) | **DELETE** /api/v1/delivery-patterns/{itemId} | -[**delete_transition**](DeliveryPatternApi.md#delete_transition) | **DELETE** /api/v1/delivery-patterns/{transitionId} | -[**duplicate_pattern**](DeliveryPatternApi.md#duplicate_pattern) | **POST** /api/v1/delivery-patterns/{patternId}/duplicate | -[**get_pattern**](DeliveryPatternApi.md#get_pattern) | **GET** /api/v1/delivery-patterns/{patternId} | -[**get_pattern_by_id_or_title**](DeliveryPatternApi.md#get_pattern_by_id_or_title) | **GET** /api/v1/delivery-patterns/{patternIdOrTitle} | -[**get_stages_in_pattern**](DeliveryPatternApi.md#get_stages_in_pattern) | **GET** /api/v1/delivery-patterns/{patternId}/stages | -[**get_tracked_items_in_pattern**](DeliveryPatternApi.md#get_tracked_items_in_pattern) | **GET** /api/v1/delivery-patterns/{patternId}/tracked-items | -[**search_patterns**](DeliveryPatternApi.md#search_patterns) | **POST** /api/v1/delivery-patterns/search | -[**update_pattern**](DeliveryPatternApi.md#update_pattern) | **PUT** /api/v1/delivery-patterns/{patternId} | -[**update_stage_from_batch**](DeliveryPatternApi.md#update_stage_from_batch) | **PUT** /api/v1/delivery-patterns/{stageId}/batched | -[**update_stage_in_pattern**](DeliveryPatternApi.md#update_stage_in_pattern) | **PUT** /api/v1/delivery-patterns/{stageId} | -[**update_tracked_item_in_pattern**](DeliveryPatternApi.md#update_tracked_item_in_pattern) | **PUT** /api/v1/delivery-patterns/{itemId} | -[**update_transition_in_pattern**](DeliveryPatternApi.md#update_transition_in_pattern) | **PUT** /api/v1/delivery-patterns/{transitionId} | - - -# **check_title** -> bool check_title() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.validate_pattern import ValidatePattern -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - validate_pattern = ValidatePattern( - id="id_example", - title="title_example", - ) # ValidatePattern | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.check_title(validate_pattern=validate_pattern) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->check_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **validate_pattern** | [**ValidatePattern**](ValidatePattern.md)| | [optional] - -### Return type - -**bool** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_delivery_from_pattern** -> Delivery create_delivery_from_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.create_delivery import CreateDelivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - create_delivery = CreateDelivery( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - description="description_example", - duration=1, - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - auto_complete=True, - ) # CreateDelivery | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_delivery_from_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_delivery_from_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_delivery_from_pattern(pattern_id, create_delivery=create_delivery) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_delivery_from_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **create_delivery** | [**CreateDelivery**](CreateDelivery.md)| | [optional] - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_pattern** -> Delivery create_pattern() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - delivery = Delivery( - metadata={ - "key": {}, - }, - title="title_example", - description="description_example", - status=DeliveryStatus("TEMPLATE"), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - release_ids=[ - "release_ids_example", - ], - folder_id="folder_id_example", - origin_pattern_id="origin_pattern_id_example", - stages=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - tracked_items=[ - TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - subscribers=[ - Subscriber( - id="id_example", - type="type_example", - source_id="source_id_example", - ), - ], - auto_complete=True, - template=True, - transitions=[ - Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - ], - stages_before_first_open_transition=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - updatable=True, - ) # Delivery | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_pattern(delivery=delivery) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **delivery** | [**Delivery**](Delivery.md)| | [optional] - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_stage** -> Stage create_stage(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.create_delivery_stage import CreateDeliveryStage -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - create_delivery_stage = CreateDeliveryStage( - after="after_example", - before="before_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ) # CreateDeliveryStage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_stage(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_stage(pattern_id, create_delivery_stage=create_delivery_stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **create_delivery_stage** | [**CreateDeliveryStage**](CreateDeliveryStage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_stage1** -> Stage create_stage1(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - stage = Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ) # Stage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_stage1(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_stage1(pattern_id, stage=stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **stage** | [**Stage**](Stage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_stage2** -> Stage create_stage2(pattern_id, position) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - position = 1 # int | - stage = Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ) # Stage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_stage2(pattern_id, position) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage2: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_stage2(pattern_id, position, stage=stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_stage2: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **position** | **int**| | - **stage** | [**Stage**](Stage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_tracked_item_in_pattern** -> TrackedItem create_tracked_item_in_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - tracked_item = TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ) # TrackedItem | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_tracked_item_in_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_tracked_item_in_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_tracked_item_in_pattern(pattern_id, tracked_item=tracked_item) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_tracked_item_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **tracked_item** | [**TrackedItem**](TrackedItem.md)| | [optional] - -### Return type - -[**TrackedItem**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_transition** -> Transition create_transition(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.transition import Transition -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - transition = Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ) # Transition | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_transition(stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_transition: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_transition(stage_id, transition=transition) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->create_transition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - **transition** | [**Transition**](Transition.md)| | [optional] - -### Return type - -[**Transition**](Transition.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_pattern** -> delete_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_pattern(pattern_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->delete_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_stage** -> delete_stage(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_stage(stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->delete_stage: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_tracked_item_delivery_pattern** -> delete_tracked_item_delivery_pattern(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_tracked_item_delivery_pattern(item_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->delete_tracked_item_delivery_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_transition** -> delete_transition(transition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - transition_id = "jUR,rZ#UM/?R,Fp^l6$ARjTransitionQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_transition(transition_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->delete_transition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **transition_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **duplicate_pattern** -> Delivery duplicate_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.duplicate_delivery_pattern import DuplicateDeliveryPattern -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - duplicate_delivery_pattern = DuplicateDeliveryPattern( - title="title_example", - description="description_example", - ) # DuplicateDeliveryPattern | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.duplicate_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->duplicate_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.duplicate_pattern(pattern_id, duplicate_delivery_pattern=duplicate_delivery_pattern) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->duplicate_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **duplicate_delivery_pattern** | [**DuplicateDeliveryPattern**](DuplicateDeliveryPattern.md)| | [optional] - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_pattern** -> Delivery get_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->get_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_pattern_by_id_or_title** -> Delivery get_pattern_by_id_or_title(pattern_id_or_title) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id_or_title = "patternIdOrTitle_example" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_pattern_by_id_or_title(pattern_id_or_title) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->get_pattern_by_id_or_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id_or_title** | **str**| | - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_stages_in_pattern** -> [Stage] get_stages_in_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_stages_in_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->get_stages_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - -### Return type - -[**[Stage]**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_tracked_items_in_pattern** -> [TrackedItem] get_tracked_items_in_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_tracked_items_in_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->get_tracked_items_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - -### Return type - -[**[TrackedItem]**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_patterns** -> [Delivery] search_patterns() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.delivery_pattern_filters import DeliveryPatternFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - delivery_pattern_filters = DeliveryPatternFilters( - title="title_example", - strict_title_match=True, - tracked_item_title="tracked_item_title_example", - strict_tracked_item_title_match=True, - folder_id="folder_id_example", - statuses=[ - DeliveryStatus("TEMPLATE"), - ], - ) # DeliveryPatternFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_patterns(page=page, results_per_page=results_per_page, delivery_pattern_filters=delivery_pattern_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->search_patterns: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **delivery_pattern_filters** | [**DeliveryPatternFilters**](DeliveryPatternFilters.md)| | [optional] - -### Return type - -[**[Delivery]**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_pattern** -> Delivery update_pattern(pattern_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.delivery import Delivery -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - pattern_id = "jUR,rZ#UM/?R,Fp^l6$ARjDeliveryQ" # str | - delivery = Delivery( - metadata={ - "key": {}, - }, - title="title_example", - description="description_example", - status=DeliveryStatus("TEMPLATE"), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - release_ids=[ - "release_ids_example", - ], - folder_id="folder_id_example", - origin_pattern_id="origin_pattern_id_example", - stages=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - tracked_items=[ - TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - subscribers=[ - Subscriber( - id="id_example", - type="type_example", - source_id="source_id_example", - ), - ], - auto_complete=True, - template=True, - transitions=[ - Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - ], - stages_before_first_open_transition=[ - Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - ], - updatable=True, - ) # Delivery | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_pattern(pattern_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_pattern(pattern_id, delivery=delivery) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pattern_id** | **str**| | - **delivery** | [**Delivery**](Delivery.md)| | [optional] - -### Return type - -[**Delivery**](Delivery.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_stage_from_batch** -> Stage update_stage_from_batch(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - stage = Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ) # Stage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_stage_from_batch(stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_stage_from_batch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_stage_from_batch(stage_id, stage=stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_stage_from_batch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - **stage** | [**Stage**](Stage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_stage_in_pattern** -> Stage update_stage_in_pattern(stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.stage import Stage -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - stage_id = "jUR,rZ#UM/?R,Fp^l6$ARjStageQ" # str | - stage = Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage(), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ) # Stage | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_stage_in_pattern(stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_stage_in_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_stage_in_pattern(stage_id, stage=stage) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_stage_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stage_id** | **str**| | - **stage** | [**Stage**](Stage.md)| | [optional] - -### Return type - -[**Stage**](Stage.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_tracked_item_in_pattern** -> TrackedItem update_tracked_item_in_pattern(item_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.tracked_item import TrackedItem -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - item_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrackedItemQ" # str | - tracked_item = TrackedItem( - id="id_example", - type="type_example", - title="title_example", - release_ids=[ - "release_ids_example", - ], - descoped=True, - created_date=dateutil_parser('2023-03-20T02:07:00Z'), - modified_date=dateutil_parser('2023-03-20T02:07:00Z'), - ) # TrackedItem | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_tracked_item_in_pattern(item_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_tracked_item_in_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_tracked_item_in_pattern(item_id, tracked_item=tracked_item) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_tracked_item_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **item_id** | **str**| | - **tracked_item** | [**TrackedItem**](TrackedItem.md)| | [optional] - -### Return type - -[**TrackedItem**](TrackedItem.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_transition_in_pattern** -> Transition update_transition_in_pattern(transition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import delivery_pattern_api -from digitalai.release.v1.model.transition import Transition -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = delivery_pattern_api.DeliveryPatternApi(api_client) - transition_id = "jUR,rZ#UM/?R,Fp^l6$ARjTransitionQ" # str | - transition = Transition( - id="id_example", - type="type_example", - title="title_example", - stage=Stage( - id="id_example", - type="type_example", - title="title_example", - status=StageStatus("OPEN"), - items=[ - StageTrackedItem( - tracked_item_id="tracked_item_id_example", - status=TrackedItemStatus("NOT_READY"), - release_ids=[ - "release_ids_example", - ], - ), - ], - transition=Transition(), - owner="owner_example", - team="team_example", - open=True, - closed=True, - ), - conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - automated=True, - all_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - leaf_conditions=[ - Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[], - leaf_conditions=[], - ), - ], - root_condition=Condition( - id="id_example", - type="type_example", - satisfied=True, - satisfied_date=dateutil_parser('2023-03-20T02:07:00Z'), - description="description_example", - active=True, - input_properties=[ - None, - ], - leaf=True, - all_conditions=[ - Condition(), - ], - leaf_conditions=[ - Condition(), - ], - ), - ) # Transition | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_transition_in_pattern(transition_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_transition_in_pattern: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_transition_in_pattern(transition_id, transition=transition) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DeliveryPatternApi->update_transition_in_pattern: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **transition_id** | **str**| | - **transition** | [**Transition**](Transition.md)| | [optional] - -### Return type - -[**Transition**](Transition.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/DeliveryPatternFilters.md b/digitalai/release/v1/docs/DeliveryPatternFilters.md deleted file mode 100644 index 616e583..0000000 --- a/digitalai/release/v1/docs/DeliveryPatternFilters.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeliveryPatternFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**strict_title_match** | **bool** | | [optional] -**tracked_item_title** | **str** | | [optional] -**strict_tracked_item_title_match** | **bool** | | [optional] -**folder_id** | **str** | | [optional] -**statuses** | [**[DeliveryStatus]**](DeliveryStatus.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/DeliveryStatus.md b/digitalai/release/v1/docs/DeliveryStatus.md deleted file mode 100644 index 857bda2..0000000 --- a/digitalai/release/v1/docs/DeliveryStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeliveryStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["TEMPLATE", "IN_PROGRESS", "COMPLETED", ] - -[[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/digitalai/release/v1/docs/DeliveryTimeline.md b/digitalai/release/v1/docs/DeliveryTimeline.md deleted file mode 100644 index 2535d34..0000000 --- a/digitalai/release/v1/docs/DeliveryTimeline.md +++ /dev/null @@ -1,16 +0,0 @@ -# DeliveryTimeline - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**releases** | [**[ReleaseTimeline]**](ReleaseTimeline.md) | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [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/digitalai/release/v1/docs/Dependency.md b/digitalai/release/v1/docs/Dependency.md deleted file mode 100644 index 181009b..0000000 --- a/digitalai/release/v1/docs/Dependency.md +++ /dev/null @@ -1,26 +0,0 @@ -# Dependency - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**gate_task** | [**GateTask**](GateTask.md) | | [optional] -**target** | [**PlanItem**](PlanItem.md) | | [optional] -**target_id** | **str** | | [optional] -**archived_target_title** | **str** | | [optional] -**archived_target_id** | **str** | | [optional] -**archived_as_resolved** | **bool** | | [optional] -**metadata** | **{str: (dict,)}** | | [optional] -**archived** | **bool** | | [optional] -**done** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**target_display_path** | **str** | | [optional] -**target_title** | **str** | | [optional] -**valid_allowed_plan_item_id** | **bool** | | [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/digitalai/release/v1/docs/DslApi.md b/digitalai/release/v1/docs/DslApi.md deleted file mode 100644 index 0595e40..0000000 --- a/digitalai/release/v1/docs/DslApi.md +++ /dev/null @@ -1,188 +0,0 @@ -# digitalai.release.v1.DslApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**export_template_to_x_file**](DslApi.md#export_template_to_x_file) | **GET** /api/v1/dsl/export/{templateId} | -[**preview_export_template_to_x_file**](DslApi.md#preview_export_template_to_x_file) | **GET** /api/v1/dsl/preview/{templateId} | - - -# **export_template_to_x_file** -> export_template_to_x_file(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import dsl_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = dsl_api.DslApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - export_template = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.export_template_to_x_file(template_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DslApi->export_template_to_x_file: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.export_template_to_x_file(template_id, export_template=export_template) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DslApi->export_template_to_x_file: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **export_template** | **bool**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **preview_export_template_to_x_file** -> preview_export_template_to_x_file(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import dsl_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = dsl_api.DslApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - export_template = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.preview_export_template_to_x_file(template_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DslApi->preview_export_template_to_x_file: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.preview_export_template_to_x_file(template_id, export_template=export_template) - except digitalai.release.v1.ApiException as e: - print("Exception when calling DslApi->preview_export_template_to_x_file: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **export_template** | **bool**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/DuplicateDeliveryPattern.md b/digitalai/release/v1/docs/DuplicateDeliveryPattern.md deleted file mode 100644 index 02f1364..0000000 --- a/digitalai/release/v1/docs/DuplicateDeliveryPattern.md +++ /dev/null @@ -1,13 +0,0 @@ -# DuplicateDeliveryPattern - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**description** | **str** | | [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/digitalai/release/v1/docs/EnvironmentApi.md b/digitalai/release/v1/docs/EnvironmentApi.md deleted file mode 100644 index 43e2a70..0000000 --- a/digitalai/release/v1/docs/EnvironmentApi.md +++ /dev/null @@ -1,622 +0,0 @@ -# digitalai.release.v1.EnvironmentApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_environment**](EnvironmentApi.md#create_environment) | **POST** /api/v1/environments | -[**delete_environment**](EnvironmentApi.md#delete_environment) | **DELETE** /api/v1/environments/{environmentId} | -[**get_deployable_applications_for_environment**](EnvironmentApi.md#get_deployable_applications_for_environment) | **GET** /api/v1/environments/{environmentId}/applications | -[**get_environment**](EnvironmentApi.md#get_environment) | **GET** /api/v1/environments/{environmentId} | -[**get_reservations_for_environment**](EnvironmentApi.md#get_reservations_for_environment) | **GET** /api/v1/environments/{environmentId}/reservations | -[**search_environments**](EnvironmentApi.md#search_environments) | **POST** /api/v1/environments/search | -[**update_environment**](EnvironmentApi.md#update_environment) | **PUT** /api/v1/environments/{environmentId} | - - -# **create_environment** -> EnvironmentView create_environment() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.environment_view import EnvironmentView -from digitalai.release.v1.model.environment_form import EnvironmentForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_form = EnvironmentForm( - title="title_example", - description="description_example", - stage_id="stage_id_example", - label_ids=[ - "label_ids_example", - ], - ) # EnvironmentForm | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_environment(environment_form=environment_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->create_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_form** | [**EnvironmentForm**](EnvironmentForm.md)| | [optional] - -### Return type - -[**EnvironmentView**](EnvironmentView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_environment** -> delete_environment(environment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_environment(environment_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->delete_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_deployable_applications_for_environment** -> [BaseApplicationView] get_deployable_applications_for_environment(environment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.base_application_view import BaseApplicationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_deployable_applications_for_environment(environment_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->get_deployable_applications_for_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - -### Return type - -[**[BaseApplicationView]**](BaseApplicationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_environment** -> EnvironmentView get_environment(environment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.environment_view import EnvironmentView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_environment(environment_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->get_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - -### Return type - -[**EnvironmentView**](EnvironmentView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_reservations_for_environment** -> [EnvironmentReservationView] get_reservations_for_environment(environment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_reservations_for_environment(environment_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->get_reservations_for_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - -### Return type - -[**[EnvironmentReservationView]**](EnvironmentReservationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_environments** -> [EnvironmentView] search_environments() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.environment_view import EnvironmentView -from digitalai.release.v1.model.environment_filters import EnvironmentFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_filters = EnvironmentFilters( - title="title_example", - stage="stage_example", - labels=[ - "labels_example", - ], - ) # EnvironmentFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_environments(environment_filters=environment_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->search_environments: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_filters** | [**EnvironmentFilters**](EnvironmentFilters.md)| | [optional] - -### Return type - -[**[EnvironmentView]**](EnvironmentView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_environment** -> EnvironmentView update_environment(environment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_api -from digitalai.release.v1.model.environment_view import EnvironmentView -from digitalai.release.v1.model.environment_form import EnvironmentForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_api.EnvironmentApi(api_client) - environment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentQ" # str | - environment_form = EnvironmentForm( - title="title_example", - description="description_example", - stage_id="stage_id_example", - label_ids=[ - "label_ids_example", - ], - ) # EnvironmentForm | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_environment(environment_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->update_environment: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_environment(environment_id, environment_form=environment_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentApi->update_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_id** | **str**| | - **environment_form** | [**EnvironmentForm**](EnvironmentForm.md)| | [optional] - -### Return type - -[**EnvironmentView**](EnvironmentView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/EnvironmentFilters.md b/digitalai/release/v1/docs/EnvironmentFilters.md deleted file mode 100644 index ca616d3..0000000 --- a/digitalai/release/v1/docs/EnvironmentFilters.md +++ /dev/null @@ -1,14 +0,0 @@ -# EnvironmentFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**stage** | **str** | | [optional] -**labels** | **[str]** | | [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/digitalai/release/v1/docs/EnvironmentForm.md b/digitalai/release/v1/docs/EnvironmentForm.md deleted file mode 100644 index 3dd74b0..0000000 --- a/digitalai/release/v1/docs/EnvironmentForm.md +++ /dev/null @@ -1,15 +0,0 @@ -# EnvironmentForm - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**stage_id** | **str** | | [optional] -**label_ids** | **[str]** | | [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/digitalai/release/v1/docs/EnvironmentLabelApi.md b/digitalai/release/v1/docs/EnvironmentLabelApi.md deleted file mode 100644 index e34e490..0000000 --- a/digitalai/release/v1/docs/EnvironmentLabelApi.md +++ /dev/null @@ -1,444 +0,0 @@ -# digitalai.release.v1.EnvironmentLabelApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_label**](EnvironmentLabelApi.md#create_label) | **POST** /api/v1/environments/labels | -[**delete_environment_label**](EnvironmentLabelApi.md#delete_environment_label) | **DELETE** /api/v1/environments/labels/{environmentLabelId} | -[**get_label_by_id**](EnvironmentLabelApi.md#get_label_by_id) | **GET** /api/v1/environments/labels/{environmentLabelId} | -[**search_labels**](EnvironmentLabelApi.md#search_labels) | **POST** /api/v1/environments/labels/search | -[**update_label**](EnvironmentLabelApi.md#update_label) | **PUT** /api/v1/environments/labels/{environmentLabelId} | - - -# **create_label** -> EnvironmentLabelView create_label() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_label_api -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView -from digitalai.release.v1.model.environment_label_form import EnvironmentLabelForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_label_api.EnvironmentLabelApi(api_client) - environment_label_form = EnvironmentLabelForm( - title="title_example", - color="color_example", - ) # EnvironmentLabelForm | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_label(environment_label_form=environment_label_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->create_label: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_label_form** | [**EnvironmentLabelForm**](EnvironmentLabelForm.md)| | [optional] - -### Return type - -[**EnvironmentLabelView**](EnvironmentLabelView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_environment_label** -> delete_environment_label(environment_label_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_label_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_label_api.EnvironmentLabelApi(api_client) - environment_label_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentLabelQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_environment_label(environment_label_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->delete_environment_label: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_label_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_label_by_id** -> EnvironmentLabelView get_label_by_id(environment_label_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_label_api -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_label_api.EnvironmentLabelApi(api_client) - environment_label_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentLabelQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_label_by_id(environment_label_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->get_label_by_id: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_label_id** | **str**| | - -### Return type - -[**EnvironmentLabelView**](EnvironmentLabelView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_labels** -> [EnvironmentLabelView] search_labels() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_label_api -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView -from digitalai.release.v1.model.environment_label_filters import EnvironmentLabelFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_label_api.EnvironmentLabelApi(api_client) - environment_label_filters = EnvironmentLabelFilters( - title="title_example", - ) # EnvironmentLabelFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_labels(environment_label_filters=environment_label_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->search_labels: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_label_filters** | [**EnvironmentLabelFilters**](EnvironmentLabelFilters.md)| | [optional] - -### Return type - -[**[EnvironmentLabelView]**](EnvironmentLabelView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_label** -> EnvironmentLabelView update_label(environment_label_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_label_api -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView -from digitalai.release.v1.model.environment_label_form import EnvironmentLabelForm -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_label_api.EnvironmentLabelApi(api_client) - environment_label_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentLabelQ" # str | - environment_label_form = EnvironmentLabelForm( - title="title_example", - color="color_example", - ) # EnvironmentLabelForm | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_label(environment_label_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->update_label: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_label(environment_label_id, environment_label_form=environment_label_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentLabelApi->update_label: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_label_id** | **str**| | - **environment_label_form** | [**EnvironmentLabelForm**](EnvironmentLabelForm.md)| | [optional] - -### Return type - -[**EnvironmentLabelView**](EnvironmentLabelView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/EnvironmentLabelFilters.md b/digitalai/release/v1/docs/EnvironmentLabelFilters.md deleted file mode 100644 index 916152b..0000000 --- a/digitalai/release/v1/docs/EnvironmentLabelFilters.md +++ /dev/null @@ -1,12 +0,0 @@ -# EnvironmentLabelFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [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/digitalai/release/v1/docs/EnvironmentLabelForm.md b/digitalai/release/v1/docs/EnvironmentLabelForm.md deleted file mode 100644 index 3cfaeb2..0000000 --- a/digitalai/release/v1/docs/EnvironmentLabelForm.md +++ /dev/null @@ -1,13 +0,0 @@ -# EnvironmentLabelForm - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**color** | **str** | | [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/digitalai/release/v1/docs/EnvironmentLabelView.md b/digitalai/release/v1/docs/EnvironmentLabelView.md deleted file mode 100644 index cc1fd36..0000000 --- a/digitalai/release/v1/docs/EnvironmentLabelView.md +++ /dev/null @@ -1,14 +0,0 @@ -# EnvironmentLabelView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**color** | **str** | | [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/digitalai/release/v1/docs/EnvironmentReservationApi.md b/digitalai/release/v1/docs/EnvironmentReservationApi.md deleted file mode 100644 index eb95fbc..0000000 --- a/digitalai/release/v1/docs/EnvironmentReservationApi.md +++ /dev/null @@ -1,555 +0,0 @@ -# digitalai.release.v1.EnvironmentReservationApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_application**](EnvironmentReservationApi.md#add_application) | **POST** /api/v1/environments/reservations/{environmentReservationId} | -[**create_reservation**](EnvironmentReservationApi.md#create_reservation) | **POST** /api/v1/environments/reservations | -[**delete_environment_reservation**](EnvironmentReservationApi.md#delete_environment_reservation) | **DELETE** /api/v1/environments/reservations/{environmentReservationId} | -[**get_reservation**](EnvironmentReservationApi.md#get_reservation) | **GET** /api/v1/environments/reservations/{environmentReservationId} | -[**search_reservations**](EnvironmentReservationApi.md#search_reservations) | **POST** /api/v1/environments/reservations/search | -[**update_reservation**](EnvironmentReservationApi.md#update_reservation) | **PUT** /api/v1/environments/reservations/{environmentReservationId} | - - -# **add_application** -> add_application(environment_reservation_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - environment_reservation_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentReservationQ" # str | - application_id = "applicationId_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.add_application(environment_reservation_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->add_application: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.add_application(environment_reservation_id, application_id=application_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->add_application: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_reservation_id** | **str**| | - **application_id** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **create_reservation** -> EnvironmentReservationView create_reservation() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from digitalai.release.v1.model.environment_reservation_form import EnvironmentReservationForm -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - environment_reservation_form = EnvironmentReservationForm( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - note="note_example", - environment_id="environment_id_example", - application_ids=[ - "application_ids_example", - ], - ) # EnvironmentReservationForm | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_reservation(environment_reservation_form=environment_reservation_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->create_reservation: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_reservation_form** | [**EnvironmentReservationForm**](EnvironmentReservationForm.md)| | [optional] - -### Return type - -[**EnvironmentReservationView**](EnvironmentReservationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_environment_reservation** -> delete_environment_reservation(environment_reservation_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - environment_reservation_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentReservationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_environment_reservation(environment_reservation_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->delete_environment_reservation: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_reservation_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_reservation** -> EnvironmentReservationView get_reservation(environment_reservation_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - environment_reservation_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentReservationQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_reservation(environment_reservation_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->get_reservation: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_reservation_id** | **str**| | - -### Return type - -[**EnvironmentReservationView**](EnvironmentReservationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_reservations** -> [EnvironmentReservationSearchView] search_reservations() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from digitalai.release.v1.model.environment_reservation_search_view import EnvironmentReservationSearchView -from digitalai.release.v1.model.reservation_filters import ReservationFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - reservation_filters = ReservationFilters( - environment_title="environment_title_example", - stages=[ - "stages_example", - ], - labels=[ - "labels_example", - ], - applications=[ - "applications_example", - ], - _from=dateutil_parser('2023-03-20T02:07:00Z'), - to=dateutil_parser('2023-03-20T02:07:00Z'), - ) # ReservationFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_reservations(reservation_filters=reservation_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->search_reservations: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **reservation_filters** | [**ReservationFilters**](ReservationFilters.md)| | [optional] - -### Return type - -[**[EnvironmentReservationSearchView]**](EnvironmentReservationSearchView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_reservation** -> EnvironmentReservationView update_reservation(environment_reservation_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_reservation_api -from digitalai.release.v1.model.environment_reservation_form import EnvironmentReservationForm -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_reservation_api.EnvironmentReservationApi(api_client) - environment_reservation_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentReservationQ" # str | - environment_reservation_form = EnvironmentReservationForm( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - note="note_example", - environment_id="environment_id_example", - application_ids=[ - "application_ids_example", - ], - ) # EnvironmentReservationForm | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_reservation(environment_reservation_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->update_reservation: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_reservation(environment_reservation_id, environment_reservation_form=environment_reservation_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentReservationApi->update_reservation: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_reservation_id** | **str**| | - **environment_reservation_form** | [**EnvironmentReservationForm**](EnvironmentReservationForm.md)| | [optional] - -### Return type - -[**EnvironmentReservationView**](EnvironmentReservationView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/EnvironmentReservationForm.md b/digitalai/release/v1/docs/EnvironmentReservationForm.md deleted file mode 100644 index 53cf31b..0000000 --- a/digitalai/release/v1/docs/EnvironmentReservationForm.md +++ /dev/null @@ -1,16 +0,0 @@ -# EnvironmentReservationForm - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**note** | **str** | | [optional] -**environment_id** | **str** | | [optional] -**application_ids** | **[str]** | | [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/digitalai/release/v1/docs/EnvironmentReservationSearchView.md b/digitalai/release/v1/docs/EnvironmentReservationSearchView.md deleted file mode 100644 index 4ba0929..0000000 --- a/digitalai/release/v1/docs/EnvironmentReservationSearchView.md +++ /dev/null @@ -1,17 +0,0 @@ -# EnvironmentReservationSearchView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**stage** | [**EnvironmentStageView**](EnvironmentStageView.md) | | [optional] -**labels** | [**[EnvironmentLabelView]**](EnvironmentLabelView.md) | | [optional] -**reservations** | [**[ReservationSearchView]**](ReservationSearchView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/EnvironmentReservationView.md b/digitalai/release/v1/docs/EnvironmentReservationView.md deleted file mode 100644 index e01de9c..0000000 --- a/digitalai/release/v1/docs/EnvironmentReservationView.md +++ /dev/null @@ -1,17 +0,0 @@ -# EnvironmentReservationView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**note** | **str** | | [optional] -**environment** | [**EnvironmentView**](EnvironmentView.md) | | [optional] -**applications** | [**[BaseApplicationView]**](BaseApplicationView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/EnvironmentStageApi.md b/digitalai/release/v1/docs/EnvironmentStageApi.md deleted file mode 100644 index 4088a96..0000000 --- a/digitalai/release/v1/docs/EnvironmentStageApi.md +++ /dev/null @@ -1,442 +0,0 @@ -# digitalai.release.v1.EnvironmentStageApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_stage3**](EnvironmentStageApi.md#create_stage3) | **POST** /api/v1/environments/stages | -[**delete_environment_stage**](EnvironmentStageApi.md#delete_environment_stage) | **DELETE** /api/v1/environments/stages/{environmentStageId} | -[**get_stage_by_id**](EnvironmentStageApi.md#get_stage_by_id) | **GET** /api/v1/environments/stages/{environmentStageId} | -[**search_stages**](EnvironmentStageApi.md#search_stages) | **POST** /api/v1/environments/stages/search | -[**update_stage_in_environment**](EnvironmentStageApi.md#update_stage_in_environment) | **PUT** /api/v1/environments/stages/{environmentStageId} | - - -# **create_stage3** -> EnvironmentStageView create_stage3() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_stage_api -from digitalai.release.v1.model.environment_stage_form import EnvironmentStageForm -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_stage_api.EnvironmentStageApi(api_client) - environment_stage_form = EnvironmentStageForm( - title="title_example", - ) # EnvironmentStageForm | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_stage3(environment_stage_form=environment_stage_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->create_stage3: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_stage_form** | [**EnvironmentStageForm**](EnvironmentStageForm.md)| | [optional] - -### Return type - -[**EnvironmentStageView**](EnvironmentStageView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_environment_stage** -> delete_environment_stage(environment_stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_stage_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_stage_api.EnvironmentStageApi(api_client) - environment_stage_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_environment_stage(environment_stage_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->delete_environment_stage: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_stage_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_stage_by_id** -> EnvironmentStageView get_stage_by_id(environment_stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_stage_api -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_stage_api.EnvironmentStageApi(api_client) - environment_stage_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentStageQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_stage_by_id(environment_stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->get_stage_by_id: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_stage_id** | **str**| | - -### Return type - -[**EnvironmentStageView**](EnvironmentStageView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_stages** -> [EnvironmentStageView] search_stages() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_stage_api -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView -from digitalai.release.v1.model.environment_stage_filters import EnvironmentStageFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_stage_api.EnvironmentStageApi(api_client) - environment_stage_filters = EnvironmentStageFilters( - title="title_example", - ) # EnvironmentStageFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_stages(environment_stage_filters=environment_stage_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->search_stages: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_stage_filters** | [**EnvironmentStageFilters**](EnvironmentStageFilters.md)| | [optional] - -### Return type - -[**[EnvironmentStageView]**](EnvironmentStageView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_stage_in_environment** -> EnvironmentStageView update_stage_in_environment(environment_stage_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import environment_stage_api -from digitalai.release.v1.model.environment_stage_form import EnvironmentStageForm -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = environment_stage_api.EnvironmentStageApi(api_client) - environment_stage_id = "jUR,rZ#UM/?R,Fp^l6$ARj/EnvironmentStageQ" # str | - environment_stage_form = EnvironmentStageForm( - title="title_example", - ) # EnvironmentStageForm | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_stage_in_environment(environment_stage_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->update_stage_in_environment: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_stage_in_environment(environment_stage_id, environment_stage_form=environment_stage_form) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling EnvironmentStageApi->update_stage_in_environment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **environment_stage_id** | **str**| | - **environment_stage_form** | [**EnvironmentStageForm**](EnvironmentStageForm.md)| | [optional] - -### Return type - -[**EnvironmentStageView**](EnvironmentStageView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/EnvironmentStageFilters.md b/digitalai/release/v1/docs/EnvironmentStageFilters.md deleted file mode 100644 index efc74de..0000000 --- a/digitalai/release/v1/docs/EnvironmentStageFilters.md +++ /dev/null @@ -1,12 +0,0 @@ -# EnvironmentStageFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [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/digitalai/release/v1/docs/EnvironmentStageForm.md b/digitalai/release/v1/docs/EnvironmentStageForm.md deleted file mode 100644 index 5704a3f..0000000 --- a/digitalai/release/v1/docs/EnvironmentStageForm.md +++ /dev/null @@ -1,12 +0,0 @@ -# EnvironmentStageForm - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [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/digitalai/release/v1/docs/EnvironmentStageView.md b/digitalai/release/v1/docs/EnvironmentStageView.md deleted file mode 100644 index 4b80517..0000000 --- a/digitalai/release/v1/docs/EnvironmentStageView.md +++ /dev/null @@ -1,13 +0,0 @@ -# EnvironmentStageView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/EnvironmentView.md b/digitalai/release/v1/docs/EnvironmentView.md deleted file mode 100644 index e03586b..0000000 --- a/digitalai/release/v1/docs/EnvironmentView.md +++ /dev/null @@ -1,16 +0,0 @@ -# EnvironmentView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**stage** | [**EnvironmentStageView**](EnvironmentStageView.md) | | [optional] -**labels** | [**[EnvironmentLabelView]**](EnvironmentLabelView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ExternalVariableValue.md b/digitalai/release/v1/docs/ExternalVariableValue.md deleted file mode 100644 index e645f1d..0000000 --- a/digitalai/release/v1/docs/ExternalVariableValue.md +++ /dev/null @@ -1,15 +0,0 @@ -# ExternalVariableValue - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**server** | **str** | | [optional] -**server_type** | **str** | | [optional] -**path** | **str** | | [optional] -**external_key** | **str** | | [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/digitalai/release/v1/docs/Facet.md b/digitalai/release/v1/docs/Facet.md deleted file mode 100644 index 2dedc0e..0000000 --- a/digitalai/release/v1/docs/Facet.md +++ /dev/null @@ -1,19 +0,0 @@ -# Facet - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scope** | [**FacetScope**](FacetScope.md) | | [optional] -**target_id** | **str** | | [optional] -**configuration_uri** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**properties_with_variables** | **[bool, date, datetime, dict, float, int, list, 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/digitalai/release/v1/docs/FacetApi.md b/digitalai/release/v1/docs/FacetApi.md deleted file mode 100644 index e60cc8a..0000000 --- a/digitalai/release/v1/docs/FacetApi.md +++ /dev/null @@ -1,595 +0,0 @@ -# digitalai.release.v1.FacetApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_facet**](FacetApi.md#create_facet) | **POST** /api/v1/facets | -[**delete_facet**](FacetApi.md#delete_facet) | **DELETE** /api/v1/facets/{facetId} | -[**get_facet**](FacetApi.md#get_facet) | **GET** /api/v1/facets/{facetId} | -[**get_facet_types**](FacetApi.md#get_facet_types) | **GET** /api/v1/facets/types | -[**search_facets**](FacetApi.md#search_facets) | **POST** /api/v1/facets/search | -[**update_facet**](FacetApi.md#update_facet) | **PUT** /api/v1/facets/{facetId} | - - -# **create_facet** -> Facet create_facet() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from digitalai.release.v1.model.facet import Facet -from digitalai.release.v1.model.configuration_facet import ConfigurationFacet -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - configuration_facet = ConfigurationFacet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ) # ConfigurationFacet | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_facet(configuration_facet=configuration_facet) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->create_facet: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **configuration_facet** | [**ConfigurationFacet**](ConfigurationFacet.md)| | [optional] - -### Return type - -[**Facet**](Facet.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_facet** -> delete_facet(facet_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - facet_id = "jUR,rZ#UM/?R,Fp^l6$ARjFacetQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_facet(facet_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->delete_facet: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **facet_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_facet** -> Facet get_facet(facet_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from digitalai.release.v1.model.facet import Facet -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - facet_id = "jUR,rZ#UM/?R,Fp^l6$ARjFacet^" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_facet(facet_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->get_facet: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **facet_id** | **str**| | - -### Return type - -[**Facet**](Facet.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_facet_types** -> [bool, date, datetime, dict, float, int, list, str, none_type] get_facet_types() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - base_type = "baseType_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_facet_types(base_type=base_type) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->get_facet_types: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **base_type** | **str**| | [optional] - -### Return type - -**[bool, date, datetime, dict, float, int, list, str, none_type]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_facets** -> [Facet] search_facets() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from digitalai.release.v1.model.facet import Facet -from digitalai.release.v1.model.facet_filters import FacetFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - facet_filters = FacetFilters( - parent_id="parent_id_example", - target_id="target_id_example", - types=[ - None, - ], - ) # FacetFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_facets(facet_filters=facet_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->search_facets: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **facet_filters** | [**FacetFilters**](FacetFilters.md)| | [optional] - -### Return type - -[**[Facet]**](Facet.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_facet** -> Facet update_facet(facet_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import facet_api -from digitalai.release.v1.model.facet import Facet -from digitalai.release.v1.model.configuration_facet import ConfigurationFacet -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = facet_api.FacetApi(api_client) - facet_id = "jUR,rZ#UM/?R,Fp^l6$ARjFacetQ" # str | - configuration_facet = ConfigurationFacet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ) # ConfigurationFacet | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_facet(facet_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->update_facet: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_facet(facet_id, configuration_facet=configuration_facet) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FacetApi->update_facet: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **facet_id** | **str**| | - **configuration_facet** | [**ConfigurationFacet**](ConfigurationFacet.md)| | [optional] - -### Return type - -[**Facet**](Facet.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/FacetFilters.md b/digitalai/release/v1/docs/FacetFilters.md deleted file mode 100644 index b6f5c0d..0000000 --- a/digitalai/release/v1/docs/FacetFilters.md +++ /dev/null @@ -1,14 +0,0 @@ -# FacetFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**parent_id** | **str** | | [optional] -**target_id** | **str** | | [optional] -**types** | **[bool, date, datetime, dict, float, int, list, 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/digitalai/release/v1/docs/FacetScope.md b/digitalai/release/v1/docs/FacetScope.md deleted file mode 100644 index 55e4073..0000000 --- a/digitalai/release/v1/docs/FacetScope.md +++ /dev/null @@ -1,11 +0,0 @@ -# FacetScope - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | defaults to "TASK", must be one of ["TASK", ] - -[[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/digitalai/release/v1/docs/FlagStatus.md b/digitalai/release/v1/docs/FlagStatus.md deleted file mode 100644 index 1640b89..0000000 --- a/digitalai/release/v1/docs/FlagStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# FlagStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["OK", "ATTENTION_NEEDED", "AT_RISK", ] - -[[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/digitalai/release/v1/docs/Folder.md b/digitalai/release/v1/docs/Folder.md deleted file mode 100644 index d073672..0000000 --- a/digitalai/release/v1/docs/Folder.md +++ /dev/null @@ -1,18 +0,0 @@ -# Folder - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**children** | [**[Folder]**](Folder.md) | | [optional] -**metadata** | **{str: (dict,)}** | | [optional] -**all_variables** | [**[Variable]**](Variable.md) | | [optional] -**folder_variables** | [**FolderVariables**](FolderVariables.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/FolderApi.md b/digitalai/release/v1/docs/FolderApi.md deleted file mode 100644 index 4cbb109..0000000 --- a/digitalai/release/v1/docs/FolderApi.md +++ /dev/null @@ -1,2113 +0,0 @@ -# digitalai.release.v1.FolderApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_folder**](FolderApi.md#add_folder) | **POST** /api/v1/folders/{folderId} | -[**create_folder_variable**](FolderApi.md#create_folder_variable) | **POST** /api/v1/folders/{folderId}/variables | -[**delete_folder**](FolderApi.md#delete_folder) | **DELETE** /api/v1/folders/{folderId} | -[**delete_folder_variable**](FolderApi.md#delete_folder_variable) | **DELETE** /api/v1/folders/{folderId}/{variableId} | -[**find**](FolderApi.md#find) | **GET** /api/v1/folders/find | -[**get_folder**](FolderApi.md#get_folder) | **GET** /api/v1/folders/{folderId} | -[**get_folder_permissions**](FolderApi.md#get_folder_permissions) | **GET** /api/v1/folders/permissions | -[**get_folder_teams**](FolderApi.md#get_folder_teams) | **GET** /api/v1/folders/{folderId}/teams | -[**get_folder_templates**](FolderApi.md#get_folder_templates) | **GET** /api/v1/folders/{folderId}/templates | -[**get_folder_variable**](FolderApi.md#get_folder_variable) | **GET** /api/v1/folders/{folderId}/{variableId} | -[**is_folder_owner**](FolderApi.md#is_folder_owner) | **GET** /api/v1/folders/{folderId}/folderOwner | -[**list**](FolderApi.md#list) | **GET** /api/v1/folders/{folderId}/list | -[**list_root**](FolderApi.md#list_root) | **GET** /api/v1/folders/list | -[**list_variable_values**](FolderApi.md#list_variable_values) | **GET** /api/v1/folders/{folderId}/variableValues | -[**list_variables**](FolderApi.md#list_variables) | **GET** /api/v1/folders/{folderId}/variables | -[**move**](FolderApi.md#move) | **POST** /api/v1/folders/{folderId}/move | -[**move_template**](FolderApi.md#move_template) | **POST** /api/v1/folders/{folderId}/templates/{templateId} | -[**rename_folder**](FolderApi.md#rename_folder) | **POST** /api/v1/folders/{folderId}/rename | -[**search_releases_folder**](FolderApi.md#search_releases_folder) | **POST** /api/v1/folders/{folderId}/releases | -[**set_folder_teams**](FolderApi.md#set_folder_teams) | **POST** /api/v1/folders/{folderId}/teams | -[**update_folder_variable**](FolderApi.md#update_folder_variable) | **PUT** /api/v1/folders/{folderId}/{variableId} | - - -# **add_folder** -> Folder add_folder(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.folder import Folder -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - folder = Folder( - id="id_example", - type="type_example", - title="title_example", - children=[ - Folder(), - ], - metadata={ - "key": {}, - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - ) # Folder | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_folder(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->add_folder: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_folder(folder_id, folder=folder) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->add_folder: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **folder** | [**Folder**](Folder.md)| | [optional] - -### Return type - -[**Folder**](Folder.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_folder_variable** -> Variable create_folder_variable(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - variable1 = Variable1( - id="id_example", - key="key_example", - type="type_example", - requires_value=True, - show_on_release_start=True, - value=None, - label="label_example", - description="description_example", - multiline=True, - inherited=True, - prevent_interpolation=True, - external_variable_value=ExternalVariableValue( - server="server_example", - server_type="server_type_example", - path="path_example", - external_key="external_key_example", - ), - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration(), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ), - ) # Variable1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_folder_variable(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->create_folder_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_folder_variable(folder_id, variable1=variable1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->create_folder_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **variable1** | [**Variable1**](Variable1.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_folder** -> delete_folder(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_folder(folder_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->delete_folder: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_folder_variable** -> delete_folder_variable(folder_id, variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARjVariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_folder_variable(folder_id, variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->delete_folder_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **variable_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **find** -> Folder find() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.folder import Folder -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - by_path = "byPath_example" # str | (optional) - depth = 1 # int | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.find(by_path=by_path, depth=depth) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->find: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **by_path** | **str**| | [optional] - **depth** | **int**| | [optional] - -### Return type - -[**Folder**](Folder.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_folder** -> Folder get_folder(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.folder import Folder -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - depth = 1 # int | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_folder(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_folder(folder_id, depth=depth) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **depth** | **int**| | [optional] - -### Return type - -[**Folder**](Folder.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_folder_permissions** -> [str] get_folder_permissions() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_folder_permissions() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder_permissions: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**[str]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_folder_teams** -> [TeamView] get_folder_teams(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_folder_teams(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_folder_templates** -> [Release] get_folder_templates(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - depth = 1 # int | (optional) - page = 1 # int | (optional) - results_per_page = 1 # int | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_folder_templates(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder_templates: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_folder_templates(folder_id, depth=depth, page=page, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder_templates: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **depth** | **int**| | [optional] - **page** | **int**| | [optional] - **results_per_page** | **int**| | [optional] - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_folder_variable** -> Variable get_folder_variable(folder_id, variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARjVariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_folder_variable(folder_id, variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->get_folder_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **variable_id** | **str**| | - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **is_folder_owner** -> bool is_folder_owner(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.is_folder_owner(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->is_folder_owner: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - -### Return type - -**bool** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **list** -> [Folder] list(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.folder import Folder -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - depth = 1 # int | (optional) - page = 1 # int | (optional) - permissions = True # bool | (optional) - results_per_page = 1 # int | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.list(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.list(folder_id, depth=depth, page=page, permissions=permissions, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **depth** | **int**| | [optional] - **page** | **int**| | [optional] - **permissions** | **bool**| | [optional] - **results_per_page** | **int**| | [optional] - -### Return type - -[**[Folder]**](Folder.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **list_root** -> [Folder] list_root() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.folder import Folder -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - depth = 1 # int | (optional) - page = 1 # int | (optional) - permissions = True # bool | (optional) - results_per_page = 1 # int | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.list_root(depth=depth, page=page, permissions=permissions, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list_root: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **depth** | **int**| | [optional] - **page** | **int**| | [optional] - **permissions** | **bool**| | [optional] - **results_per_page** | **int**| | [optional] - -### Return type - -[**[Folder]**](Folder.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **list_variable_values** -> {str: (str,)} list_variable_values(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - folder_only = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.list_variable_values(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list_variable_values: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.list_variable_values(folder_id, folder_only=folder_only) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list_variable_values: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **folder_only** | **bool**| | [optional] - -### Return type - -**{str: (str,)}** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **list_variables** -> [Variable] list_variables(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - folder_only = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.list_variables(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.list_variables(folder_id, folder_only=folder_only) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->list_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **folder_only** | **bool**| | [optional] - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **move** -> move(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - new_parent_id = "newParentId_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.move(folder_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->move: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.move(folder_id, new_parent_id=new_parent_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->move: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **new_parent_id** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **move_template** -> move_template(folder_id, template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - merge_permissions = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.move_template(folder_id, template_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->move_template: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.move_template(folder_id, template_id, merge_permissions=merge_permissions) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->move_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **template_id** | **str**| | - **merge_permissions** | **bool**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **rename_folder** -> rename_folder(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - new_name = "newName_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.rename_folder(folder_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->rename_folder: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.rename_folder(folder_id, new_name=new_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->rename_folder: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **new_name** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **search_releases_folder** -> [Release] search_releases_folder(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - depth = 1 # int | (optional) - numberbypage = 1 # int | (optional) - page = 1 # int | (optional) - releases_filters = ReleasesFilters( - title="title_example", - tags=[ - "tags_example", - ], - task_tags=[ - "task_tags_example", - ], - time_frame=TimeFrame("LAST_SEVEN_DAYS"), - _from=dateutil_parser('2023-03-20T02:07:00Z'), - to=dateutil_parser('2023-03-20T02:07:00Z'), - active=True, - planned=True, - in_progress=True, - paused=True, - failing=True, - failed=True, - inactive=True, - completed=True, - aborted=True, - only_mine=True, - only_flagged=True, - only_archived=True, - parent_id="parent_id_example", - order_by=ReleaseOrderMode("risk"), - order_direction=ReleaseOrderDirection("ASC"), - risk_status_with_thresholds=RiskStatusWithThresholds( - risk_status=RiskStatus("OK"), - attention_needed_from=1, - at_risk_from=1, - ), - query_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - query_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - statuses=[ - ReleaseStatus("TEMPLATE"), - ], - ) # ReleasesFilters | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.search_releases_folder(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->search_releases_folder: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_releases_folder(folder_id, depth=depth, numberbypage=numberbypage, page=page, releases_filters=releases_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->search_releases_folder: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **depth** | **int**| | [optional] - **numberbypage** | **int**| | [optional] - **page** | **int**| | [optional] - **releases_filters** | [**ReleasesFilters**](ReleasesFilters.md)| | [optional] - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **set_folder_teams** -> [TeamView] set_folder_teams(folder_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - team_view = [ - TeamView( - id="id_example", - team_name="team_name_example", - members=[ - TeamMemberView( - name="name_example", - full_name="full_name_example", - type=MemberType("PRINCIPAL"), - role_id="role_id_example", - ), - ], - permissions=[ - "permissions_example", - ], - system_team=True, - ), - ] # [TeamView] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.set_folder_teams(folder_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->set_folder_teams: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.set_folder_teams(folder_id, team_view=team_view) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->set_folder_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **team_view** | [**[TeamView]**](TeamView.md)| | [optional] - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_folder_variable** -> Variable update_folder_variable(folder_id, variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import folder_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = folder_api.FolderApi(api_client) - folder_id = "jUR,rZ#UM/?R,Fp^l6$ARjFolder&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{qxXp~hu~%,Dc'g" # str | - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARjVariableQ" # str | - variable = Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ) # Variable | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_folder_variable(folder_id, variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->update_folder_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_folder_variable(folder_id, variable_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling FolderApi->update_folder_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | - **variable_id** | **str**| | - **variable** | [**Variable**](Variable.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/FolderVariables.md b/digitalai/release/v1/docs/FolderVariables.md deleted file mode 100644 index d52067b..0000000 --- a/digitalai/release/v1/docs/FolderVariables.md +++ /dev/null @@ -1,17 +0,0 @@ -# FolderVariables - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variables** | [**[Variable]**](Variable.md) | | [optional] -**string_variable_values** | **{str: (str,)}** | | [optional] -**password_variable_values** | **{str: (str,)}** | | [optional] -**variables_by_keys** | [**{str: (Variable,)}**](Variable.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/GateCondition.md b/digitalai/release/v1/docs/GateCondition.md deleted file mode 100644 index aa30acf..0000000 --- a/digitalai/release/v1/docs/GateCondition.md +++ /dev/null @@ -1,15 +0,0 @@ -# GateCondition - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**checked** | **bool** | | [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/digitalai/release/v1/docs/GateTask.md b/digitalai/release/v1/docs/GateTask.md deleted file mode 100644 index db87170..0000000 --- a/digitalai/release/v1/docs/GateTask.md +++ /dev/null @@ -1,112 +0,0 @@ -# GateTask - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**overdue** | **bool** | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**release_uid** | **int** | | [optional] -**ci_uid** | **int** | | [optional] -**comments** | [**[Comment]**](Comment.md) | | [optional] -**container** | [**TaskContainer**](TaskContainer.md) | | [optional] -**facets** | [**[Facet]**](Facet.md) | | [optional] -**attachments** | [**[Attachment]**](Attachment.md) | | [optional] -**status** | [**TaskStatus**](TaskStatus.md) | | [optional] -**team** | **str** | | [optional] -**watchers** | **[str]** | | [optional] -**wait_for_scheduled_start_date** | **bool** | | [optional] -**delay_during_blackout** | **bool** | | [optional] -**postponed_due_to_blackout** | **bool** | | [optional] -**postponed_until_environments_are_reserved** | **bool** | | [optional] -**original_scheduled_start_date** | **datetime** | | [optional] -**has_been_flagged** | **bool** | | [optional] -**has_been_delayed** | **bool** | | [optional] -**precondition** | **str** | | [optional] -**failure_handler** | **str** | | [optional] -**task_failure_handler_enabled** | **bool** | | [optional] -**task_recover_op** | [**TaskRecoverOp**](TaskRecoverOp.md) | | [optional] -**failures_count** | **int** | | [optional] -**execution_id** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**external_variable_mapping** | **{str: (str,)}** | | [optional] -**max_comment_size** | **int** | | [optional] -**tags** | **[str]** | | [optional] -**configuration_uri** | **str** | | [optional] -**due_soon_notified** | **bool** | | [optional] -**locked** | **bool** | | [optional] -**check_attributes** | **bool** | | [optional] -**abort_script** | **str** | | [optional] -**phase** | [**Phase**](Phase.md) | | [optional] -**blackout_metadata** | [**BlackoutMetadata**](BlackoutMetadata.md) | | [optional] -**flagged_count** | **int** | | [optional] -**delayed_count** | **int** | | [optional] -**done** | **bool** | | [optional] -**done_in_advance** | **bool** | | [optional] -**defunct** | **bool** | | [optional] -**updatable** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**not_yet_reached** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**active** | **bool** | | [optional] -**in_progress** | **bool** | | [optional] -**pending** | **bool** | | [optional] -**waiting_for_input** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**completed_in_advance** | **bool** | | [optional] -**skipped** | **bool** | | [optional] -**skipped_in_advance** | **bool** | | [optional] -**precondition_in_progress** | **bool** | | [optional] -**failure_handler_in_progress** | **bool** | | [optional] -**abort_script_in_progress** | **bool** | | [optional] -**facet_in_progress** | **bool** | | [optional] -**movable** | **bool** | | [optional] -**gate** | **bool** | | [optional] -**task_group** | **bool** | | [optional] -**parallel_group** | **bool** | | [optional] -**precondition_enabled** | **bool** | | [optional] -**failure_handler_enabled** | **bool** | | [optional] -**release** | [**Release**](Release.md) | | [optional] -**display_path** | **str** | | [optional] -**release_owner** | **str** | | [optional] -**all_tasks** | [**[Task]**](Task.md) | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**input_variables** | [**[Variable]**](Variable.md) | | [optional] -**referenced_variables** | [**[Variable]**](Variable.md) | | [optional] -**unbound_required_variables** | **[str]** | | [optional] -**automated** | **bool** | | [optional] -**task_type** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**due_soon** | **bool** | | [optional] -**elapsed_duration_fraction** | **float** | | [optional] -**url** | **str** | | [optional] -**conditions** | [**[GateCondition]**](GateCondition.md) | | [optional] -**dependencies** | [**[Dependency]**](Dependency.md) | | [optional] -**open** | **bool** | | [optional] -**open_in_advance** | **bool** | | [optional] -**completable** | **bool** | | [optional] -**aborted_dependency_titles** | **str** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/GlobalVariables.md b/digitalai/release/v1/docs/GlobalVariables.md deleted file mode 100644 index 3d08e35..0000000 --- a/digitalai/release/v1/docs/GlobalVariables.md +++ /dev/null @@ -1,17 +0,0 @@ -# GlobalVariables - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variables** | [**[Variable]**](Variable.md) | | [optional] -**variables_by_keys** | [**{str: (Variable,)}**](Variable.md) | | [optional] -**string_variable_values** | **{str: (str,)}** | | [optional] -**password_variable_values** | **{str: (str,)}** | | [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/digitalai/release/v1/docs/ImportResult.md b/digitalai/release/v1/docs/ImportResult.md deleted file mode 100644 index 12c55c0..0000000 --- a/digitalai/release/v1/docs/ImportResult.md +++ /dev/null @@ -1,14 +0,0 @@ -# ImportResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**warnings** | **[str]** | | [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/digitalai/release/v1/docs/MemberType.md b/digitalai/release/v1/docs/MemberType.md deleted file mode 100644 index a4aa622..0000000 --- a/digitalai/release/v1/docs/MemberType.md +++ /dev/null @@ -1,11 +0,0 @@ -# MemberType - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["PRINCIPAL", "ROLE", ] - -[[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/digitalai/release/v1/docs/ModelProperty.md b/digitalai/release/v1/docs/ModelProperty.md deleted file mode 100644 index 7eea02a..0000000 --- a/digitalai/release/v1/docs/ModelProperty.md +++ /dev/null @@ -1,15 +0,0 @@ -# ModelProperty - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**indexed_property_pattern** | **str** | | [optional] -**property_name** | **str** | | [optional] -**index** | **int** | | [optional] -**indexed** | **bool** | | [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/digitalai/release/v1/docs/PermissionsApi.md b/digitalai/release/v1/docs/PermissionsApi.md deleted file mode 100644 index 8155974..0000000 --- a/digitalai/release/v1/docs/PermissionsApi.md +++ /dev/null @@ -1,86 +0,0 @@ -# digitalai.release.v1.PermissionsApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_global_permissions**](PermissionsApi.md#get_global_permissions) | **GET** /api/v1/global-permissions | - - -# **get_global_permissions** -> [str] get_global_permissions() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import permissions_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = permissions_api.PermissionsApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_global_permissions() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PermissionsApi->get_global_permissions: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**[str]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/Phase.md b/digitalai/release/v1/docs/Phase.md deleted file mode 100644 index 6f796ae..0000000 --- a/digitalai/release/v1/docs/Phase.md +++ /dev/null @@ -1,57 +0,0 @@ -# Phase - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**locked** | **bool** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**overdue** | **bool** | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**release_uid** | **int** | | [optional] -**tasks** | [**[Task]**](Task.md) | | [optional] -**release** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**status** | [**PhaseStatus**](PhaseStatus.md) | | [optional] -**color** | **str** | | [optional] -**origin_id** | **str** | | [optional] -**current_task** | [**Task**](Task.md) | | [optional] -**display_path** | **str** | | [optional] -**active** | **bool** | | [optional] -**done** | **bool** | | [optional] -**defunct** | **bool** | | [optional] -**updatable** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**release_owner** | **str** | | [optional] -**all_gates** | [**[GateTask]**](GateTask.md) | | [optional] -**all_tasks** | [**[Task]**](Task.md) | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**original** | **bool** | | [optional] -**phase_copied** | **bool** | | [optional] -**ancestor_id** | **str** | | [optional] -**latest_copy** | **bool** | | [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/digitalai/release/v1/docs/PhaseApi.md b/digitalai/release/v1/docs/PhaseApi.md deleted file mode 100644 index 5e07a89..0000000 --- a/digitalai/release/v1/docs/PhaseApi.md +++ /dev/null @@ -1,58015 +0,0 @@ -# digitalai.release.v1.PhaseApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_phase**](PhaseApi.md#add_phase) | **POST** /api/v1/phases/{releaseId}/phase | -[**add_task_to_container**](PhaseApi.md#add_task_to_container) | **POST** /api/v1/phases/{containerId}/tasks | -[**copy_phase**](PhaseApi.md#copy_phase) | **POST** /api/v1/phases/{phaseId}/copy | -[**delete_phase**](PhaseApi.md#delete_phase) | **DELETE** /api/v1/phases/{phaseId} | -[**get_phase**](PhaseApi.md#get_phase) | **GET** /api/v1/phases/{phaseId} | -[**search_phases**](PhaseApi.md#search_phases) | **GET** /api/v1/phases/search | -[**search_phases_by_title**](PhaseApi.md#search_phases_by_title) | **GET** /api/v1/phases/byTitle | -[**update_phase**](PhaseApi.md#update_phase) | **PUT** /api/v1/phases/{phaseId} | - - -# **add_phase** -> Phase add_phase(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - position = 1 # int | (optional) - phase = Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem(), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem(), - ], - all_plan_items=[ - PlanItem(), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ) # Phase | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_phase(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->add_phase: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_phase(release_id, position=position, phase=phase) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->add_phase: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **position** | **int**| | [optional] - **phase** | [**Phase**](Phase.md)| | [optional] - -### Return type - -[**Phase**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_task_to_container** -> Task add_task_to_container(container_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - container_id = "jUR,rZ#UM/?R,Fp^l6$ARj/PhasehJk C>i H'qT\{add_task_to_container: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_task_to_container(container_id, position=position, task=task) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->add_task_to_container: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **container_id** | **str**| | - **position** | **int**| | [optional] - **task** | [**Task**](Task.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **copy_phase** -> Phase copy_phase(phase_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_id = "jUR,rZ#UM/?R,Fp^l6$ARj/PhaseQ" # str | - target_position = 1 # int | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.copy_phase(phase_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->copy_phase: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.copy_phase(phase_id, target_position=target_position) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->copy_phase: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_id** | **str**| | - **target_position** | **int**| | [optional] - -### Return type - -[**Phase**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_phase** -> delete_phase(phase_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_id = "jUR,rZ#UM/?R,Fp^l6$ARj/PhaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_phase(phase_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->delete_phase: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_phase** -> Phase get_phase(phase_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_id = "jUR,rZ#UM/?R,Fp^l6$ARj/PhaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_phase(phase_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->get_phase: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_id** | **str**| | - -### Return type - -[**Phase**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_phases** -> [Phase] search_phases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from digitalai.release.v1.model.phase_version import PhaseVersion -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_title = "phaseTitle_example" # str | (optional) - phase_version = PhaseVersion("LATEST") # PhaseVersion | (optional) - release_id = "releaseId_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_phases(phase_title=phase_title, phase_version=phase_version, release_id=release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->search_phases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_title** | **str**| | [optional] - **phase_version** | **PhaseVersion**| | [optional] - **release_id** | **str**| | [optional] - -### Return type - -[**[Phase]**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_phases_by_title** -> [Phase] search_phases_by_title() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_title = "phaseTitle_example" # str | (optional) - release_id = "releaseId_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_phases_by_title(phase_title=phase_title, release_id=release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->search_phases_by_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_title** | **str**| | [optional] - **release_id** | **str**| | [optional] - -### Return type - -[**[Phase]**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_phase** -> Phase update_phase(phase_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import phase_api -from digitalai.release.v1.model.phase import Phase -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = phase_api.PhaseApi(api_client) - phase_id = "jUR,rZ#UM/?R,Fp^l6$ARj/PhaseQ" # str | - phase = Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem(), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem(), - ], - all_plan_items=[ - PlanItem(), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ) # Phase | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_phase(phase_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->update_phase: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_phase(phase_id, phase=phase) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PhaseApi->update_phase: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_id** | **str**| | - **phase** | [**Phase**](Phase.md)| | [optional] - -### Return type - -[**Phase**](Phase.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/PhaseStatus.md b/digitalai/release/v1/docs/PhaseStatus.md deleted file mode 100644 index 5d6ecec..0000000 --- a/digitalai/release/v1/docs/PhaseStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# PhaseStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["PLANNED", "IN_PROGRESS", "COMPLETED", "FAILING", "FAILED", "SKIPPED", "ABORTED", ] - -[[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/digitalai/release/v1/docs/PhaseTimeline.md b/digitalai/release/v1/docs/PhaseTimeline.md deleted file mode 100644 index 3cb783a..0000000 --- a/digitalai/release/v1/docs/PhaseTimeline.md +++ /dev/null @@ -1,21 +0,0 @@ -# PhaseTimeline - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_start_date** | **datetime** | | [optional] -**planned_end_date** | **datetime** | | [optional] -**color** | **str** | | [optional] -**current_task** | **str** | | [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/digitalai/release/v1/docs/PhaseVersion.md b/digitalai/release/v1/docs/PhaseVersion.md deleted file mode 100644 index 858ad74..0000000 --- a/digitalai/release/v1/docs/PhaseVersion.md +++ /dev/null @@ -1,11 +0,0 @@ -# PhaseVersion - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["LATEST", "ORIGINAL", "ALL", ] - -[[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/digitalai/release/v1/docs/PlanItem.md b/digitalai/release/v1/docs/PlanItem.md deleted file mode 100644 index c576906..0000000 --- a/digitalai/release/v1/docs/PlanItem.md +++ /dev/null @@ -1,40 +0,0 @@ -# PlanItem - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**overdue** | **bool** | | [optional] -**done** | **bool** | | [optional] -**release** | [**Release**](Release.md) | | [optional] -**release_uid** | **int** | | [optional] -**updatable** | **bool** | | [optional] -**display_path** | **str** | | [optional] -**aborted** | **bool** | | [optional] -**active** | **bool** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, 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/digitalai/release/v1/docs/PlannerApi.md b/digitalai/release/v1/docs/PlannerApi.md deleted file mode 100644 index 8c7f0d6..0000000 --- a/digitalai/release/v1/docs/PlannerApi.md +++ /dev/null @@ -1,268 +0,0 @@ -# digitalai.release.v1.PlannerApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_active_releases**](PlannerApi.md#get_active_releases) | **GET** /api/v1/analytics/planner/active | -[**get_completed_releases**](PlannerApi.md#get_completed_releases) | **GET** /api/v1/analytics/planner/completed | -[**get_releases_by_ids**](PlannerApi.md#get_releases_by_ids) | **POST** /api/v1/analytics/planner/byIds | - - -# **get_active_releases** -> [ProjectedRelease] get_active_releases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import planner_api -from digitalai.release.v1.model.projected_release import ProjectedRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = planner_api.PlannerApi(api_client) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_active_releases(page=page, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PlannerApi->get_active_releases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**[ProjectedRelease]**](ProjectedRelease.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_completed_releases** -> [ProjectedRelease] get_completed_releases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import planner_api -from digitalai.release.v1.model.projected_release import ProjectedRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = planner_api.PlannerApi(api_client) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - since = 0 # int | (optional) if omitted the server will use the default value of 0 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_completed_releases(page=page, results_per_page=results_per_page, since=since) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PlannerApi->get_completed_releases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **since** | **int**| | [optional] if omitted the server will use the default value of 0 - -### Return type - -[**[ProjectedRelease]**](ProjectedRelease.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_releases_by_ids** -> [ProjectedRelease] get_releases_by_ids() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import planner_api -from digitalai.release.v1.model.projected_release import ProjectedRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = planner_api.PlannerApi(api_client) - request_body = [ - "request_body_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_releases_by_ids(request_body=request_body) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling PlannerApi->get_releases_by_ids: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request_body** | **[str]**| | [optional] - -### Return type - -[**[ProjectedRelease]**](ProjectedRelease.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/PollType.md b/digitalai/release/v1/docs/PollType.md deleted file mode 100644 index ae39c71..0000000 --- a/digitalai/release/v1/docs/PollType.md +++ /dev/null @@ -1,11 +0,0 @@ -# PollType - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["REPEAT", "CRON", ] - -[[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/digitalai/release/v1/docs/PrincipalView.md b/digitalai/release/v1/docs/PrincipalView.md deleted file mode 100644 index 41637ea..0000000 --- a/digitalai/release/v1/docs/PrincipalView.md +++ /dev/null @@ -1,13 +0,0 @@ -# PrincipalView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | [optional] -**fullname** | **str** | | [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/digitalai/release/v1/docs/ProjectedPhase.md b/digitalai/release/v1/docs/ProjectedPhase.md deleted file mode 100644 index 767540b..0000000 --- a/digitalai/release/v1/docs/ProjectedPhase.md +++ /dev/null @@ -1,20 +0,0 @@ -# ProjectedPhase - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**start_date_string** | **str** | | [optional] -**end_date** | **datetime** | | [optional] -**end_date_string** | **str** | | [optional] -**status** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**tasks** | [**[ProjectedTask]**](ProjectedTask.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ProjectedRelease.md b/digitalai/release/v1/docs/ProjectedRelease.md deleted file mode 100644 index accbea1..0000000 --- a/digitalai/release/v1/docs/ProjectedRelease.md +++ /dev/null @@ -1,20 +0,0 @@ -# ProjectedRelease - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**start_date_string** | **str** | | [optional] -**end_date** | **datetime** | | [optional] -**end_date_string** | **str** | | [optional] -**status** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**phases** | [**[ProjectedPhase]**](ProjectedPhase.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ProjectedTask.md b/digitalai/release/v1/docs/ProjectedTask.md deleted file mode 100644 index c3603a8..0000000 --- a/digitalai/release/v1/docs/ProjectedTask.md +++ /dev/null @@ -1,19 +0,0 @@ -# ProjectedTask - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**start_date_string** | **str** | | [optional] -**end_date** | **datetime** | | [optional] -**end_date_string** | **str** | | [optional] -**status** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/Release.md b/digitalai/release/v1/docs/Release.md deleted file mode 100644 index 5e673c2..0000000 --- a/digitalai/release/v1/docs/Release.md +++ /dev/null @@ -1,107 +0,0 @@ -# Release - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**due_date** | **datetime** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**overdue** | **bool** | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**root_release_id** | **str** | | [optional] -**max_concurrent_releases** | **int** | | [optional] -**release_triggers** | [**[ReleaseTrigger]**](ReleaseTrigger.md) | | [optional] -**teams** | [**[Team]**](Team.md) | | [optional] -**member_viewers** | **[str]** | | [optional] -**role_viewers** | **[str]** | | [optional] -**attachments** | [**[Attachment]**](Attachment.md) | | [optional] -**phases** | [**[Phase]**](Phase.md) | | [optional] -**queryable_start_date** | **datetime** | | [optional] -**queryable_end_date** | **datetime** | | [optional] -**real_flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**tags** | **[str]** | | [optional] -**variables** | [**[Variable]**](Variable.md) | | [optional] -**calendar_link_token** | **str** | | [optional] -**calendar_published** | **bool** | | [optional] -**tutorial** | **bool** | | [optional] -**abort_on_failure** | **bool** | | [optional] -**archive_release** | **bool** | | [optional] -**allow_passwords_in_all_fields** | **bool** | | [optional] -**disable_notifications** | **bool** | | [optional] -**allow_concurrent_releases_from_trigger** | **bool** | | [optional] -**origin_template_id** | **str** | | [optional] -**created_from_trigger** | **bool** | | [optional] -**script_username** | **str** | | [optional] -**script_user_password** | **str** | | [optional] -**extensions** | [**[ReleaseExtension]**](ReleaseExtension.md) | | [optional] -**started_from_task_id** | **str** | | [optional] -**auto_start** | **bool** | | [optional] -**automated_resume_count** | **int** | | [optional] -**max_automated_resumes** | **int** | | [optional] -**abort_comment** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**risk_profile** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**metadata** | **{str: (dict,)}** | | [optional] -**archived** | **bool** | | [optional] -**ci_uid** | **int** | | [optional] -**variable_values** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**password_variable_values** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**ci_property_variables** | [**[Variable]**](Variable.md) | | [optional] -**all_string_variable_values** | **{str: (str,)}** | | [optional] -**all_release_global_and_folder_variables** | [**[Variable]**](Variable.md) | | [optional] -**all_variable_values_as_strings_with_interpolation_info** | [**{str: (ValueWithInterpolation,)}**](ValueWithInterpolation.md) | | [optional] -**variables_keys_in_non_interpolatable_variable_values** | **[str]** | | [optional] -**variables_by_keys** | [**{str: (Variable,)}**](Variable.md) | | [optional] -**all_variables** | [**[Variable]**](Variable.md) | | [optional] -**global_variables** | [**GlobalVariables**](GlobalVariables.md) | | [optional] -**folder_variables** | [**FolderVariables**](FolderVariables.md) | | [optional] -**admin_team** | [**Team**](Team.md) | | [optional] -**release_attachments** | [**[Attachment]**](Attachment.md) | | [optional] -**current_phase** | [**Phase**](Phase.md) | | [optional] -**current_task** | [**Task**](Task.md) | | [optional] -**all_tasks** | [**[Task]**](Task.md) | | [optional] -**all_gates** | [**[GateTask]**](GateTask.md) | | [optional] -**all_user_input_tasks** | [**[UserInputTask]**](UserInputTask.md) | | [optional] -**done** | **bool** | | [optional] -**planned_or_active** | **bool** | | [optional] -**active** | **bool** | | [optional] -**defunct** | **bool** | | [optional] -**updatable** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**paused** | **bool** | | [optional] -**template** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**in_progress** | **bool** | | [optional] -**release** | [**Release**](Release.md) | | [optional] -**release_uid** | **int** | | [optional] -**display_path** | **str** | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**all_plan_items** | [**[PlanItem]**](PlanItem.md) | | [optional] -**url** | **str** | | [optional] -**active_tasks** | [**[Task]**](Task.md) | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**pending** | **bool** | | [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/digitalai/release/v1/docs/ReleaseApi.md b/digitalai/release/v1/docs/ReleaseApi.md deleted file mode 100644 index 77738e6..0000000 --- a/digitalai/release/v1/docs/ReleaseApi.md +++ /dev/null @@ -1,16272 +0,0 @@ -# digitalai.release.v1.ReleaseApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**abort**](ReleaseApi.md#abort) | **POST** /api/v1/releases/{releaseId}/abort | -[**count_releases**](ReleaseApi.md#count_releases) | **POST** /api/v1/releases/count | -[**create_release_variable**](ReleaseApi.md#create_release_variable) | **POST** /api/v1/releases/{releaseId}/variables | -[**delete_release**](ReleaseApi.md#delete_release) | **DELETE** /api/v1/releases/{releaseId} | -[**delete_release_variable**](ReleaseApi.md#delete_release_variable) | **DELETE** /api/v1/releases/{variableId} | -[**download_attachment**](ReleaseApi.md#download_attachment) | **GET** /api/v1/releases/attachments/{attachmentId} | -[**full_search_releases**](ReleaseApi.md#full_search_releases) | **POST** /api/v1/releases/fullSearch | -[**get_active_tasks**](ReleaseApi.md#get_active_tasks) | **GET** /api/v1/releases/{releaseId}/active-tasks | -[**get_archived_release**](ReleaseApi.md#get_archived_release) | **GET** /api/v1/releases/archived/{releaseId} | -[**get_possible_release_variable_values**](ReleaseApi.md#get_possible_release_variable_values) | **GET** /api/v1/releases/{variableId}/possibleValues | -[**get_release**](ReleaseApi.md#get_release) | **GET** /api/v1/releases/{releaseId} | -[**get_release_permissions**](ReleaseApi.md#get_release_permissions) | **GET** /api/v1/releases/permissions | -[**get_release_teams**](ReleaseApi.md#get_release_teams) | **GET** /api/v1/releases/{releaseId}/teams | -[**get_release_variable**](ReleaseApi.md#get_release_variable) | **GET** /api/v1/releases/{variableId} | -[**get_release_variables**](ReleaseApi.md#get_release_variables) | **GET** /api/v1/releases/{releaseId}/variables | -[**get_releases**](ReleaseApi.md#get_releases) | **GET** /api/v1/releases | -[**get_variable_values**](ReleaseApi.md#get_variable_values) | **GET** /api/v1/releases/{releaseId}/variableValues | -[**is_variable_used_release**](ReleaseApi.md#is_variable_used_release) | **GET** /api/v1/releases/{variableId}/used | -[**replace_release_variables**](ReleaseApi.md#replace_release_variables) | **POST** /api/v1/releases/{variableId}/replace | -[**restart_phases**](ReleaseApi.md#restart_phases) | **POST** /api/v1/releases/{releaseId}/restart | -[**resume**](ReleaseApi.md#resume) | **POST** /api/v1/releases/{releaseId}/resume | -[**search_releases_by_title**](ReleaseApi.md#search_releases_by_title) | **GET** /api/v1/releases/byTitle | -[**search_releases_release**](ReleaseApi.md#search_releases_release) | **POST** /api/v1/releases/search | -[**set_release_teams**](ReleaseApi.md#set_release_teams) | **POST** /api/v1/releases/{releaseId}/teams | -[**start_release**](ReleaseApi.md#start_release) | **POST** /api/v1/releases/{releaseId}/start | -[**update_release**](ReleaseApi.md#update_release) | **PUT** /api/v1/releases/{releaseId} | -[**update_release_variable**](ReleaseApi.md#update_release_variable) | **PUT** /api/v1/releases/{variableId} | -[**update_release_variables**](ReleaseApi.md#update_release_variables) | **PUT** /api/v1/releases/{releaseId}/variables | - - -# **abort** -> Release abort(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.abort_release import AbortRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - abort_release = AbortRelease( - abort_comment="abort_comment_example", - ) # AbortRelease | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.abort(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->abort: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.abort(release_id, abort_release=abort_release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->abort: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **abort_release** | [**AbortRelease**](AbortRelease.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **count_releases** -> ReleaseCountResults count_releases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release_count_results import ReleaseCountResults -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - releases_filters = ReleasesFilters( - title="title_example", - tags=[ - "tags_example", - ], - task_tags=[ - "task_tags_example", - ], - time_frame=TimeFrame("LAST_SEVEN_DAYS"), - _from=dateutil_parser('2023-03-20T02:07:00Z'), - to=dateutil_parser('2023-03-20T02:07:00Z'), - active=True, - planned=True, - in_progress=True, - paused=True, - failing=True, - failed=True, - inactive=True, - completed=True, - aborted=True, - only_mine=True, - only_flagged=True, - only_archived=True, - parent_id="parent_id_example", - order_by=ReleaseOrderMode("risk"), - order_direction=ReleaseOrderDirection("ASC"), - risk_status_with_thresholds=RiskStatusWithThresholds( - risk_status=RiskStatus("OK"), - attention_needed_from=1, - at_risk_from=1, - ), - query_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - query_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - statuses=[ - ReleaseStatus("TEMPLATE"), - ], - ) # ReleasesFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.count_releases(releases_filters=releases_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->count_releases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **releases_filters** | [**ReleasesFilters**](ReleasesFilters.md)| | [optional] - -### Return type - -[**ReleaseCountResults**](ReleaseCountResults.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_release_variable** -> Variable create_release_variable(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARj" # str | - variable1 = Variable1( - id="id_example", - key="key_example", - type="type_example", - requires_value=True, - show_on_release_start=True, - value=None, - label="label_example", - description="description_example", - multiline=True, - inherited=True, - prevent_interpolation=True, - external_variable_value=ExternalVariableValue( - server="server_example", - server_type="server_type_example", - path="path_example", - external_key="external_key_example", - ), - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration(), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ), - ) # Variable1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_release_variable(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->create_release_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_release_variable(release_id, variable1=variable1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->create_release_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **variable1** | [**Variable1**](Variable1.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_release** -> delete_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_release(release_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->delete_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_release_variable** -> delete_release_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_release_variable(variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->delete_release_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **download_attachment** -> download_attachment(attachment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - attachment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/AttachmentQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.download_attachment(attachment_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->download_attachment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **full_search_releases** -> ReleaseFullSearchResult full_search_releases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release_full_search_result import ReleaseFullSearchResult -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - archive_page = 1 # int | (optional) - archive_results_per_page = 1 # int | (optional) - page = 1 # int | (optional) - results_per_page = 1 # int | (optional) - releases_filters = ReleasesFilters( - title="title_example", - tags=[ - "tags_example", - ], - task_tags=[ - "task_tags_example", - ], - time_frame=TimeFrame("LAST_SEVEN_DAYS"), - _from=dateutil_parser('2023-03-20T02:07:00Z'), - to=dateutil_parser('2023-03-20T02:07:00Z'), - active=True, - planned=True, - in_progress=True, - paused=True, - failing=True, - failed=True, - inactive=True, - completed=True, - aborted=True, - only_mine=True, - only_flagged=True, - only_archived=True, - parent_id="parent_id_example", - order_by=ReleaseOrderMode("risk"), - order_direction=ReleaseOrderDirection("ASC"), - risk_status_with_thresholds=RiskStatusWithThresholds( - risk_status=RiskStatus("OK"), - attention_needed_from=1, - at_risk_from=1, - ), - query_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - query_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - statuses=[ - ReleaseStatus("TEMPLATE"), - ], - ) # ReleasesFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.full_search_releases(archive_page=archive_page, archive_results_per_page=archive_results_per_page, page=page, results_per_page=results_per_page, releases_filters=releases_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->full_search_releases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **archive_page** | **int**| | [optional] - **archive_results_per_page** | **int**| | [optional] - **page** | **int**| | [optional] - **results_per_page** | **int**| | [optional] - **releases_filters** | [**ReleasesFilters**](ReleasesFilters.md)| | [optional] - -### Return type - -[**ReleaseFullSearchResult**](ReleaseFullSearchResult.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_active_tasks** -> [Task] get_active_tasks(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_active_tasks(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_active_tasks: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**[Task]**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_archived_release** -> Release get_archived_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - role_ids = False # bool | (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_archived_release(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_archived_release: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_archived_release(release_id, role_ids=role_ids) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_archived_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **role_ids** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_possible_release_variable_values** -> [{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] get_possible_release_variable_values(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_possible_release_variable_values(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_possible_release_variable_values: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -**[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release** -> Release get_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H'qT\{get_release: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_release(release_id, role_ids=role_ids) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **role_ids** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release_permissions** -> [str] get_release_permissions() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_release_permissions() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_release_permissions: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**[str]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release_teams** -> [TeamView] get_release_teams(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_release_teams(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_release_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release_variable** -> Variable get_release_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_release_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_release_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release_variables** -> [Variable] get_release_variables(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_release_variables(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_release_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_releases** -> [Release] get_releases() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - depth = 1 # int | (optional) if omitted the server will use the default value of 1 - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_releases(depth=depth, page=page, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_releases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **depth** | **int**| | [optional] if omitted the server will use the default value of 1 - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_variable_values** -> {str: (str,)} get_variable_values(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_variable_values(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->get_variable_values: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -**{str: (str,)}** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **is_variable_used_release** -> bool is_variable_used_release(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.is_variable_used_release(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->is_variable_used_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -**bool** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **replace_release_variables** -> replace_release_variables(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable_or_value import VariableOrValue -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - variable_or_value = VariableOrValue( - variable="variable_example", - value=None, - ) # VariableOrValue | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.replace_release_variables(variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->replace_release_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.replace_release_variables(variable_id, variable_or_value=variable_or_value) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->replace_release_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - **variable_or_value** | [**VariableOrValue**](VariableOrValue.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **restart_phases** -> Release restart_phases(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.phase_version import PhaseVersion -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - from_phase_id = "fromPhaseId_example" # str | (optional) - from_task_id = "fromTaskId_example" # str | (optional) - phase_version = PhaseVersion("LATEST") # PhaseVersion | (optional) - resume = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.restart_phases(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->restart_phases: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.restart_phases(release_id, from_phase_id=from_phase_id, from_task_id=from_task_id, phase_version=phase_version, resume=resume) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->restart_phases: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **from_phase_id** | **str**| | [optional] - **from_task_id** | **str**| | [optional] - **phase_version** | **PhaseVersion**| | [optional] - **resume** | **bool**| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **resume** -> Release resume(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.resume(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->resume: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_releases_by_title** -> [Release] search_releases_by_title() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_title = "releaseTitle_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_releases_by_title(release_title=release_title) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->search_releases_by_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_title** | **str**| | [optional] - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_releases_release** -> [Release] search_releases_release() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - page_is_offset = False # bool | (optional) if omitted the server will use the default value of False - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - releases_filters = ReleasesFilters( - title="title_example", - tags=[ - "tags_example", - ], - task_tags=[ - "task_tags_example", - ], - time_frame=TimeFrame("LAST_SEVEN_DAYS"), - _from=dateutil_parser('2023-03-20T02:07:00Z'), - to=dateutil_parser('2023-03-20T02:07:00Z'), - active=True, - planned=True, - in_progress=True, - paused=True, - failing=True, - failed=True, - inactive=True, - completed=True, - aborted=True, - only_mine=True, - only_flagged=True, - only_archived=True, - parent_id="parent_id_example", - order_by=ReleaseOrderMode("risk"), - order_direction=ReleaseOrderDirection("ASC"), - risk_status_with_thresholds=RiskStatusWithThresholds( - risk_status=RiskStatus("OK"), - attention_needed_from=1, - at_risk_from=1, - ), - query_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - query_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - statuses=[ - ReleaseStatus("TEMPLATE"), - ], - ) # ReleasesFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_releases_release(page=page, page_is_offset=page_is_offset, results_per_page=results_per_page, releases_filters=releases_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->search_releases_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **page_is_offset** | **bool**| | [optional] if omitted the server will use the default value of False - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **releases_filters** | [**ReleasesFilters**](ReleasesFilters.md)| | [optional] - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **set_release_teams** -> [TeamView] set_release_teams(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - team_view = [ - TeamView( - id="id_example", - team_name="team_name_example", - members=[ - TeamMemberView( - name="name_example", - full_name="full_name_example", - type=MemberType("PRINCIPAL"), - role_id="role_id_example", - ), - ], - permissions=[ - "permissions_example", - ], - system_team=True, - ), - ] # [TeamView] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.set_release_teams(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->set_release_teams: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.set_release_teams(release_id, team_view=team_view) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->set_release_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **team_view** | [**[TeamView]**](TeamView.md)| | [optional] - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **start_release** -> Release start_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.start_release(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->start_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_release** -> Release update_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - release = Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ) # Release | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_release(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_release(release_id, release=release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **release** | [**Release**](Release.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_release_variable** -> Variable update_release_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - variable = Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ) # Variable | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_release_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_release_variable(variable_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - **variable** | [**Variable**](Variable.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_release_variables** -> [Variable] update_release_variables(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_api.ReleaseApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARj" # str | - variable = [ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ] # [Variable] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_release_variables(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_release_variables(release_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseApi->update_release_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **variable** | [**[Variable]**](Variable.md)| | [optional] - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ReleaseConfiguration.md b/digitalai/release/v1/docs/ReleaseConfiguration.md deleted file mode 100644 index b4498f8..0000000 --- a/digitalai/release/v1/docs/ReleaseConfiguration.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReleaseConfiguration - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**folder_id** | **str** | | [optional] -**title** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [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/digitalai/release/v1/docs/ReleaseCountResult.md b/digitalai/release/v1/docs/ReleaseCountResult.md deleted file mode 100644 index 4316ff9..0000000 --- a/digitalai/release/v1/docs/ReleaseCountResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# ReleaseCountResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**total** | **int** | | [optional] -**by_status** | **{str: (int,)}** | | [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/digitalai/release/v1/docs/ReleaseCountResults.md b/digitalai/release/v1/docs/ReleaseCountResults.md deleted file mode 100644 index 92e9259..0000000 --- a/digitalai/release/v1/docs/ReleaseCountResults.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReleaseCountResults - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**live** | [**ReleaseCountResult**](ReleaseCountResult.md) | | [optional] -**archived** | [**ReleaseCountResult**](ReleaseCountResult.md) | | [optional] -**all** | [**ReleaseCountResult**](ReleaseCountResult.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseExtension.md b/digitalai/release/v1/docs/ReleaseExtension.md deleted file mode 100644 index 66af93e..0000000 --- a/digitalai/release/v1/docs/ReleaseExtension.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReleaseExtension - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseFullSearchResult.md b/digitalai/release/v1/docs/ReleaseFullSearchResult.md deleted file mode 100644 index 9c4b75b..0000000 --- a/digitalai/release/v1/docs/ReleaseFullSearchResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# ReleaseFullSearchResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**live** | [**ReleaseSearchResult**](ReleaseSearchResult.md) | | [optional] -**archived** | [**ReleaseSearchResult**](ReleaseSearchResult.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseGroup.md b/digitalai/release/v1/docs/ReleaseGroup.md deleted file mode 100644 index 2de88ca..0000000 --- a/digitalai/release/v1/docs/ReleaseGroup.md +++ /dev/null @@ -1,23 +0,0 @@ -# ReleaseGroup - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**metadata** | **{str: (dict,)}** | | [optional] -**title** | **str** | | [optional] -**status** | [**ReleaseGroupStatus**](ReleaseGroupStatus.md) | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**risk_score** | **int** | | [optional] -**release_ids** | **[str]** | | [optional] -**progress** | **int** | | [optional] -**folder_id** | **str** | | [optional] -**updatable** | **bool** | | [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/digitalai/release/v1/docs/ReleaseGroupApi.md b/digitalai/release/v1/docs/ReleaseGroupApi.md deleted file mode 100644 index 29ede92..0000000 --- a/digitalai/release/v1/docs/ReleaseGroupApi.md +++ /dev/null @@ -1,829 +0,0 @@ -# digitalai.release.v1.ReleaseGroupApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_members_to_group**](ReleaseGroupApi.md#add_members_to_group) | **POST** /api/v1/release-groups/{groupId}/members | -[**create_group**](ReleaseGroupApi.md#create_group) | **POST** /api/v1/release-groups | -[**delete_group**](ReleaseGroupApi.md#delete_group) | **DELETE** /api/v1/release-groups/{groupId} | -[**get_group**](ReleaseGroupApi.md#get_group) | **GET** /api/v1/release-groups/{groupId} | -[**get_members**](ReleaseGroupApi.md#get_members) | **GET** /api/v1/release-groups/{groupId}/members | -[**get_release_group_timeline**](ReleaseGroupApi.md#get_release_group_timeline) | **GET** /api/v1/release-groups/{groupId}/timeline | -[**remove_members_from_group**](ReleaseGroupApi.md#remove_members_from_group) | **DELETE** /api/v1/release-groups/{groupId}/members | -[**search_groups**](ReleaseGroupApi.md#search_groups) | **POST** /api/v1/release-groups/search | -[**update_group**](ReleaseGroupApi.md#update_group) | **PUT** /api/v1/release-groups/{groupId} | - - -# **add_members_to_group** -> add_members_to_group(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - request_body = [ - "request_body_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.add_members_to_group(group_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->add_members_to_group: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.add_members_to_group(group_id, request_body=request_body) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->add_members_to_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **request_body** | **[str]**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **create_group** -> ReleaseGroup create_group() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from digitalai.release.v1.model.release_group import ReleaseGroup -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - release_group = ReleaseGroup( - id="id_example", - type="type_example", - metadata={ - "key": {}, - }, - title="title_example", - status=ReleaseGroupStatus("PLANNED"), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - risk_score=1, - release_ids=[ - "release_ids_example", - ], - progress=1, - folder_id="folder_id_example", - updatable=True, - ) # ReleaseGroup | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_group(release_group=release_group) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->create_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_group** | [**ReleaseGroup**](ReleaseGroup.md)| | [optional] - -### Return type - -[**ReleaseGroup**](ReleaseGroup.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_group** -> delete_group(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_group(group_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->delete_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_group** -> ReleaseGroup get_group(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from digitalai.release.v1.model.release_group import ReleaseGroup -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_group(group_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->get_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -[**ReleaseGroup**](ReleaseGroup.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_members** -> [str] get_members(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_members(group_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->get_members: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -**[str]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_release_group_timeline** -> ReleaseGroupTimeline get_release_group_timeline(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from digitalai.release.v1.model.release_group_timeline import ReleaseGroupTimeline -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_release_group_timeline(group_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->get_release_group_timeline: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -[**ReleaseGroupTimeline**](ReleaseGroupTimeline.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **remove_members_from_group** -> remove_members_from_group(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - request_body = [ - "request_body_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.remove_members_from_group(group_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->remove_members_from_group: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.remove_members_from_group(group_id, request_body=request_body) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->remove_members_from_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **request_body** | **[str]**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **search_groups** -> [ReleaseGroup] search_groups() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from digitalai.release.v1.model.release_group_filters import ReleaseGroupFilters -from digitalai.release.v1.model.release_group import ReleaseGroup -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - order_by = None # bool, date, datetime, dict, float, int, list, str, none_type | (optional) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - release_group_filters = ReleaseGroupFilters( - title="title_example", - folder_id="folder_id_example", - statuses=[ - ReleaseGroupStatus("PLANNED"), - ], - ) # ReleaseGroupFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_groups(order_by=order_by, page=page, results_per_page=results_per_page, release_group_filters=release_group_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->search_groups: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **order_by** | **bool, date, datetime, dict, float, int, list, str, none_type**| | [optional] - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **release_group_filters** | [**ReleaseGroupFilters**](ReleaseGroupFilters.md)| | [optional] - -### Return type - -[**[ReleaseGroup]**](ReleaseGroup.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_group** -> ReleaseGroup update_group(group_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import release_group_api -from digitalai.release.v1.model.release_group import ReleaseGroup -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = release_group_api.ReleaseGroupApi(api_client) - group_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseGroupQ" # str | - release_group = ReleaseGroup( - id="id_example", - type="type_example", - metadata={ - "key": {}, - }, - title="title_example", - status=ReleaseGroupStatus("PLANNED"), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - risk_score=1, - release_ids=[ - "release_ids_example", - ], - progress=1, - folder_id="folder_id_example", - updatable=True, - ) # ReleaseGroup | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_group(group_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->update_group: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_group(group_id, release_group=release_group) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReleaseGroupApi->update_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **release_group** | [**ReleaseGroup**](ReleaseGroup.md)| | [optional] - -### Return type - -[**ReleaseGroup**](ReleaseGroup.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ReleaseGroupFilters.md b/digitalai/release/v1/docs/ReleaseGroupFilters.md deleted file mode 100644 index d47abc8..0000000 --- a/digitalai/release/v1/docs/ReleaseGroupFilters.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReleaseGroupFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**statuses** | [**[ReleaseGroupStatus]**](ReleaseGroupStatus.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseGroupOrderMode.md b/digitalai/release/v1/docs/ReleaseGroupOrderMode.md deleted file mode 100644 index 797393a..0000000 --- a/digitalai/release/v1/docs/ReleaseGroupOrderMode.md +++ /dev/null @@ -1,11 +0,0 @@ -# ReleaseGroupOrderMode - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["RISK", "START_DATE", "END_DATE", ] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseGroupStatus.md b/digitalai/release/v1/docs/ReleaseGroupStatus.md deleted file mode 100644 index af79f4e..0000000 --- a/digitalai/release/v1/docs/ReleaseGroupStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# ReleaseGroupStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] - -[[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/digitalai/release/v1/docs/ReleaseGroupTimeline.md b/digitalai/release/v1/docs/ReleaseGroupTimeline.md deleted file mode 100644 index 9430fcd..0000000 --- a/digitalai/release/v1/docs/ReleaseGroupTimeline.md +++ /dev/null @@ -1,17 +0,0 @@ -# ReleaseGroupTimeline - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**risk_score** | **int** | | [optional] -**releases** | [**[ReleaseTimeline]**](ReleaseTimeline.md) | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [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/digitalai/release/v1/docs/ReleaseOrderDirection.md b/digitalai/release/v1/docs/ReleaseOrderDirection.md deleted file mode 100644 index 0ab7e12..0000000 --- a/digitalai/release/v1/docs/ReleaseOrderDirection.md +++ /dev/null @@ -1,11 +0,0 @@ -# ReleaseOrderDirection - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["ASC", "DESC", ] - -[[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/digitalai/release/v1/docs/ReleaseOrderMode.md b/digitalai/release/v1/docs/ReleaseOrderMode.md deleted file mode 100644 index 7ac4d3e..0000000 --- a/digitalai/release/v1/docs/ReleaseOrderMode.md +++ /dev/null @@ -1,11 +0,0 @@ -# ReleaseOrderMode - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["risk", "start_date", "end_date", "title", ] - -[[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/digitalai/release/v1/docs/ReleaseSearchResult.md b/digitalai/release/v1/docs/ReleaseSearchResult.md deleted file mode 100644 index 2b40415..0000000 --- a/digitalai/release/v1/docs/ReleaseSearchResult.md +++ /dev/null @@ -1,14 +0,0 @@ -# ReleaseSearchResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**page** | **int** | | [optional] -**size** | **int** | | [optional] -**releases** | [**[Release]**](Release.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseStatus.md b/digitalai/release/v1/docs/ReleaseStatus.md deleted file mode 100644 index 3208aaf..0000000 --- a/digitalai/release/v1/docs/ReleaseStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# ReleaseStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["TEMPLATE", "PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] - -[[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/digitalai/release/v1/docs/ReleaseTimeline.md b/digitalai/release/v1/docs/ReleaseTimeline.md deleted file mode 100644 index ccb9869..0000000 --- a/digitalai/release/v1/docs/ReleaseTimeline.md +++ /dev/null @@ -1,22 +0,0 @@ -# ReleaseTimeline - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_start_date** | **datetime** | | [optional] -**planned_end_date** | **datetime** | | [optional] -**phases** | [**[PhaseTimeline]**](PhaseTimeline.md) | | [optional] -**risk_score** | **int** | | [optional] -**status** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReleaseTrigger.md b/digitalai/release/v1/docs/ReleaseTrigger.md deleted file mode 100644 index aa56373..0000000 --- a/digitalai/release/v1/docs/ReleaseTrigger.md +++ /dev/null @@ -1,43 +0,0 @@ -# ReleaseTrigger - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**script** | **str** | | [optional] -**abort_script** | **str** | | [optional] -**ci_uid** | **int** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**enabled** | **bool** | | [optional] -**trigger_state** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**allow_parallel_execution** | **bool** | | [optional] -**last_run_date** | **datetime** | | [optional] -**last_run_status** | [**TriggerExecutionStatus**](TriggerExecutionStatus.md) | | [optional] -**poll_type** | [**PollType**](PollType.md) | | [optional] -**periodicity** | **str** | | [optional] -**initial_fire** | **bool** | | [optional] -**release_title** | **str** | | [optional] -**execution_id** | **str** | | [optional] -**variables** | [**[Variable]**](Variable.md) | | [optional] -**template** | **str** | | [optional] -**tags** | **[str]** | | [optional] -**release_folder** | **str** | | [optional] -**internal_properties** | **[str]** | | [optional] -**template_variables** | **{str: (str,)}** | | [optional] -**template_password_variables** | **{str: (str,)}** | | [optional] -**trigger_state_from_results** | **str** | | [optional] -**script_variable_names** | **[str]** | | [optional] -**script_variables_from_results** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**string_script_variable_values** | **{str: (str,)}** | | [optional] -**script_variable_values** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**variables_by_keys** | [**{str: (Variable,)}**](Variable.md) | | [optional] -**container_id** | **str** | | [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/digitalai/release/v1/docs/ReleasesFilters.md b/digitalai/release/v1/docs/ReleasesFilters.md deleted file mode 100644 index 53d6f9b..0000000 --- a/digitalai/release/v1/docs/ReleasesFilters.md +++ /dev/null @@ -1,36 +0,0 @@ -# ReleasesFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | [optional] -**tags** | **[str]** | | [optional] -**task_tags** | **[str]** | | [optional] -**time_frame** | [**TimeFrame**](TimeFrame.md) | | [optional] -**_from** | **datetime** | | [optional] -**to** | **datetime** | | [optional] -**active** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**in_progress** | **bool** | | [optional] -**paused** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**inactive** | **bool** | | [optional] -**completed** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**only_mine** | **bool** | | [optional] -**only_flagged** | **bool** | | [optional] -**only_archived** | **bool** | | [optional] -**parent_id** | **str** | | [optional] -**order_by** | [**ReleaseOrderMode**](ReleaseOrderMode.md) | | [optional] -**order_direction** | [**ReleaseOrderDirection**](ReleaseOrderDirection.md) | | [optional] -**risk_status_with_thresholds** | [**RiskStatusWithThresholds**](RiskStatusWithThresholds.md) | | [optional] -**query_start_date** | **datetime** | | [optional] -**query_end_date** | **datetime** | | [optional] -**statuses** | [**[ReleaseStatus]**](ReleaseStatus.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ReportApi.md b/digitalai/release/v1/docs/ReportApi.md deleted file mode 100644 index ed46ab9..0000000 --- a/digitalai/release/v1/docs/ReportApi.md +++ /dev/null @@ -1,348 +0,0 @@ -# digitalai.release.v1.ReportApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**download_release_report**](ReportApi.md#download_release_report) | **GET** /api/v1/reports/download/{reportType}/{releaseId} | -[**get_records_for_release**](ReportApi.md#get_records_for_release) | **GET** /api/v1/reports/records/{releaseId} | -[**get_records_for_task**](ReportApi.md#get_records_for_task) | **GET** /api/v1/reports/records/{taskId} | -[**search_records**](ReportApi.md#search_records) | **POST** /api/v1/reports/records/search | - - -# **download_release_report** -> download_release_report(release_id, report_type) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import report_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = report_api.ReportApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - report_type = "reportType_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.download_release_report(release_id, report_type) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReportApi->download_release_report: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **report_type** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_records_for_release** -> [TaskReportingRecord] get_records_for_release(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import report_api -from digitalai.release.v1.model.task_reporting_record import TaskReportingRecord -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = report_api.ReportApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_records_for_release(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReportApi->get_records_for_release: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - -### Return type - -[**[TaskReportingRecord]**](TaskReportingRecord.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_records_for_task** -> [TaskReportingRecord] get_records_for_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import report_api -from digitalai.release.v1.model.task_reporting_record import TaskReportingRecord -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = report_api.ReportApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_records_for_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReportApi->get_records_for_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -[**[TaskReportingRecord]**](TaskReportingRecord.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_records** -> [TaskReportingRecord] search_records() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import report_api -from digitalai.release.v1.model.facet_filters import FacetFilters -from digitalai.release.v1.model.task_reporting_record import TaskReportingRecord -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = report_api.ReportApi(api_client) - facet_filters = FacetFilters( - parent_id="parent_id_example", - target_id="target_id_example", - types=[ - None, - ], - ) # FacetFilters | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_records(facet_filters=facet_filters) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling ReportApi->search_records: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **facet_filters** | [**FacetFilters**](FacetFilters.md)| | [optional] - -### Return type - -[**[TaskReportingRecord]**](TaskReportingRecord.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/ReservationFilters.md b/digitalai/release/v1/docs/ReservationFilters.md deleted file mode 100644 index 31fb203..0000000 --- a/digitalai/release/v1/docs/ReservationFilters.md +++ /dev/null @@ -1,17 +0,0 @@ -# ReservationFilters - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**environment_title** | **str** | | [optional] -**stages** | **[str]** | | [optional] -**labels** | **[str]** | | [optional] -**applications** | **[str]** | | [optional] -**_from** | **datetime** | | [optional] -**to** | **datetime** | | [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/digitalai/release/v1/docs/ReservationSearchView.md b/digitalai/release/v1/docs/ReservationSearchView.md deleted file mode 100644 index 83a034e..0000000 --- a/digitalai/release/v1/docs/ReservationSearchView.md +++ /dev/null @@ -1,16 +0,0 @@ -# ReservationSearchView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**note** | **str** | | [optional] -**applications** | [**[BaseApplicationView]**](BaseApplicationView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/Risk.md b/digitalai/release/v1/docs/Risk.md deleted file mode 100644 index c4356ce..0000000 --- a/digitalai/release/v1/docs/Risk.md +++ /dev/null @@ -1,17 +0,0 @@ -# Risk - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**score** | **int** | | [optional] -**total_score** | **int** | | [optional] -**risk_assessments** | [**[RiskAssessment]**](RiskAssessment.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/RiskApi.md b/digitalai/release/v1/docs/RiskApi.md deleted file mode 100644 index 0abd281..0000000 --- a/digitalai/release/v1/docs/RiskApi.md +++ /dev/null @@ -1,861 +0,0 @@ -# digitalai.release.v1.RiskApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**copy_risk_profile**](RiskApi.md#copy_risk_profile) | **POST** /api/v1/risks/profiles/{riskProfileId}/copy | -[**create_risk_profile**](RiskApi.md#create_risk_profile) | **POST** /api/v1/risks/profiles | -[**delete_risk_profile**](RiskApi.md#delete_risk_profile) | **DELETE** /api/v1/risks/profiles/{riskProfileId} | -[**get_all_risk_assessors**](RiskApi.md#get_all_risk_assessors) | **GET** /api/v1/risks/assessors | -[**get_risk**](RiskApi.md#get_risk) | **GET** /api/v1/risks/{riskId} | -[**get_risk_global_thresholds**](RiskApi.md#get_risk_global_thresholds) | **GET** /api/v1/risks/config | -[**get_risk_profile**](RiskApi.md#get_risk_profile) | **GET** /api/v1/risks/profiles/{riskProfileId} | -[**get_risk_profiles**](RiskApi.md#get_risk_profiles) | **GET** /api/v1/risks/profiles | -[**update_risk_global_thresholds**](RiskApi.md#update_risk_global_thresholds) | **PUT** /api/v1/risks/config | -[**update_risk_profile**](RiskApi.md#update_risk_profile) | **PUT** /api/v1/risks/profiles/{riskProfileId} | - - -# **copy_risk_profile** -> RiskProfile copy_risk_profile(risk_profile_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_profile import RiskProfile -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_profile_id = "jUR,rZ#UM/?R,Fp^l6$ARj/RiskProfileQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.copy_risk_profile(risk_profile_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->copy_risk_profile: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_profile_id** | **str**| | - -### Return type - -[**RiskProfile**](RiskProfile.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_risk_profile** -> RiskProfile create_risk_profile() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_profile import RiskProfile -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_profile = RiskProfile( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - default_profile=True, - risk_profile_assessors={ - "key": "key_example", - }, - ) # RiskProfile | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_risk_profile(risk_profile=risk_profile) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->create_risk_profile: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_profile** | [**RiskProfile**](RiskProfile.md)| | [optional] - -### Return type - -[**RiskProfile**](RiskProfile.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_risk_profile** -> delete_risk_profile(risk_profile_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_profile_id = "jUR,rZ#UM/?R,Fp^l6$ARj/RiskProfileQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_risk_profile(risk_profile_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->delete_risk_profile: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_profile_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_all_risk_assessors** -> [RiskAssessor] get_all_risk_assessors() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_assessor import RiskAssessor -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_all_risk_assessors() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->get_all_risk_assessors: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**[RiskAssessor]**](RiskAssessor.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_risk** -> Risk get_risk(risk_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk import Risk -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_id = "jUR,rZ#UM/?R,Fp^l6$ARj/Ris" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_risk(risk_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->get_risk: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_id** | **str**| | - -### Return type - -[**Risk**](Risk.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_risk_global_thresholds** -> RiskGlobalThresholds get_risk_global_thresholds() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_global_thresholds import RiskGlobalThresholds -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_risk_global_thresholds() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->get_risk_global_thresholds: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**RiskGlobalThresholds**](RiskGlobalThresholds.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_risk_profile** -> RiskProfile get_risk_profile(risk_profile_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_profile import RiskProfile -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_profile_id = "ne" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_risk_profile(risk_profile_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->get_risk_profile: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_profile_id** | **str**| | - -### Return type - -[**RiskProfile**](RiskProfile.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_risk_profiles** -> [RiskProfile] get_risk_profiles() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_profile import RiskProfile -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_risk_profiles() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->get_risk_profiles: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**[RiskProfile]**](RiskProfile.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_risk_global_thresholds** -> RiskGlobalThresholds update_risk_global_thresholds() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_global_thresholds import RiskGlobalThresholds -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_global_thresholds = RiskGlobalThresholds( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - at_risk_from=1, - attention_needed_from=1, - ) # RiskGlobalThresholds | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_risk_global_thresholds(risk_global_thresholds=risk_global_thresholds) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->update_risk_global_thresholds: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_global_thresholds** | [**RiskGlobalThresholds**](RiskGlobalThresholds.md)| | [optional] - -### Return type - -[**RiskGlobalThresholds**](RiskGlobalThresholds.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_risk_profile** -> RiskProfile update_risk_profile(risk_profile_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_api -from digitalai.release.v1.model.risk_profile import RiskProfile -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_api.RiskApi(api_client) - risk_profile_id = "jUR,rZ#UM/?R,Fp^l6$ARj/RiskProfileQ" # str | - risk_profile = RiskProfile( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - default_profile=True, - risk_profile_assessors={ - "key": "key_example", - }, - ) # RiskProfile | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_risk_profile(risk_profile_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->update_risk_profile: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_risk_profile(risk_profile_id, risk_profile=risk_profile) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskApi->update_risk_profile: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_profile_id** | **str**| | - **risk_profile** | [**RiskProfile**](RiskProfile.md)| | [optional] - -### Return type - -[**RiskProfile**](RiskProfile.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/RiskAssessment.md b/digitalai/release/v1/docs/RiskAssessment.md deleted file mode 100644 index d962cef..0000000 --- a/digitalai/release/v1/docs/RiskAssessment.md +++ /dev/null @@ -1,20 +0,0 @@ -# RiskAssessment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**risk_assessor_id** | **str** | | [optional] -**risk** | [**Risk**](Risk.md) | | [optional] -**score** | **int** | | [optional] -**headline** | **str** | | [optional] -**messages** | **[str]** | | [optional] -**icon** | **str** | | [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/digitalai/release/v1/docs/RiskAssessmentApi.md b/digitalai/release/v1/docs/RiskAssessmentApi.md deleted file mode 100644 index be46a4b..0000000 --- a/digitalai/release/v1/docs/RiskAssessmentApi.md +++ /dev/null @@ -1,91 +0,0 @@ -# digitalai.release.v1.RiskAssessmentApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_assessment**](RiskAssessmentApi.md#get_assessment) | **GET** /api/v1/risks/assessments/{riskAssessmentId} | - - -# **get_assessment** -> RiskAssessment get_assessment(risk_assessment_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import risk_assessment_api -from digitalai.release.v1.model.risk_assessment import RiskAssessment -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = risk_assessment_api.RiskAssessmentApi(api_client) - risk_assessment_id = "jUR,rZ#UM/?R,Fp^l6$ARjRiskAssessment^" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_assessment(risk_assessment_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RiskAssessmentApi->get_assessment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **risk_assessment_id** | **str**| | - -### Return type - -[**RiskAssessment**](RiskAssessment.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/RiskAssessor.md b/digitalai/release/v1/docs/RiskAssessor.md deleted file mode 100644 index 604dc9f..0000000 --- a/digitalai/release/v1/docs/RiskAssessor.md +++ /dev/null @@ -1,20 +0,0 @@ -# RiskAssessor - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**weight** | **int** | | [optional] -**score** | **int** | | [optional] -**order** | **str** | | [optional] -**group** | **str** | | [optional] -**icon** | **str** | | [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/digitalai/release/v1/docs/RiskGlobalThresholds.md b/digitalai/release/v1/docs/RiskGlobalThresholds.md deleted file mode 100644 index 29eaa90..0000000 --- a/digitalai/release/v1/docs/RiskGlobalThresholds.md +++ /dev/null @@ -1,17 +0,0 @@ -# RiskGlobalThresholds - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**title** | **str** | | [optional] -**at_risk_from** | **int** | | [optional] -**attention_needed_from** | **int** | | [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/digitalai/release/v1/docs/RiskProfile.md b/digitalai/release/v1/docs/RiskProfile.md deleted file mode 100644 index 8c26cc4..0000000 --- a/digitalai/release/v1/docs/RiskProfile.md +++ /dev/null @@ -1,17 +0,0 @@ -# RiskProfile - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**title** | **str** | | [optional] -**default_profile** | **bool** | | [optional] -**risk_profile_assessors** | **{str: (str,)}** | | [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/digitalai/release/v1/docs/RiskStatus.md b/digitalai/release/v1/docs/RiskStatus.md deleted file mode 100644 index b75d763..0000000 --- a/digitalai/release/v1/docs/RiskStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# RiskStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["OK", "AT_RISK", "ATTENTION_NEEDED", ] - -[[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/digitalai/release/v1/docs/RiskStatusWithThresholds.md b/digitalai/release/v1/docs/RiskStatusWithThresholds.md deleted file mode 100644 index 51c123b..0000000 --- a/digitalai/release/v1/docs/RiskStatusWithThresholds.md +++ /dev/null @@ -1,14 +0,0 @@ -# RiskStatusWithThresholds - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**risk_status** | [**RiskStatus**](RiskStatus.md) | | [optional] -**attention_needed_from** | **int** | | [optional] -**at_risk_from** | **int** | | [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/digitalai/release/v1/docs/RoleView.md b/digitalai/release/v1/docs/RoleView.md deleted file mode 100644 index a56b0a2..0000000 --- a/digitalai/release/v1/docs/RoleView.md +++ /dev/null @@ -1,15 +0,0 @@ -# RoleView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**id** | **str** | | [optional] -**permissions** | **[str]** | | [optional] -**principals** | [**[PrincipalView]**](PrincipalView.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/RolesApi.md b/digitalai/release/v1/docs/RolesApi.md deleted file mode 100644 index a56422e..0000000 --- a/digitalai/release/v1/docs/RolesApi.md +++ /dev/null @@ -1,748 +0,0 @@ -# digitalai.release.v1.RolesApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_roles**](RolesApi.md#create_roles) | **POST** /api/v1/roles | -[**create_roles1**](RolesApi.md#create_roles1) | **POST** /api/v1/roles/{roleName} | -[**delete_roles**](RolesApi.md#delete_roles) | **DELETE** /api/v1/roles/{roleName} | -[**get_role**](RolesApi.md#get_role) | **GET** /api/v1/roles/{roleName} | -[**get_roles**](RolesApi.md#get_roles) | **GET** /api/v1/roles | -[**rename_roles**](RolesApi.md#rename_roles) | **POST** /api/v1/roles/{roleName}/rename | -[**update_roles**](RolesApi.md#update_roles) | **PUT** /api/v1/roles | -[**update_roles1**](RolesApi.md#update_roles1) | **PUT** /api/v1/roles/{roleName} | - - -# **create_roles** -> create_roles() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_view = [ - RoleView( - name="name_example", - id="id_example", - permissions=[ - "permissions_example", - ], - principals=[ - PrincipalView( - username="username_example", - fullname="fullname_example", - ), - ], - ), - ] # [RoleView] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.create_roles(role_view=role_view) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->create_roles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_view** | [**[RoleView]**](RoleView.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **create_roles1** -> create_roles1(role_name) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_name = "jUR,rZ#UM/?R,Fp^l6$ARjQ" # str | - role_view = RoleView( - name="name_example", - id="id_example", - permissions=[ - "permissions_example", - ], - principals=[ - PrincipalView( - username="username_example", - fullname="fullname_example", - ), - ], - ) # RoleView | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.create_roles1(role_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->create_roles1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.create_roles1(role_name, role_view=role_view) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->create_roles1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_name** | **str**| | - **role_view** | [**RoleView**](RoleView.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **delete_roles** -> delete_roles(role_name) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_name = "jUR,rZ#UM/?R,Fp^l6$ARjQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_roles(role_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->delete_roles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_name** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **get_role** -> RoleView get_role(role_name) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_name = "jUR,rZ#UM/?R,Fp^l6$ARjQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_role(role_name) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->get_role: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_name** | **str**| | - -### Return type - -[**RoleView**](RoleView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_roles** -> [RoleView] get_roles() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_roles(page=page, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->get_roles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**[RoleView]**](RoleView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **rename_roles** -> rename_roles(role_name) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_name = "jUR,rZ#UM/?R,Fp^l6$ARjQ" # str | - new_name = "newName_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.rename_roles(role_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->rename_roles: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.rename_roles(role_name, new_name=new_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->rename_roles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_name** | **str**| | - **new_name** | **str**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **update_roles** -> update_roles() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_view = [ - RoleView( - name="name_example", - id="id_example", - permissions=[ - "permissions_example", - ], - principals=[ - PrincipalView( - username="username_example", - fullname="fullname_example", - ), - ], - ), - ] # [RoleView] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.update_roles(role_view=role_view) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->update_roles: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_view** | [**[RoleView]**](RoleView.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **update_roles1** -> update_roles1(role_name) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import roles_api -from digitalai.release.v1.model.role_view import RoleView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = roles_api.RolesApi(api_client) - role_name = "jUR,rZ#UM/?R,Fp^l6$ARjQ" # str | - role_view = RoleView( - name="name_example", - id="id_example", - permissions=[ - "permissions_example", - ], - principals=[ - PrincipalView( - username="username_example", - fullname="fullname_example", - ), - ], - ) # RoleView | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.update_roles1(role_name) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->update_roles1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.update_roles1(role_name, role_view=role_view) - except digitalai.release.v1.ApiException as e: - print("Exception when calling RolesApi->update_roles1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **role_name** | **str**| | - **role_view** | [**RoleView**](RoleView.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/SharedConfigurationStatusResponse.md b/digitalai/release/v1/docs/SharedConfigurationStatusResponse.md deleted file mode 100644 index 29a2134..0000000 --- a/digitalai/release/v1/docs/SharedConfigurationStatusResponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# SharedConfigurationStatusResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**success** | **bool** | | [optional] -**error_text** | **str** | | [optional] -**script_found** | **bool** | | [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/digitalai/release/v1/docs/Stage.md b/digitalai/release/v1/docs/Stage.md deleted file mode 100644 index a223131..0000000 --- a/digitalai/release/v1/docs/Stage.md +++ /dev/null @@ -1,21 +0,0 @@ -# Stage - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**status** | [**StageStatus**](StageStatus.md) | | [optional] -**items** | [**[StageTrackedItem]**](StageTrackedItem.md) | | [optional] -**transition** | [**Transition**](Transition.md) | | [optional] -**owner** | **str** | | [optional] -**team** | **str** | | [optional] -**open** | **bool** | | [optional] -**closed** | **bool** | | [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/digitalai/release/v1/docs/StageStatus.md b/digitalai/release/v1/docs/StageStatus.md deleted file mode 100644 index 300efb8..0000000 --- a/digitalai/release/v1/docs/StageStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# StageStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["OPEN", "CLOSED", ] - -[[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/digitalai/release/v1/docs/StageTrackedItem.md b/digitalai/release/v1/docs/StageTrackedItem.md deleted file mode 100644 index 4d8e8c3..0000000 --- a/digitalai/release/v1/docs/StageTrackedItem.md +++ /dev/null @@ -1,14 +0,0 @@ -# StageTrackedItem - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tracked_item_id** | **str** | | [optional] -**status** | [**TrackedItemStatus**](TrackedItemStatus.md) | | [optional] -**release_ids** | **[str]** | | [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/digitalai/release/v1/docs/StartRelease.md b/digitalai/release/v1/docs/StartRelease.md deleted file mode 100644 index 99b5a37..0000000 --- a/digitalai/release/v1/docs/StartRelease.md +++ /dev/null @@ -1,20 +0,0 @@ -# StartRelease - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**release_title** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**variables** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] -**release_variables** | **{str: (str,)}** | | [optional] -**release_password_variables** | **{str: (str,)}** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**auto_start** | **bool** | | [optional] -**started_from_task_id** | **str** | | [optional] -**release_owner** | **str** | | [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/digitalai/release/v1/docs/StartTask.md b/digitalai/release/v1/docs/StartTask.md deleted file mode 100644 index d8eb69f..0000000 --- a/digitalai/release/v1/docs/StartTask.md +++ /dev/null @@ -1,12 +0,0 @@ -# StartTask - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**variables** | [**[Variable]**](Variable.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/Subscriber.md b/digitalai/release/v1/docs/Subscriber.md deleted file mode 100644 index 8c70dbf..0000000 --- a/digitalai/release/v1/docs/Subscriber.md +++ /dev/null @@ -1,14 +0,0 @@ -# Subscriber - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**source_id** | **str** | | [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/digitalai/release/v1/docs/SystemMessageSettings.md b/digitalai/release/v1/docs/SystemMessageSettings.md deleted file mode 100644 index f12c393..0000000 --- a/digitalai/release/v1/docs/SystemMessageSettings.md +++ /dev/null @@ -1,19 +0,0 @@ -# SystemMessageSettings - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**enabled** | **bool** | | [optional] -**message** | **str** | | [optional] -**automated** | **bool** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [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/digitalai/release/v1/docs/Task.md b/digitalai/release/v1/docs/Task.md deleted file mode 100644 index 17badd1..0000000 --- a/digitalai/release/v1/docs/Task.md +++ /dev/null @@ -1,106 +0,0 @@ -# Task - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**overdue** | **bool** | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**release_uid** | **int** | | [optional] -**ci_uid** | **int** | | [optional] -**comments** | [**[Comment]**](Comment.md) | | [optional] -**container** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**facets** | [**[Facet]**](Facet.md) | | [optional] -**attachments** | [**[Attachment]**](Attachment.md) | | [optional] -**status** | [**TaskStatus**](TaskStatus.md) | | [optional] -**team** | **str** | | [optional] -**watchers** | **[str]** | | [optional] -**wait_for_scheduled_start_date** | **bool** | | [optional] -**delay_during_blackout** | **bool** | | [optional] -**postponed_due_to_blackout** | **bool** | | [optional] -**postponed_until_environments_are_reserved** | **bool** | | [optional] -**original_scheduled_start_date** | **datetime** | | [optional] -**has_been_flagged** | **bool** | | [optional] -**has_been_delayed** | **bool** | | [optional] -**precondition** | **str** | | [optional] -**failure_handler** | **str** | | [optional] -**task_failure_handler_enabled** | **bool** | | [optional] -**task_recover_op** | [**TaskRecoverOp**](TaskRecoverOp.md) | | [optional] -**failures_count** | **int** | | [optional] -**execution_id** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**external_variable_mapping** | **{str: (str,)}** | | [optional] -**max_comment_size** | **int** | | [optional] -**tags** | **[str]** | | [optional] -**configuration_uri** | **str** | | [optional] -**due_soon_notified** | **bool** | | [optional] -**locked** | **bool** | | [optional] -**check_attributes** | **bool** | | [optional] -**abort_script** | **str** | | [optional] -**phase** | [**Phase**](Phase.md) | | [optional] -**blackout_metadata** | [**BlackoutMetadata**](BlackoutMetadata.md) | | [optional] -**flagged_count** | **int** | | [optional] -**delayed_count** | **int** | | [optional] -**done** | **bool** | | [optional] -**done_in_advance** | **bool** | | [optional] -**defunct** | **bool** | | [optional] -**updatable** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**not_yet_reached** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**active** | **bool** | | [optional] -**in_progress** | **bool** | | [optional] -**pending** | **bool** | | [optional] -**waiting_for_input** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**completed_in_advance** | **bool** | | [optional] -**skipped** | **bool** | | [optional] -**skipped_in_advance** | **bool** | | [optional] -**precondition_in_progress** | **bool** | | [optional] -**failure_handler_in_progress** | **bool** | | [optional] -**abort_script_in_progress** | **bool** | | [optional] -**facet_in_progress** | **bool** | | [optional] -**movable** | **bool** | | [optional] -**gate** | **bool** | | [optional] -**task_group** | **bool** | | [optional] -**parallel_group** | **bool** | | [optional] -**precondition_enabled** | **bool** | | [optional] -**failure_handler_enabled** | **bool** | | [optional] -**release** | [**Release**](Release.md) | | [optional] -**display_path** | **str** | | [optional] -**release_owner** | **str** | | [optional] -**all_tasks** | [**[Task]**](Task.md) | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**input_variables** | [**[Variable]**](Variable.md) | | [optional] -**referenced_variables** | [**[Variable]**](Variable.md) | | [optional] -**unbound_required_variables** | **[str]** | | [optional] -**automated** | **bool** | | [optional] -**task_type** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**due_soon** | **bool** | | [optional] -**elapsed_duration_fraction** | **float** | | [optional] -**url** | **str** | | [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/digitalai/release/v1/docs/TaskApi.md b/digitalai/release/v1/docs/TaskApi.md deleted file mode 100644 index c2d2fe4..0000000 --- a/digitalai/release/v1/docs/TaskApi.md +++ /dev/null @@ -1,23282 +0,0 @@ -# digitalai.release.v1.TaskApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**abort_task**](TaskApi.md#abort_task) | **POST** /api/v1/tasks/{taskId}/abort | -[**add_attachments**](TaskApi.md#add_attachments) | **POST** /api/v1/tasks/{taskId}/attachments | -[**add_condition**](TaskApi.md#add_condition) | **POST** /api/v1/tasks/{taskId}/conditions | -[**add_dependency**](TaskApi.md#add_dependency) | **POST** /api/v1/tasks/{taskId}/dependencies/{targetId} | -[**add_task_task**](TaskApi.md#add_task_task) | **POST** /api/v1/tasks/{containerId}/tasks | -[**assign_task**](TaskApi.md#assign_task) | **POST** /api/v1/tasks/{taskId}/assign/{username} | -[**change_task_type**](TaskApi.md#change_task_type) | **POST** /api/v1/tasks/{taskId}/changeType | -[**comment_task**](TaskApi.md#comment_task) | **POST** /api/v1/tasks/{taskId}/comment | -[**complete_task**](TaskApi.md#complete_task) | **POST** /api/v1/tasks/{taskId}/complete | -[**copy_task**](TaskApi.md#copy_task) | **POST** /api/v1/tasks/{taskId}/copy | -[**delete_attachment**](TaskApi.md#delete_attachment) | **DELETE** /api/v1/tasks/{taskId}/attachments/{attachmentId} | -[**delete_condition**](TaskApi.md#delete_condition) | **DELETE** /api/v1/tasks/{conditionId} | -[**delete_dependency**](TaskApi.md#delete_dependency) | **DELETE** /api/v1/tasks/{dependencyId} | -[**delete_task**](TaskApi.md#delete_task) | **DELETE** /api/v1/tasks/{taskId} | -[**fail_task**](TaskApi.md#fail_task) | **POST** /api/v1/tasks/{taskId}/fail | -[**get_task**](TaskApi.md#get_task) | **GET** /api/v1/tasks/{taskId} | -[**get_task_variables**](TaskApi.md#get_task_variables) | **GET** /api/v1/tasks/{taskId}/variables | -[**lock_task**](TaskApi.md#lock_task) | **PUT** /api/v1/tasks/{taskId}/lock | -[**reopen_task**](TaskApi.md#reopen_task) | **POST** /api/v1/tasks/{taskId}/reopen | -[**retry_task**](TaskApi.md#retry_task) | **POST** /api/v1/tasks/{taskId}/retry | -[**search_tasks_by_title**](TaskApi.md#search_tasks_by_title) | **GET** /api/v1/tasks/byTitle | -[**skip_task**](TaskApi.md#skip_task) | **POST** /api/v1/tasks/{taskId}/skip | -[**start_task**](TaskApi.md#start_task) | **POST** /api/v1/tasks/{taskId}/start | -[**start_task1**](TaskApi.md#start_task1) | **POST** /api/v1/tasks/{taskId}/startNow | -[**unlock_task**](TaskApi.md#unlock_task) | **DELETE** /api/v1/tasks/{taskId}/lock | -[**update_condition**](TaskApi.md#update_condition) | **POST** /api/v1/tasks/{conditionId} | -[**update_input_variables**](TaskApi.md#update_input_variables) | **PUT** /api/v1/tasks/{taskId}/variables | -[**update_task**](TaskApi.md#update_task) | **PUT** /api/v1/tasks/{taskId} | - - -# **abort_task** -> Task abort_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.abort_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->abort_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.abort_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->abort_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_attachments** -> [Attachment] add_attachments(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.attachment import Attachment -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_attachments(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_attachments: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -[**[Attachment]**](Attachment.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_condition** -> GateCondition add_condition(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.gate_condition import GateCondition -from digitalai.release.v1.model.condition1 import Condition1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - condition1 = Condition1( - title="title_example", - checked=True, - ) # Condition1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_condition(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_condition: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_condition(task_id, condition1=condition1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_condition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **condition1** | [**Condition1**](Condition1.md)| | [optional] - -### Return type - -[**GateCondition**](GateCondition.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_dependency** -> Dependency add_dependency(target_id, task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.dependency import Dependency -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - target_id = "jUR,rZ#UM/?R,Fp^l6$ARj" # str | - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_dependency(target_id, task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_dependency: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **target_id** | **str**| | - **task_id** | **str**| | - -### Return type - -[**Dependency**](Dependency.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **add_task_task** -> Task add_task_task(container_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - container_id = "jUR,rZ#UM/?R,Fp^l6$ARj" # str | - task = Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem(), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem(), - ], - all_plan_items=[ - PlanItem(), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ) # Task | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.add_task_task(container_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_task_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_task_task(container_id, task=task) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->add_task_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **container_id** | **str**| | - **task** | [**Task**](Task.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **assign_task** -> Task assign_task(task_id, username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - username = "jUR,rZ#UM/?R,Fp^l6$ARj" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.assign_task(task_id, username) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->assign_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **username** | **str**| | - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **change_task_type** -> Task change_task_type(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - target_type = "targetType_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.change_task_type(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->change_task_type: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.change_task_type(task_id, target_type=target_type) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->change_task_type: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **target_type** | **str**| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **comment_task** -> Task comment_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.comment_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->comment_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.comment_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->comment_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **complete_task** -> Task complete_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.complete_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->complete_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.complete_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->complete_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **copy_task** -> Task copy_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - target_container_id = "targetContainerId_example" # str | (optional) - target_position = 1 # int | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.copy_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->copy_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.copy_task(task_id, target_container_id=target_container_id, target_position=target_position) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->copy_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **target_container_id** | **str**| | [optional] - **target_position** | **int**| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_attachment** -> delete_attachment(attachment_id, task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - attachment_id = "jUR,rZ#UM/?R,Fp^l6$ARj/AttachmentQ" # str | - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_attachment(attachment_id, task_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->delete_attachment: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **attachment_id** | **str**| | - **task_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_condition** -> delete_condition(condition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - condition_id = "jUR,rZ#UM/?R,Fp^l6$ARj/GateCondition*&6`$cClu+k& &su[-lzF6V+V6rEtCO?%28nxs"k8z(!\6\$TMxo:,sWVoim9gsbE`buHkrTt{" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_condition(condition_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->delete_condition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **condition_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_dependency** -> delete_dependency(dependency_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - dependency_id = "jUR,rZ#UM/?R,Fp^l6$ARj/DependencyQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_dependency(dependency_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->delete_dependency: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **dependency_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_task** -> delete_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_task(task_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->delete_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **fail_task** -> Task fail_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.fail_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->fail_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.fail_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->fail_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_task** -> Task get_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->get_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_task_variables** -> [Variable] get_task_variables(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_task_variables(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->get_task_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **lock_task** -> lock_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.lock_task(task_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->lock_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **reopen_task** -> Task reopen_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.reopen_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->reopen_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.reopen_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->reopen_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **retry_task** -> Task retry_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.retry_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->retry_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.retry_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->retry_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **search_tasks_by_title** -> [Task] search_tasks_by_title() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - phase_title = "phaseTitle_example" # str | (optional) - release_id = "releaseId_example" # str | (optional) - task_title = "taskTitle_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_tasks_by_title(phase_title=phase_title, release_id=release_id, task_title=task_title) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->search_tasks_by_title: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **phase_title** | **str**| | [optional] - **release_id** | **str**| | [optional] - **task_title** | **str**| | [optional] - -### Return type - -[**[Task]**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **skip_task** -> Task skip_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.skip_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->skip_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.skip_task(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->skip_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **start_task** -> Task start_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.start_task import StartTask -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - start_task = StartTask( - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - ) # StartTask | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.start_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->start_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.start_task(task_id, start_task=start_task) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->start_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **start_task** | [**StartTask**](StartTask.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **start_task1** -> Task start_task1(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - comment1 = Comment1( - comment="comment_example", - ) # Comment1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.start_task1(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->start_task1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.start_task1(task_id, comment1=comment1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->start_task1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **comment1** | [**Comment1**](Comment1.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **unlock_task** -> unlock_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.unlock_task(task_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->unlock_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **update_condition** -> GateCondition update_condition(condition_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.gate_condition import GateCondition -from digitalai.release.v1.model.condition1 import Condition1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - condition_id = "jUR,rZ#UM/?R,Fp^l6$ARj/GateConditionQ" # str | - condition1 = Condition1( - title="title_example", - checked=True, - ) # Condition1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_condition(condition_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_condition: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_condition(condition_id, condition1=condition1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_condition: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **condition_id** | **str**| | - **condition1** | [**Condition1**](Condition1.md)| | [optional] - -### Return type - -[**GateCondition**](GateCondition.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_input_variables** -> [Variable] update_input_variables(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - variable = [ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ] # [Variable] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_input_variables(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_input_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_input_variables(task_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_input_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **variable** | [**[Variable]**](Variable.md)| | [optional] - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_task** -> Task update_task(task_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import task_api -from digitalai.release.v1.model.task import Task -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = task_api.TaskApi(api_client) - task_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TaskQ" # str | - task = Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem(), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem(), - ], - all_plan_items=[ - PlanItem(), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase(), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase(), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task(), - all_tasks=[ - Task(), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem(), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[], - all_plan_items=[], - url="url_example", - active_tasks=[ - Task(), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ) # Task | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_task(task_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_task: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_task(task_id, task=task) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TaskApi->update_task: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **task_id** | **str**| | - **task** | [**Task**](Task.md)| | [optional] - -### Return type - -[**Task**](Task.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/TaskContainer.md b/digitalai/release/v1/docs/TaskContainer.md deleted file mode 100644 index 92efc95..0000000 --- a/digitalai/release/v1/docs/TaskContainer.md +++ /dev/null @@ -1,16 +0,0 @@ -# TaskContainer - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**tasks** | [**[Task]**](Task.md) | | [optional] -**locked** | **bool** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/TaskRecoverOp.md b/digitalai/release/v1/docs/TaskRecoverOp.md deleted file mode 100644 index e36cdeb..0000000 --- a/digitalai/release/v1/docs/TaskRecoverOp.md +++ /dev/null @@ -1,11 +0,0 @@ -# TaskRecoverOp - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["SKIP_TASK", "RESTART_PHASE", "RUN_SCRIPT", ] - -[[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/digitalai/release/v1/docs/TaskReportingRecord.md b/digitalai/release/v1/docs/TaskReportingRecord.md deleted file mode 100644 index 006cd53..0000000 --- a/digitalai/release/v1/docs/TaskReportingRecord.md +++ /dev/null @@ -1,24 +0,0 @@ -# TaskReportingRecord - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scope** | [**FacetScope**](FacetScope.md) | | [optional] -**target_id** | **str** | | [optional] -**configuration_uri** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**properties_with_variables** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] -**server_url** | **str** | | [optional] -**server_user** | **str** | | [optional] -**creation_date** | **datetime** | | [optional] -**retry_attempt_number** | **int** | | [optional] -**created_via_api** | **bool** | | [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/digitalai/release/v1/docs/TaskStatus.md b/digitalai/release/v1/docs/TaskStatus.md deleted file mode 100644 index f1181f7..0000000 --- a/digitalai/release/v1/docs/TaskStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# TaskStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["PLANNED", "PENDING", "IN_PROGRESS", "QUEUED", "ABORT_SCRIPT_QUEUED", "FAILURE_HANDLER_QUEUED", "COMPLETED", "COMPLETED_IN_ADVANCE", "SKIPPED", "SKIPPED_IN_ADVANCE", "FAILED", "FAILING", "ABORTED", "PRECONDITION_IN_PROGRESS", "WAITING_FOR_INPUT", "FAILURE_HANDLER_IN_PROGRESS", "FACET_CHECK_IN_PROGRESS", "ABORT_SCRIPT_IN_PROGRESS", ] - -[[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/digitalai/release/v1/docs/Team.md b/digitalai/release/v1/docs/Team.md deleted file mode 100644 index 9c40d09..0000000 --- a/digitalai/release/v1/docs/Team.md +++ /dev/null @@ -1,22 +0,0 @@ -# Team - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**team_name** | **str** | | [optional] -**members** | **[str]** | | [optional] -**roles** | **[str]** | | [optional] -**permissions** | **[str]** | | [optional] -**release_admin_team** | **bool** | | [optional] -**template_owner_team** | **bool** | | [optional] -**folder_owner_team** | **bool** | | [optional] -**folder_admin_team** | **bool** | | [optional] -**system_team** | **bool** | | [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/digitalai/release/v1/docs/TeamMemberView.md b/digitalai/release/v1/docs/TeamMemberView.md deleted file mode 100644 index e3a3a1b..0000000 --- a/digitalai/release/v1/docs/TeamMemberView.md +++ /dev/null @@ -1,15 +0,0 @@ -# TeamMemberView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | [optional] -**full_name** | **str** | | [optional] -**type** | [**MemberType**](MemberType.md) | | [optional] -**role_id** | **str** | | [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/digitalai/release/v1/docs/TeamView.md b/digitalai/release/v1/docs/TeamView.md deleted file mode 100644 index 65bd026..0000000 --- a/digitalai/release/v1/docs/TeamView.md +++ /dev/null @@ -1,16 +0,0 @@ -# TeamView - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**team_name** | **str** | | [optional] -**members** | [**[TeamMemberView]**](TeamMemberView.md) | | [optional] -**permissions** | **[str]** | | [optional] -**system_team** | **bool** | | [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/digitalai/release/v1/docs/TemplateApi.md b/digitalai/release/v1/docs/TemplateApi.md deleted file mode 100644 index 0734760..0000000 --- a/digitalai/release/v1/docs/TemplateApi.md +++ /dev/null @@ -1,29279 +0,0 @@ -# digitalai.release.v1.TemplateApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**copy_template**](TemplateApi.md#copy_template) | **POST** /api/v1/templates/{templateId}/copy | -[**create_template**](TemplateApi.md#create_template) | **POST** /api/v1/templates | -[**create_template1**](TemplateApi.md#create_template1) | **POST** /api/v1/templates/{templateId}/create | -[**create_template_variable**](TemplateApi.md#create_template_variable) | **POST** /api/v1/templates/{templateId}/variables | -[**delete_template**](TemplateApi.md#delete_template) | **DELETE** /api/v1/templates/{templateId} | -[**delete_template_variable**](TemplateApi.md#delete_template_variable) | **DELETE** /api/v1/templates/{variableId} | -[**export_template_to_zip**](TemplateApi.md#export_template_to_zip) | **GET** /api/v1/templates/zip/{templateId} | -[**get_possible_template_variable_values**](TemplateApi.md#get_possible_template_variable_values) | **GET** /api/v1/templates/{variableId}/possibleValues | -[**get_template**](TemplateApi.md#get_template) | **GET** /api/v1/templates/{templateId} | -[**get_template_permissions**](TemplateApi.md#get_template_permissions) | **GET** /api/v1/templates/permissions | -[**get_template_teams**](TemplateApi.md#get_template_teams) | **GET** /api/v1/templates/{templateId}/teams | -[**get_template_variable**](TemplateApi.md#get_template_variable) | **GET** /api/v1/templates/{variableId} | -[**get_template_variables**](TemplateApi.md#get_template_variables) | **GET** /api/v1/templates/{templateId}/variables | -[**get_templates**](TemplateApi.md#get_templates) | **GET** /api/v1/templates | -[**import_template**](TemplateApi.md#import_template) | **POST** /api/v1/templates/import | -[**is_variable_used_template**](TemplateApi.md#is_variable_used_template) | **GET** /api/v1/templates/{variableId}/used | -[**replace_template_variables**](TemplateApi.md#replace_template_variables) | **POST** /api/v1/templates/{variableId}/replace | -[**set_template_teams**](TemplateApi.md#set_template_teams) | **POST** /api/v1/templates/{templateId}/teams | -[**start_template**](TemplateApi.md#start_template) | **POST** /api/v1/templates/{templateId}/start | -[**update_template**](TemplateApi.md#update_template) | **PUT** /api/v1/templates/{templateId} | -[**update_template_variable**](TemplateApi.md#update_template_variable) | **PUT** /api/v1/templates/{variableId} | -[**update_template_variables**](TemplateApi.md#update_template_variables) | **PUT** /api/v1/templates/{releaseId}/variables | - - -# **copy_template** -> Release copy_template(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.copy_template import CopyTemplate -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - copy_template = CopyTemplate( - title="title_example", - description="description_example", - ) # CopyTemplate | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.copy_template(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->copy_template: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.copy_template(template_id, copy_template=copy_template) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->copy_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **copy_template** | [**CopyTemplate**](CopyTemplate.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_template** -> Release create_template() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - folder_id = "folderId_example" # str | (optional) - release = Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ) # Release | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_template(folder_id=folder_id, release=release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->create_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | [optional] - **release** | [**Release**](Release.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_template1** -> Release create_template1(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.create_release import CreateRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - create_release = CreateRelease( - release_title="release_title_example", - folder_id="folder_id_example", - variables={ - "key": {}, - }, - release_variables={ - "key": "key_example", - }, - release_password_variables={ - "key": "key_example", - }, - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - auto_start=True, - started_from_task_id="started_from_task_id_example", - release_owner="release_owner_example", - ) # CreateRelease | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_template1(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->create_template1: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_template1(template_id, create_release=create_release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->create_template1: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **create_release** | [**CreateRelease**](CreateRelease.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **create_template_variable** -> Variable create_template_variable(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - variable1 = Variable1( - id="id_example", - key="key_example", - type="type_example", - requires_value=True, - show_on_release_start=True, - value=None, - label="label_example", - description="description_example", - multiline=True, - inherited=True, - prevent_interpolation=True, - external_variable_value=ExternalVariableValue( - server="server_example", - server_type="server_type_example", - path="path_example", - external_key="external_key_example", - ), - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration(), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ), - ) # Variable1 | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.create_template_variable(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->create_template_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.create_template_variable(template_id, variable1=variable1) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->create_template_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **variable1** | [**Variable1**](Variable1.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_template** -> delete_template(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_template(template_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->delete_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **delete_template_variable** -> delete_template_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_template_variable(variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->delete_template_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **export_template_to_zip** -> export_template_to_zip(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.export_template_to_zip(template_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->export_template_to_zip: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_possible_template_variable_values** -> [{str: (bool, date, datetime, dict, float, int, list, str, none_type)}] get_possible_template_variable_values(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_possible_template_variable_values(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_possible_template_variable_values: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -**[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_template** -> Release get_template(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_template(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_template_permissions** -> [str] get_template_permissions() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_template_permissions() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_template_permissions: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**[str]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_template_teams** -> [TeamView] get_template_teams(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_template_teams(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_template_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_template_variable** -> Variable get_template_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_template_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_template_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_template_variables** -> [Variable] get_template_variables(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_template_variables(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_template_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_templates** -> [Release] get_templates() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - depth = 1 # int | (optional) if omitted the server will use the default value of 1 - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - tag = [ - "tag_example", - ] # [str] | (optional) - title = "title_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.get_templates(depth=depth, page=page, results_per_page=results_per_page, tag=tag, title=title) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->get_templates: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **depth** | **int**| | [optional] if omitted the server will use the default value of 1 - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **tag** | **[str]**| | [optional] - **title** | **str**| | [optional] - -### Return type - -[**[Release]**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **import_template** -> [ImportResult] import_template() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.import_result import ImportResult -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - folder_id = "folderId_example" # str | (optional) - version = "version_example" # str | (optional) - body = "body_example" # str | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.import_template(folder_id=folder_id, version=version, body=body) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->import_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | [optional] - **version** | **str**| | [optional] - **body** | **str**| | [optional] - -### Return type - -[**[ImportResult]**](ImportResult.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **is_variable_used_template** -> bool is_variable_used_template(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.is_variable_used_template(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->is_variable_used_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - -### Return type - -**bool** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **replace_template_variables** -> replace_template_variables(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable_or_value import VariableOrValue -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - variable_or_value = VariableOrValue( - variable="variable_example", - value=None, - ) # VariableOrValue | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.replace_template_variables(variable_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->replace_template_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.replace_template_variables(variable_id, variable_or_value=variable_or_value) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->replace_template_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - **variable_or_value** | [**VariableOrValue**](VariableOrValue.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **set_template_teams** -> [TeamView] set_template_teams(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.team_view import TeamView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - team_view = [ - TeamView( - id="id_example", - team_name="team_name_example", - members=[ - TeamMemberView( - name="name_example", - full_name="full_name_example", - type=MemberType("PRINCIPAL"), - role_id="role_id_example", - ), - ], - permissions=[ - "permissions_example", - ], - system_team=True, - ), - ] # [TeamView] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.set_template_teams(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->set_template_teams: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.set_template_teams(template_id, team_view=team_view) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->set_template_teams: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **team_view** | [**[TeamView]**](TeamView.md)| | [optional] - -### Return type - -[**[TeamView]**](TeamView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **start_template** -> Release start_template(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.start_release import StartRelease -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - start_release = StartRelease( - release_title="release_title_example", - folder_id="folder_id_example", - variables={ - "key": {}, - }, - release_variables={ - "key": "key_example", - }, - release_password_variables={ - "key": "key_example", - }, - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - auto_start=True, - started_from_task_id="started_from_task_id_example", - release_owner="release_owner_example", - ) # StartRelease | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.start_template(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->start_template: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.start_template(template_id, start_release=start_release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->start_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **start_release** | [**StartRelease**](StartRelease.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_template** -> Release update_template(template_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.release import Release -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - template_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - release = Release( - id="id_example", - type="type_example", - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - title="title_example", - description="description_example", - owner="owner_example", - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - root_release_id="root_release_id_example", - max_concurrent_releases=1, - release_triggers=[ - ReleaseTrigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - poll_type=PollType("REPEAT"), - periodicity="periodicity_example", - initial_fire=True, - release_title="release_title_example", - execution_id="execution_id_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - template="template_example", - tags=[ - "tags_example", - ], - release_folder="release_folder_example", - internal_properties=[ - "internal_properties_example", - ], - template_variables={ - "key": "key_example", - }, - template_password_variables={ - "key": "key_example", - }, - trigger_state_from_results="trigger_state_from_results_example", - script_variable_names=[ - "script_variable_names_example", - ], - script_variables_from_results={ - "key": {}, - }, - string_script_variable_values={ - "key": "key_example", - }, - script_variable_values={ - "key": {}, - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - container_id="container_id_example", - ), - ], - teams=[ - Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - ], - member_viewers=[ - "member_viewers_example", - ], - role_viewers=[ - "role_viewers_example", - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - phases=[ - Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - ], - queryable_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - queryable_end_date=dateutil_parser('2023-03-20T02:07:00Z'), - real_flag_status=FlagStatus("OK"), - status=ReleaseStatus("TEMPLATE"), - tags=[ - "tags_example", - ], - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - calendar_link_token="calendar_link_token_example", - calendar_published=True, - tutorial=True, - abort_on_failure=True, - archive_release=True, - allow_passwords_in_all_fields=True, - disable_notifications=True, - allow_concurrent_releases_from_trigger=True, - origin_template_id="origin_template_id_example", - created_from_trigger=True, - script_username="script_username_example", - script_user_password="script_user_password_example", - extensions=[ - ReleaseExtension( - id="id_example", - type="type_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - started_from_task_id="started_from_task_id_example", - auto_start=True, - automated_resume_count=1, - max_automated_resumes=1, - abort_comment="abort_comment_example", - variable_mapping={ - "key": "key_example", - }, - risk_profile=None, - metadata={ - "key": {}, - }, - archived=True, - ci_uid=1, - variable_values={ - "key": {}, - }, - password_variable_values={ - "key": {}, - }, - ci_property_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_string_variable_values={ - "key": "key_example", - }, - all_release_global_and_folder_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - all_variable_values_as_strings_with_interpolation_info={ - "key": ValueWithInterpolation( - value="value_example", - prevent_interpolation=True, - ), - }, - variables_keys_in_non_interpolatable_variable_values=[ - "variables_keys_in_non_interpolatable_variable_values_example", - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - all_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - global_variables=GlobalVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - ), - folder_variables=FolderVariables( - id="id_example", - type="type_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - string_variable_values={ - "key": "key_example", - }, - password_variable_values={ - "key": "key_example", - }, - variables_by_keys={ - "key": Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - }, - ), - admin_team=Team( - id="id_example", - type="type_example", - team_name="team_name_example", - members=[ - "members_example", - ], - roles=[ - "roles_example", - ], - permissions=[ - "permissions_example", - ], - release_admin_team=True, - template_owner_team=True, - folder_owner_team=True, - folder_admin_team=True, - system_team=True, - ), - release_attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - current_phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task(), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task(), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_user_input_tasks=[ - UserInputTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer(), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task(), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - done=True, - planned_or_active=True, - active=True, - defunct=True, - updatable=True, - aborted=True, - failing=True, - failed=True, - paused=True, - template=True, - planned=True, - in_progress=True, - release=Release(), - release_uid=1, - display_path="display_path_example", - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - all_plan_items=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - url="url_example", - active_tasks=[ - Task( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=None, - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase( - id="id_example", - type="type_example", - locked=True, - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - tasks=[], - release=None, - status=PhaseStatus("PLANNED"), - color="color_example", - origin_id="origin_id_example", - current_task=Task(), - display_path="display_path_example", - active=True, - done=True, - defunct=True, - updatable=True, - aborted=True, - planned=True, - failed=True, - failing=True, - release_owner="release_owner_example", - all_gates=[ - GateTask( - id="id_example", - type="type_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - flag_status=FlagStatus("OK"), - title="title_example", - description="description_example", - owner="owner_example", - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - overdue=True, - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - release_uid=1, - ci_uid=1, - comments=[ - Comment( - id="id_example", - type="type_example", - text="text_example", - author="author_example", - date=dateutil_parser('2023-03-20T02:07:00Z'), - creation_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - container=TaskContainer( - id="id_example", - type="type_example", - tasks=[], - locked=True, - title="title_example", - ), - facets=[ - Facet( - id="id_example", - type="type_example", - scope=FacetScope("TASK"), - target_id="target_id_example", - configuration_uri="configuration_uri_example", - variable_mapping={ - "key": "key_example", - }, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - properties_with_variables=[ - None, - ], - ), - ], - attachments=[ - Attachment( - id="id_example", - type="type_example", - file={}, - content_type="content_type_example", - export_filename="export_filename_example", - file_uri="file_uri_example", - placeholders=[ - "placeholders_example", - ], - text_file_names_regex="text_file_names_regex_example", - exclude_file_names_regex="exclude_file_names_regex_example", - file_encodings={ - "key": "key_example", - }, - checksum="checksum_example", - ), - ], - status=TaskStatus("PLANNED"), - team="team_example", - watchers=[ - "watchers_example", - ], - wait_for_scheduled_start_date=True, - delay_during_blackout=True, - postponed_due_to_blackout=True, - postponed_until_environments_are_reserved=True, - original_scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - has_been_flagged=True, - has_been_delayed=True, - precondition="precondition_example", - failure_handler="failure_handler_example", - task_failure_handler_enabled=True, - task_recover_op=TaskRecoverOp("SKIP_TASK"), - failures_count=1, - execution_id="execution_id_example", - variable_mapping={ - "key": "key_example", - }, - external_variable_mapping={ - "key": "key_example", - }, - max_comment_size=1, - tags=[ - "tags_example", - ], - configuration_uri="configuration_uri_example", - due_soon_notified=True, - locked=True, - check_attributes=True, - abort_script="abort_script_example", - phase=Phase(), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - conditions=[ - GateCondition( - id="id_example", - type="type_example", - title="title_example", - checked=True, - ), - ], - dependencies=[ - Dependency( - id="id_example", - type="type_example", - gate_task=GateTask(), - target=PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[ - PlanItem(), - ], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - target_id="target_id_example", - archived_target_title="archived_target_title_example", - archived_target_id="archived_target_id_example", - archived_as_resolved=True, - metadata={ - "key": {}, - }, - archived=True, - done=True, - aborted=True, - target_display_path="target_display_path_example", - target_title="target_title_example", - valid_allowed_plan_item_id=True, - ), - ], - open=True, - open_in_advance=True, - completable=True, - aborted_dependency_titles="aborted_dependency_titles_example", - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - ), - ], - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - original=True, - phase_copied=True, - ancestor_id="ancestor_id_example", - latest_copy=True, - ), - blackout_metadata=BlackoutMetadata( - periods=[ - BlackoutPeriod( - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - ), - ], - ), - flagged_count=1, - delayed_count=1, - done=True, - done_in_advance=True, - defunct=True, - updatable=True, - aborted=True, - not_yet_reached=True, - planned=True, - active=True, - in_progress=True, - pending=True, - waiting_for_input=True, - failed=True, - failing=True, - completed_in_advance=True, - skipped=True, - skipped_in_advance=True, - precondition_in_progress=True, - failure_handler_in_progress=True, - abort_script_in_progress=True, - facet_in_progress=True, - movable=True, - gate=True, - task_group=True, - parallel_group=True, - precondition_enabled=True, - failure_handler_enabled=True, - release=Release(), - display_path="display_path_example", - release_owner="release_owner_example", - all_tasks=[], - children=[ - PlanItem( - id="id_example", - type="type_example", - title="title_example", - description="description_example", - owner="owner_example", - scheduled_start_date=dateutil_parser('2023-03-20T02:07:00Z'), - due_date=dateutil_parser('2023-03-20T02:07:00Z'), - start_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_date=dateutil_parser('2023-03-20T02:07:00Z'), - planned_duration=1, - flag_status=FlagStatus("OK"), - flag_comment="flag_comment_example", - overdue_notified=True, - flagged=True, - start_or_scheduled_date=dateutil_parser('2023-03-20T02:07:00Z'), - end_or_due_date=dateutil_parser('2023-03-20T02:07:00Z'), - children=[], - overdue=True, - done=True, - release=Release(), - release_uid=1, - updatable=True, - display_path="display_path_example", - aborted=True, - active=True, - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - or_calculate_due_date="or_calculate_due_date_example", - computed_planned_duration={}, - actual_duration={}, - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - input_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - referenced_variables=[ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ], - unbound_required_variables=[ - "unbound_required_variables_example", - ], - automated=True, - task_type={}, - due_soon=True, - elapsed_duration_fraction=3.14, - url="url_example", - ), - ], - variable_usages=[ - UsagePoint( - target_property=CiProperty( - wrapped=CiProperty(), - last_property=ModelProperty( - indexed_property_pattern="indexed_property_pattern_example", - property_name="property_name_example", - index=1, - indexed=True, - ), - parent={}, - exists=True, - property_name="property_name_example", - value={}, - parent_ci={}, - descriptor={}, - kind={}, - category="category_example", - password=True, - indexed=True, - ), - ), - ], - pending=True, - ) # Release | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_template(template_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_template(template_id, release=release) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **template_id** | **str**| | - **release** | [**Release**](Release.md)| | [optional] - -### Return type - -[**Release**](Release.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_template_variable** -> Variable update_template_variable(variable_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - variable_id = "jUR,rZ#UM/?R,Fp^l6$ARj/VariableQ" # str | - variable = Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ) # Variable | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_template_variable(variable_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template_variable: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_template_variable(variable_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template_variable: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **variable_id** | **str**| | - **variable** | [**Variable**](Variable.md)| | [optional] - -### Return type - -[**Variable**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_template_variables** -> [Variable] update_template_variables(release_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import template_api -from digitalai.release.v1.model.variable import Variable -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = template_api.TemplateApi(api_client) - release_id = "jUR,rZ#UM/?R,Fp^l6$ARjReleaseQ" # str | - variable = [ - Variable( - id="id_example", - type="type_example", - folder_id="folder_id_example", - title="title_example", - key="key_example", - requires_value=True, - show_on_release_start=True, - label="label_example", - description="description_example", - value_provider=ValueProviderConfiguration( - id="id_example", - type="type_example", - variable=Variable(), - ), - inherited=True, - value=None, - empty_value={}, - value_empty=True, - untyped_value={}, - password=True, - value_as_string="value_as_string_example", - empty_value_as_string="empty_value_as_string_example", - ), - ] # [Variable] | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_template_variables(release_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template_variables: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_template_variables(release_id, variable=variable) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TemplateApi->update_template_variables: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **release_id** | **str**| | - **variable** | [**[Variable]**](Variable.md)| | [optional] - -### Return type - -[**[Variable]**](Variable.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/TimeFrame.md b/digitalai/release/v1/docs/TimeFrame.md deleted file mode 100644 index 111c3a9..0000000 --- a/digitalai/release/v1/docs/TimeFrame.md +++ /dev/null @@ -1,11 +0,0 @@ -# TimeFrame - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["LAST_SEVEN_DAYS", "LAST_MONTH", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_YEAR", "RANGE", ] - -[[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/digitalai/release/v1/docs/TrackedItem.md b/digitalai/release/v1/docs/TrackedItem.md deleted file mode 100644 index 6c0c0c9..0000000 --- a/digitalai/release/v1/docs/TrackedItem.md +++ /dev/null @@ -1,18 +0,0 @@ -# TrackedItem - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**release_ids** | **[str]** | | [optional] -**descoped** | **bool** | | [optional] -**created_date** | **datetime** | | [optional] -**modified_date** | **datetime** | | [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/digitalai/release/v1/docs/TrackedItemStatus.md b/digitalai/release/v1/docs/TrackedItemStatus.md deleted file mode 100644 index 1fd5151..0000000 --- a/digitalai/release/v1/docs/TrackedItemStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# TrackedItemStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["NOT_READY", "READY", "SKIPPED", ] - -[[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/digitalai/release/v1/docs/Transition.md b/digitalai/release/v1/docs/Transition.md deleted file mode 100644 index 190007f..0000000 --- a/digitalai/release/v1/docs/Transition.md +++ /dev/null @@ -1,20 +0,0 @@ -# Transition - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**title** | **str** | | [optional] -**stage** | [**Stage**](Stage.md) | | [optional] -**conditions** | [**[Condition]**](Condition.md) | | [optional] -**automated** | **bool** | | [optional] -**all_conditions** | [**[Condition]**](Condition.md) | | [optional] -**leaf_conditions** | [**[Condition]**](Condition.md) | | [optional] -**root_condition** | [**Condition**](Condition.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/Trigger.md b/digitalai/release/v1/docs/Trigger.md deleted file mode 100644 index 411d73c..0000000 --- a/digitalai/release/v1/docs/Trigger.md +++ /dev/null @@ -1,26 +0,0 @@ -# Trigger - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**script** | **str** | | [optional] -**abort_script** | **str** | | [optional] -**ci_uid** | **int** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**enabled** | **bool** | | [optional] -**trigger_state** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**allow_parallel_execution** | **bool** | | [optional] -**last_run_date** | **datetime** | | [optional] -**last_run_status** | [**TriggerExecutionStatus**](TriggerExecutionStatus.md) | | [optional] -**internal_properties** | **[str]** | | [optional] -**container_id** | **str** | | [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/digitalai/release/v1/docs/TriggerExecutionStatus.md b/digitalai/release/v1/docs/TriggerExecutionStatus.md deleted file mode 100644 index 3b6d312..0000000 --- a/digitalai/release/v1/docs/TriggerExecutionStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# TriggerExecutionStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["SUCCESS", "FAILURE", ] - -[[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/digitalai/release/v1/docs/TriggersApi.md b/digitalai/release/v1/docs/TriggersApi.md deleted file mode 100644 index 53c67d2..0000000 --- a/digitalai/release/v1/docs/TriggersApi.md +++ /dev/null @@ -1,1135 +0,0 @@ -# digitalai.release.v1.TriggersApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_trigger**](TriggersApi.md#add_trigger) | **POST** /api/v1/triggers | -[**disable_all_triggers**](TriggersApi.md#disable_all_triggers) | **POST** /api/v1/triggers/disable/all | -[**disable_trigger**](TriggersApi.md#disable_trigger) | **PUT** /api/v1/triggers/{triggerId}/disable | -[**disable_triggers**](TriggersApi.md#disable_triggers) | **POST** /api/v1/triggers/disable | -[**enable_all_triggers**](TriggersApi.md#enable_all_triggers) | **POST** /api/v1/triggers/enable/all | -[**enable_trigger**](TriggersApi.md#enable_trigger) | **PUT** /api/v1/triggers/{triggerId}/enable | -[**enable_triggers**](TriggersApi.md#enable_triggers) | **POST** /api/v1/triggers/enable | -[**get_trigger**](TriggersApi.md#get_trigger) | **GET** /api/v1/triggers/{triggerId} | -[**get_types**](TriggersApi.md#get_types) | **GET** /api/v1/triggers/types | -[**remove_trigger**](TriggersApi.md#remove_trigger) | **DELETE** /api/v1/triggers/{triggerId} | -[**run_trigger**](TriggersApi.md#run_trigger) | **POST** /api/v1/triggers/{triggerId}/run | -[**search_triggers**](TriggersApi.md#search_triggers) | **GET** /api/v1/triggers | -[**update_trigger**](TriggersApi.md#update_trigger) | **PUT** /api/v1/triggers/{triggerId} | - - -# **add_trigger** -> Trigger add_trigger() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.trigger import Trigger -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger = Trigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - internal_properties=[ - "internal_properties_example", - ], - container_id="container_id_example", - ) # Trigger | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.add_trigger(trigger=trigger) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->add_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger** | [**Trigger**](Trigger.md)| | [optional] - -### Return type - -[**Trigger**](Trigger.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **disable_all_triggers** -> BulkActionResultView disable_all_triggers() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.disable_all_triggers() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->disable_all_triggers: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**BulkActionResultView**](BulkActionResultView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **disable_trigger** -> disable_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TriggerQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.disable_trigger(trigger_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->disable_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **disable_triggers** -> BulkActionResultView disable_triggers() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - request_body = [ - "request_body_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.disable_triggers(request_body=request_body) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->disable_triggers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request_body** | **[str]**| | [optional] - -### Return type - -[**BulkActionResultView**](BulkActionResultView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **enable_all_triggers** -> BulkActionResultView enable_all_triggers() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.enable_all_triggers() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->enable_all_triggers: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**BulkActionResultView**](BulkActionResultView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **enable_trigger** -> enable_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TriggerQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.enable_trigger(trigger_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->enable_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **enable_triggers** -> BulkActionResultView enable_triggers() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - request_body = [ - "request_body_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.enable_triggers(request_body=request_body) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->enable_triggers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **request_body** | **[str]**| | [optional] - -### Return type - -[**BulkActionResultView**](BulkActionResultView.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_trigger** -> Trigger get_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.trigger import Trigger -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrigger^" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_trigger(trigger_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->get_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - -### Return type - -[**Trigger**](Trigger.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_types** -> [bool, date, datetime, dict, float, int, list, str, none_type] get_types() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_types() - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->get_types: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -**[bool, date, datetime, dict, float, int, list, str, none_type]** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **remove_trigger** -> remove_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TriggerQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.remove_trigger(trigger_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->remove_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | - -[[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) - -# **run_trigger** -> run_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARj/TriggerQ" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.run_trigger(trigger_id) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->run_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | - -[[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) - -# **search_triggers** -> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} search_triggers() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - folder_id = "folderId_example" # str | (optional) - folder_title = "folderTitle_example" # str | (optional) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - template_id = "templateId_example" # str | (optional) - template_title = "templateTitle_example" # str | (optional) - trigger_title = "triggerTitle_example" # str | (optional) - trigger_type = [ - "triggerType_example", - ] # [str] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.search_triggers(folder_id=folder_id, folder_title=folder_title, page=page, results_per_page=results_per_page, template_id=template_id, template_title=template_title, trigger_title=trigger_title, trigger_type=trigger_type) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->search_triggers: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **folder_id** | **str**| | [optional] - **folder_title** | **str**| | [optional] - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - **template_id** | **str**| | [optional] - **template_title** | **str**| | [optional] - **trigger_title** | **str**| | [optional] - **trigger_type** | **[str]**| | [optional] - -### Return type - -**{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_trigger** -> Trigger update_trigger(trigger_id) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import triggers_api -from digitalai.release.v1.model.trigger import Trigger -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = triggers_api.TriggersApi(api_client) - trigger_id = "jUR,rZ#UM/?R,Fp^l6$ARjTrigger^" # str | - trigger = Trigger( - id="id_example", - type="type_example", - script="script_example", - abort_script="abort_script_example", - ci_uid=1, - title="title_example", - description="description_example", - enabled=True, - trigger_state="trigger_state_example", - folder_id="folder_id_example", - allow_parallel_execution=True, - last_run_date=dateutil_parser('2023-03-20T02:07:00Z'), - last_run_status=TriggerExecutionStatus("SUCCESS"), - internal_properties=[ - "internal_properties_example", - ], - container_id="container_id_example", - ) # Trigger | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.update_trigger(trigger_id) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->update_trigger: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.update_trigger(trigger_id, trigger=trigger) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling TriggersApi->update_trigger: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **trigger_id** | **str**| | - **trigger** | [**Trigger**](Trigger.md)| | [optional] - -### Return type - -[**Trigger**](Trigger.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/UsagePoint.md b/digitalai/release/v1/docs/UsagePoint.md deleted file mode 100644 index eee45a7..0000000 --- a/digitalai/release/v1/docs/UsagePoint.md +++ /dev/null @@ -1,12 +0,0 @@ -# UsagePoint - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**target_property** | [**CiProperty**](CiProperty.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/UserAccount.md b/digitalai/release/v1/docs/UserAccount.md deleted file mode 100644 index daaebba..0000000 --- a/digitalai/release/v1/docs/UserAccount.md +++ /dev/null @@ -1,26 +0,0 @@ -# UserAccount - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | | [optional] -**external** | **bool** | | [optional] -**profile_id** | **str** | | [optional] -**email** | **str** | | [optional] -**password** | **str** | | [optional] -**previous_password** | **str** | | [optional] -**full_name** | **str** | | [optional] -**external_id** | **str** | | [optional] -**login_allowed** | **bool** | | [optional] -**date_format** | **str** | | [optional] -**time_format** | **str** | | [optional] -**first_day_of_week** | **int** | | [optional] -**last_active** | **date** | | [optional] -**analytics_enabled** | **bool** | | [optional] -**task_drawer_enabled** | **bool** | | [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/digitalai/release/v1/docs/UserApi.md b/digitalai/release/v1/docs/UserApi.md deleted file mode 100644 index 77d9de6..0000000 --- a/digitalai/release/v1/docs/UserApi.md +++ /dev/null @@ -1,679 +0,0 @@ -# digitalai.release.v1.UserApi - -All URIs are relative to *http://localhost:5516* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_user**](UserApi.md#create_user) | **POST** /api/v1/users/{username} | -[**delete_user_rest**](UserApi.md#delete_user_rest) | **DELETE** /api/v1/users/{username} | -[**find_users**](UserApi.md#find_users) | **GET** /api/v1/users | -[**get_user**](UserApi.md#get_user) | **GET** /api/v1/users/{username} | -[**update_password**](UserApi.md#update_password) | **POST** /api/v1/users/{username}/password | -[**update_user**](UserApi.md#update_user) | **PUT** /api/v1/users/{username} | -[**update_users_rest**](UserApi.md#update_users_rest) | **PUT** /api/v1/users | - - -# **create_user** -> create_user(username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.user_account import UserAccount -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - username = "o" # str | - user_account = UserAccount( - username="username_example", - external=True, - profile_id="profile_id_example", - email="email_example", - password="password_example", - previous_password="previous_password_example", - full_name="full_name_example", - external_id="external_id_example", - login_allowed=True, - date_format="date_format_example", - time_format="time_format_example", - first_day_of_week=1, - last_active=dateutil_parser('Thu Mar 10 05:30:00 IST 2022').date(), - analytics_enabled=True, - task_drawer_enabled=True, - ) # UserAccount | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.create_user(username) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->create_user: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.create_user(username, user_account=user_account) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->create_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - **user_account** | [**UserAccount**](UserAccount.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **delete_user_rest** -> delete_user_rest(username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - username = "/" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_user_rest(username) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->delete_user_rest: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **find_users** -> [UserAccount] find_users() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.user_account import UserAccount -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - email = "email_example" # str | (optional) - external = True # bool | (optional) - full_name = "fullName_example" # str | (optional) - last_active_after = dateutil_parser('2023-03-20T02:07:00Z') # datetime | (optional) - last_active_before = dateutil_parser('2023-03-20T02:07:00Z') # datetime | (optional) - login_allowed = True # bool | (optional) - page = 0 # int | (optional) if omitted the server will use the default value of 0 - results_per_page = 100 # int | (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.find_users(email=email, external=external, full_name=full_name, last_active_after=last_active_after, last_active_before=last_active_before, login_allowed=login_allowed, page=page, results_per_page=results_per_page) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->find_users: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email** | **str**| | [optional] - **external** | **bool**| | [optional] - **full_name** | **str**| | [optional] - **last_active_after** | **datetime**| | [optional] - **last_active_before** | **datetime**| | [optional] - **login_allowed** | **bool**| | [optional] - **page** | **int**| | [optional] if omitted the server will use the default value of 0 - **results_per_page** | **int**| | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**[UserAccount]**](UserAccount.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **get_user** -> UserAccount get_user(username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.user_account import UserAccount -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - username = "/" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.get_user(username) - pprint(api_response) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->get_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - -### Return type - -[**UserAccount**](UserAccount.md) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_password** -> update_password(username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.change_password_view import ChangePasswordView -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - username = "o" # str | - change_password_view = ChangePasswordView( - current_password="current_password_example", - new_password="new_password_example", - ) # ChangePasswordView | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.update_password(username) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->update_password: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.update_password(username, change_password_view=change_password_view) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->update_password: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - **change_password_view** | [**ChangePasswordView**](ChangePasswordView.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_user** -> update_user(username) - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.user_account import UserAccount -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - username = "/" # str | - user_account = UserAccount( - username="username_example", - external=True, - profile_id="profile_id_example", - email="email_example", - password="password_example", - previous_password="previous_password_example", - full_name="full_name_example", - external_id="external_id_example", - login_allowed=True, - date_format="date_format_example", - time_format="time_format_example", - first_day_of_week=1, - last_active=dateutil_parser('Thu Mar 10 05:30:00 IST 2022').date(), - analytics_enabled=True, - task_drawer_enabled=True, - ) # UserAccount | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.update_user(username) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->update_user: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.update_user(username, user_account=user_account) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->update_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **username** | **str**| | - **user_account** | [**UserAccount**](UserAccount.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) - -# **update_users_rest** -> update_users_rest() - - - -### Example - -* Basic Authentication (basicAuth): -* Api Key Authentication (patAuth): - -```python -import time -import digitalai.release.v1 -from digitalai.release.v1.api import user_api -from digitalai.release.v1.model.user_account import UserAccount -from pprint import pprint -# Defining the host is optional and defaults to http://localhost:5516 -# See configuration.py for a list of all supported configuration parameters. -configuration = digitalai.release.v1.Configuration( - host = "http://localhost:5516" -) - -# 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 HTTP basic authorization: basicAuth -configuration = digitalai.release.v1.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: patAuth -configuration.api_key['patAuth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['patAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with digitalai.release.v1.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_api.UserApi(api_client) - user_account = [ - UserAccount( - username="username_example", - external=True, - profile_id="profile_id_example", - email="email_example", - password="password_example", - previous_password="previous_password_example", - full_name="full_name_example", - external_id="external_id_example", - login_allowed=True, - date_format="date_format_example", - time_format="time_format_example", - first_day_of_week=1, - last_active=dateutil_parser('Thu Mar 10 05:30:00 IST 2022').date(), - analytics_enabled=True, - task_drawer_enabled=True, - ), - ] # [UserAccount] | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.update_users_rest(user_account=user_account) - except digitalai.release.v1.ApiException as e: - print("Exception when calling UserApi->update_users_rest: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_account** | [**[UserAccount]**](UserAccount.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basicAuth](../README.md#basicAuth), [patAuth](../README.md#patAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/digitalai/release/v1/docs/UserInputTask.md b/digitalai/release/v1/docs/UserInputTask.md deleted file mode 100644 index 67a57f6..0000000 --- a/digitalai/release/v1/docs/UserInputTask.md +++ /dev/null @@ -1,107 +0,0 @@ -# UserInputTask - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**scheduled_start_date** | **datetime** | | [optional] -**flag_status** | [**FlagStatus**](FlagStatus.md) | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**owner** | **str** | | [optional] -**due_date** | **datetime** | | [optional] -**start_date** | **datetime** | | [optional] -**end_date** | **datetime** | | [optional] -**planned_duration** | **int** | | [optional] -**flag_comment** | **str** | | [optional] -**overdue_notified** | **bool** | | [optional] -**flagged** | **bool** | | [optional] -**start_or_scheduled_date** | **datetime** | | [optional] -**end_or_due_date** | **datetime** | | [optional] -**overdue** | **bool** | | [optional] -**or_calculate_due_date** | **str, none_type** | | [optional] -**computed_planned_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**actual_duration** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**release_uid** | **int** | | [optional] -**ci_uid** | **int** | | [optional] -**comments** | [**[Comment]**](Comment.md) | | [optional] -**container** | [**TaskContainer**](TaskContainer.md) | | [optional] -**facets** | [**[Facet]**](Facet.md) | | [optional] -**attachments** | [**[Attachment]**](Attachment.md) | | [optional] -**status** | [**TaskStatus**](TaskStatus.md) | | [optional] -**team** | **str** | | [optional] -**watchers** | **[str]** | | [optional] -**wait_for_scheduled_start_date** | **bool** | | [optional] -**delay_during_blackout** | **bool** | | [optional] -**postponed_due_to_blackout** | **bool** | | [optional] -**postponed_until_environments_are_reserved** | **bool** | | [optional] -**original_scheduled_start_date** | **datetime** | | [optional] -**has_been_flagged** | **bool** | | [optional] -**has_been_delayed** | **bool** | | [optional] -**precondition** | **str** | | [optional] -**failure_handler** | **str** | | [optional] -**task_failure_handler_enabled** | **bool** | | [optional] -**task_recover_op** | [**TaskRecoverOp**](TaskRecoverOp.md) | | [optional] -**failures_count** | **int** | | [optional] -**execution_id** | **str** | | [optional] -**variable_mapping** | **{str: (str,)}** | | [optional] -**external_variable_mapping** | **{str: (str,)}** | | [optional] -**max_comment_size** | **int** | | [optional] -**tags** | **[str]** | | [optional] -**configuration_uri** | **str** | | [optional] -**due_soon_notified** | **bool** | | [optional] -**locked** | **bool** | | [optional] -**check_attributes** | **bool** | | [optional] -**abort_script** | **str** | | [optional] -**phase** | [**Phase**](Phase.md) | | [optional] -**blackout_metadata** | [**BlackoutMetadata**](BlackoutMetadata.md) | | [optional] -**flagged_count** | **int** | | [optional] -**delayed_count** | **int** | | [optional] -**done** | **bool** | | [optional] -**done_in_advance** | **bool** | | [optional] -**defunct** | **bool** | | [optional] -**updatable** | **bool** | | [optional] -**aborted** | **bool** | | [optional] -**not_yet_reached** | **bool** | | [optional] -**planned** | **bool** | | [optional] -**active** | **bool** | | [optional] -**in_progress** | **bool** | | [optional] -**pending** | **bool** | | [optional] -**waiting_for_input** | **bool** | | [optional] -**failed** | **bool** | | [optional] -**failing** | **bool** | | [optional] -**completed_in_advance** | **bool** | | [optional] -**skipped** | **bool** | | [optional] -**skipped_in_advance** | **bool** | | [optional] -**precondition_in_progress** | **bool** | | [optional] -**failure_handler_in_progress** | **bool** | | [optional] -**abort_script_in_progress** | **bool** | | [optional] -**facet_in_progress** | **bool** | | [optional] -**movable** | **bool** | | [optional] -**gate** | **bool** | | [optional] -**task_group** | **bool** | | [optional] -**parallel_group** | **bool** | | [optional] -**precondition_enabled** | **bool** | | [optional] -**failure_handler_enabled** | **bool** | | [optional] -**release** | [**Release**](Release.md) | | [optional] -**display_path** | **str** | | [optional] -**release_owner** | **str** | | [optional] -**all_tasks** | [**[Task]**](Task.md) | | [optional] -**children** | [**[PlanItem]**](PlanItem.md) | | [optional] -**input_variables** | [**[Variable]**](Variable.md) | | [optional] -**unbound_required_variables** | **[str]** | | [optional] -**automated** | **bool** | | [optional] -**task_type** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**due_soon** | **bool** | | [optional] -**elapsed_duration_fraction** | **float** | | [optional] -**url** | **str** | | [optional] -**variables** | [**[Variable]**](Variable.md) | | [optional] -**referenced_variables** | [**[Variable]**](Variable.md) | | [optional] -**variable_usages** | [**[UsagePoint]**](UsagePoint.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ValidatePattern.md b/digitalai/release/v1/docs/ValidatePattern.md deleted file mode 100644 index e630f05..0000000 --- a/digitalai/release/v1/docs/ValidatePattern.md +++ /dev/null @@ -1,13 +0,0 @@ -# ValidatePattern - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**title** | **str** | | [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/digitalai/release/v1/docs/ValueProviderConfiguration.md b/digitalai/release/v1/docs/ValueProviderConfiguration.md deleted file mode 100644 index 46cd9db..0000000 --- a/digitalai/release/v1/docs/ValueProviderConfiguration.md +++ /dev/null @@ -1,14 +0,0 @@ -# ValueProviderConfiguration - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**variable** | [**Variable**](Variable.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/ValueWithInterpolation.md b/digitalai/release/v1/docs/ValueWithInterpolation.md deleted file mode 100644 index 630229a..0000000 --- a/digitalai/release/v1/docs/ValueWithInterpolation.md +++ /dev/null @@ -1,13 +0,0 @@ -# ValueWithInterpolation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | **str** | | [optional] -**prevent_interpolation** | **bool** | | [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/digitalai/release/v1/docs/Variable.md b/digitalai/release/v1/docs/Variable.md deleted file mode 100644 index eeb90fd..0000000 --- a/digitalai/release/v1/docs/Variable.md +++ /dev/null @@ -1,29 +0,0 @@ -# Variable - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**type** | **str** | | [optional] -**folder_id** | **str** | | [optional] -**title** | **str** | | [optional] -**key** | **str** | | [optional] -**requires_value** | **bool** | | [optional] -**show_on_release_start** | **bool** | | [optional] -**label** | **str** | | [optional] -**description** | **str** | | [optional] -**value_provider** | [**ValueProviderConfiguration**](ValueProviderConfiguration.md) | | [optional] -**inherited** | **bool** | | [optional] -**value** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**empty_value** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**value_empty** | **bool** | | [optional] -**untyped_value** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional] -**password** | **bool** | | [optional] -**value_as_string** | **str** | | [optional] -**empty_value_as_string** | **str** | | [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/digitalai/release/v1/docs/Variable1.md b/digitalai/release/v1/docs/Variable1.md deleted file mode 100644 index 47bbed7..0000000 --- a/digitalai/release/v1/docs/Variable1.md +++ /dev/null @@ -1,24 +0,0 @@ -# Variable1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**key** | **str** | | [optional] -**type** | **str** | | [optional] -**requires_value** | **bool** | | [optional] -**show_on_release_start** | **bool** | | [optional] -**value** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] -**label** | **str** | | [optional] -**description** | **str** | | [optional] -**multiline** | **bool** | | [optional] -**inherited** | **bool** | | [optional] -**prevent_interpolation** | **bool** | | [optional] -**external_variable_value** | [**ExternalVariableValue**](ExternalVariableValue.md) | | [optional] -**value_provider** | [**ValueProviderConfiguration**](ValueProviderConfiguration.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/digitalai/release/v1/docs/VariableOrValue.md b/digitalai/release/v1/docs/VariableOrValue.md deleted file mode 100644 index d0c3b6f..0000000 --- a/digitalai/release/v1/docs/VariableOrValue.md +++ /dev/null @@ -1,13 +0,0 @@ -# VariableOrValue - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**variable** | **str** | | [optional] -**value** | **bool, date, datetime, dict, float, int, list, 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/digitalai/release/v1/exceptions.py b/digitalai/release/v1/exceptions.py deleted file mode 100644 index aae29cf..0000000 --- a/digitalai/release/v1/exceptions.py +++ /dev/null @@ -1,158 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -class OpenApiException(Exception): - """The base exception class for all OpenAPIExceptions""" - - -class ApiTypeError(OpenApiException, TypeError): - def __init__(self, msg, path_to_item=None, valid_classes=None, - key_type=None): - """ Raises an exception for TypeErrors - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list): a list of keys an indices to get to the - current_item - None if unset - valid_classes (tuple): the primitive classes that current item - should be an instance of - None if unset - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - None if unset - """ - self.path_to_item = path_to_item - self.valid_classes = valid_classes - self.key_type = key_type - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiTypeError, self).__init__(full_msg) - - -class ApiValueError(OpenApiException, ValueError): - def __init__(self, msg, path_to_item=None): - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list) the path to the exception in the - received_data dict. None if unset - """ - - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiValueError, self).__init__(full_msg) - - -class ApiAttributeError(OpenApiException, AttributeError): - def __init__(self, msg, path_to_item=None): - """ - Raised when an attribute reference or assignment fails. - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiAttributeError, self).__init__(full_msg) - - -class ApiKeyError(OpenApiException, KeyError): - def __init__(self, msg, path_to_item=None): - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiKeyError, self).__init__(full_msg) - - -class ApiException(OpenApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "Status Code: {0}\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message - - -class NotFoundException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(NotFoundException, self).__init__(status, reason, http_resp) - - -class UnauthorizedException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(UnauthorizedException, self).__init__(status, reason, http_resp) - - -class ForbiddenException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(ForbiddenException, self).__init__(status, reason, http_resp) - - -class ServiceException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(ServiceException, self).__init__(status, reason, http_resp) - - -def render_path(path_to_item): - """Returns a string representation of a path""" - result = "" - for pth in path_to_item: - if isinstance(pth, int): - result += "[{0}]".format(pth) - else: - result += "['{0}']".format(pth) - return result diff --git a/digitalai/release/v1/model/__init__.py b/digitalai/release/v1/model/__init__.py deleted file mode 100644 index acaffd9..0000000 --- a/digitalai/release/v1/model/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# we can not import model classes here because that would create a circular -# reference which would not work in python2 -# do not import all models into this module because that uses a lot of memory and stack frames -# if you need the ability to import all models from one package, import them with -# from digitalai.release.v1.models import ModelA, ModelB diff --git a/digitalai/release/v1/model/abort_release.py b/digitalai/release/v1/model/abort_release.py deleted file mode 100644 index 9060b0a..0000000 --- a/digitalai/release/v1/model/abort_release.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class AbortRelease(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 = { - } - - @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 - """ - 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. - """ - return { - 'abort_comment': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'abort_comment': 'abortComment', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AbortRelease - 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,) - abort_comment (str): [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 - """AbortRelease - 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,) - abort_comment (str): [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/digitalai/release/v1/model/activity_log_entry.py b/digitalai/release/v1/model/activity_log_entry.py deleted file mode 100644 index c785c83..0000000 --- a/digitalai/release/v1/model/activity_log_entry.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ActivityLogEntry(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'username': (str,), # noqa: E501 - 'activity_type': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'event_time': (datetime,), # noqa: E501 - 'target_type': (str,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'data_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'username': 'username', # noqa: E501 - 'activity_type': 'activityType', # noqa: E501 - 'message': 'message', # noqa: E501 - 'event_time': 'eventTime', # noqa: E501 - 'target_type': 'targetType', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'data_id': 'dataId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ActivityLogEntry - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - username (str): [optional] # noqa: E501 - activity_type (str): [optional] # noqa: E501 - message (str): [optional] # noqa: E501 - event_time (datetime): [optional] # noqa: E501 - target_type (str): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - data_id (str): [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 - """ActivityLogEntry - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - username (str): [optional] # noqa: E501 - activity_type (str): [optional] # noqa: E501 - message (str): [optional] # noqa: E501 - event_time (datetime): [optional] # noqa: E501 - target_type (str): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - data_id (str): [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/digitalai/release/v1/model/application_filters.py b/digitalai/release/v1/model/application_filters.py deleted file mode 100644 index 99298ef..0000000 --- a/digitalai/release/v1/model/application_filters.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ApplicationFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'environments': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'environments': 'environments', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApplicationFilters - 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,) - title (str): [optional] # noqa: E501 - environments ([str]): [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 - """ApplicationFilters - 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,) - title (str): [optional] # noqa: E501 - environments ([str]): [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/digitalai/release/v1/model/application_form.py b/digitalai/release/v1/model/application_form.py deleted file mode 100644 index 16639f6..0000000 --- a/digitalai/release/v1/model/application_form.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ApplicationForm(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'environment_ids': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'environment_ids': 'environmentIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApplicationForm - 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,) - title (str): [optional] # noqa: E501 - environment_ids ([str]): [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 - """ApplicationForm - 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,) - title (str): [optional] # noqa: E501 - environment_ids ([str]): [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/digitalai/release/v1/model/application_view.py b/digitalai/release/v1/model/application_view.py deleted file mode 100644 index 1c23663..0000000 --- a/digitalai/release/v1/model/application_view.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.base_environment_view import BaseEnvironmentView - globals()['BaseEnvironmentView'] = BaseEnvironmentView - - -class ApplicationView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'environments': ([BaseEnvironmentView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'environments': 'environments', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApplicationView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - environments ([BaseEnvironmentView]): [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 - """ApplicationView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - environments ([BaseEnvironmentView]): [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/digitalai/release/v1/model/attachment.py b/digitalai/release/v1/model/attachment.py deleted file mode 100644 index c9754d7..0000000 --- a/digitalai/release/v1/model/attachment.py +++ /dev/null @@ -1,305 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Attachment(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 = { - ('placeholders',): { - }, - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'file': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'content_type': (str,), # noqa: E501 - 'export_filename': (str,), # noqa: E501 - 'file_uri': (str,), # noqa: E501 - 'placeholders': ([str],), # noqa: E501 - 'text_file_names_regex': (str,), # noqa: E501 - 'exclude_file_names_regex': (str,), # noqa: E501 - 'file_encodings': ({str: (str,)},), # noqa: E501 - 'checksum': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'file': 'file', # noqa: E501 - 'content_type': 'contentType', # noqa: E501 - 'export_filename': 'exportFilename', # noqa: E501 - 'file_uri': 'fileUri', # noqa: E501 - 'placeholders': 'placeholders', # noqa: E501 - 'text_file_names_regex': 'textFileNamesRegex', # noqa: E501 - 'exclude_file_names_regex': 'excludeFileNamesRegex', # noqa: E501 - 'file_encodings': 'fileEncodings', # noqa: E501 - 'checksum': 'checksum', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Attachment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - file ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - content_type (str): [optional] # noqa: E501 - export_filename (str): [optional] # noqa: E501 - file_uri (str): [optional] # noqa: E501 - placeholders ([str]): [optional] # noqa: E501 - text_file_names_regex (str): [optional] # noqa: E501 - exclude_file_names_regex (str): [optional] # noqa: E501 - file_encodings ({str: (str,)}): [optional] # noqa: E501 - checksum (str): [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 - """Attachment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - file ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - content_type (str): [optional] # noqa: E501 - export_filename (str): [optional] # noqa: E501 - file_uri (str): [optional] # noqa: E501 - placeholders ([str]): [optional] # noqa: E501 - text_file_names_regex (str): [optional] # noqa: E501 - exclude_file_names_regex (str): [optional] # noqa: E501 - file_encodings ({str: (str,)}): [optional] # noqa: E501 - checksum (str): [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/digitalai/release/v1/model/base_application_view.py b/digitalai/release/v1/model/base_application_view.py deleted file mode 100644 index fa2915a..0000000 --- a/digitalai/release/v1/model/base_application_view.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class BaseApplicationView(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """BaseApplicationView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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 - """BaseApplicationView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/base_environment_view.py b/digitalai/release/v1/model/base_environment_view.py deleted file mode 100644 index 53fa8f7..0000000 --- a/digitalai/release/v1/model/base_environment_view.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class BaseEnvironmentView(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """BaseEnvironmentView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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 - """BaseEnvironmentView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/blackout_metadata.py b/digitalai/release/v1/model/blackout_metadata.py deleted file mode 100644 index 8bf7c12..0000000 --- a/digitalai/release/v1/model/blackout_metadata.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.blackout_period import BlackoutPeriod - globals()['BlackoutPeriod'] = BlackoutPeriod - - -class BlackoutMetadata(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 = { - } - - @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 { - 'periods': ([BlackoutPeriod],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'periods': 'periods', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """BlackoutMetadata - 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,) - periods ([BlackoutPeriod]): [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 - """BlackoutMetadata - 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,) - periods ([BlackoutPeriod]): [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/digitalai/release/v1/model/blackout_period.py b/digitalai/release/v1/model/blackout_period.py deleted file mode 100644 index 0d68c8c..0000000 --- a/digitalai/release/v1/model/blackout_period.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class BlackoutPeriod(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 = { - } - - @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 - """ - 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. - """ - return { - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """BlackoutPeriod - 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,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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 - """BlackoutPeriod - 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,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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/digitalai/release/v1/model/bulk_action_result_view.py b/digitalai/release/v1/model/bulk_action_result_view.py deleted file mode 100644 index 1c43208..0000000 --- a/digitalai/release/v1/model/bulk_action_result_view.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class BulkActionResultView(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 = { - } - - @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 - """ - 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. - """ - return { - 'updated_ids': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'updated_ids': 'updatedIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """BulkActionResultView - 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,) - updated_ids ([str]): [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 - """BulkActionResultView - 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,) - updated_ids ([str]): [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/digitalai/release/v1/model/change_password_view.py b/digitalai/release/v1/model/change_password_view.py deleted file mode 100644 index 2c2a733..0000000 --- a/digitalai/release/v1/model/change_password_view.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ChangePasswordView(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 = { - } - - @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 - """ - 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. - """ - return { - 'current_password': (str,), # noqa: E501 - 'new_password': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'current_password': 'currentPassword', # noqa: E501 - 'new_password': 'newPassword', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ChangePasswordView - 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,) - current_password (str): [optional] # noqa: E501 - new_password (str): [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 - """ChangePasswordView - 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,) - current_password (str): [optional] # noqa: E501 - new_password (str): [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/digitalai/release/v1/model/ci_property.py b/digitalai/release/v1/model/ci_property.py deleted file mode 100644 index 637a02d..0000000 --- a/digitalai/release/v1/model/ci_property.py +++ /dev/null @@ -1,313 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.model_property import ModelProperty - globals()['ModelProperty'] = ModelProperty - - -class CiProperty(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 = { - } - - @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 { - 'wrapped': (CiProperty,), # noqa: E501 - 'last_property': (ModelProperty,), # noqa: E501 - 'parent': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'exists': (bool,), # noqa: E501 - 'property_name': (str,), # noqa: E501 - 'value': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'parent_ci': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'descriptor': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'kind': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'category': (str,), # noqa: E501 - 'password': (bool,), # noqa: E501 - 'indexed': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'wrapped': 'wrapped', # noqa: E501 - 'last_property': 'lastProperty', # noqa: E501 - 'parent': 'parent', # noqa: E501 - 'exists': 'exists', # noqa: E501 - 'property_name': 'propertyName', # noqa: E501 - 'value': 'value', # noqa: E501 - 'parent_ci': 'parentCi', # noqa: E501 - 'descriptor': 'descriptor', # noqa: E501 - 'kind': 'kind', # noqa: E501 - 'category': 'category', # noqa: E501 - 'password': 'password', # noqa: E501 - 'indexed': 'indexed', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CiProperty - 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,) - wrapped (CiProperty): [optional] # noqa: E501 - last_property (ModelProperty): [optional] # noqa: E501 - parent ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - exists (bool): [optional] # noqa: E501 - property_name (str): [optional] # noqa: E501 - value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - parent_ci ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - descriptor ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - kind ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - category (str): [optional] # noqa: E501 - password (bool): [optional] # noqa: E501 - indexed (bool): [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 - """CiProperty - 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,) - wrapped (CiProperty): [optional] # noqa: E501 - last_property (ModelProperty): [optional] # noqa: E501 - parent ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - exists (bool): [optional] # noqa: E501 - property_name (str): [optional] # noqa: E501 - value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - parent_ci ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - descriptor ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - kind ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - category (str): [optional] # noqa: E501 - password (bool): [optional] # noqa: E501 - indexed (bool): [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/digitalai/release/v1/model/comment.py b/digitalai/release/v1/model/comment.py deleted file mode 100644 index 48a9176..0000000 --- a/digitalai/release/v1/model/comment.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Comment(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'text': (str,), # noqa: E501 - 'author': (str,), # noqa: E501 - 'date': (datetime,), # noqa: E501 - 'creation_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'text': 'text', # noqa: E501 - 'author': 'author', # noqa: E501 - 'date': 'date', # noqa: E501 - 'creation_date': 'creationDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Comment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - text (str): [optional] # noqa: E501 - author (str): [optional] # noqa: E501 - date (datetime): [optional] # noqa: E501 - creation_date (datetime): [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 - """Comment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - text (str): [optional] # noqa: E501 - author (str): [optional] # noqa: E501 - date (datetime): [optional] # noqa: E501 - creation_date (datetime): [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/digitalai/release/v1/model/comment1.py b/digitalai/release/v1/model/comment1.py deleted file mode 100644 index 4710ddb..0000000 --- a/digitalai/release/v1/model/comment1.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Comment1(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 = { - } - - @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 - """ - 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. - """ - return { - 'comment': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'comment': 'comment', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Comment1 - 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,) - comment (str): [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 - """Comment1 - 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,) - comment (str): [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/digitalai/release/v1/model/complete_transition.py b/digitalai/release/v1/model/complete_transition.py deleted file mode 100644 index 237fda0..0000000 --- a/digitalai/release/v1/model/complete_transition.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class CompleteTransition(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 = { - } - - @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 - """ - 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. - """ - return { - 'transition_items': ([str],), # noqa: E501 - 'close_stages': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'transition_items': 'transitionItems', # noqa: E501 - 'close_stages': 'closeStages', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CompleteTransition - 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,) - transition_items ([str]): [optional] # noqa: E501 - close_stages (bool): [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 - """CompleteTransition - 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,) - transition_items ([str]): [optional] # noqa: E501 - close_stages (bool): [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/digitalai/release/v1/model/condition.py b/digitalai/release/v1/model/condition.py deleted file mode 100644 index 89f40fd..0000000 --- a/digitalai/release/v1/model/condition.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Condition(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'satisfied': (bool,), # noqa: E501 - 'satisfied_date': (datetime,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'input_properties': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'leaf': (bool,), # noqa: E501 - 'all_conditions': ([Condition],), # noqa: E501 - 'leaf_conditions': ([Condition],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'satisfied': 'satisfied', # noqa: E501 - 'satisfied_date': 'satisfiedDate', # noqa: E501 - 'description': 'description', # noqa: E501 - 'active': 'active', # noqa: E501 - 'input_properties': 'inputProperties', # noqa: E501 - 'leaf': 'leaf', # noqa: E501 - 'all_conditions': 'allConditions', # noqa: E501 - 'leaf_conditions': 'leafConditions', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Condition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - satisfied (bool): [optional] # noqa: E501 - satisfied_date (datetime): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - input_properties ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - leaf (bool): [optional] # noqa: E501 - all_conditions ([Condition]): [optional] # noqa: E501 - leaf_conditions ([Condition]): [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 - """Condition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - satisfied (bool): [optional] # noqa: E501 - satisfied_date (datetime): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - input_properties ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - leaf (bool): [optional] # noqa: E501 - all_conditions ([Condition]): [optional] # noqa: E501 - leaf_conditions ([Condition]): [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/digitalai/release/v1/model/condition1.py b/digitalai/release/v1/model/condition1.py deleted file mode 100644 index 495b4fd..0000000 --- a/digitalai/release/v1/model/condition1.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Condition1(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'checked': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'checked': 'checked', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Condition1 - 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,) - title (str): [optional] # noqa: E501 - checked (bool): [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 - """Condition1 - 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,) - title (str): [optional] # noqa: E501 - checked (bool): [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/digitalai/release/v1/model/configuration_facet.py b/digitalai/release/v1/model/configuration_facet.py deleted file mode 100644 index 76252a4..0000000 --- a/digitalai/release/v1/model/configuration_facet.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.facet_scope import FacetScope - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['FacetScope'] = FacetScope - globals()['UsagePoint'] = UsagePoint - - -class ConfigurationFacet(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scope': (FacetScope,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'properties_with_variables': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scope': 'scope', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'properties_with_variables': 'propertiesWithVariables', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ConfigurationFacet - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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 - """ConfigurationFacet - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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/digitalai/release/v1/model/configuration_view.py b/digitalai/release/v1/model/configuration_view.py deleted file mode 100644 index 0a83308..0000000 --- a/digitalai/release/v1/model/configuration_view.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ConfigurationView(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 = { - } - - @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 - """ - 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. - """ - return { - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'properties': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'properties': 'properties', # noqa: E501 - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ConfigurationView - 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,) - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - properties ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - id (str): [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 - """ConfigurationView - 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,) - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - properties ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - id (str): [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/digitalai/release/v1/model/copy_template.py b/digitalai/release/v1/model/copy_template.py deleted file mode 100644 index c6edf00..0000000 --- a/digitalai/release/v1/model/copy_template.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class CopyTemplate(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CopyTemplate - 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,) - title (str): [optional] # noqa: E501 - description (str): [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 - """CopyTemplate - 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,) - title (str): [optional] # noqa: E501 - description (str): [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/digitalai/release/v1/model/create_delivery.py b/digitalai/release/v1/model/create_delivery.py deleted file mode 100644 index affcd7d..0000000 --- a/digitalai/release/v1/model/create_delivery.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class CreateDelivery(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'duration': (int,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'auto_complete': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'duration': 'duration', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'auto_complete': 'autoComplete', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateDelivery - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - duration (int): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - auto_complete (bool): [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 - """CreateDelivery - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - duration (int): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - auto_complete (bool): [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/digitalai/release/v1/model/create_delivery_stage.py b/digitalai/release/v1/model/create_delivery_stage.py deleted file mode 100644 index d79c967..0000000 --- a/digitalai/release/v1/model/create_delivery_stage.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.stage import Stage - globals()['Stage'] = Stage - - -class CreateDeliveryStage(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 = { - } - - @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 { - 'after': (str,), # noqa: E501 - 'before': (str,), # noqa: E501 - 'stage': (Stage,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'after': 'after', # noqa: E501 - 'before': 'before', # noqa: E501 - 'stage': 'stage', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateDeliveryStage - 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,) - after (str): [optional] # noqa: E501 - before (str): [optional] # noqa: E501 - stage (Stage): [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 - """CreateDeliveryStage - 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,) - after (str): [optional] # noqa: E501 - before (str): [optional] # noqa: E501 - stage (Stage): [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/digitalai/release/v1/model/create_release.py b/digitalai/release/v1/model/create_release.py deleted file mode 100644 index 1c45f41..0000000 --- a/digitalai/release/v1/model/create_release.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class CreateRelease(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 = { - } - - @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 - """ - 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. - """ - return { - 'release_title': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'variables': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'release_variables': ({str: (str,)},), # noqa: E501 - 'release_password_variables': ({str: (str,)},), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'auto_start': (bool,), # noqa: E501 - 'started_from_task_id': (str,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'release_title': 'releaseTitle', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'release_variables': 'releaseVariables', # noqa: E501 - 'release_password_variables': 'releasePasswordVariables', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'auto_start': 'autoStart', # noqa: E501 - 'started_from_task_id': 'startedFromTaskId', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CreateRelease - 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,) - release_title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - variables ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - release_variables ({str: (str,)}): [optional] # noqa: E501 - release_password_variables ({str: (str,)}): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - release_owner (str): [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 - """CreateRelease - 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,) - release_title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - variables ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - release_variables ({str: (str,)}): [optional] # noqa: E501 - release_password_variables ({str: (str,)}): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - release_owner (str): [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/digitalai/release/v1/model/delivery.py b/digitalai/release/v1/model/delivery.py deleted file mode 100644 index 870fdbe..0000000 --- a/digitalai/release/v1/model/delivery.py +++ /dev/null @@ -1,347 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.delivery_status import DeliveryStatus - from digitalai.release.v1.model.stage import Stage - from digitalai.release.v1.model.subscriber import Subscriber - from digitalai.release.v1.model.tracked_item import TrackedItem - from digitalai.release.v1.model.transition import Transition - globals()['DeliveryStatus'] = DeliveryStatus - globals()['Stage'] = Stage - globals()['Subscriber'] = Subscriber - globals()['TrackedItem'] = TrackedItem - globals()['Transition'] = Transition - - -class Delivery(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 = { - ('release_ids',): { - }, - } - - @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 { - 'metadata': ({str: (dict,)},), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'status': (DeliveryStatus,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'release_ids': ([str],), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'origin_pattern_id': (str,), # noqa: E501 - 'stages': ([Stage],), # noqa: E501 - 'tracked_items': ([TrackedItem],), # noqa: E501 - 'subscribers': ([Subscriber],), # noqa: E501 - 'auto_complete': (bool,), # noqa: E501 - 'template': (bool,), # noqa: E501 - 'transitions': ([Transition],), # noqa: E501 - 'stages_before_first_open_transition': ([Stage],), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'metadata': '$metadata', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'status': 'status', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'release_ids': 'releaseIds', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'origin_pattern_id': 'originPatternId', # noqa: E501 - 'stages': 'stages', # noqa: E501 - 'tracked_items': 'trackedItems', # noqa: E501 - 'subscribers': 'subscribers', # noqa: E501 - 'auto_complete': 'autoComplete', # noqa: E501 - 'template': 'template', # noqa: E501 - 'transitions': 'transitions', # noqa: E501 - 'stages_before_first_open_transition': 'stagesBeforeFirstOpenTransition', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Delivery - 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,) - metadata ({str: (dict,)}): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - status (DeliveryStatus): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - origin_pattern_id (str): [optional] # noqa: E501 - stages ([Stage]): [optional] # noqa: E501 - tracked_items ([TrackedItem]): [optional] # noqa: E501 - subscribers ([Subscriber]): [optional] # noqa: E501 - auto_complete (bool): [optional] # noqa: E501 - template (bool): [optional] # noqa: E501 - transitions ([Transition]): [optional] # noqa: E501 - stages_before_first_open_transition ([Stage]): [optional] # noqa: E501 - updatable (bool): [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 - """Delivery - 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,) - metadata ({str: (dict,)}): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - status (DeliveryStatus): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - origin_pattern_id (str): [optional] # noqa: E501 - stages ([Stage]): [optional] # noqa: E501 - tracked_items ([TrackedItem]): [optional] # noqa: E501 - subscribers ([Subscriber]): [optional] # noqa: E501 - auto_complete (bool): [optional] # noqa: E501 - template (bool): [optional] # noqa: E501 - transitions ([Transition]): [optional] # noqa: E501 - stages_before_first_open_transition ([Stage]): [optional] # noqa: E501 - updatable (bool): [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/digitalai/release/v1/model/delivery_filters.py b/digitalai/release/v1/model/delivery_filters.py deleted file mode 100644 index 6060cb3..0000000 --- a/digitalai/release/v1/model/delivery_filters.py +++ /dev/null @@ -1,293 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.delivery_status import DeliveryStatus - globals()['DeliveryStatus'] = DeliveryStatus - - -class DeliveryFilters(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 = { - } - - @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 { - 'title': (str,), # noqa: E501 - 'strict_title_match': (bool,), # noqa: E501 - 'tracked_item_title': (str,), # noqa: E501 - 'strict_tracked_item_title_match': (bool,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'origin_pattern_id': (str,), # noqa: E501 - 'statuses': ([DeliveryStatus],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'strict_title_match': 'strictTitleMatch', # noqa: E501 - 'tracked_item_title': 'trackedItemTitle', # noqa: E501 - 'strict_tracked_item_title_match': 'strictTrackedItemTitleMatch', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'origin_pattern_id': 'originPatternId', # noqa: E501 - 'statuses': 'statuses', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeliveryFilters - 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,) - title (str): [optional] # noqa: E501 - strict_title_match (bool): [optional] # noqa: E501 - tracked_item_title (str): [optional] # noqa: E501 - strict_tracked_item_title_match (bool): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - origin_pattern_id (str): [optional] # noqa: E501 - statuses ([DeliveryStatus]): [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 - """DeliveryFilters - 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,) - title (str): [optional] # noqa: E501 - strict_title_match (bool): [optional] # noqa: E501 - tracked_item_title (str): [optional] # noqa: E501 - strict_tracked_item_title_match (bool): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - origin_pattern_id (str): [optional] # noqa: E501 - statuses ([DeliveryStatus]): [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/digitalai/release/v1/model/delivery_flow_release_info.py b/digitalai/release/v1/model/delivery_flow_release_info.py deleted file mode 100644 index 5380430..0000000 --- a/digitalai/release/v1/model/delivery_flow_release_info.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class DeliveryFlowReleaseInfo(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'archived': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'status': 'status', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'archived': 'archived', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeliveryFlowReleaseInfo - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - archived (bool): [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 - """DeliveryFlowReleaseInfo - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - archived (bool): [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/digitalai/release/v1/model/delivery_order_mode.py b/digitalai/release/v1/model/delivery_order_mode.py deleted file mode 100644 index f3c2f54..0000000 --- a/digitalai/release/v1/model/delivery_order_mode.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class DeliveryOrderMode(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',): { - 'START_DATE': "START_DATE", - 'END_DATE': "END_DATE", - 'CREATED_DATE': "CREATED_DATE", - }, - } - - 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): - """DeliveryOrderMode - 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 ["START_DATE", "END_DATE", "CREATED_DATE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["START_DATE", "END_DATE", "CREATED_DATE", ] # 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): - """DeliveryOrderMode - 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 ["START_DATE", "END_DATE", "CREATED_DATE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["START_DATE", "END_DATE", "CREATED_DATE", ] # 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/digitalai/release/v1/model/delivery_pattern_filters.py b/digitalai/release/v1/model/delivery_pattern_filters.py deleted file mode 100644 index edff6e7..0000000 --- a/digitalai/release/v1/model/delivery_pattern_filters.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.delivery_status import DeliveryStatus - globals()['DeliveryStatus'] = DeliveryStatus - - -class DeliveryPatternFilters(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 = { - } - - @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 { - 'title': (str,), # noqa: E501 - 'strict_title_match': (bool,), # noqa: E501 - 'tracked_item_title': (str,), # noqa: E501 - 'strict_tracked_item_title_match': (bool,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'statuses': ([DeliveryStatus],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'strict_title_match': 'strictTitleMatch', # noqa: E501 - 'tracked_item_title': 'trackedItemTitle', # noqa: E501 - 'strict_tracked_item_title_match': 'strictTrackedItemTitleMatch', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'statuses': 'statuses', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeliveryPatternFilters - 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,) - title (str): [optional] # noqa: E501 - strict_title_match (bool): [optional] # noqa: E501 - tracked_item_title (str): [optional] # noqa: E501 - strict_tracked_item_title_match (bool): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - statuses ([DeliveryStatus]): [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 - """DeliveryPatternFilters - 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,) - title (str): [optional] # noqa: E501 - strict_title_match (bool): [optional] # noqa: E501 - tracked_item_title (str): [optional] # noqa: E501 - strict_tracked_item_title_match (bool): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - statuses ([DeliveryStatus]): [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/digitalai/release/v1/model/delivery_status.py b/digitalai/release/v1/model/delivery_status.py deleted file mode 100644 index d88aa34..0000000 --- a/digitalai/release/v1/model/delivery_status.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class DeliveryStatus(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',): { - 'TEMPLATE': "TEMPLATE", - 'IN_PROGRESS': "IN_PROGRESS", - 'COMPLETED': "COMPLETED", - }, - } - - 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): - """DeliveryStatus - 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 ["TEMPLATE", "IN_PROGRESS", "COMPLETED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["TEMPLATE", "IN_PROGRESS", "COMPLETED", ] # 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): - """DeliveryStatus - 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 ["TEMPLATE", "IN_PROGRESS", "COMPLETED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["TEMPLATE", "IN_PROGRESS", "COMPLETED", ] # 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/digitalai/release/v1/model/delivery_timeline.py b/digitalai/release/v1/model/delivery_timeline.py deleted file mode 100644 index 0fe41f7..0000000 --- a/digitalai/release/v1/model/delivery_timeline.py +++ /dev/null @@ -1,285 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_timeline import ReleaseTimeline - globals()['ReleaseTimeline'] = ReleaseTimeline - - -class DeliveryTimeline(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'releases': ([ReleaseTimeline],), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'releases': 'releases', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DeliveryTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - releases ([ReleaseTimeline]): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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 - """DeliveryTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - releases ([ReleaseTimeline]): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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/digitalai/release/v1/model/dependency.py b/digitalai/release/v1/model/dependency.py deleted file mode 100644 index 0b247e2..0000000 --- a/digitalai/release/v1/model/dependency.py +++ /dev/null @@ -1,327 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.gate_task import GateTask - from digitalai.release.v1.model.plan_item import PlanItem - globals()['GateTask'] = GateTask - globals()['PlanItem'] = PlanItem - - -class Dependency(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'gate_task': (GateTask,), # noqa: E501 - 'target': (PlanItem,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'archived_target_title': (str,), # noqa: E501 - 'archived_target_id': (str,), # noqa: E501 - 'archived_as_resolved': (bool,), # noqa: E501 - 'metadata': ({str: (dict,)},), # noqa: E501 - 'archived': (bool,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'target_display_path': (str,), # noqa: E501 - 'target_title': (str,), # noqa: E501 - 'valid_allowed_plan_item_id': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'gate_task': 'gateTask', # noqa: E501 - 'target': 'target', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'archived_target_title': 'archivedTargetTitle', # noqa: E501 - 'archived_target_id': 'archivedTargetId', # noqa: E501 - 'archived_as_resolved': 'archivedAsResolved', # noqa: E501 - 'metadata': '$metadata', # noqa: E501 - 'archived': 'archived', # noqa: E501 - 'done': 'done', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'target_display_path': 'targetDisplayPath', # noqa: E501 - 'target_title': 'targetTitle', # noqa: E501 - 'valid_allowed_plan_item_id': 'validAllowedPlanItemId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Dependency - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - gate_task (GateTask): [optional] # noqa: E501 - target (PlanItem): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - archived_target_title (str): [optional] # noqa: E501 - archived_target_id (str): [optional] # noqa: E501 - archived_as_resolved (bool): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - archived (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - target_display_path (str): [optional] # noqa: E501 - target_title (str): [optional] # noqa: E501 - valid_allowed_plan_item_id (bool): [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 - """Dependency - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - gate_task (GateTask): [optional] # noqa: E501 - target (PlanItem): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - archived_target_title (str): [optional] # noqa: E501 - archived_target_id (str): [optional] # noqa: E501 - archived_as_resolved (bool): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - archived (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - target_display_path (str): [optional] # noqa: E501 - target_title (str): [optional] # noqa: E501 - valid_allowed_plan_item_id (bool): [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/digitalai/release/v1/model/duplicate_delivery_pattern.py b/digitalai/release/v1/model/duplicate_delivery_pattern.py deleted file mode 100644 index 277432a..0000000 --- a/digitalai/release/v1/model/duplicate_delivery_pattern.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class DuplicateDeliveryPattern(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """DuplicateDeliveryPattern - 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,) - title (str): [optional] # noqa: E501 - description (str): [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 - """DuplicateDeliveryPattern - 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,) - title (str): [optional] # noqa: E501 - description (str): [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/digitalai/release/v1/model/environment_filters.py b/digitalai/release/v1/model/environment_filters.py deleted file mode 100644 index 003b7a2..0000000 --- a/digitalai/release/v1/model/environment_filters.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'stage': (str,), # noqa: E501 - 'labels': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'stage': 'stage', # noqa: E501 - 'labels': 'labels', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentFilters - 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,) - title (str): [optional] # noqa: E501 - stage (str): [optional] # noqa: E501 - labels ([str]): [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 - """EnvironmentFilters - 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,) - title (str): [optional] # noqa: E501 - stage (str): [optional] # noqa: E501 - labels ([str]): [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/digitalai/release/v1/model/environment_form.py b/digitalai/release/v1/model/environment_form.py deleted file mode 100644 index 66242ef..0000000 --- a/digitalai/release/v1/model/environment_form.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentForm(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'stage_id': (str,), # noqa: E501 - 'label_ids': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'stage_id': 'stageId', # noqa: E501 - 'label_ids': 'labelIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentForm - 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,) - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage_id (str): [optional] # noqa: E501 - label_ids ([str]): [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 - """EnvironmentForm - 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,) - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage_id (str): [optional] # noqa: E501 - label_ids ([str]): [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/digitalai/release/v1/model/environment_label_filters.py b/digitalai/release/v1/model/environment_label_filters.py deleted file mode 100644 index 684e70e..0000000 --- a/digitalai/release/v1/model/environment_label_filters.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentLabelFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentLabelFilters - 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,) - title (str): [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 - """EnvironmentLabelFilters - 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,) - title (str): [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/digitalai/release/v1/model/environment_label_form.py b/digitalai/release/v1/model/environment_label_form.py deleted file mode 100644 index bd0ef9e..0000000 --- a/digitalai/release/v1/model/environment_label_form.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentLabelForm(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - 'color': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'color': 'color', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentLabelForm - 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,) - title (str): [optional] # noqa: E501 - color (str): [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 - """EnvironmentLabelForm - 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,) - title (str): [optional] # noqa: E501 - color (str): [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/digitalai/release/v1/model/environment_label_view.py b/digitalai/release/v1/model/environment_label_view.py deleted file mode 100644 index 7cffe73..0000000 --- a/digitalai/release/v1/model/environment_label_view.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentLabelView(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'color': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'color': 'color', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentLabelView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - color (str): [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 - """EnvironmentLabelView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - color (str): [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/digitalai/release/v1/model/environment_reservation_form.py b/digitalai/release/v1/model/environment_reservation_form.py deleted file mode 100644 index 8f94f0e..0000000 --- a/digitalai/release/v1/model/environment_reservation_form.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentReservationForm(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 = { - } - - @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 - """ - 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. - """ - return { - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'note': (str,), # noqa: E501 - 'environment_id': (str,), # noqa: E501 - 'application_ids': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'note': 'note', # noqa: E501 - 'environment_id': 'environmentId', # noqa: E501 - 'application_ids': 'applicationIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentReservationForm - 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,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - environment_id (str): [optional] # noqa: E501 - application_ids ([str]): [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 - """EnvironmentReservationForm - 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,) - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - environment_id (str): [optional] # noqa: E501 - application_ids ([str]): [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/digitalai/release/v1/model/environment_reservation_search_view.py b/digitalai/release/v1/model/environment_reservation_search_view.py deleted file mode 100644 index f7fd659..0000000 --- a/digitalai/release/v1/model/environment_reservation_search_view.py +++ /dev/null @@ -1,293 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView - from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView - from digitalai.release.v1.model.reservation_search_view import ReservationSearchView - globals()['EnvironmentLabelView'] = EnvironmentLabelView - globals()['EnvironmentStageView'] = EnvironmentStageView - globals()['ReservationSearchView'] = ReservationSearchView - - -class EnvironmentReservationSearchView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'stage': (EnvironmentStageView,), # noqa: E501 - 'labels': ([EnvironmentLabelView],), # noqa: E501 - 'reservations': ([ReservationSearchView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'stage': 'stage', # noqa: E501 - 'labels': 'labels', # noqa: E501 - 'reservations': 'reservations', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentReservationSearchView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage (EnvironmentStageView): [optional] # noqa: E501 - labels ([EnvironmentLabelView]): [optional] # noqa: E501 - reservations ([ReservationSearchView]): [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 - """EnvironmentReservationSearchView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage (EnvironmentStageView): [optional] # noqa: E501 - labels ([EnvironmentLabelView]): [optional] # noqa: E501 - reservations ([ReservationSearchView]): [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/digitalai/release/v1/model/environment_reservation_view.py b/digitalai/release/v1/model/environment_reservation_view.py deleted file mode 100644 index 6782762..0000000 --- a/digitalai/release/v1/model/environment_reservation_view.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.base_application_view import BaseApplicationView - from digitalai.release.v1.model.environment_view import EnvironmentView - globals()['BaseApplicationView'] = BaseApplicationView - globals()['EnvironmentView'] = EnvironmentView - - -class EnvironmentReservationView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'note': (str,), # noqa: E501 - 'environment': (EnvironmentView,), # noqa: E501 - 'applications': ([BaseApplicationView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'note': 'note', # noqa: E501 - 'environment': 'environment', # noqa: E501 - 'applications': 'applications', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentReservationView - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - environment (EnvironmentView): [optional] # noqa: E501 - applications ([BaseApplicationView]): [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 - """EnvironmentReservationView - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - environment (EnvironmentView): [optional] # noqa: E501 - applications ([BaseApplicationView]): [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/digitalai/release/v1/model/environment_stage_filters.py b/digitalai/release/v1/model/environment_stage_filters.py deleted file mode 100644 index e4e258a..0000000 --- a/digitalai/release/v1/model/environment_stage_filters.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentStageFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentStageFilters - 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,) - title (str): [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 - """EnvironmentStageFilters - 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,) - title (str): [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/digitalai/release/v1/model/environment_stage_form.py b/digitalai/release/v1/model/environment_stage_form.py deleted file mode 100644 index 98e1a26..0000000 --- a/digitalai/release/v1/model/environment_stage_form.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentStageForm(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 = { - } - - @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 - """ - 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. - """ - return { - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentStageForm - 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,) - title (str): [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 - """EnvironmentStageForm - 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,) - title (str): [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/digitalai/release/v1/model/environment_stage_view.py b/digitalai/release/v1/model/environment_stage_view.py deleted file mode 100644 index f857bd0..0000000 --- a/digitalai/release/v1/model/environment_stage_view.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class EnvironmentStageView(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentStageView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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 - """EnvironmentStageView - 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,) - id (str): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/environment_view.py b/digitalai/release/v1/model/environment_view.py deleted file mode 100644 index 3323520..0000000 --- a/digitalai/release/v1/model/environment_view.py +++ /dev/null @@ -1,287 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView - from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView - globals()['EnvironmentLabelView'] = EnvironmentLabelView - globals()['EnvironmentStageView'] = EnvironmentStageView - - -class EnvironmentView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'stage': (EnvironmentStageView,), # noqa: E501 - 'labels': ([EnvironmentLabelView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'stage': 'stage', # noqa: E501 - 'labels': 'labels', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EnvironmentView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage (EnvironmentStageView): [optional] # noqa: E501 - labels ([EnvironmentLabelView]): [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 - """EnvironmentView - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - stage (EnvironmentStageView): [optional] # noqa: E501 - labels ([EnvironmentLabelView]): [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/digitalai/release/v1/model/external_variable_value.py b/digitalai/release/v1/model/external_variable_value.py deleted file mode 100644 index 1379016..0000000 --- a/digitalai/release/v1/model/external_variable_value.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ExternalVariableValue(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 = { - } - - @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 - """ - 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. - """ - return { - 'server': (str,), # noqa: E501 - 'server_type': (str,), # noqa: E501 - 'path': (str,), # noqa: E501 - 'external_key': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'server': 'server', # noqa: E501 - 'server_type': 'serverType', # noqa: E501 - 'path': 'path', # noqa: E501 - 'external_key': 'externalKey', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ExternalVariableValue - 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,) - server (str): [optional] # noqa: E501 - server_type (str): [optional] # noqa: E501 - path (str): [optional] # noqa: E501 - external_key (str): [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 - """ExternalVariableValue - 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,) - server (str): [optional] # noqa: E501 - server_type (str): [optional] # noqa: E501 - path (str): [optional] # noqa: E501 - external_key (str): [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/digitalai/release/v1/model/facet.py b/digitalai/release/v1/model/facet.py deleted file mode 100644 index ad21db6..0000000 --- a/digitalai/release/v1/model/facet.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.facet_scope import FacetScope - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['FacetScope'] = FacetScope - globals()['UsagePoint'] = UsagePoint - - -class Facet(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scope': (FacetScope,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'properties_with_variables': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scope': 'scope', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'properties_with_variables': 'propertiesWithVariables', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Facet - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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 - """Facet - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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/digitalai/release/v1/model/facet_filters.py b/digitalai/release/v1/model/facet_filters.py deleted file mode 100644 index d4ef396..0000000 --- a/digitalai/release/v1/model/facet_filters.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class FacetFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'parent_id': (str,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'types': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'parent_id': 'parentId', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'types': 'types', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """FacetFilters - 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,) - parent_id (str): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - types ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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 - """FacetFilters - 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,) - parent_id (str): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - types ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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/digitalai/release/v1/model/facet_scope.py b/digitalai/release/v1/model/facet_scope.py deleted file mode 100644 index ecc530e..0000000 --- a/digitalai/release/v1/model/facet_scope.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class FacetScope(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',): { - 'TASK': "TASK", - }, - } - - 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): - """FacetScope - 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): if omitted defaults to "TASK", must be one of ["TASK", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "TASK", must be one of ["TASK", ] # 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: - value = "TASK" - - _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): - """FacetScope - 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): if omitted defaults to "TASK", must be one of ["TASK", ] # noqa: E501 - - Keyword Args: - value (str): if omitted defaults to "TASK", must be one of ["TASK", ] # 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: - value = "TASK" - - _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/digitalai/release/v1/model/flag_status.py b/digitalai/release/v1/model/flag_status.py deleted file mode 100644 index 13489df..0000000 --- a/digitalai/release/v1/model/flag_status.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class FlagStatus(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',): { - 'OK': "OK", - 'ATTENTION_NEEDED': "ATTENTION_NEEDED", - 'AT_RISK': "AT_RISK", - }, - } - - 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): - """FlagStatus - 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 ["OK", "ATTENTION_NEEDED", "AT_RISK", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OK", "ATTENTION_NEEDED", "AT_RISK", ] # 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): - """FlagStatus - 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 ["OK", "ATTENTION_NEEDED", "AT_RISK", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OK", "ATTENTION_NEEDED", "AT_RISK", ] # 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/digitalai/release/v1/model/folder.py b/digitalai/release/v1/model/folder.py deleted file mode 100644 index 36f561b..0000000 --- a/digitalai/release/v1/model/folder.py +++ /dev/null @@ -1,297 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.folder_variables import FolderVariables - from digitalai.release.v1.model.variable import Variable - globals()['FolderVariables'] = FolderVariables - globals()['Variable'] = Variable - - -class Folder(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 = { - ('children',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'children': ([Folder],), # noqa: E501 - 'metadata': ({str: (dict,)},), # noqa: E501 - 'all_variables': ([Variable],), # noqa: E501 - 'folder_variables': (FolderVariables,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'children': 'children', # noqa: E501 - 'metadata': '$metadata', # noqa: E501 - 'all_variables': 'allVariables', # noqa: E501 - 'folder_variables': 'folderVariables', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Folder - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - children ([Folder]): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - all_variables ([Variable]): [optional] # noqa: E501 - folder_variables (FolderVariables): [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 - """Folder - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - children ([Folder]): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - all_variables ([Variable]): [optional] # noqa: E501 - folder_variables (FolderVariables): [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/digitalai/release/v1/model/folder_variables.py b/digitalai/release/v1/model/folder_variables.py deleted file mode 100644 index fc606f9..0000000 --- a/digitalai/release/v1/model/folder_variables.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.variable import Variable - globals()['Variable'] = Variable - - -class FolderVariables(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variables': ([Variable],), # noqa: E501 - 'string_variable_values': ({str: (str,)},), # noqa: E501 - 'password_variable_values': ({str: (str,)},), # noqa: E501 - 'variables_by_keys': ({str: (Variable,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'string_variable_values': 'stringVariableValues', # noqa: E501 - 'password_variable_values': 'passwordVariableValues', # noqa: E501 - 'variables_by_keys': 'variablesByKeys', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """FolderVariables - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - string_variable_values ({str: (str,)}): [optional] # noqa: E501 - password_variable_values ({str: (str,)}): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [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 - """FolderVariables - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - string_variable_values ({str: (str,)}): [optional] # noqa: E501 - password_variable_values ({str: (str,)}): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [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/digitalai/release/v1/model/gate_condition.py b/digitalai/release/v1/model/gate_condition.py deleted file mode 100644 index 6147ee9..0000000 --- a/digitalai/release/v1/model/gate_condition.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class GateCondition(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'checked': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'checked': 'checked', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """GateCondition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - checked (bool): [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 - """GateCondition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - checked (bool): [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/digitalai/release/v1/model/gate_task.py b/digitalai/release/v1/model/gate_task.py deleted file mode 100644 index e7ca455..0000000 --- a/digitalai/release/v1/model/gate_task.py +++ /dev/null @@ -1,701 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.attachment import Attachment - from digitalai.release.v1.model.blackout_metadata import BlackoutMetadata - from digitalai.release.v1.model.comment import Comment - from digitalai.release.v1.model.dependency import Dependency - from digitalai.release.v1.model.facet import Facet - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.gate_condition import GateCondition - from digitalai.release.v1.model.phase import Phase - from digitalai.release.v1.model.plan_item import PlanItem - from digitalai.release.v1.model.release import Release - from digitalai.release.v1.model.task import Task - from digitalai.release.v1.model.task_container import TaskContainer - from digitalai.release.v1.model.task_recover_op import TaskRecoverOp - from digitalai.release.v1.model.task_status import TaskStatus - from digitalai.release.v1.model.usage_point import UsagePoint - from digitalai.release.v1.model.variable import Variable - globals()['Attachment'] = Attachment - globals()['BlackoutMetadata'] = BlackoutMetadata - globals()['Comment'] = Comment - globals()['Dependency'] = Dependency - globals()['Facet'] = Facet - globals()['FlagStatus'] = FlagStatus - globals()['GateCondition'] = GateCondition - globals()['Phase'] = Phase - globals()['PlanItem'] = PlanItem - globals()['Release'] = Release - globals()['Task'] = Task - globals()['TaskContainer'] = TaskContainer - globals()['TaskRecoverOp'] = TaskRecoverOp - globals()['TaskStatus'] = TaskStatus - globals()['UsagePoint'] = UsagePoint - globals()['Variable'] = Variable - - -class GateTask(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 = { - ('watchers',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'comments': ([Comment],), # noqa: E501 - 'container': (TaskContainer,), # noqa: E501 - 'facets': ([Facet],), # noqa: E501 - 'attachments': ([Attachment],), # noqa: E501 - 'status': (TaskStatus,), # noqa: E501 - 'team': (str,), # noqa: E501 - 'watchers': ([str],), # noqa: E501 - 'wait_for_scheduled_start_date': (bool,), # noqa: E501 - 'delay_during_blackout': (bool,), # noqa: E501 - 'postponed_due_to_blackout': (bool,), # noqa: E501 - 'postponed_until_environments_are_reserved': (bool,), # noqa: E501 - 'original_scheduled_start_date': (datetime,), # noqa: E501 - 'has_been_flagged': (bool,), # noqa: E501 - 'has_been_delayed': (bool,), # noqa: E501 - 'precondition': (str,), # noqa: E501 - 'failure_handler': (str,), # noqa: E501 - 'task_failure_handler_enabled': (bool,), # noqa: E501 - 'task_recover_op': (TaskRecoverOp,), # noqa: E501 - 'failures_count': (int,), # noqa: E501 - 'execution_id': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'external_variable_mapping': ({str: (str,)},), # noqa: E501 - 'max_comment_size': (int,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'due_soon_notified': (bool,), # noqa: E501 - 'locked': (bool,), # noqa: E501 - 'check_attributes': (bool,), # noqa: E501 - 'abort_script': (str,), # noqa: E501 - 'phase': (Phase,), # noqa: E501 - 'blackout_metadata': (BlackoutMetadata,), # noqa: E501 - 'flagged_count': (int,), # noqa: E501 - 'delayed_count': (int,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'done_in_advance': (bool,), # noqa: E501 - 'defunct': (bool,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'not_yet_reached': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'in_progress': (bool,), # noqa: E501 - 'pending': (bool,), # noqa: E501 - 'waiting_for_input': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'completed_in_advance': (bool,), # noqa: E501 - 'skipped': (bool,), # noqa: E501 - 'skipped_in_advance': (bool,), # noqa: E501 - 'precondition_in_progress': (bool,), # noqa: E501 - 'failure_handler_in_progress': (bool,), # noqa: E501 - 'abort_script_in_progress': (bool,), # noqa: E501 - 'facet_in_progress': (bool,), # noqa: E501 - 'movable': (bool,), # noqa: E501 - 'gate': (bool,), # noqa: E501 - 'task_group': (bool,), # noqa: E501 - 'parallel_group': (bool,), # noqa: E501 - 'precondition_enabled': (bool,), # noqa: E501 - 'failure_handler_enabled': (bool,), # noqa: E501 - 'release': (Release,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - 'all_tasks': ([Task],), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'input_variables': ([Variable],), # noqa: E501 - 'referenced_variables': ([Variable],), # noqa: E501 - 'unbound_required_variables': ([str],), # noqa: E501 - 'automated': (bool,), # noqa: E501 - 'task_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'due_soon': (bool,), # noqa: E501 - 'elapsed_duration_fraction': (float,), # noqa: E501 - 'url': (str,), # noqa: E501 - 'conditions': ([GateCondition],), # noqa: E501 - 'dependencies': ([Dependency],), # noqa: E501 - 'open': (bool,), # noqa: E501 - 'open_in_advance': (bool,), # noqa: E501 - 'completable': (bool,), # noqa: E501 - 'aborted_dependency_titles': (str,), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'comments': 'comments', # noqa: E501 - 'container': 'container', # noqa: E501 - 'facets': 'facets', # noqa: E501 - 'attachments': 'attachments', # noqa: E501 - 'status': 'status', # noqa: E501 - 'team': 'team', # noqa: E501 - 'watchers': 'watchers', # noqa: E501 - 'wait_for_scheduled_start_date': 'waitForScheduledStartDate', # noqa: E501 - 'delay_during_blackout': 'delayDuringBlackout', # noqa: E501 - 'postponed_due_to_blackout': 'postponedDueToBlackout', # noqa: E501 - 'postponed_until_environments_are_reserved': 'postponedUntilEnvironmentsAreReserved', # noqa: E501 - 'original_scheduled_start_date': 'originalScheduledStartDate', # noqa: E501 - 'has_been_flagged': 'hasBeenFlagged', # noqa: E501 - 'has_been_delayed': 'hasBeenDelayed', # noqa: E501 - 'precondition': 'precondition', # noqa: E501 - 'failure_handler': 'failureHandler', # noqa: E501 - 'task_failure_handler_enabled': 'taskFailureHandlerEnabled', # noqa: E501 - 'task_recover_op': 'taskRecoverOp', # noqa: E501 - 'failures_count': 'failuresCount', # noqa: E501 - 'execution_id': 'executionId', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'external_variable_mapping': 'externalVariableMapping', # noqa: E501 - 'max_comment_size': 'maxCommentSize', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'due_soon_notified': 'dueSoonNotified', # noqa: E501 - 'locked': 'locked', # noqa: E501 - 'check_attributes': 'checkAttributes', # noqa: E501 - 'abort_script': 'abortScript', # noqa: E501 - 'phase': 'phase', # noqa: E501 - 'blackout_metadata': 'blackoutMetadata', # noqa: E501 - 'flagged_count': 'flaggedCount', # noqa: E501 - 'delayed_count': 'delayedCount', # noqa: E501 - 'done': 'done', # noqa: E501 - 'done_in_advance': 'doneInAdvance', # noqa: E501 - 'defunct': 'defunct', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'not_yet_reached': 'notYetReached', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'active': 'active', # noqa: E501 - 'in_progress': 'inProgress', # noqa: E501 - 'pending': 'pending', # noqa: E501 - 'waiting_for_input': 'waitingForInput', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'completed_in_advance': 'completedInAdvance', # noqa: E501 - 'skipped': 'skipped', # noqa: E501 - 'skipped_in_advance': 'skippedInAdvance', # noqa: E501 - 'precondition_in_progress': 'preconditionInProgress', # noqa: E501 - 'failure_handler_in_progress': 'failureHandlerInProgress', # noqa: E501 - 'abort_script_in_progress': 'abortScriptInProgress', # noqa: E501 - 'facet_in_progress': 'facetInProgress', # noqa: E501 - 'movable': 'movable', # noqa: E501 - 'gate': 'gate', # noqa: E501 - 'task_group': 'taskGroup', # noqa: E501 - 'parallel_group': 'parallelGroup', # noqa: E501 - 'precondition_enabled': 'preconditionEnabled', # noqa: E501 - 'failure_handler_enabled': 'failureHandlerEnabled', # noqa: E501 - 'release': 'release', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - 'all_tasks': 'allTasks', # noqa: E501 - 'children': 'children', # noqa: E501 - 'input_variables': 'inputVariables', # noqa: E501 - 'referenced_variables': 'referencedVariables', # noqa: E501 - 'unbound_required_variables': 'unboundRequiredVariables', # noqa: E501 - 'automated': 'automated', # noqa: E501 - 'task_type': 'taskType', # noqa: E501 - 'due_soon': 'dueSoon', # noqa: E501 - 'elapsed_duration_fraction': 'elapsedDurationFraction', # noqa: E501 - 'url': 'url', # noqa: E501 - 'conditions': 'conditions', # noqa: E501 - 'dependencies': 'dependencies', # noqa: E501 - 'open': 'open', # noqa: E501 - 'open_in_advance': 'openInAdvance', # noqa: E501 - 'completable': 'completable', # noqa: E501 - 'aborted_dependency_titles': 'abortedDependencyTitles', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """GateTask - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (TaskContainer): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - conditions ([GateCondition]): [optional] # noqa: E501 - dependencies ([Dependency]): [optional] # noqa: E501 - open (bool): [optional] # noqa: E501 - open_in_advance (bool): [optional] # noqa: E501 - completable (bool): [optional] # noqa: E501 - aborted_dependency_titles (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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 - """GateTask - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (TaskContainer): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - conditions ([GateCondition]): [optional] # noqa: E501 - dependencies ([Dependency]): [optional] # noqa: E501 - open (bool): [optional] # noqa: E501 - open_in_advance (bool): [optional] # noqa: E501 - completable (bool): [optional] # noqa: E501 - aborted_dependency_titles (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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/digitalai/release/v1/model/global_variables.py b/digitalai/release/v1/model/global_variables.py deleted file mode 100644 index 9f29b3a..0000000 --- a/digitalai/release/v1/model/global_variables.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.variable import Variable - globals()['Variable'] = Variable - - -class GlobalVariables(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variables': ([Variable],), # noqa: E501 - 'variables_by_keys': ({str: (Variable,)},), # noqa: E501 - 'string_variable_values': ({str: (str,)},), # noqa: E501 - 'password_variable_values': ({str: (str,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'variables_by_keys': 'variablesByKeys', # noqa: E501 - 'string_variable_values': 'stringVariableValues', # noqa: E501 - 'password_variable_values': 'passwordVariableValues', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """GlobalVariables - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - string_variable_values ({str: (str,)}): [optional] # noqa: E501 - password_variable_values ({str: (str,)}): [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 - """GlobalVariables - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - string_variable_values ({str: (str,)}): [optional] # noqa: E501 - password_variable_values ({str: (str,)}): [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/digitalai/release/v1/model/import_result.py b/digitalai/release/v1/model/import_result.py deleted file mode 100644 index 4aabdc8..0000000 --- a/digitalai/release/v1/model/import_result.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ImportResult(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'warnings': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'warnings': 'warnings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ImportResult - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - warnings ([str]): [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 - """ImportResult - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - warnings ([str]): [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/digitalai/release/v1/model/member_type.py b/digitalai/release/v1/model/member_type.py deleted file mode 100644 index afb482c..0000000 --- a/digitalai/release/v1/model/member_type.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class MemberType(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',): { - 'PRINCIPAL': "PRINCIPAL", - 'ROLE': "ROLE", - }, - } - - 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): - """MemberType - 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 ["PRINCIPAL", "ROLE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PRINCIPAL", "ROLE", ] # 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): - """MemberType - 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 ["PRINCIPAL", "ROLE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PRINCIPAL", "ROLE", ] # 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/digitalai/release/v1/model/model_property.py b/digitalai/release/v1/model/model_property.py deleted file mode 100644 index 25426ef..0000000 --- a/digitalai/release/v1/model/model_property.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ModelProperty(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 = { - } - - @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 - """ - 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. - """ - return { - 'indexed_property_pattern': (str,), # noqa: E501 - 'property_name': (str,), # noqa: E501 - 'index': (int,), # noqa: E501 - 'indexed': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'indexed_property_pattern': 'INDEXED_PROPERTY_PATTERN', # noqa: E501 - 'property_name': 'propertyName', # noqa: E501 - 'index': 'index', # noqa: E501 - 'indexed': 'indexed', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ModelProperty - 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,) - indexed_property_pattern (str): [optional] # noqa: E501 - property_name (str): [optional] # noqa: E501 - index (int): [optional] # noqa: E501 - indexed (bool): [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 - """ModelProperty - 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,) - indexed_property_pattern (str): [optional] # noqa: E501 - property_name (str): [optional] # noqa: E501 - index (int): [optional] # noqa: E501 - indexed (bool): [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/digitalai/release/v1/model/phase.py b/digitalai/release/v1/model/phase.py deleted file mode 100644 index 2e8404f..0000000 --- a/digitalai/release/v1/model/phase.py +++ /dev/null @@ -1,459 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.gate_task import GateTask - from digitalai.release.v1.model.phase_status import PhaseStatus - from digitalai.release.v1.model.plan_item import PlanItem - from digitalai.release.v1.model.task import Task - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['FlagStatus'] = FlagStatus - globals()['GateTask'] = GateTask - globals()['PhaseStatus'] = PhaseStatus - globals()['PlanItem'] = PlanItem - globals()['Task'] = Task - globals()['UsagePoint'] = UsagePoint - - -class Phase(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'locked': (bool,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'tasks': ([Task],), # noqa: E501 - 'release': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'status': (PhaseStatus,), # noqa: E501 - 'color': (str,), # noqa: E501 - 'origin_id': (str,), # noqa: E501 - 'current_task': (Task,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'defunct': (bool,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - 'all_gates': ([GateTask],), # noqa: E501 - 'all_tasks': ([Task],), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'original': (bool,), # noqa: E501 - 'phase_copied': (bool,), # noqa: E501 - 'ancestor_id': (str,), # noqa: E501 - 'latest_copy': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'locked': 'locked', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'tasks': 'tasks', # noqa: E501 - 'release': 'release', # noqa: E501 - 'status': 'status', # noqa: E501 - 'color': 'color', # noqa: E501 - 'origin_id': 'originId', # noqa: E501 - 'current_task': 'currentTask', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'active': 'active', # noqa: E501 - 'done': 'done', # noqa: E501 - 'defunct': 'defunct', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - 'all_gates': 'allGates', # noqa: E501 - 'all_tasks': 'allTasks', # noqa: E501 - 'children': 'children', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'original': 'original', # noqa: E501 - 'phase_copied': 'phaseCopied', # noqa: E501 - 'ancestor_id': 'ancestorId', # noqa: E501 - 'latest_copy': 'latestCopy', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Phase - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - tasks ([Task]): [optional] # noqa: E501 - release (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - status (PhaseStatus): [optional] # noqa: E501 - color (str): [optional] # noqa: E501 - origin_id (str): [optional] # noqa: E501 - current_task (Task): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_gates ([GateTask]): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - original (bool): [optional] # noqa: E501 - phase_copied (bool): [optional] # noqa: E501 - ancestor_id (str): [optional] # noqa: E501 - latest_copy (bool): [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 - """Phase - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - tasks ([Task]): [optional] # noqa: E501 - release (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - status (PhaseStatus): [optional] # noqa: E501 - color (str): [optional] # noqa: E501 - origin_id (str): [optional] # noqa: E501 - current_task (Task): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_gates ([GateTask]): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - original (bool): [optional] # noqa: E501 - phase_copied (bool): [optional] # noqa: E501 - ancestor_id (str): [optional] # noqa: E501 - latest_copy (bool): [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/digitalai/release/v1/model/phase_status.py b/digitalai/release/v1/model/phase_status.py deleted file mode 100644 index 2b1df45..0000000 --- a/digitalai/release/v1/model/phase_status.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class PhaseStatus(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',): { - 'PLANNED': "PLANNED", - 'IN_PROGRESS': "IN_PROGRESS", - 'COMPLETED': "COMPLETED", - 'FAILING': "FAILING", - 'FAILED': "FAILED", - 'SKIPPED': "SKIPPED", - 'ABORTED': "ABORTED", - }, - } - - 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): - """PhaseStatus - 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 ["PLANNED", "IN_PROGRESS", "COMPLETED", "FAILING", "FAILED", "SKIPPED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "IN_PROGRESS", "COMPLETED", "FAILING", "FAILED", "SKIPPED", "ABORTED", ] # 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): - """PhaseStatus - 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 ["PLANNED", "IN_PROGRESS", "COMPLETED", "FAILING", "FAILED", "SKIPPED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "IN_PROGRESS", "COMPLETED", "FAILING", "FAILED", "SKIPPED", "ABORTED", ] # 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/digitalai/release/v1/model/phase_timeline.py b/digitalai/release/v1/model/phase_timeline.py deleted file mode 100644 index 0465c6e..0000000 --- a/digitalai/release/v1/model/phase_timeline.py +++ /dev/null @@ -1,299 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class PhaseTimeline(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_start_date': (datetime,), # noqa: E501 - 'planned_end_date': (datetime,), # noqa: E501 - 'color': (str,), # noqa: E501 - 'current_task': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_start_date': 'plannedStartDate', # noqa: E501 - 'planned_end_date': 'plannedEndDate', # noqa: E501 - 'color': 'color', # noqa: E501 - 'current_task': 'currentTask', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PhaseTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_start_date (datetime): [optional] # noqa: E501 - planned_end_date (datetime): [optional] # noqa: E501 - color (str): [optional] # noqa: E501 - current_task (str): [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 - """PhaseTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_start_date (datetime): [optional] # noqa: E501 - planned_end_date (datetime): [optional] # noqa: E501 - color (str): [optional] # noqa: E501 - current_task (str): [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/digitalai/release/v1/model/phase_version.py b/digitalai/release/v1/model/phase_version.py deleted file mode 100644 index fcff078..0000000 --- a/digitalai/release/v1/model/phase_version.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class PhaseVersion(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',): { - 'LATEST': "LATEST", - 'ORIGINAL': "ORIGINAL", - 'ALL': "ALL", - }, - } - - 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): - """PhaseVersion - 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 ["LATEST", "ORIGINAL", "ALL", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["LATEST", "ORIGINAL", "ALL", ] # 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): - """PhaseVersion - 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 ["LATEST", "ORIGINAL", "ALL", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["LATEST", "ORIGINAL", "ALL", ] # 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/digitalai/release/v1/model/plan_item.py b/digitalai/release/v1/model/plan_item.py deleted file mode 100644 index a10035b..0000000 --- a/digitalai/release/v1/model/plan_item.py +++ /dev/null @@ -1,385 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.release import Release - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['FlagStatus'] = FlagStatus - globals()['Release'] = Release - globals()['UsagePoint'] = UsagePoint - - -class PlanItem(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'release': (Release,), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'children': 'children', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'done': 'done', # noqa: E501 - 'release': 'release', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'active': 'active', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PlanItem - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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 - """PlanItem - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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/digitalai/release/v1/model/poll_type.py b/digitalai/release/v1/model/poll_type.py deleted file mode 100644 index ddfd7f3..0000000 --- a/digitalai/release/v1/model/poll_type.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class PollType(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',): { - 'REPEAT': "REPEAT", - 'CRON': "CRON", - }, - } - - 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): - """PollType - 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 ["REPEAT", "CRON", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["REPEAT", "CRON", ] # 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): - """PollType - 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 ["REPEAT", "CRON", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["REPEAT", "CRON", ] # 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/digitalai/release/v1/model/principal_view.py b/digitalai/release/v1/model/principal_view.py deleted file mode 100644 index 6ce0ad8..0000000 --- a/digitalai/release/v1/model/principal_view.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class PrincipalView(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 = { - } - - @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 - """ - 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. - """ - return { - 'username': (str,), # noqa: E501 - 'fullname': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'username': 'username', # noqa: E501 - 'fullname': 'fullname', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PrincipalView - 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,) - username (str): [optional] # noqa: E501 - fullname (str): [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 - """PrincipalView - 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,) - username (str): [optional] # noqa: E501 - fullname (str): [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/digitalai/release/v1/model/projected_phase.py b/digitalai/release/v1/model/projected_phase.py deleted file mode 100644 index 559e7db..0000000 --- a/digitalai/release/v1/model/projected_phase.py +++ /dev/null @@ -1,301 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.projected_task import ProjectedTask - globals()['ProjectedTask'] = ProjectedTask - - -class ProjectedPhase(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'start_date_string': (str,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'end_date_string': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'tasks': ([ProjectedTask],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'start_date_string': 'startDateString', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'end_date_string': 'endDateString', # noqa: E501 - 'status': 'status', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'tasks': 'tasks', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ProjectedPhase - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - tasks ([ProjectedTask]): [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 - """ProjectedPhase - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - tasks ([ProjectedTask]): [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/digitalai/release/v1/model/projected_release.py b/digitalai/release/v1/model/projected_release.py deleted file mode 100644 index 3f5f453..0000000 --- a/digitalai/release/v1/model/projected_release.py +++ /dev/null @@ -1,301 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.projected_phase import ProjectedPhase - globals()['ProjectedPhase'] = ProjectedPhase - - -class ProjectedRelease(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'start_date_string': (str,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'end_date_string': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'phases': ([ProjectedPhase],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'start_date_string': 'startDateString', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'end_date_string': 'endDateString', # noqa: E501 - 'status': 'status', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'phases': 'phases', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ProjectedRelease - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - phases ([ProjectedPhase]): [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 - """ProjectedRelease - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - phases ([ProjectedPhase]): [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/digitalai/release/v1/model/projected_task.py b/digitalai/release/v1/model/projected_task.py deleted file mode 100644 index 840c02d..0000000 --- a/digitalai/release/v1/model/projected_task.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ProjectedTask(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'start_date_string': (str,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'end_date_string': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'start_date_string': 'startDateString', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'end_date_string': 'endDateString', # noqa: E501 - 'status': 'status', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ProjectedTask - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [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 - """ProjectedTask - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - start_date_string (str): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - end_date_string (str): [optional] # noqa: E501 - status (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/release.py b/digitalai/release/v1/model/release.py deleted file mode 100644 index 6517248..0000000 --- a/digitalai/release/v1/model/release.py +++ /dev/null @@ -1,681 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.attachment import Attachment - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.folder_variables import FolderVariables - from digitalai.release.v1.model.gate_task import GateTask - from digitalai.release.v1.model.global_variables import GlobalVariables - from digitalai.release.v1.model.phase import Phase - from digitalai.release.v1.model.plan_item import PlanItem - from digitalai.release.v1.model.release_extension import ReleaseExtension - from digitalai.release.v1.model.release_status import ReleaseStatus - from digitalai.release.v1.model.release_trigger import ReleaseTrigger - from digitalai.release.v1.model.task import Task - from digitalai.release.v1.model.team import Team - from digitalai.release.v1.model.usage_point import UsagePoint - from digitalai.release.v1.model.user_input_task import UserInputTask - from digitalai.release.v1.model.value_with_interpolation import ValueWithInterpolation - from digitalai.release.v1.model.variable import Variable - globals()['Attachment'] = Attachment - globals()['FlagStatus'] = FlagStatus - globals()['FolderVariables'] = FolderVariables - globals()['GateTask'] = GateTask - globals()['GlobalVariables'] = GlobalVariables - globals()['Phase'] = Phase - globals()['PlanItem'] = PlanItem - globals()['ReleaseExtension'] = ReleaseExtension - globals()['ReleaseStatus'] = ReleaseStatus - globals()['ReleaseTrigger'] = ReleaseTrigger - globals()['Task'] = Task - globals()['Team'] = Team - globals()['UsagePoint'] = UsagePoint - globals()['UserInputTask'] = UserInputTask - globals()['ValueWithInterpolation'] = ValueWithInterpolation - globals()['Variable'] = Variable - - -class Release(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 = { - ('variables_keys_in_non_interpolatable_variable_values',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'root_release_id': (str,), # noqa: E501 - 'max_concurrent_releases': (int,), # noqa: E501 - 'release_triggers': ([ReleaseTrigger],), # noqa: E501 - 'teams': ([Team],), # noqa: E501 - 'member_viewers': ([str],), # noqa: E501 - 'role_viewers': ([str],), # noqa: E501 - 'attachments': ([Attachment],), # noqa: E501 - 'phases': ([Phase],), # noqa: E501 - 'queryable_start_date': (datetime,), # noqa: E501 - 'queryable_end_date': (datetime,), # noqa: E501 - 'real_flag_status': (FlagStatus,), # noqa: E501 - 'status': (ReleaseStatus,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'variables': ([Variable],), # noqa: E501 - 'calendar_link_token': (str,), # noqa: E501 - 'calendar_published': (bool,), # noqa: E501 - 'tutorial': (bool,), # noqa: E501 - 'abort_on_failure': (bool,), # noqa: E501 - 'archive_release': (bool,), # noqa: E501 - 'allow_passwords_in_all_fields': (bool,), # noqa: E501 - 'disable_notifications': (bool,), # noqa: E501 - 'allow_concurrent_releases_from_trigger': (bool,), # noqa: E501 - 'origin_template_id': (str,), # noqa: E501 - 'created_from_trigger': (bool,), # noqa: E501 - 'script_username': (str,), # noqa: E501 - 'script_user_password': (str,), # noqa: E501 - 'extensions': ([ReleaseExtension],), # noqa: E501 - 'started_from_task_id': (str,), # noqa: E501 - 'auto_start': (bool,), # noqa: E501 - 'automated_resume_count': (int,), # noqa: E501 - 'max_automated_resumes': (int,), # noqa: E501 - 'abort_comment': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'risk_profile': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'metadata': ({str: (dict,)},), # noqa: E501 - 'archived': (bool,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'variable_values': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'password_variable_values': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'ci_property_variables': ([Variable],), # noqa: E501 - 'all_string_variable_values': ({str: (str,)},), # noqa: E501 - 'all_release_global_and_folder_variables': ([Variable],), # noqa: E501 - 'all_variable_values_as_strings_with_interpolation_info': ({str: (ValueWithInterpolation,)},), # noqa: E501 - 'variables_keys_in_non_interpolatable_variable_values': ([str],), # noqa: E501 - 'variables_by_keys': ({str: (Variable,)},), # noqa: E501 - 'all_variables': ([Variable],), # noqa: E501 - 'global_variables': (GlobalVariables,), # noqa: E501 - 'folder_variables': (FolderVariables,), # noqa: E501 - 'admin_team': (Team,), # noqa: E501 - 'release_attachments': ([Attachment],), # noqa: E501 - 'current_phase': (Phase,), # noqa: E501 - 'current_task': (Task,), # noqa: E501 - 'all_tasks': ([Task],), # noqa: E501 - 'all_gates': ([GateTask],), # noqa: E501 - 'all_user_input_tasks': ([UserInputTask],), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'planned_or_active': (bool,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'defunct': (bool,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'paused': (bool,), # noqa: E501 - 'template': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'in_progress': (bool,), # noqa: E501 - 'release': (Release,), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'all_plan_items': ([PlanItem],), # noqa: E501 - 'url': (str,), # noqa: E501 - 'active_tasks': ([Task],), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'pending': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - 'root_release_id': 'rootReleaseId', # noqa: E501 - 'max_concurrent_releases': 'maxConcurrentReleases', # noqa: E501 - 'release_triggers': 'releaseTriggers', # noqa: E501 - 'teams': 'teams', # noqa: E501 - 'member_viewers': 'memberViewers', # noqa: E501 - 'role_viewers': 'roleViewers', # noqa: E501 - 'attachments': 'attachments', # noqa: E501 - 'phases': 'phases', # noqa: E501 - 'queryable_start_date': 'queryableStartDate', # noqa: E501 - 'queryable_end_date': 'queryableEndDate', # noqa: E501 - 'real_flag_status': 'realFlagStatus', # noqa: E501 - 'status': 'status', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'calendar_link_token': 'calendarLinkToken', # noqa: E501 - 'calendar_published': 'calendarPublished', # noqa: E501 - 'tutorial': 'tutorial', # noqa: E501 - 'abort_on_failure': 'abortOnFailure', # noqa: E501 - 'archive_release': 'archiveRelease', # noqa: E501 - 'allow_passwords_in_all_fields': 'allowPasswordsInAllFields', # noqa: E501 - 'disable_notifications': 'disableNotifications', # noqa: E501 - 'allow_concurrent_releases_from_trigger': 'allowConcurrentReleasesFromTrigger', # noqa: E501 - 'origin_template_id': 'originTemplateId', # noqa: E501 - 'created_from_trigger': 'createdFromTrigger', # noqa: E501 - 'script_username': 'scriptUsername', # noqa: E501 - 'script_user_password': 'scriptUserPassword', # noqa: E501 - 'extensions': 'extensions', # noqa: E501 - 'started_from_task_id': 'startedFromTaskId', # noqa: E501 - 'auto_start': 'autoStart', # noqa: E501 - 'automated_resume_count': 'automatedResumeCount', # noqa: E501 - 'max_automated_resumes': 'maxAutomatedResumes', # noqa: E501 - 'abort_comment': 'abortComment', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'risk_profile': 'riskProfile', # noqa: E501 - 'metadata': '$metadata', # noqa: E501 - 'archived': 'archived', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'variable_values': 'variableValues', # noqa: E501 - 'password_variable_values': 'passwordVariableValues', # noqa: E501 - 'ci_property_variables': 'ciPropertyVariables', # noqa: E501 - 'all_string_variable_values': 'allStringVariableValues', # noqa: E501 - 'all_release_global_and_folder_variables': 'allReleaseGlobalAndFolderVariables', # noqa: E501 - 'all_variable_values_as_strings_with_interpolation_info': 'allVariableValuesAsStringsWithInterpolationInfo', # noqa: E501 - 'variables_keys_in_non_interpolatable_variable_values': 'variablesKeysInNonInterpolatableVariableValues', # noqa: E501 - 'variables_by_keys': 'variablesByKeys', # noqa: E501 - 'all_variables': 'allVariables', # noqa: E501 - 'global_variables': 'globalVariables', # noqa: E501 - 'folder_variables': 'folderVariables', # noqa: E501 - 'admin_team': 'adminTeam', # noqa: E501 - 'release_attachments': 'releaseAttachments', # noqa: E501 - 'current_phase': 'currentPhase', # noqa: E501 - 'current_task': 'currentTask', # noqa: E501 - 'all_tasks': 'allTasks', # noqa: E501 - 'all_gates': 'allGates', # noqa: E501 - 'all_user_input_tasks': 'allUserInputTasks', # noqa: E501 - 'done': 'done', # noqa: E501 - 'planned_or_active': 'plannedOrActive', # noqa: E501 - 'active': 'active', # noqa: E501 - 'defunct': 'defunct', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'paused': 'paused', # noqa: E501 - 'template': 'template', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'in_progress': 'inProgress', # noqa: E501 - 'release': 'release', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'children': 'children', # noqa: E501 - 'all_plan_items': 'allPlanItems', # noqa: E501 - 'url': 'url', # noqa: E501 - 'active_tasks': 'activeTasks', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'pending': 'pending', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Release - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - root_release_id (str): [optional] # noqa: E501 - max_concurrent_releases (int): [optional] # noqa: E501 - release_triggers ([ReleaseTrigger]): [optional] # noqa: E501 - teams ([Team]): [optional] # noqa: E501 - member_viewers ([str]): [optional] # noqa: E501 - role_viewers ([str]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - phases ([Phase]): [optional] # noqa: E501 - queryable_start_date (datetime): [optional] # noqa: E501 - queryable_end_date (datetime): [optional] # noqa: E501 - real_flag_status (FlagStatus): [optional] # noqa: E501 - status (ReleaseStatus): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - calendar_link_token (str): [optional] # noqa: E501 - calendar_published (bool): [optional] # noqa: E501 - tutorial (bool): [optional] # noqa: E501 - abort_on_failure (bool): [optional] # noqa: E501 - archive_release (bool): [optional] # noqa: E501 - allow_passwords_in_all_fields (bool): [optional] # noqa: E501 - disable_notifications (bool): [optional] # noqa: E501 - allow_concurrent_releases_from_trigger (bool): [optional] # noqa: E501 - origin_template_id (str): [optional] # noqa: E501 - created_from_trigger (bool): [optional] # noqa: E501 - script_username (str): [optional] # noqa: E501 - script_user_password (str): [optional] # noqa: E501 - extensions ([ReleaseExtension]): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - automated_resume_count (int): [optional] # noqa: E501 - max_automated_resumes (int): [optional] # noqa: E501 - abort_comment (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - risk_profile (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - archived (bool): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - password_variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - ci_property_variables ([Variable]): [optional] # noqa: E501 - all_string_variable_values ({str: (str,)}): [optional] # noqa: E501 - all_release_global_and_folder_variables ([Variable]): [optional] # noqa: E501 - all_variable_values_as_strings_with_interpolation_info ({str: (ValueWithInterpolation,)}): [optional] # noqa: E501 - variables_keys_in_non_interpolatable_variable_values ([str]): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - all_variables ([Variable]): [optional] # noqa: E501 - global_variables (GlobalVariables): [optional] # noqa: E501 - folder_variables (FolderVariables): [optional] # noqa: E501 - admin_team (Team): [optional] # noqa: E501 - release_attachments ([Attachment]): [optional] # noqa: E501 - current_phase (Phase): [optional] # noqa: E501 - current_task (Task): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - all_gates ([GateTask]): [optional] # noqa: E501 - all_user_input_tasks ([UserInputTask]): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - planned_or_active (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - paused (bool): [optional] # noqa: E501 - template (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - all_plan_items ([PlanItem]): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - active_tasks ([Task]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - pending (bool): [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 - """Release - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - root_release_id (str): [optional] # noqa: E501 - max_concurrent_releases (int): [optional] # noqa: E501 - release_triggers ([ReleaseTrigger]): [optional] # noqa: E501 - teams ([Team]): [optional] # noqa: E501 - member_viewers ([str]): [optional] # noqa: E501 - role_viewers ([str]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - phases ([Phase]): [optional] # noqa: E501 - queryable_start_date (datetime): [optional] # noqa: E501 - queryable_end_date (datetime): [optional] # noqa: E501 - real_flag_status (FlagStatus): [optional] # noqa: E501 - status (ReleaseStatus): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - calendar_link_token (str): [optional] # noqa: E501 - calendar_published (bool): [optional] # noqa: E501 - tutorial (bool): [optional] # noqa: E501 - abort_on_failure (bool): [optional] # noqa: E501 - archive_release (bool): [optional] # noqa: E501 - allow_passwords_in_all_fields (bool): [optional] # noqa: E501 - disable_notifications (bool): [optional] # noqa: E501 - allow_concurrent_releases_from_trigger (bool): [optional] # noqa: E501 - origin_template_id (str): [optional] # noqa: E501 - created_from_trigger (bool): [optional] # noqa: E501 - script_username (str): [optional] # noqa: E501 - script_user_password (str): [optional] # noqa: E501 - extensions ([ReleaseExtension]): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - automated_resume_count (int): [optional] # noqa: E501 - max_automated_resumes (int): [optional] # noqa: E501 - abort_comment (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - risk_profile (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - archived (bool): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - password_variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - ci_property_variables ([Variable]): [optional] # noqa: E501 - all_string_variable_values ({str: (str,)}): [optional] # noqa: E501 - all_release_global_and_folder_variables ([Variable]): [optional] # noqa: E501 - all_variable_values_as_strings_with_interpolation_info ({str: (ValueWithInterpolation,)}): [optional] # noqa: E501 - variables_keys_in_non_interpolatable_variable_values ([str]): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - all_variables ([Variable]): [optional] # noqa: E501 - global_variables (GlobalVariables): [optional] # noqa: E501 - folder_variables (FolderVariables): [optional] # noqa: E501 - admin_team (Team): [optional] # noqa: E501 - release_attachments ([Attachment]): [optional] # noqa: E501 - current_phase (Phase): [optional] # noqa: E501 - current_task (Task): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - all_gates ([GateTask]): [optional] # noqa: E501 - all_user_input_tasks ([UserInputTask]): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - planned_or_active (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - paused (bool): [optional] # noqa: E501 - template (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - all_plan_items ([PlanItem]): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - active_tasks ([Task]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - pending (bool): [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/digitalai/release/v1/model/release_configuration.py b/digitalai/release/v1/model/release_configuration.py deleted file mode 100644 index 94172cb..0000000 --- a/digitalai/release/v1/model/release_configuration.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseConfiguration(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 = { - } - - @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 - """ - 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. - """ - return { - 'folder_id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'folder_id': 'folderId', # noqa: E501 - 'title': 'title', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseConfiguration - 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,) - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [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 - """ReleaseConfiguration - 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,) - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [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/digitalai/release/v1/model/release_count_result.py b/digitalai/release/v1/model/release_count_result.py deleted file mode 100644 index 2e18fad..0000000 --- a/digitalai/release/v1/model/release_count_result.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseCountResult(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 = { - } - - @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 - """ - 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. - """ - return { - 'total': (int,), # noqa: E501 - 'by_status': ({str: (int,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'total': 'total', # noqa: E501 - 'by_status': 'byStatus', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseCountResult - 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,) - total (int): [optional] # noqa: E501 - by_status ({str: (int,)}): [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 - """ReleaseCountResult - 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,) - total (int): [optional] # noqa: E501 - by_status ({str: (int,)}): [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/digitalai/release/v1/model/release_count_results.py b/digitalai/release/v1/model/release_count_results.py deleted file mode 100644 index 69f4b20..0000000 --- a/digitalai/release/v1/model/release_count_results.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_count_result import ReleaseCountResult - globals()['ReleaseCountResult'] = ReleaseCountResult - - -class ReleaseCountResults(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 = { - } - - @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 { - 'live': (ReleaseCountResult,), # noqa: E501 - 'archived': (ReleaseCountResult,), # noqa: E501 - 'all': (ReleaseCountResult,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'live': 'live', # noqa: E501 - 'archived': 'archived', # noqa: E501 - 'all': 'all', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseCountResults - 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,) - live (ReleaseCountResult): [optional] # noqa: E501 - archived (ReleaseCountResult): [optional] # noqa: E501 - all (ReleaseCountResult): [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 - """ReleaseCountResults - 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,) - live (ReleaseCountResult): [optional] # noqa: E501 - archived (ReleaseCountResult): [optional] # noqa: E501 - all (ReleaseCountResult): [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/digitalai/release/v1/model/release_extension.py b/digitalai/release/v1/model/release_extension.py deleted file mode 100644 index cdd8ec9..0000000 --- a/digitalai/release/v1/model/release_extension.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['UsagePoint'] = UsagePoint - - -class ReleaseExtension(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseExtension - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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 - """ReleaseExtension - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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/digitalai/release/v1/model/release_full_search_result.py b/digitalai/release/v1/model/release_full_search_result.py deleted file mode 100644 index cf25903..0000000 --- a/digitalai/release/v1/model/release_full_search_result.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_search_result import ReleaseSearchResult - globals()['ReleaseSearchResult'] = ReleaseSearchResult - - -class ReleaseFullSearchResult(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 = { - } - - @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 { - 'live': (ReleaseSearchResult,), # noqa: E501 - 'archived': (ReleaseSearchResult,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'live': 'live', # noqa: E501 - 'archived': 'archived', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseFullSearchResult - 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,) - live (ReleaseSearchResult): [optional] # noqa: E501 - archived (ReleaseSearchResult): [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 - """ReleaseFullSearchResult - 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,) - live (ReleaseSearchResult): [optional] # noqa: E501 - archived (ReleaseSearchResult): [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/digitalai/release/v1/model/release_group.py b/digitalai/release/v1/model/release_group.py deleted file mode 100644 index d4a49e8..0000000 --- a/digitalai/release/v1/model/release_group.py +++ /dev/null @@ -1,315 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_group_status import ReleaseGroupStatus - globals()['ReleaseGroupStatus'] = ReleaseGroupStatus - - -class ReleaseGroup(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 = { - ('release_ids',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'metadata': ({str: (dict,)},), # noqa: E501 - 'title': (str,), # noqa: E501 - 'status': (ReleaseGroupStatus,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'risk_score': (int,), # noqa: E501 - 'release_ids': ([str],), # noqa: E501 - 'progress': (int,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'metadata': '$metadata', # noqa: E501 - 'title': 'title', # noqa: E501 - 'status': 'status', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'risk_score': 'riskScore', # noqa: E501 - 'release_ids': 'releaseIds', # noqa: E501 - 'progress': 'progress', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseGroup - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (ReleaseGroupStatus): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - progress (int): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - updatable (bool): [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 - """ReleaseGroup - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - metadata ({str: (dict,)}): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (ReleaseGroupStatus): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - progress (int): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - updatable (bool): [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/digitalai/release/v1/model/release_group_filters.py b/digitalai/release/v1/model/release_group_filters.py deleted file mode 100644 index e5ca010..0000000 --- a/digitalai/release/v1/model/release_group_filters.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_group_status import ReleaseGroupStatus - globals()['ReleaseGroupStatus'] = ReleaseGroupStatus - - -class ReleaseGroupFilters(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 = { - } - - @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 { - 'title': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'statuses': ([ReleaseGroupStatus],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'statuses': 'statuses', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseGroupFilters - 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,) - title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - statuses ([ReleaseGroupStatus]): [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 - """ReleaseGroupFilters - 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,) - title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - statuses ([ReleaseGroupStatus]): [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/digitalai/release/v1/model/release_group_order_mode.py b/digitalai/release/v1/model/release_group_order_mode.py deleted file mode 100644 index a35a2d2..0000000 --- a/digitalai/release/v1/model/release_group_order_mode.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseGroupOrderMode(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',): { - 'RISK': "RISK", - 'START_DATE': "START_DATE", - 'END_DATE': "END_DATE", - }, - } - - 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): - """ReleaseGroupOrderMode - 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 ["RISK", "START_DATE", "END_DATE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["RISK", "START_DATE", "END_DATE", ] # 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): - """ReleaseGroupOrderMode - 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 ["RISK", "START_DATE", "END_DATE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["RISK", "START_DATE", "END_DATE", ] # 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/digitalai/release/v1/model/release_group_status.py b/digitalai/release/v1/model/release_group_status.py deleted file mode 100644 index b630913..0000000 --- a/digitalai/release/v1/model/release_group_status.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseGroupStatus(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',): { - 'PLANNED': "PLANNED", - 'IN_PROGRESS': "IN_PROGRESS", - 'PAUSED': "PAUSED", - 'FAILING': "FAILING", - 'FAILED': "FAILED", - 'COMPLETED': "COMPLETED", - 'ABORTED': "ABORTED", - }, - } - - 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): - """ReleaseGroupStatus - 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 ["PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # 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): - """ReleaseGroupStatus - 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 ["PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # 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/digitalai/release/v1/model/release_group_timeline.py b/digitalai/release/v1/model/release_group_timeline.py deleted file mode 100644 index 47cbbce..0000000 --- a/digitalai/release/v1/model/release_group_timeline.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_timeline import ReleaseTimeline - globals()['ReleaseTimeline'] = ReleaseTimeline - - -class ReleaseGroupTimeline(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'risk_score': (int,), # noqa: E501 - 'releases': ([ReleaseTimeline],), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'risk_score': 'riskScore', # noqa: E501 - 'releases': 'releases', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseGroupTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - releases ([ReleaseTimeline]): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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 - """ReleaseGroupTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - releases ([ReleaseTimeline]): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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/digitalai/release/v1/model/release_order_direction.py b/digitalai/release/v1/model/release_order_direction.py deleted file mode 100644 index 9a5cce9..0000000 --- a/digitalai/release/v1/model/release_order_direction.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseOrderDirection(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',): { - 'ASC': "ASC", - 'DESC': "DESC", - }, - } - - 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): - """ReleaseOrderDirection - 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 ["ASC", "DESC", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["ASC", "DESC", ] # 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): - """ReleaseOrderDirection - 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 ["ASC", "DESC", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["ASC", "DESC", ] # 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/digitalai/release/v1/model/release_order_mode.py b/digitalai/release/v1/model/release_order_mode.py deleted file mode 100644 index 6b9a73d..0000000 --- a/digitalai/release/v1/model/release_order_mode.py +++ /dev/null @@ -1,292 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseOrderMode(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',): { - 'RISK': "risk", - 'START_DATE': "start_date", - 'END_DATE': "end_date", - 'TITLE': "title", - }, - } - - 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): - """ReleaseOrderMode - 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 ["risk", "start_date", "end_date", "title", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["risk", "start_date", "end_date", "title", ] # 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): - """ReleaseOrderMode - 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 ["risk", "start_date", "end_date", "title", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["risk", "start_date", "end_date", "title", ] # 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/digitalai/release/v1/model/release_search_result.py b/digitalai/release/v1/model/release_search_result.py deleted file mode 100644 index d625ccf..0000000 --- a/digitalai/release/v1/model/release_search_result.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release import Release - globals()['Release'] = Release - - -class ReleaseSearchResult(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 = { - } - - @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 { - 'page': (int,), # noqa: E501 - 'size': (int,), # noqa: E501 - 'releases': ([Release],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'page': 'page', # noqa: E501 - 'size': 'size', # noqa: E501 - 'releases': 'releases', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseSearchResult - 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,) - page (int): [optional] # noqa: E501 - size (int): [optional] # noqa: E501 - releases ([Release]): [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 - """ReleaseSearchResult - 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,) - page (int): [optional] # noqa: E501 - size (int): [optional] # noqa: E501 - releases ([Release]): [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/digitalai/release/v1/model/release_status.py b/digitalai/release/v1/model/release_status.py deleted file mode 100644 index 2bd02dd..0000000 --- a/digitalai/release/v1/model/release_status.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReleaseStatus(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',): { - 'TEMPLATE': "TEMPLATE", - 'PLANNED': "PLANNED", - 'IN_PROGRESS': "IN_PROGRESS", - 'PAUSED': "PAUSED", - 'FAILING': "FAILING", - 'FAILED': "FAILED", - 'COMPLETED': "COMPLETED", - 'ABORTED': "ABORTED", - }, - } - - 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): - """ReleaseStatus - 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 ["TEMPLATE", "PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["TEMPLATE", "PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # 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): - """ReleaseStatus - 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 ["TEMPLATE", "PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["TEMPLATE", "PLANNED", "IN_PROGRESS", "PAUSED", "FAILING", "FAILED", "COMPLETED", "ABORTED", ] # 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/digitalai/release/v1/model/release_timeline.py b/digitalai/release/v1/model/release_timeline.py deleted file mode 100644 index 71da93f..0000000 --- a/digitalai/release/v1/model/release_timeline.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.phase_timeline import PhaseTimeline - from digitalai.release.v1.model.release_status import ReleaseStatus - globals()['PhaseTimeline'] = PhaseTimeline - globals()['ReleaseStatus'] = ReleaseStatus - - -class ReleaseTimeline(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_start_date': (datetime,), # noqa: E501 - 'planned_end_date': (datetime,), # noqa: E501 - 'phases': ([PhaseTimeline],), # noqa: E501 - 'risk_score': (int,), # noqa: E501 - 'status': (ReleaseStatus,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_start_date': 'plannedStartDate', # noqa: E501 - 'planned_end_date': 'plannedEndDate', # noqa: E501 - 'phases': 'phases', # noqa: E501 - 'risk_score': 'riskScore', # noqa: E501 - 'status': 'status', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_start_date (datetime): [optional] # noqa: E501 - planned_end_date (datetime): [optional] # noqa: E501 - phases ([PhaseTimeline]): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - status (ReleaseStatus): [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 - """ReleaseTimeline - 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,) - id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_start_date (datetime): [optional] # noqa: E501 - planned_end_date (datetime): [optional] # noqa: E501 - phases ([PhaseTimeline]): [optional] # noqa: E501 - risk_score (int): [optional] # noqa: E501 - status (ReleaseStatus): [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/digitalai/release/v1/model/release_trigger.py b/digitalai/release/v1/model/release_trigger.py deleted file mode 100644 index 94e581f..0000000 --- a/digitalai/release/v1/model/release_trigger.py +++ /dev/null @@ -1,397 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.poll_type import PollType - from digitalai.release.v1.model.trigger_execution_status import TriggerExecutionStatus - from digitalai.release.v1.model.variable import Variable - globals()['PollType'] = PollType - globals()['TriggerExecutionStatus'] = TriggerExecutionStatus - globals()['Variable'] = Variable - - -class ReleaseTrigger(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'script': (str,), # noqa: E501 - 'abort_script': (str,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'enabled': (bool,), # noqa: E501 - 'trigger_state': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'allow_parallel_execution': (bool,), # noqa: E501 - 'last_run_date': (datetime,), # noqa: E501 - 'last_run_status': (TriggerExecutionStatus,), # noqa: E501 - 'poll_type': (PollType,), # noqa: E501 - 'periodicity': (str,), # noqa: E501 - 'initial_fire': (bool,), # noqa: E501 - 'release_title': (str,), # noqa: E501 - 'execution_id': (str,), # noqa: E501 - 'variables': ([Variable],), # noqa: E501 - 'template': (str,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'release_folder': (str,), # noqa: E501 - 'internal_properties': ([str],), # noqa: E501 - 'template_variables': ({str: (str,)},), # noqa: E501 - 'template_password_variables': ({str: (str,)},), # noqa: E501 - 'trigger_state_from_results': (str,), # noqa: E501 - 'script_variable_names': ([str],), # noqa: E501 - 'script_variables_from_results': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'string_script_variable_values': ({str: (str,)},), # noqa: E501 - 'script_variable_values': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'variables_by_keys': ({str: (Variable,)},), # noqa: E501 - 'container_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'script': 'script', # noqa: E501 - 'abort_script': 'abortScript', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'enabled': 'enabled', # noqa: E501 - 'trigger_state': 'triggerState', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'allow_parallel_execution': 'allowParallelExecution', # noqa: E501 - 'last_run_date': 'lastRunDate', # noqa: E501 - 'last_run_status': 'lastRunStatus', # noqa: E501 - 'poll_type': 'pollType', # noqa: E501 - 'periodicity': 'periodicity', # noqa: E501 - 'initial_fire': 'initialFire', # noqa: E501 - 'release_title': 'releaseTitle', # noqa: E501 - 'execution_id': 'executionId', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'template': 'template', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'release_folder': 'releaseFolder', # noqa: E501 - 'internal_properties': 'internalProperties', # noqa: E501 - 'template_variables': 'templateVariables', # noqa: E501 - 'template_password_variables': 'templatePasswordVariables', # noqa: E501 - 'trigger_state_from_results': 'triggerStateFromResults', # noqa: E501 - 'script_variable_names': 'scriptVariableNames', # noqa: E501 - 'script_variables_from_results': 'scriptVariablesFromResults', # noqa: E501 - 'string_script_variable_values': 'stringScriptVariableValues', # noqa: E501 - 'script_variable_values': 'scriptVariableValues', # noqa: E501 - 'variables_by_keys': 'variablesByKeys', # noqa: E501 - 'container_id': 'containerId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleaseTrigger - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - script (str): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - trigger_state (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - allow_parallel_execution (bool): [optional] # noqa: E501 - last_run_date (datetime): [optional] # noqa: E501 - last_run_status (TriggerExecutionStatus): [optional] # noqa: E501 - poll_type (PollType): [optional] # noqa: E501 - periodicity (str): [optional] # noqa: E501 - initial_fire (bool): [optional] # noqa: E501 - release_title (str): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - template (str): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - release_folder (str): [optional] # noqa: E501 - internal_properties ([str]): [optional] # noqa: E501 - template_variables ({str: (str,)}): [optional] # noqa: E501 - template_password_variables ({str: (str,)}): [optional] # noqa: E501 - trigger_state_from_results (str): [optional] # noqa: E501 - script_variable_names ([str]): [optional] # noqa: E501 - script_variables_from_results ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - string_script_variable_values ({str: (str,)}): [optional] # noqa: E501 - script_variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - container_id (str): [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 - """ReleaseTrigger - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - script (str): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - trigger_state (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - allow_parallel_execution (bool): [optional] # noqa: E501 - last_run_date (datetime): [optional] # noqa: E501 - last_run_status (TriggerExecutionStatus): [optional] # noqa: E501 - poll_type (PollType): [optional] # noqa: E501 - periodicity (str): [optional] # noqa: E501 - initial_fire (bool): [optional] # noqa: E501 - release_title (str): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - template (str): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - release_folder (str): [optional] # noqa: E501 - internal_properties ([str]): [optional] # noqa: E501 - template_variables ({str: (str,)}): [optional] # noqa: E501 - template_password_variables ({str: (str,)}): [optional] # noqa: E501 - trigger_state_from_results (str): [optional] # noqa: E501 - script_variable_names ([str]): [optional] # noqa: E501 - script_variables_from_results ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - string_script_variable_values ({str: (str,)}): [optional] # noqa: E501 - script_variable_values ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - variables_by_keys ({str: (Variable,)}): [optional] # noqa: E501 - container_id (str): [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/digitalai/release/v1/model/releases_filters.py b/digitalai/release/v1/model/releases_filters.py deleted file mode 100644 index ca16bba..0000000 --- a/digitalai/release/v1/model/releases_filters.py +++ /dev/null @@ -1,373 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.release_order_direction import ReleaseOrderDirection - from digitalai.release.v1.model.release_order_mode import ReleaseOrderMode - from digitalai.release.v1.model.release_status import ReleaseStatus - from digitalai.release.v1.model.risk_status_with_thresholds import RiskStatusWithThresholds - from digitalai.release.v1.model.time_frame import TimeFrame - globals()['ReleaseOrderDirection'] = ReleaseOrderDirection - globals()['ReleaseOrderMode'] = ReleaseOrderMode - globals()['ReleaseStatus'] = ReleaseStatus - globals()['RiskStatusWithThresholds'] = RiskStatusWithThresholds - globals()['TimeFrame'] = TimeFrame - - -class ReleasesFilters(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 = { - } - - @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 { - 'title': (str,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'task_tags': ([str],), # noqa: E501 - 'time_frame': (TimeFrame,), # noqa: E501 - '_from': (datetime,), # noqa: E501 - 'to': (datetime,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'in_progress': (bool,), # noqa: E501 - 'paused': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'inactive': (bool,), # noqa: E501 - 'completed': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'only_mine': (bool,), # noqa: E501 - 'only_flagged': (bool,), # noqa: E501 - 'only_archived': (bool,), # noqa: E501 - 'parent_id': (str,), # noqa: E501 - 'order_by': (ReleaseOrderMode,), # noqa: E501 - 'order_direction': (ReleaseOrderDirection,), # noqa: E501 - 'risk_status_with_thresholds': (RiskStatusWithThresholds,), # noqa: E501 - 'query_start_date': (datetime,), # noqa: E501 - 'query_end_date': (datetime,), # noqa: E501 - 'statuses': ([ReleaseStatus],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'task_tags': 'taskTags', # noqa: E501 - 'time_frame': 'timeFrame', # noqa: E501 - '_from': 'from', # noqa: E501 - 'to': 'to', # noqa: E501 - 'active': 'active', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'in_progress': 'inProgress', # noqa: E501 - 'paused': 'paused', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'inactive': 'inactive', # noqa: E501 - 'completed': 'completed', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'only_mine': 'onlyMine', # noqa: E501 - 'only_flagged': 'onlyFlagged', # noqa: E501 - 'only_archived': 'onlyArchived', # noqa: E501 - 'parent_id': 'parentId', # noqa: E501 - 'order_by': 'orderBy', # noqa: E501 - 'order_direction': 'orderDirection', # noqa: E501 - 'risk_status_with_thresholds': 'riskStatusWithThresholds', # noqa: E501 - 'query_start_date': 'queryStartDate', # noqa: E501 - 'query_end_date': 'queryEndDate', # noqa: E501 - 'statuses': 'statuses', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReleasesFilters - 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,) - title (str): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - task_tags ([str]): [optional] # noqa: E501 - time_frame (TimeFrame): [optional] # noqa: E501 - _from (datetime): [optional] # noqa: E501 - to (datetime): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - paused (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - inactive (bool): [optional] # noqa: E501 - completed (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - only_mine (bool): [optional] # noqa: E501 - only_flagged (bool): [optional] # noqa: E501 - only_archived (bool): [optional] # noqa: E501 - parent_id (str): [optional] # noqa: E501 - order_by (ReleaseOrderMode): [optional] # noqa: E501 - order_direction (ReleaseOrderDirection): [optional] # noqa: E501 - risk_status_with_thresholds (RiskStatusWithThresholds): [optional] # noqa: E501 - query_start_date (datetime): [optional] # noqa: E501 - query_end_date (datetime): [optional] # noqa: E501 - statuses ([ReleaseStatus]): [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 - """ReleasesFilters - 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,) - title (str): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - task_tags ([str]): [optional] # noqa: E501 - time_frame (TimeFrame): [optional] # noqa: E501 - _from (datetime): [optional] # noqa: E501 - to (datetime): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - paused (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - inactive (bool): [optional] # noqa: E501 - completed (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - only_mine (bool): [optional] # noqa: E501 - only_flagged (bool): [optional] # noqa: E501 - only_archived (bool): [optional] # noqa: E501 - parent_id (str): [optional] # noqa: E501 - order_by (ReleaseOrderMode): [optional] # noqa: E501 - order_direction (ReleaseOrderDirection): [optional] # noqa: E501 - risk_status_with_thresholds (RiskStatusWithThresholds): [optional] # noqa: E501 - query_start_date (datetime): [optional] # noqa: E501 - query_end_date (datetime): [optional] # noqa: E501 - statuses ([ReleaseStatus]): [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/digitalai/release/v1/model/reservation_filters.py b/digitalai/release/v1/model/reservation_filters.py deleted file mode 100644 index 1b69986..0000000 --- a/digitalai/release/v1/model/reservation_filters.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ReservationFilters(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 = { - } - - @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 - """ - 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. - """ - return { - 'environment_title': (str,), # noqa: E501 - 'stages': ([str],), # noqa: E501 - 'labels': ([str],), # noqa: E501 - 'applications': ([str],), # noqa: E501 - '_from': (datetime,), # noqa: E501 - 'to': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'environment_title': 'environmentTitle', # noqa: E501 - 'stages': 'stages', # noqa: E501 - 'labels': 'labels', # noqa: E501 - 'applications': 'applications', # noqa: E501 - '_from': 'from', # noqa: E501 - 'to': 'to', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReservationFilters - 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,) - environment_title (str): [optional] # noqa: E501 - stages ([str]): [optional] # noqa: E501 - labels ([str]): [optional] # noqa: E501 - applications ([str]): [optional] # noqa: E501 - _from (datetime): [optional] # noqa: E501 - to (datetime): [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 - """ReservationFilters - 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,) - environment_title (str): [optional] # noqa: E501 - stages ([str]): [optional] # noqa: E501 - labels ([str]): [optional] # noqa: E501 - applications ([str]): [optional] # noqa: E501 - _from (datetime): [optional] # noqa: E501 - to (datetime): [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/digitalai/release/v1/model/reservation_search_view.py b/digitalai/release/v1/model/reservation_search_view.py deleted file mode 100644 index fcd53bc..0000000 --- a/digitalai/release/v1/model/reservation_search_view.py +++ /dev/null @@ -1,285 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.base_application_view import BaseApplicationView - globals()['BaseApplicationView'] = BaseApplicationView - - -class ReservationSearchView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'note': (str,), # noqa: E501 - 'applications': ([BaseApplicationView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'note': 'note', # noqa: E501 - 'applications': 'applications', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ReservationSearchView - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - applications ([BaseApplicationView]): [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 - """ReservationSearchView - 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,) - id (str): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - note (str): [optional] # noqa: E501 - applications ([BaseApplicationView]): [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/digitalai/release/v1/model/risk.py b/digitalai/release/v1/model/risk.py deleted file mode 100644 index 29c1c2a..0000000 --- a/digitalai/release/v1/model/risk.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.risk_assessment import RiskAssessment - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['RiskAssessment'] = RiskAssessment - globals()['UsagePoint'] = UsagePoint - - -class Risk(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'score': (int,), # noqa: E501 - 'total_score': (int,), # noqa: E501 - 'risk_assessments': ([RiskAssessment],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'score': 'score', # noqa: E501 - 'total_score': 'totalScore', # noqa: E501 - 'risk_assessments': 'riskAssessments', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Risk - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - total_score (int): [optional] # noqa: E501 - risk_assessments ([RiskAssessment]): [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 - """Risk - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - total_score (int): [optional] # noqa: E501 - risk_assessments ([RiskAssessment]): [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/digitalai/release/v1/model/risk_assessment.py b/digitalai/release/v1/model/risk_assessment.py deleted file mode 100644 index 65b964d..0000000 --- a/digitalai/release/v1/model/risk_assessment.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.risk import Risk - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['Risk'] = Risk - globals()['UsagePoint'] = UsagePoint - - -class RiskAssessment(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'risk_assessor_id': (str,), # noqa: E501 - 'risk': (Risk,), # noqa: E501 - 'score': (int,), # noqa: E501 - 'headline': (str,), # noqa: E501 - 'messages': ([str],), # noqa: E501 - 'icon': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'risk_assessor_id': 'riskAssessorId', # noqa: E501 - 'risk': 'risk', # noqa: E501 - 'score': 'score', # noqa: E501 - 'headline': 'headline', # noqa: E501 - 'messages': 'messages', # noqa: E501 - 'icon': 'icon', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RiskAssessment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - risk_assessor_id (str): [optional] # noqa: E501 - risk (Risk): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - headline (str): [optional] # noqa: E501 - messages ([str]): [optional] # noqa: E501 - icon (str): [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 - """RiskAssessment - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - risk_assessor_id (str): [optional] # noqa: E501 - risk (Risk): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - headline (str): [optional] # noqa: E501 - messages ([str]): [optional] # noqa: E501 - icon (str): [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/digitalai/release/v1/model/risk_assessor.py b/digitalai/release/v1/model/risk_assessor.py deleted file mode 100644 index d15bc9b..0000000 --- a/digitalai/release/v1/model/risk_assessor.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class RiskAssessor(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'weight': (int,), # noqa: E501 - 'score': (int,), # noqa: E501 - 'order': (str,), # noqa: E501 - 'group': (str,), # noqa: E501 - 'icon': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'weight': 'weight', # noqa: E501 - 'score': 'score', # noqa: E501 - 'order': 'order', # noqa: E501 - 'group': 'group', # noqa: E501 - 'icon': 'icon', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RiskAssessor - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - weight (int): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - order (str): [optional] # noqa: E501 - group (str): [optional] # noqa: E501 - icon (str): [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 - """RiskAssessor - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - weight (int): [optional] # noqa: E501 - score (int): [optional] # noqa: E501 - order (str): [optional] # noqa: E501 - group (str): [optional] # noqa: E501 - icon (str): [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/digitalai/release/v1/model/risk_global_thresholds.py b/digitalai/release/v1/model/risk_global_thresholds.py deleted file mode 100644 index bb31dee..0000000 --- a/digitalai/release/v1/model/risk_global_thresholds.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class RiskGlobalThresholds(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'at_risk_from': (int,), # noqa: E501 - 'attention_needed_from': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'title': 'title', # noqa: E501 - 'at_risk_from': 'atRiskFrom', # noqa: E501 - 'attention_needed_from': 'attentionNeededFrom', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RiskGlobalThresholds - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - at_risk_from (int): [optional] # noqa: E501 - attention_needed_from (int): [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 - """RiskGlobalThresholds - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - at_risk_from (int): [optional] # noqa: E501 - attention_needed_from (int): [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/digitalai/release/v1/model/risk_profile.py b/digitalai/release/v1/model/risk_profile.py deleted file mode 100644 index 6257f05..0000000 --- a/digitalai/release/v1/model/risk_profile.py +++ /dev/null @@ -1,283 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class RiskProfile(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'default_profile': (bool,), # noqa: E501 - 'risk_profile_assessors': ({str: (str,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'title': 'title', # noqa: E501 - 'default_profile': 'defaultProfile', # noqa: E501 - 'risk_profile_assessors': 'riskProfileAssessors', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RiskProfile - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - default_profile (bool): [optional] # noqa: E501 - risk_profile_assessors ({str: (str,)}): [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 - """RiskProfile - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - default_profile (bool): [optional] # noqa: E501 - risk_profile_assessors ({str: (str,)}): [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/digitalai/release/v1/model/risk_status.py b/digitalai/release/v1/model/risk_status.py deleted file mode 100644 index 79920cc..0000000 --- a/digitalai/release/v1/model/risk_status.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class RiskStatus(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',): { - 'OK': "OK", - 'AT_RISK': "AT_RISK", - 'ATTENTION_NEEDED': "ATTENTION_NEEDED", - }, - } - - 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): - """RiskStatus - 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 ["OK", "AT_RISK", "ATTENTION_NEEDED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OK", "AT_RISK", "ATTENTION_NEEDED", ] # 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): - """RiskStatus - 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 ["OK", "AT_RISK", "ATTENTION_NEEDED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OK", "AT_RISK", "ATTENTION_NEEDED", ] # 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/digitalai/release/v1/model/risk_status_with_thresholds.py b/digitalai/release/v1/model/risk_status_with_thresholds.py deleted file mode 100644 index 2ca2220..0000000 --- a/digitalai/release/v1/model/risk_status_with_thresholds.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.risk_status import RiskStatus - globals()['RiskStatus'] = RiskStatus - - -class RiskStatusWithThresholds(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 = { - } - - @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 { - 'risk_status': (RiskStatus,), # noqa: E501 - 'attention_needed_from': (int,), # noqa: E501 - 'at_risk_from': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'risk_status': 'riskStatus', # noqa: E501 - 'attention_needed_from': 'attentionNeededFrom', # noqa: E501 - 'at_risk_from': 'atRiskFrom', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RiskStatusWithThresholds - 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,) - risk_status (RiskStatus): [optional] # noqa: E501 - attention_needed_from (int): [optional] # noqa: E501 - at_risk_from (int): [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 - """RiskStatusWithThresholds - 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,) - risk_status (RiskStatus): [optional] # noqa: E501 - attention_needed_from (int): [optional] # noqa: E501 - at_risk_from (int): [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/digitalai/release/v1/model/role_view.py b/digitalai/release/v1/model/role_view.py deleted file mode 100644 index 2823a1a..0000000 --- a/digitalai/release/v1/model/role_view.py +++ /dev/null @@ -1,285 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.principal_view import PrincipalView - globals()['PrincipalView'] = PrincipalView - - -class RoleView(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 = { - ('permissions',): { - }, - ('principals',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'name': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'permissions': ([str],), # noqa: E501 - 'principals': ([PrincipalView],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'id': 'id', # noqa: E501 - 'permissions': 'permissions', # noqa: E501 - 'principals': 'principals', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RoleView - 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,) - name (str): [optional] # noqa: E501 - id (str): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - principals ([PrincipalView]): [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 - """RoleView - 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,) - name (str): [optional] # noqa: E501 - id (str): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - principals ([PrincipalView]): [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/digitalai/release/v1/model/shared_configuration_status_response.py b/digitalai/release/v1/model/shared_configuration_status_response.py deleted file mode 100644 index 3364a3f..0000000 --- a/digitalai/release/v1/model/shared_configuration_status_response.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class SharedConfigurationStatusResponse(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 = { - } - - @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 - """ - 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. - """ - return { - 'success': (bool,), # noqa: E501 - 'error_text': (str,), # noqa: E501 - 'script_found': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'success': 'success', # noqa: E501 - 'error_text': 'errorText', # noqa: E501 - 'script_found': 'scriptFound', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """SharedConfigurationStatusResponse - 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,) - success (bool): [optional] # noqa: E501 - error_text (str): [optional] # noqa: E501 - script_found (bool): [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 - """SharedConfigurationStatusResponse - 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,) - success (bool): [optional] # noqa: E501 - error_text (str): [optional] # noqa: E501 - script_found (bool): [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/digitalai/release/v1/model/stage.py b/digitalai/release/v1/model/stage.py deleted file mode 100644 index 4fbfea5..0000000 --- a/digitalai/release/v1/model/stage.py +++ /dev/null @@ -1,309 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.stage_status import StageStatus - from digitalai.release.v1.model.stage_tracked_item import StageTrackedItem - from digitalai.release.v1.model.transition import Transition - globals()['StageStatus'] = StageStatus - globals()['StageTrackedItem'] = StageTrackedItem - globals()['Transition'] = Transition - - -class Stage(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'status': (StageStatus,), # noqa: E501 - 'items': ([StageTrackedItem],), # noqa: E501 - 'transition': (Transition,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'team': (str,), # noqa: E501 - 'open': (bool,), # noqa: E501 - 'closed': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'status': 'status', # noqa: E501 - 'items': 'items', # noqa: E501 - 'transition': 'transition', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'team': 'team', # noqa: E501 - 'open': 'open', # noqa: E501 - 'closed': 'closed', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Stage - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (StageStatus): [optional] # noqa: E501 - items ([StageTrackedItem]): [optional] # noqa: E501 - transition (Transition): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - open (bool): [optional] # noqa: E501 - closed (bool): [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 - """Stage - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - status (StageStatus): [optional] # noqa: E501 - items ([StageTrackedItem]): [optional] # noqa: E501 - transition (Transition): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - open (bool): [optional] # noqa: E501 - closed (bool): [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/digitalai/release/v1/model/stage_status.py b/digitalai/release/v1/model/stage_status.py deleted file mode 100644 index 8046f78..0000000 --- a/digitalai/release/v1/model/stage_status.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class StageStatus(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',): { - 'OPEN': "OPEN", - 'CLOSED': "CLOSED", - }, - } - - 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): - """StageStatus - 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 ["OPEN", "CLOSED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OPEN", "CLOSED", ] # 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): - """StageStatus - 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 ["OPEN", "CLOSED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["OPEN", "CLOSED", ] # 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/digitalai/release/v1/model/stage_tracked_item.py b/digitalai/release/v1/model/stage_tracked_item.py deleted file mode 100644 index 4897c43..0000000 --- a/digitalai/release/v1/model/stage_tracked_item.py +++ /dev/null @@ -1,279 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.tracked_item_status import TrackedItemStatus - globals()['TrackedItemStatus'] = TrackedItemStatus - - -class StageTrackedItem(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 = { - ('release_ids',): { - }, - } - - @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 { - 'tracked_item_id': (str,), # noqa: E501 - 'status': (TrackedItemStatus,), # noqa: E501 - 'release_ids': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'tracked_item_id': 'trackedItemId', # noqa: E501 - 'status': 'status', # noqa: E501 - 'release_ids': 'releaseIds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """StageTrackedItem - 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,) - tracked_item_id (str): [optional] # noqa: E501 - status (TrackedItemStatus): [optional] # noqa: E501 - release_ids ([str]): [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 - """StageTrackedItem - 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,) - tracked_item_id (str): [optional] # noqa: E501 - status (TrackedItemStatus): [optional] # noqa: E501 - release_ids ([str]): [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/digitalai/release/v1/model/start_release.py b/digitalai/release/v1/model/start_release.py deleted file mode 100644 index ced3e63..0000000 --- a/digitalai/release/v1/model/start_release.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class StartRelease(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 = { - } - - @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 - """ - 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. - """ - return { - 'release_title': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'variables': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 - 'release_variables': ({str: (str,)},), # noqa: E501 - 'release_password_variables': ({str: (str,)},), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'auto_start': (bool,), # noqa: E501 - 'started_from_task_id': (str,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'release_title': 'releaseTitle', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'release_variables': 'releaseVariables', # noqa: E501 - 'release_password_variables': 'releasePasswordVariables', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'auto_start': 'autoStart', # noqa: E501 - 'started_from_task_id': 'startedFromTaskId', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """StartRelease - 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,) - release_title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - variables ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - release_variables ({str: (str,)}): [optional] # noqa: E501 - release_password_variables ({str: (str,)}): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - release_owner (str): [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 - """StartRelease - 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,) - release_title (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - variables ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 - release_variables ({str: (str,)}): [optional] # noqa: E501 - release_password_variables ({str: (str,)}): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - auto_start (bool): [optional] # noqa: E501 - started_from_task_id (str): [optional] # noqa: E501 - release_owner (str): [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/digitalai/release/v1/model/start_task.py b/digitalai/release/v1/model/start_task.py deleted file mode 100644 index 0a8bf86..0000000 --- a/digitalai/release/v1/model/start_task.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.variable import Variable - globals()['Variable'] = Variable - - -class StartTask(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 = { - } - - @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 { - 'variables': ([Variable],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'variables': 'variables', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """StartTask - 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,) - variables ([Variable]): [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 - """StartTask - 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,) - variables ([Variable]): [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/digitalai/release/v1/model/subscriber.py b/digitalai/release/v1/model/subscriber.py deleted file mode 100644 index 4b795c5..0000000 --- a/digitalai/release/v1/model/subscriber.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Subscriber(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'source_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'source_id': 'sourceId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Subscriber - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - source_id (str): [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 - """Subscriber - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - source_id (str): [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/digitalai/release/v1/model/system_message_settings.py b/digitalai/release/v1/model/system_message_settings.py deleted file mode 100644 index 2b68cb5..0000000 --- a/digitalai/release/v1/model/system_message_settings.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class SystemMessageSettings(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'enabled': (bool,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'automated': (bool,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'enabled': 'enabled', # noqa: E501 - 'message': 'message', # noqa: E501 - 'automated': 'automated', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """SystemMessageSettings - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - message (str): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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 - """SystemMessageSettings - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - message (str): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [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/digitalai/release/v1/model/task.py b/digitalai/release/v1/model/task.py deleted file mode 100644 index 97297bb..0000000 --- a/digitalai/release/v1/model/task.py +++ /dev/null @@ -1,669 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.attachment import Attachment - from digitalai.release.v1.model.blackout_metadata import BlackoutMetadata - from digitalai.release.v1.model.comment import Comment - from digitalai.release.v1.model.facet import Facet - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.phase import Phase - from digitalai.release.v1.model.plan_item import PlanItem - from digitalai.release.v1.model.release import Release - from digitalai.release.v1.model.task_recover_op import TaskRecoverOp - from digitalai.release.v1.model.task_status import TaskStatus - from digitalai.release.v1.model.usage_point import UsagePoint - from digitalai.release.v1.model.variable import Variable - globals()['Attachment'] = Attachment - globals()['BlackoutMetadata'] = BlackoutMetadata - globals()['Comment'] = Comment - globals()['Facet'] = Facet - globals()['FlagStatus'] = FlagStatus - globals()['Phase'] = Phase - globals()['PlanItem'] = PlanItem - globals()['Release'] = Release - globals()['TaskRecoverOp'] = TaskRecoverOp - globals()['TaskStatus'] = TaskStatus - globals()['UsagePoint'] = UsagePoint - globals()['Variable'] = Variable - - -class Task(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 = { - ('watchers',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'comments': ([Comment],), # noqa: E501 - 'container': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'facets': ([Facet],), # noqa: E501 - 'attachments': ([Attachment],), # noqa: E501 - 'status': (TaskStatus,), # noqa: E501 - 'team': (str,), # noqa: E501 - 'watchers': ([str],), # noqa: E501 - 'wait_for_scheduled_start_date': (bool,), # noqa: E501 - 'delay_during_blackout': (bool,), # noqa: E501 - 'postponed_due_to_blackout': (bool,), # noqa: E501 - 'postponed_until_environments_are_reserved': (bool,), # noqa: E501 - 'original_scheduled_start_date': (datetime,), # noqa: E501 - 'has_been_flagged': (bool,), # noqa: E501 - 'has_been_delayed': (bool,), # noqa: E501 - 'precondition': (str,), # noqa: E501 - 'failure_handler': (str,), # noqa: E501 - 'task_failure_handler_enabled': (bool,), # noqa: E501 - 'task_recover_op': (TaskRecoverOp,), # noqa: E501 - 'failures_count': (int,), # noqa: E501 - 'execution_id': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'external_variable_mapping': ({str: (str,)},), # noqa: E501 - 'max_comment_size': (int,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'due_soon_notified': (bool,), # noqa: E501 - 'locked': (bool,), # noqa: E501 - 'check_attributes': (bool,), # noqa: E501 - 'abort_script': (str,), # noqa: E501 - 'phase': (Phase,), # noqa: E501 - 'blackout_metadata': (BlackoutMetadata,), # noqa: E501 - 'flagged_count': (int,), # noqa: E501 - 'delayed_count': (int,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'done_in_advance': (bool,), # noqa: E501 - 'defunct': (bool,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'not_yet_reached': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'in_progress': (bool,), # noqa: E501 - 'pending': (bool,), # noqa: E501 - 'waiting_for_input': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'completed_in_advance': (bool,), # noqa: E501 - 'skipped': (bool,), # noqa: E501 - 'skipped_in_advance': (bool,), # noqa: E501 - 'precondition_in_progress': (bool,), # noqa: E501 - 'failure_handler_in_progress': (bool,), # noqa: E501 - 'abort_script_in_progress': (bool,), # noqa: E501 - 'facet_in_progress': (bool,), # noqa: E501 - 'movable': (bool,), # noqa: E501 - 'gate': (bool,), # noqa: E501 - 'task_group': (bool,), # noqa: E501 - 'parallel_group': (bool,), # noqa: E501 - 'precondition_enabled': (bool,), # noqa: E501 - 'failure_handler_enabled': (bool,), # noqa: E501 - 'release': (Release,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - 'all_tasks': ([Task],), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'input_variables': ([Variable],), # noqa: E501 - 'referenced_variables': ([Variable],), # noqa: E501 - 'unbound_required_variables': ([str],), # noqa: E501 - 'automated': (bool,), # noqa: E501 - 'task_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'due_soon': (bool,), # noqa: E501 - 'elapsed_duration_fraction': (float,), # noqa: E501 - 'url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'comments': 'comments', # noqa: E501 - 'container': 'container', # noqa: E501 - 'facets': 'facets', # noqa: E501 - 'attachments': 'attachments', # noqa: E501 - 'status': 'status', # noqa: E501 - 'team': 'team', # noqa: E501 - 'watchers': 'watchers', # noqa: E501 - 'wait_for_scheduled_start_date': 'waitForScheduledStartDate', # noqa: E501 - 'delay_during_blackout': 'delayDuringBlackout', # noqa: E501 - 'postponed_due_to_blackout': 'postponedDueToBlackout', # noqa: E501 - 'postponed_until_environments_are_reserved': 'postponedUntilEnvironmentsAreReserved', # noqa: E501 - 'original_scheduled_start_date': 'originalScheduledStartDate', # noqa: E501 - 'has_been_flagged': 'hasBeenFlagged', # noqa: E501 - 'has_been_delayed': 'hasBeenDelayed', # noqa: E501 - 'precondition': 'precondition', # noqa: E501 - 'failure_handler': 'failureHandler', # noqa: E501 - 'task_failure_handler_enabled': 'taskFailureHandlerEnabled', # noqa: E501 - 'task_recover_op': 'taskRecoverOp', # noqa: E501 - 'failures_count': 'failuresCount', # noqa: E501 - 'execution_id': 'executionId', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'external_variable_mapping': 'externalVariableMapping', # noqa: E501 - 'max_comment_size': 'maxCommentSize', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'due_soon_notified': 'dueSoonNotified', # noqa: E501 - 'locked': 'locked', # noqa: E501 - 'check_attributes': 'checkAttributes', # noqa: E501 - 'abort_script': 'abortScript', # noqa: E501 - 'phase': 'phase', # noqa: E501 - 'blackout_metadata': 'blackoutMetadata', # noqa: E501 - 'flagged_count': 'flaggedCount', # noqa: E501 - 'delayed_count': 'delayedCount', # noqa: E501 - 'done': 'done', # noqa: E501 - 'done_in_advance': 'doneInAdvance', # noqa: E501 - 'defunct': 'defunct', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'not_yet_reached': 'notYetReached', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'active': 'active', # noqa: E501 - 'in_progress': 'inProgress', # noqa: E501 - 'pending': 'pending', # noqa: E501 - 'waiting_for_input': 'waitingForInput', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'completed_in_advance': 'completedInAdvance', # noqa: E501 - 'skipped': 'skipped', # noqa: E501 - 'skipped_in_advance': 'skippedInAdvance', # noqa: E501 - 'precondition_in_progress': 'preconditionInProgress', # noqa: E501 - 'failure_handler_in_progress': 'failureHandlerInProgress', # noqa: E501 - 'abort_script_in_progress': 'abortScriptInProgress', # noqa: E501 - 'facet_in_progress': 'facetInProgress', # noqa: E501 - 'movable': 'movable', # noqa: E501 - 'gate': 'gate', # noqa: E501 - 'task_group': 'taskGroup', # noqa: E501 - 'parallel_group': 'parallelGroup', # noqa: E501 - 'precondition_enabled': 'preconditionEnabled', # noqa: E501 - 'failure_handler_enabled': 'failureHandlerEnabled', # noqa: E501 - 'release': 'release', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - 'all_tasks': 'allTasks', # noqa: E501 - 'children': 'children', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'input_variables': 'inputVariables', # noqa: E501 - 'referenced_variables': 'referencedVariables', # noqa: E501 - 'unbound_required_variables': 'unboundRequiredVariables', # noqa: E501 - 'automated': 'automated', # noqa: E501 - 'task_type': 'taskType', # noqa: E501 - 'due_soon': 'dueSoon', # noqa: E501 - 'elapsed_duration_fraction': 'elapsedDurationFraction', # noqa: E501 - 'url': 'url', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Task - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [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 - """Task - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [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/digitalai/release/v1/model/task_container.py b/digitalai/release/v1/model/task_container.py deleted file mode 100644 index b4b99d4..0000000 --- a/digitalai/release/v1/model/task_container.py +++ /dev/null @@ -1,285 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.task import Task - globals()['Task'] = Task - - -class TaskContainer(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'tasks': ([Task],), # noqa: E501 - 'locked': (bool,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'tasks': 'tasks', # noqa: E501 - 'locked': 'locked', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """TaskContainer - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - tasks ([Task]): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - title (str): [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 - """TaskContainer - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - tasks ([Task]): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/task_recover_op.py b/digitalai/release/v1/model/task_recover_op.py deleted file mode 100644 index 3e77d75..0000000 --- a/digitalai/release/v1/model/task_recover_op.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TaskRecoverOp(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',): { - 'SKIP_TASK': "SKIP_TASK", - 'RESTART_PHASE': "RESTART_PHASE", - 'RUN_SCRIPT': "RUN_SCRIPT", - }, - } - - 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): - """TaskRecoverOp - 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 ["SKIP_TASK", "RESTART_PHASE", "RUN_SCRIPT", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["SKIP_TASK", "RESTART_PHASE", "RUN_SCRIPT", ] # 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): - """TaskRecoverOp - 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 ["SKIP_TASK", "RESTART_PHASE", "RUN_SCRIPT", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["SKIP_TASK", "RESTART_PHASE", "RUN_SCRIPT", ] # 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/digitalai/release/v1/model/task_reporting_record.py b/digitalai/release/v1/model/task_reporting_record.py deleted file mode 100644 index 9bc9f33..0000000 --- a/digitalai/release/v1/model/task_reporting_record.py +++ /dev/null @@ -1,319 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.facet_scope import FacetScope - from digitalai.release.v1.model.usage_point import UsagePoint - globals()['FacetScope'] = FacetScope - globals()['UsagePoint'] = UsagePoint - - -class TaskReportingRecord(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scope': (FacetScope,), # noqa: E501 - 'target_id': (str,), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - 'properties_with_variables': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 - 'server_url': (str,), # noqa: E501 - 'server_user': (str,), # noqa: E501 - 'creation_date': (datetime,), # noqa: E501 - 'retry_attempt_number': (int,), # noqa: E501 - 'created_via_api': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scope': 'scope', # noqa: E501 - 'target_id': 'targetId', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - 'properties_with_variables': 'propertiesWithVariables', # noqa: E501 - 'server_url': 'serverUrl', # noqa: E501 - 'server_user': 'serverUser', # noqa: E501 - 'creation_date': 'creationDate', # noqa: E501 - 'retry_attempt_number': 'retryAttemptNumber', # noqa: E501 - 'created_via_api': 'createdViaApi', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """TaskReportingRecord - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - server_url (str): [optional] # noqa: E501 - server_user (str): [optional] # noqa: E501 - creation_date (datetime): [optional] # noqa: E501 - retry_attempt_number (int): [optional] # noqa: E501 - created_via_api (bool): [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 - """TaskReportingRecord - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scope (FacetScope): [optional] # noqa: E501 - target_id (str): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [optional] # noqa: E501 - properties_with_variables ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 - server_url (str): [optional] # noqa: E501 - server_user (str): [optional] # noqa: E501 - creation_date (datetime): [optional] # noqa: E501 - retry_attempt_number (int): [optional] # noqa: E501 - created_via_api (bool): [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/digitalai/release/v1/model/task_status.py b/digitalai/release/v1/model/task_status.py deleted file mode 100644 index 3b65d02..0000000 --- a/digitalai/release/v1/model/task_status.py +++ /dev/null @@ -1,306 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TaskStatus(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',): { - 'PLANNED': "PLANNED", - 'PENDING': "PENDING", - 'IN_PROGRESS': "IN_PROGRESS", - 'QUEUED': "QUEUED", - 'ABORT_SCRIPT_QUEUED': "ABORT_SCRIPT_QUEUED", - 'FAILURE_HANDLER_QUEUED': "FAILURE_HANDLER_QUEUED", - 'COMPLETED': "COMPLETED", - 'COMPLETED_IN_ADVANCE': "COMPLETED_IN_ADVANCE", - 'SKIPPED': "SKIPPED", - 'SKIPPED_IN_ADVANCE': "SKIPPED_IN_ADVANCE", - 'FAILED': "FAILED", - 'FAILING': "FAILING", - 'ABORTED': "ABORTED", - 'PRECONDITION_IN_PROGRESS': "PRECONDITION_IN_PROGRESS", - 'WAITING_FOR_INPUT': "WAITING_FOR_INPUT", - 'FAILURE_HANDLER_IN_PROGRESS': "FAILURE_HANDLER_IN_PROGRESS", - 'FACET_CHECK_IN_PROGRESS': "FACET_CHECK_IN_PROGRESS", - 'ABORT_SCRIPT_IN_PROGRESS': "ABORT_SCRIPT_IN_PROGRESS", - }, - } - - 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): - """TaskStatus - 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 ["PLANNED", "PENDING", "IN_PROGRESS", "QUEUED", "ABORT_SCRIPT_QUEUED", "FAILURE_HANDLER_QUEUED", "COMPLETED", "COMPLETED_IN_ADVANCE", "SKIPPED", "SKIPPED_IN_ADVANCE", "FAILED", "FAILING", "ABORTED", "PRECONDITION_IN_PROGRESS", "WAITING_FOR_INPUT", "FAILURE_HANDLER_IN_PROGRESS", "FACET_CHECK_IN_PROGRESS", "ABORT_SCRIPT_IN_PROGRESS", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "PENDING", "IN_PROGRESS", "QUEUED", "ABORT_SCRIPT_QUEUED", "FAILURE_HANDLER_QUEUED", "COMPLETED", "COMPLETED_IN_ADVANCE", "SKIPPED", "SKIPPED_IN_ADVANCE", "FAILED", "FAILING", "ABORTED", "PRECONDITION_IN_PROGRESS", "WAITING_FOR_INPUT", "FAILURE_HANDLER_IN_PROGRESS", "FACET_CHECK_IN_PROGRESS", "ABORT_SCRIPT_IN_PROGRESS", ] # 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): - """TaskStatus - 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 ["PLANNED", "PENDING", "IN_PROGRESS", "QUEUED", "ABORT_SCRIPT_QUEUED", "FAILURE_HANDLER_QUEUED", "COMPLETED", "COMPLETED_IN_ADVANCE", "SKIPPED", "SKIPPED_IN_ADVANCE", "FAILED", "FAILING", "ABORTED", "PRECONDITION_IN_PROGRESS", "WAITING_FOR_INPUT", "FAILURE_HANDLER_IN_PROGRESS", "FACET_CHECK_IN_PROGRESS", "ABORT_SCRIPT_IN_PROGRESS", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["PLANNED", "PENDING", "IN_PROGRESS", "QUEUED", "ABORT_SCRIPT_QUEUED", "FAILURE_HANDLER_QUEUED", "COMPLETED", "COMPLETED_IN_ADVANCE", "SKIPPED", "SKIPPED_IN_ADVANCE", "FAILED", "FAILING", "ABORTED", "PRECONDITION_IN_PROGRESS", "WAITING_FOR_INPUT", "FAILURE_HANDLER_IN_PROGRESS", "FACET_CHECK_IN_PROGRESS", "ABORT_SCRIPT_IN_PROGRESS", ] # 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/digitalai/release/v1/model/team.py b/digitalai/release/v1/model/team.py deleted file mode 100644 index e2f7f92..0000000 --- a/digitalai/release/v1/model/team.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class Team(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'team_name': (str,), # noqa: E501 - 'members': ([str],), # noqa: E501 - 'roles': ([str],), # noqa: E501 - 'permissions': ([str],), # noqa: E501 - 'release_admin_team': (bool,), # noqa: E501 - 'template_owner_team': (bool,), # noqa: E501 - 'folder_owner_team': (bool,), # noqa: E501 - 'folder_admin_team': (bool,), # noqa: E501 - 'system_team': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'team_name': 'teamName', # noqa: E501 - 'members': 'members', # noqa: E501 - 'roles': 'roles', # noqa: E501 - 'permissions': 'permissions', # noqa: E501 - 'release_admin_team': 'releaseAdminTeam', # noqa: E501 - 'template_owner_team': 'templateOwnerTeam', # noqa: E501 - 'folder_owner_team': 'folderOwnerTeam', # noqa: E501 - 'folder_admin_team': 'folderAdminTeam', # noqa: E501 - 'system_team': 'systemTeam', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Team - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - team_name (str): [optional] # noqa: E501 - members ([str]): [optional] # noqa: E501 - roles ([str]): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - release_admin_team (bool): [optional] # noqa: E501 - template_owner_team (bool): [optional] # noqa: E501 - folder_owner_team (bool): [optional] # noqa: E501 - folder_admin_team (bool): [optional] # noqa: E501 - system_team (bool): [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 - """Team - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - team_name (str): [optional] # noqa: E501 - members ([str]): [optional] # noqa: E501 - roles ([str]): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - release_admin_team (bool): [optional] # noqa: E501 - template_owner_team (bool): [optional] # noqa: E501 - folder_owner_team (bool): [optional] # noqa: E501 - folder_admin_team (bool): [optional] # noqa: E501 - system_team (bool): [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/digitalai/release/v1/model/team_member_view.py b/digitalai/release/v1/model/team_member_view.py deleted file mode 100644 index 99b20ff..0000000 --- a/digitalai/release/v1/model/team_member_view.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.member_type import MemberType - globals()['MemberType'] = MemberType - - -class TeamMemberView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'name': (str,), # noqa: E501 - 'full_name': (str,), # noqa: E501 - 'type': (MemberType,), # noqa: E501 - 'role_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'full_name': 'fullName', # noqa: E501 - 'type': 'type', # noqa: E501 - 'role_id': 'roleId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """TeamMemberView - 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,) - name (str): [optional] # noqa: E501 - full_name (str): [optional] # noqa: E501 - type (MemberType): [optional] # noqa: E501 - role_id (str): [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 - """TeamMemberView - 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,) - name (str): [optional] # noqa: E501 - full_name (str): [optional] # noqa: E501 - type (MemberType): [optional] # noqa: E501 - role_id (str): [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/digitalai/release/v1/model/team_view.py b/digitalai/release/v1/model/team_view.py deleted file mode 100644 index a36245e..0000000 --- a/digitalai/release/v1/model/team_view.py +++ /dev/null @@ -1,285 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.team_member_view import TeamMemberView - globals()['TeamMemberView'] = TeamMemberView - - -class TeamView(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'team_name': (str,), # noqa: E501 - 'members': ([TeamMemberView],), # noqa: E501 - 'permissions': ([str],), # noqa: E501 - 'system_team': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'team_name': 'teamName', # noqa: E501 - 'members': 'members', # noqa: E501 - 'permissions': 'permissions', # noqa: E501 - 'system_team': 'systemTeam', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """TeamView - 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,) - id (str): [optional] # noqa: E501 - team_name (str): [optional] # noqa: E501 - members ([TeamMemberView]): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - system_team (bool): [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 - """TeamView - 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,) - id (str): [optional] # noqa: E501 - team_name (str): [optional] # noqa: E501 - members ([TeamMemberView]): [optional] # noqa: E501 - permissions ([str]): [optional] # noqa: E501 - system_team (bool): [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/digitalai/release/v1/model/time_frame.py b/digitalai/release/v1/model/time_frame.py deleted file mode 100644 index 588e0bb..0000000 --- a/digitalai/release/v1/model/time_frame.py +++ /dev/null @@ -1,294 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TimeFrame(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',): { - 'LAST_SEVEN_DAYS': "LAST_SEVEN_DAYS", - 'LAST_MONTH': "LAST_MONTH", - 'LAST_THREE_MONTHS': "LAST_THREE_MONTHS", - 'LAST_SIX_MONTHS': "LAST_SIX_MONTHS", - 'LAST_YEAR': "LAST_YEAR", - 'RANGE': "RANGE", - }, - } - - 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): - """TimeFrame - 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 ["LAST_SEVEN_DAYS", "LAST_MONTH", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_YEAR", "RANGE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["LAST_SEVEN_DAYS", "LAST_MONTH", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_YEAR", "RANGE", ] # 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): - """TimeFrame - 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 ["LAST_SEVEN_DAYS", "LAST_MONTH", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_YEAR", "RANGE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["LAST_SEVEN_DAYS", "LAST_MONTH", "LAST_THREE_MONTHS", "LAST_SIX_MONTHS", "LAST_YEAR", "RANGE", ] # 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/digitalai/release/v1/model/tracked_item.py b/digitalai/release/v1/model/tracked_item.py deleted file mode 100644 index 6986f51..0000000 --- a/digitalai/release/v1/model/tracked_item.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TrackedItem(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 = { - ('release_ids',): { - }, - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'release_ids': ([str],), # noqa: E501 - 'descoped': (bool,), # noqa: E501 - 'created_date': (datetime,), # noqa: E501 - 'modified_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'release_ids': 'releaseIds', # noqa: E501 - 'descoped': 'descoped', # noqa: E501 - 'created_date': 'createdDate', # noqa: E501 - 'modified_date': 'modifiedDate', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """TrackedItem - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - descoped (bool): [optional] # noqa: E501 - created_date (datetime): [optional] # noqa: E501 - modified_date (datetime): [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 - """TrackedItem - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - release_ids ([str]): [optional] # noqa: E501 - descoped (bool): [optional] # noqa: E501 - created_date (datetime): [optional] # noqa: E501 - modified_date (datetime): [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/digitalai/release/v1/model/tracked_item_status.py b/digitalai/release/v1/model/tracked_item_status.py deleted file mode 100644 index 61847af..0000000 --- a/digitalai/release/v1/model/tracked_item_status.py +++ /dev/null @@ -1,291 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TrackedItemStatus(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',): { - 'NOT_READY': "NOT_READY", - 'READY': "READY", - 'SKIPPED': "SKIPPED", - }, - } - - 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): - """TrackedItemStatus - 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 ["NOT_READY", "READY", "SKIPPED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["NOT_READY", "READY", "SKIPPED", ] # 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): - """TrackedItemStatus - 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 ["NOT_READY", "READY", "SKIPPED", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["NOT_READY", "READY", "SKIPPED", ] # 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/digitalai/release/v1/model/transition.py b/digitalai/release/v1/model/transition.py deleted file mode 100644 index 5b9a31a..0000000 --- a/digitalai/release/v1/model/transition.py +++ /dev/null @@ -1,303 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.condition import Condition - from digitalai.release.v1.model.stage import Stage - globals()['Condition'] = Condition - globals()['Stage'] = Stage - - -class Transition(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'stage': (Stage,), # noqa: E501 - 'conditions': ([Condition],), # noqa: E501 - 'automated': (bool,), # noqa: E501 - 'all_conditions': ([Condition],), # noqa: E501 - 'leaf_conditions': ([Condition],), # noqa: E501 - 'root_condition': (Condition,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'title': 'title', # noqa: E501 - 'stage': 'stage', # noqa: E501 - 'conditions': 'conditions', # noqa: E501 - 'automated': 'automated', # noqa: E501 - 'all_conditions': 'allConditions', # noqa: E501 - 'leaf_conditions': 'leafConditions', # noqa: E501 - 'root_condition': 'rootCondition', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Transition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - stage (Stage): [optional] # noqa: E501 - conditions ([Condition]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - all_conditions ([Condition]): [optional] # noqa: E501 - leaf_conditions ([Condition]): [optional] # noqa: E501 - root_condition (Condition): [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 - """Transition - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - stage (Stage): [optional] # noqa: E501 - conditions ([Condition]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - all_conditions ([Condition]): [optional] # noqa: E501 - leaf_conditions ([Condition]): [optional] # noqa: E501 - root_condition (Condition): [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/digitalai/release/v1/model/trigger.py b/digitalai/release/v1/model/trigger.py deleted file mode 100644 index 77c3bdc..0000000 --- a/digitalai/release/v1/model/trigger.py +++ /dev/null @@ -1,325 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.trigger_execution_status import TriggerExecutionStatus - globals()['TriggerExecutionStatus'] = TriggerExecutionStatus - - -class Trigger(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'script': (str,), # noqa: E501 - 'abort_script': (str,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'enabled': (bool,), # noqa: E501 - 'trigger_state': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'allow_parallel_execution': (bool,), # noqa: E501 - 'last_run_date': (datetime,), # noqa: E501 - 'last_run_status': (TriggerExecutionStatus,), # noqa: E501 - 'internal_properties': ([str],), # noqa: E501 - 'container_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'script': 'script', # noqa: E501 - 'abort_script': 'abortScript', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'enabled': 'enabled', # noqa: E501 - 'trigger_state': 'triggerState', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'allow_parallel_execution': 'allowParallelExecution', # noqa: E501 - 'last_run_date': 'lastRunDate', # noqa: E501 - 'last_run_status': 'lastRunStatus', # noqa: E501 - 'internal_properties': 'internalProperties', # noqa: E501 - 'container_id': 'containerId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Trigger - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - script (str): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - trigger_state (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - allow_parallel_execution (bool): [optional] # noqa: E501 - last_run_date (datetime): [optional] # noqa: E501 - last_run_status (TriggerExecutionStatus): [optional] # noqa: E501 - internal_properties ([str]): [optional] # noqa: E501 - container_id (str): [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 - """Trigger - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - script (str): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - enabled (bool): [optional] # noqa: E501 - trigger_state (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - allow_parallel_execution (bool): [optional] # noqa: E501 - last_run_date (datetime): [optional] # noqa: E501 - last_run_status (TriggerExecutionStatus): [optional] # noqa: E501 - internal_properties ([str]): [optional] # noqa: E501 - container_id (str): [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/digitalai/release/v1/model/trigger_execution_status.py b/digitalai/release/v1/model/trigger_execution_status.py deleted file mode 100644 index 17bba92..0000000 --- a/digitalai/release/v1/model/trigger_execution_status.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class TriggerExecutionStatus(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',): { - 'SUCCESS': "SUCCESS", - 'FAILURE': "FAILURE", - }, - } - - 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): - """TriggerExecutionStatus - 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 ["SUCCESS", "FAILURE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["SUCCESS", "FAILURE", ] # 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): - """TriggerExecutionStatus - 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 ["SUCCESS", "FAILURE", ] # noqa: E501 - - Keyword Args: - value (str):, must be one of ["SUCCESS", "FAILURE", ] # 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/digitalai/release/v1/model/usage_point.py b/digitalai/release/v1/model/usage_point.py deleted file mode 100644 index 6b1985c..0000000 --- a/digitalai/release/v1/model/usage_point.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.ci_property import CiProperty - globals()['CiProperty'] = CiProperty - - -class UsagePoint(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 = { - } - - @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 { - 'target_property': (CiProperty,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'target_property': 'targetProperty', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UsagePoint - 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,) - target_property (CiProperty): [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 - """UsagePoint - 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,) - target_property (CiProperty): [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/digitalai/release/v1/model/user_account.py b/digitalai/release/v1/model/user_account.py deleted file mode 100644 index d918ea4..0000000 --- a/digitalai/release/v1/model/user_account.py +++ /dev/null @@ -1,319 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class UserAccount(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 = { - } - - @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 - """ - 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. - """ - return { - 'username': (str,), # noqa: E501 - 'external': (bool,), # noqa: E501 - 'profile_id': (str,), # noqa: E501 - 'email': (str,), # noqa: E501 - 'password': (str,), # noqa: E501 - 'previous_password': (str,), # noqa: E501 - 'full_name': (str,), # noqa: E501 - 'external_id': (str,), # noqa: E501 - 'login_allowed': (bool,), # noqa: E501 - 'date_format': (str,), # noqa: E501 - 'time_format': (str,), # noqa: E501 - 'first_day_of_week': (int,), # noqa: E501 - 'last_active': (date,), # noqa: E501 - 'analytics_enabled': (bool,), # noqa: E501 - 'task_drawer_enabled': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'username': 'username', # noqa: E501 - 'external': 'external', # noqa: E501 - 'profile_id': 'profileId', # noqa: E501 - 'email': 'email', # noqa: E501 - 'password': 'password', # noqa: E501 - 'previous_password': 'previousPassword', # noqa: E501 - 'full_name': 'fullName', # noqa: E501 - 'external_id': 'externalId', # noqa: E501 - 'login_allowed': 'loginAllowed', # noqa: E501 - 'date_format': 'dateFormat', # noqa: E501 - 'time_format': 'timeFormat', # noqa: E501 - 'first_day_of_week': 'firstDayOfWeek', # noqa: E501 - 'last_active': 'lastActive', # noqa: E501 - 'analytics_enabled': 'analyticsEnabled', # noqa: E501 - 'task_drawer_enabled': 'taskDrawerEnabled', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UserAccount - 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,) - username (str): [optional] # noqa: E501 - external (bool): [optional] # noqa: E501 - profile_id (str): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - password (str): [optional] # noqa: E501 - previous_password (str): [optional] # noqa: E501 - full_name (str): [optional] # noqa: E501 - external_id (str): [optional] # noqa: E501 - login_allowed (bool): [optional] # noqa: E501 - date_format (str): [optional] # noqa: E501 - time_format (str): [optional] # noqa: E501 - first_day_of_week (int): [optional] # noqa: E501 - last_active (date): [optional] # noqa: E501 - analytics_enabled (bool): [optional] # noqa: E501 - task_drawer_enabled (bool): [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 - """UserAccount - 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,) - username (str): [optional] # noqa: E501 - external (bool): [optional] # noqa: E501 - profile_id (str): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - password (str): [optional] # noqa: E501 - previous_password (str): [optional] # noqa: E501 - full_name (str): [optional] # noqa: E501 - external_id (str): [optional] # noqa: E501 - login_allowed (bool): [optional] # noqa: E501 - date_format (str): [optional] # noqa: E501 - time_format (str): [optional] # noqa: E501 - first_day_of_week (int): [optional] # noqa: E501 - last_active (date): [optional] # noqa: E501 - analytics_enabled (bool): [optional] # noqa: E501 - task_drawer_enabled (bool): [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/digitalai/release/v1/model/user_input_task.py b/digitalai/release/v1/model/user_input_task.py deleted file mode 100644 index 81e2b5e..0000000 --- a/digitalai/release/v1/model/user_input_task.py +++ /dev/null @@ -1,677 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.attachment import Attachment - from digitalai.release.v1.model.blackout_metadata import BlackoutMetadata - from digitalai.release.v1.model.comment import Comment - from digitalai.release.v1.model.facet import Facet - from digitalai.release.v1.model.flag_status import FlagStatus - from digitalai.release.v1.model.phase import Phase - from digitalai.release.v1.model.plan_item import PlanItem - from digitalai.release.v1.model.release import Release - from digitalai.release.v1.model.task import Task - from digitalai.release.v1.model.task_container import TaskContainer - from digitalai.release.v1.model.task_recover_op import TaskRecoverOp - from digitalai.release.v1.model.task_status import TaskStatus - from digitalai.release.v1.model.usage_point import UsagePoint - from digitalai.release.v1.model.variable import Variable - globals()['Attachment'] = Attachment - globals()['BlackoutMetadata'] = BlackoutMetadata - globals()['Comment'] = Comment - globals()['Facet'] = Facet - globals()['FlagStatus'] = FlagStatus - globals()['Phase'] = Phase - globals()['PlanItem'] = PlanItem - globals()['Release'] = Release - globals()['Task'] = Task - globals()['TaskContainer'] = TaskContainer - globals()['TaskRecoverOp'] = TaskRecoverOp - globals()['TaskStatus'] = TaskStatus - globals()['UsagePoint'] = UsagePoint - globals()['Variable'] = Variable - - -class UserInputTask(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 = { - ('watchers',): { - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'scheduled_start_date': (datetime,), # noqa: E501 - 'flag_status': (FlagStatus,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'owner': (str,), # noqa: E501 - 'due_date': (datetime,), # noqa: E501 - 'start_date': (datetime,), # noqa: E501 - 'end_date': (datetime,), # noqa: E501 - 'planned_duration': (int,), # noqa: E501 - 'flag_comment': (str,), # noqa: E501 - 'overdue_notified': (bool,), # noqa: E501 - 'flagged': (bool,), # noqa: E501 - 'start_or_scheduled_date': (datetime,), # noqa: E501 - 'end_or_due_date': (datetime,), # noqa: E501 - 'overdue': (bool,), # noqa: E501 - 'or_calculate_due_date': (str, none_type,), # noqa: E501 - 'computed_planned_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'actual_duration': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'release_uid': (int,), # noqa: E501 - 'ci_uid': (int,), # noqa: E501 - 'comments': ([Comment],), # noqa: E501 - 'container': (TaskContainer,), # noqa: E501 - 'facets': ([Facet],), # noqa: E501 - 'attachments': ([Attachment],), # noqa: E501 - 'status': (TaskStatus,), # noqa: E501 - 'team': (str,), # noqa: E501 - 'watchers': ([str],), # noqa: E501 - 'wait_for_scheduled_start_date': (bool,), # noqa: E501 - 'delay_during_blackout': (bool,), # noqa: E501 - 'postponed_due_to_blackout': (bool,), # noqa: E501 - 'postponed_until_environments_are_reserved': (bool,), # noqa: E501 - 'original_scheduled_start_date': (datetime,), # noqa: E501 - 'has_been_flagged': (bool,), # noqa: E501 - 'has_been_delayed': (bool,), # noqa: E501 - 'precondition': (str,), # noqa: E501 - 'failure_handler': (str,), # noqa: E501 - 'task_failure_handler_enabled': (bool,), # noqa: E501 - 'task_recover_op': (TaskRecoverOp,), # noqa: E501 - 'failures_count': (int,), # noqa: E501 - 'execution_id': (str,), # noqa: E501 - 'variable_mapping': ({str: (str,)},), # noqa: E501 - 'external_variable_mapping': ({str: (str,)},), # noqa: E501 - 'max_comment_size': (int,), # noqa: E501 - 'tags': ([str],), # noqa: E501 - 'configuration_uri': (str,), # noqa: E501 - 'due_soon_notified': (bool,), # noqa: E501 - 'locked': (bool,), # noqa: E501 - 'check_attributes': (bool,), # noqa: E501 - 'abort_script': (str,), # noqa: E501 - 'phase': (Phase,), # noqa: E501 - 'blackout_metadata': (BlackoutMetadata,), # noqa: E501 - 'flagged_count': (int,), # noqa: E501 - 'delayed_count': (int,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'done_in_advance': (bool,), # noqa: E501 - 'defunct': (bool,), # noqa: E501 - 'updatable': (bool,), # noqa: E501 - 'aborted': (bool,), # noqa: E501 - 'not_yet_reached': (bool,), # noqa: E501 - 'planned': (bool,), # noqa: E501 - 'active': (bool,), # noqa: E501 - 'in_progress': (bool,), # noqa: E501 - 'pending': (bool,), # noqa: E501 - 'waiting_for_input': (bool,), # noqa: E501 - 'failed': (bool,), # noqa: E501 - 'failing': (bool,), # noqa: E501 - 'completed_in_advance': (bool,), # noqa: E501 - 'skipped': (bool,), # noqa: E501 - 'skipped_in_advance': (bool,), # noqa: E501 - 'precondition_in_progress': (bool,), # noqa: E501 - 'failure_handler_in_progress': (bool,), # noqa: E501 - 'abort_script_in_progress': (bool,), # noqa: E501 - 'facet_in_progress': (bool,), # noqa: E501 - 'movable': (bool,), # noqa: E501 - 'gate': (bool,), # noqa: E501 - 'task_group': (bool,), # noqa: E501 - 'parallel_group': (bool,), # noqa: E501 - 'precondition_enabled': (bool,), # noqa: E501 - 'failure_handler_enabled': (bool,), # noqa: E501 - 'release': (Release,), # noqa: E501 - 'display_path': (str,), # noqa: E501 - 'release_owner': (str,), # noqa: E501 - 'all_tasks': ([Task],), # noqa: E501 - 'children': ([PlanItem],), # noqa: E501 - 'input_variables': ([Variable],), # noqa: E501 - 'unbound_required_variables': ([str],), # noqa: E501 - 'automated': (bool,), # noqa: E501 - 'task_type': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'due_soon': (bool,), # noqa: E501 - 'elapsed_duration_fraction': (float,), # noqa: E501 - 'url': (str,), # noqa: E501 - 'variables': ([Variable],), # noqa: E501 - 'referenced_variables': ([Variable],), # noqa: E501 - 'variable_usages': ([UsagePoint],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'scheduled_start_date': 'scheduledStartDate', # noqa: E501 - 'flag_status': 'flagStatus', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'owner': 'owner', # noqa: E501 - 'due_date': 'dueDate', # noqa: E501 - 'start_date': 'startDate', # noqa: E501 - 'end_date': 'endDate', # noqa: E501 - 'planned_duration': 'plannedDuration', # noqa: E501 - 'flag_comment': 'flagComment', # noqa: E501 - 'overdue_notified': 'overdueNotified', # noqa: E501 - 'flagged': 'flagged', # noqa: E501 - 'start_or_scheduled_date': 'startOrScheduledDate', # noqa: E501 - 'end_or_due_date': 'endOrDueDate', # noqa: E501 - 'overdue': 'overdue', # noqa: E501 - 'or_calculate_due_date': 'orCalculateDueDate', # noqa: E501 - 'computed_planned_duration': 'computedPlannedDuration', # noqa: E501 - 'actual_duration': 'actualDuration', # noqa: E501 - 'release_uid': 'releaseUid', # noqa: E501 - 'ci_uid': 'ciUid', # noqa: E501 - 'comments': 'comments', # noqa: E501 - 'container': 'container', # noqa: E501 - 'facets': 'facets', # noqa: E501 - 'attachments': 'attachments', # noqa: E501 - 'status': 'status', # noqa: E501 - 'team': 'team', # noqa: E501 - 'watchers': 'watchers', # noqa: E501 - 'wait_for_scheduled_start_date': 'waitForScheduledStartDate', # noqa: E501 - 'delay_during_blackout': 'delayDuringBlackout', # noqa: E501 - 'postponed_due_to_blackout': 'postponedDueToBlackout', # noqa: E501 - 'postponed_until_environments_are_reserved': 'postponedUntilEnvironmentsAreReserved', # noqa: E501 - 'original_scheduled_start_date': 'originalScheduledStartDate', # noqa: E501 - 'has_been_flagged': 'hasBeenFlagged', # noqa: E501 - 'has_been_delayed': 'hasBeenDelayed', # noqa: E501 - 'precondition': 'precondition', # noqa: E501 - 'failure_handler': 'failureHandler', # noqa: E501 - 'task_failure_handler_enabled': 'taskFailureHandlerEnabled', # noqa: E501 - 'task_recover_op': 'taskRecoverOp', # noqa: E501 - 'failures_count': 'failuresCount', # noqa: E501 - 'execution_id': 'executionId', # noqa: E501 - 'variable_mapping': 'variableMapping', # noqa: E501 - 'external_variable_mapping': 'externalVariableMapping', # noqa: E501 - 'max_comment_size': 'maxCommentSize', # noqa: E501 - 'tags': 'tags', # noqa: E501 - 'configuration_uri': 'configurationUri', # noqa: E501 - 'due_soon_notified': 'dueSoonNotified', # noqa: E501 - 'locked': 'locked', # noqa: E501 - 'check_attributes': 'checkAttributes', # noqa: E501 - 'abort_script': 'abortScript', # noqa: E501 - 'phase': 'phase', # noqa: E501 - 'blackout_metadata': 'blackoutMetadata', # noqa: E501 - 'flagged_count': 'flaggedCount', # noqa: E501 - 'delayed_count': 'delayedCount', # noqa: E501 - 'done': 'done', # noqa: E501 - 'done_in_advance': 'doneInAdvance', # noqa: E501 - 'defunct': 'defunct', # noqa: E501 - 'updatable': 'updatable', # noqa: E501 - 'aborted': 'aborted', # noqa: E501 - 'not_yet_reached': 'notYetReached', # noqa: E501 - 'planned': 'planned', # noqa: E501 - 'active': 'active', # noqa: E501 - 'in_progress': 'inProgress', # noqa: E501 - 'pending': 'pending', # noqa: E501 - 'waiting_for_input': 'waitingForInput', # noqa: E501 - 'failed': 'failed', # noqa: E501 - 'failing': 'failing', # noqa: E501 - 'completed_in_advance': 'completedInAdvance', # noqa: E501 - 'skipped': 'skipped', # noqa: E501 - 'skipped_in_advance': 'skippedInAdvance', # noqa: E501 - 'precondition_in_progress': 'preconditionInProgress', # noqa: E501 - 'failure_handler_in_progress': 'failureHandlerInProgress', # noqa: E501 - 'abort_script_in_progress': 'abortScriptInProgress', # noqa: E501 - 'facet_in_progress': 'facetInProgress', # noqa: E501 - 'movable': 'movable', # noqa: E501 - 'gate': 'gate', # noqa: E501 - 'task_group': 'taskGroup', # noqa: E501 - 'parallel_group': 'parallelGroup', # noqa: E501 - 'precondition_enabled': 'preconditionEnabled', # noqa: E501 - 'failure_handler_enabled': 'failureHandlerEnabled', # noqa: E501 - 'release': 'release', # noqa: E501 - 'display_path': 'displayPath', # noqa: E501 - 'release_owner': 'releaseOwner', # noqa: E501 - 'all_tasks': 'allTasks', # noqa: E501 - 'children': 'children', # noqa: E501 - 'input_variables': 'inputVariables', # noqa: E501 - 'unbound_required_variables': 'unboundRequiredVariables', # noqa: E501 - 'automated': 'automated', # noqa: E501 - 'task_type': 'taskType', # noqa: E501 - 'due_soon': 'dueSoon', # noqa: E501 - 'elapsed_duration_fraction': 'elapsedDurationFraction', # noqa: E501 - 'url': 'url', # noqa: E501 - 'variables': 'variables', # noqa: E501 - 'referenced_variables': 'referencedVariables', # noqa: E501 - 'variable_usages': 'variableUsages', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UserInputTask - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (TaskContainer): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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 - """UserInputTask - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - scheduled_start_date (datetime): [optional] # noqa: E501 - flag_status (FlagStatus): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - owner (str): [optional] # noqa: E501 - due_date (datetime): [optional] # noqa: E501 - start_date (datetime): [optional] # noqa: E501 - end_date (datetime): [optional] # noqa: E501 - planned_duration (int): [optional] # noqa: E501 - flag_comment (str): [optional] # noqa: E501 - overdue_notified (bool): [optional] # noqa: E501 - flagged (bool): [optional] # noqa: E501 - start_or_scheduled_date (datetime): [optional] # noqa: E501 - end_or_due_date (datetime): [optional] # noqa: E501 - overdue (bool): [optional] # noqa: E501 - or_calculate_due_date (str, none_type): [optional] # noqa: E501 - computed_planned_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - actual_duration ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - release_uid (int): [optional] # noqa: E501 - ci_uid (int): [optional] # noqa: E501 - comments ([Comment]): [optional] # noqa: E501 - container (TaskContainer): [optional] # noqa: E501 - facets ([Facet]): [optional] # noqa: E501 - attachments ([Attachment]): [optional] # noqa: E501 - status (TaskStatus): [optional] # noqa: E501 - team (str): [optional] # noqa: E501 - watchers ([str]): [optional] # noqa: E501 - wait_for_scheduled_start_date (bool): [optional] # noqa: E501 - delay_during_blackout (bool): [optional] # noqa: E501 - postponed_due_to_blackout (bool): [optional] # noqa: E501 - postponed_until_environments_are_reserved (bool): [optional] # noqa: E501 - original_scheduled_start_date (datetime): [optional] # noqa: E501 - has_been_flagged (bool): [optional] # noqa: E501 - has_been_delayed (bool): [optional] # noqa: E501 - precondition (str): [optional] # noqa: E501 - failure_handler (str): [optional] # noqa: E501 - task_failure_handler_enabled (bool): [optional] # noqa: E501 - task_recover_op (TaskRecoverOp): [optional] # noqa: E501 - failures_count (int): [optional] # noqa: E501 - execution_id (str): [optional] # noqa: E501 - variable_mapping ({str: (str,)}): [optional] # noqa: E501 - external_variable_mapping ({str: (str,)}): [optional] # noqa: E501 - max_comment_size (int): [optional] # noqa: E501 - tags ([str]): [optional] # noqa: E501 - configuration_uri (str): [optional] # noqa: E501 - due_soon_notified (bool): [optional] # noqa: E501 - locked (bool): [optional] # noqa: E501 - check_attributes (bool): [optional] # noqa: E501 - abort_script (str): [optional] # noqa: E501 - phase (Phase): [optional] # noqa: E501 - blackout_metadata (BlackoutMetadata): [optional] # noqa: E501 - flagged_count (int): [optional] # noqa: E501 - delayed_count (int): [optional] # noqa: E501 - done (bool): [optional] # noqa: E501 - done_in_advance (bool): [optional] # noqa: E501 - defunct (bool): [optional] # noqa: E501 - updatable (bool): [optional] # noqa: E501 - aborted (bool): [optional] # noqa: E501 - not_yet_reached (bool): [optional] # noqa: E501 - planned (bool): [optional] # noqa: E501 - active (bool): [optional] # noqa: E501 - in_progress (bool): [optional] # noqa: E501 - pending (bool): [optional] # noqa: E501 - waiting_for_input (bool): [optional] # noqa: E501 - failed (bool): [optional] # noqa: E501 - failing (bool): [optional] # noqa: E501 - completed_in_advance (bool): [optional] # noqa: E501 - skipped (bool): [optional] # noqa: E501 - skipped_in_advance (bool): [optional] # noqa: E501 - precondition_in_progress (bool): [optional] # noqa: E501 - failure_handler_in_progress (bool): [optional] # noqa: E501 - abort_script_in_progress (bool): [optional] # noqa: E501 - facet_in_progress (bool): [optional] # noqa: E501 - movable (bool): [optional] # noqa: E501 - gate (bool): [optional] # noqa: E501 - task_group (bool): [optional] # noqa: E501 - parallel_group (bool): [optional] # noqa: E501 - precondition_enabled (bool): [optional] # noqa: E501 - failure_handler_enabled (bool): [optional] # noqa: E501 - release (Release): [optional] # noqa: E501 - display_path (str): [optional] # noqa: E501 - release_owner (str): [optional] # noqa: E501 - all_tasks ([Task]): [optional] # noqa: E501 - children ([PlanItem]): [optional] # noqa: E501 - input_variables ([Variable]): [optional] # noqa: E501 - unbound_required_variables ([str]): [optional] # noqa: E501 - automated (bool): [optional] # noqa: E501 - task_type ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - due_soon (bool): [optional] # noqa: E501 - elapsed_duration_fraction (float): [optional] # noqa: E501 - url (str): [optional] # noqa: E501 - variables ([Variable]): [optional] # noqa: E501 - referenced_variables ([Variable]): [optional] # noqa: E501 - variable_usages ([UsagePoint]): [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/digitalai/release/v1/model/validate_pattern.py b/digitalai/release/v1/model/validate_pattern.py deleted file mode 100644 index 17dd2bc..0000000 --- a/digitalai/release/v1/model/validate_pattern.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ValidatePattern(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 = { - } - - @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 - """ - 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. - """ - return { - 'id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'title': 'title', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ValidatePattern - 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,) - id (str): [optional] # noqa: E501 - title (str): [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 - """ValidatePattern - 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,) - id (str): [optional] # noqa: E501 - title (str): [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/digitalai/release/v1/model/value_provider_configuration.py b/digitalai/release/v1/model/value_provider_configuration.py deleted file mode 100644 index 2c74f3c..0000000 --- a/digitalai/release/v1/model/value_provider_configuration.py +++ /dev/null @@ -1,277 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.variable import Variable - globals()['Variable'] = Variable - - -class ValueProviderConfiguration(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'variable': (Variable,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'variable': 'variable', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ValueProviderConfiguration - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable (Variable): [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 - """ValueProviderConfiguration - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - variable (Variable): [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/digitalai/release/v1/model/value_with_interpolation.py b/digitalai/release/v1/model/value_with_interpolation.py deleted file mode 100644 index f7bb915..0000000 --- a/digitalai/release/v1/model/value_with_interpolation.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class ValueWithInterpolation(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 = { - } - - @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 - """ - 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. - """ - return { - 'value': (str,), # noqa: E501 - 'prevent_interpolation': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'value': 'value', # noqa: E501 - 'prevent_interpolation': 'preventInterpolation', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ValueWithInterpolation - 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,) - value (str): [optional] # noqa: E501 - prevent_interpolation (bool): [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 - """ValueWithInterpolation - 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,) - value (str): [optional] # noqa: E501 - prevent_interpolation (bool): [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/digitalai/release/v1/model/variable.py b/digitalai/release/v1/model/variable.py deleted file mode 100644 index fb69bfc..0000000 --- a/digitalai/release/v1/model/variable.py +++ /dev/null @@ -1,337 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.value_provider_configuration import ValueProviderConfiguration - globals()['ValueProviderConfiguration'] = ValueProviderConfiguration - - -class Variable(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'folder_id': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'key': (str,), # noqa: E501 - 'requires_value': (bool,), # noqa: E501 - 'show_on_release_start': (bool,), # noqa: E501 - 'label': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'value_provider': (ValueProviderConfiguration,), # noqa: E501 - 'inherited': (bool,), # noqa: E501 - 'value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'empty_value': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'value_empty': (bool,), # noqa: E501 - 'untyped_value': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'password': (bool,), # noqa: E501 - 'value_as_string': (str,), # noqa: E501 - 'empty_value_as_string': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'type': 'type', # noqa: E501 - 'folder_id': 'folderId', # noqa: E501 - 'title': 'title', # noqa: E501 - 'key': 'key', # noqa: E501 - 'requires_value': 'requiresValue', # noqa: E501 - 'show_on_release_start': 'showOnReleaseStart', # noqa: E501 - 'label': 'label', # noqa: E501 - 'description': 'description', # noqa: E501 - 'value_provider': 'valueProvider', # noqa: E501 - 'inherited': 'inherited', # noqa: E501 - 'value': 'value', # noqa: E501 - 'empty_value': 'emptyValue', # noqa: E501 - 'value_empty': 'valueEmpty', # noqa: E501 - 'untyped_value': 'untypedValue', # noqa: E501 - 'password': 'password', # noqa: E501 - 'value_as_string': 'valueAsString', # noqa: E501 - 'empty_value_as_string': 'emptyValueAsString', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Variable - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - key (str): [optional] # noqa: E501 - requires_value (bool): [optional] # noqa: E501 - show_on_release_start (bool): [optional] # noqa: E501 - label (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - value_provider (ValueProviderConfiguration): [optional] # noqa: E501 - inherited (bool): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - empty_value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - value_empty (bool): [optional] # noqa: E501 - untyped_value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - password (bool): [optional] # noqa: E501 - value_as_string (str): [optional] # noqa: E501 - empty_value_as_string (str): [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 - """Variable - 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,) - id (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - folder_id (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - key (str): [optional] # noqa: E501 - requires_value (bool): [optional] # noqa: E501 - show_on_release_start (bool): [optional] # noqa: E501 - label (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - value_provider (ValueProviderConfiguration): [optional] # noqa: E501 - inherited (bool): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - empty_value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - value_empty (bool): [optional] # noqa: E501 - untyped_value ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): [optional] # noqa: E501 - password (bool): [optional] # noqa: E501 - value_as_string (str): [optional] # noqa: E501 - empty_value_as_string (str): [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/digitalai/release/v1/model/variable1.py b/digitalai/release/v1/model/variable1.py deleted file mode 100644 index fffcb1e..0000000 --- a/digitalai/release/v1/model/variable1.py +++ /dev/null @@ -1,319 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - -def lazy_import(): - from digitalai.release.v1.model.external_variable_value import ExternalVariableValue - from digitalai.release.v1.model.value_provider_configuration import ValueProviderConfiguration - globals()['ExternalVariableValue'] = ExternalVariableValue - globals()['ValueProviderConfiguration'] = ValueProviderConfiguration - - -class Variable1(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 = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'key': (str,), # noqa: E501 - 'type': (str,), # noqa: E501 - 'requires_value': (bool,), # noqa: E501 - 'show_on_release_start': (bool,), # noqa: E501 - 'value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - 'label': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'multiline': (bool,), # noqa: E501 - 'inherited': (bool,), # noqa: E501 - 'prevent_interpolation': (bool,), # noqa: E501 - 'external_variable_value': (ExternalVariableValue,), # noqa: E501 - 'value_provider': (ValueProviderConfiguration,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'key': 'key', # noqa: E501 - 'type': 'type', # noqa: E501 - 'requires_value': 'requiresValue', # noqa: E501 - 'show_on_release_start': 'showOnReleaseStart', # noqa: E501 - 'value': 'value', # noqa: E501 - 'label': 'label', # noqa: E501 - 'description': 'description', # noqa: E501 - 'multiline': 'multiline', # noqa: E501 - 'inherited': 'inherited', # noqa: E501 - 'prevent_interpolation': 'preventInterpolation', # noqa: E501 - 'external_variable_value': 'externalVariableValue', # noqa: E501 - 'value_provider': 'valueProvider', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Variable1 - 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,) - id (str): [optional] # noqa: E501 - key (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - requires_value (bool): [optional] # noqa: E501 - show_on_release_start (bool): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - label (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - multiline (bool): [optional] # noqa: E501 - inherited (bool): [optional] # noqa: E501 - prevent_interpolation (bool): [optional] # noqa: E501 - external_variable_value (ExternalVariableValue): [optional] # noqa: E501 - value_provider (ValueProviderConfiguration): [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 - """Variable1 - 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,) - id (str): [optional] # noqa: E501 - key (str): [optional] # noqa: E501 - type (str): [optional] # noqa: E501 - requires_value (bool): [optional] # noqa: E501 - show_on_release_start (bool): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - label (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - multiline (bool): [optional] # noqa: E501 - inherited (bool): [optional] # noqa: E501 - prevent_interpolation (bool): [optional] # noqa: E501 - external_variable_value (ExternalVariableValue): [optional] # noqa: E501 - value_provider (ValueProviderConfiguration): [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/digitalai/release/v1/model/variable_or_value.py b/digitalai/release/v1/model/variable_or_value.py deleted file mode 100644 index 6d7b4db..0000000 --- a/digitalai/release/v1/model/variable_or_value.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from digitalai.release.v1.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 digitalai.release.v1.exceptions import ApiAttributeError - - - -class VariableOrValue(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 = { - } - - @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 - """ - 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. - """ - return { - 'variable': (str,), # noqa: E501 - 'value': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'variable': 'variable', # noqa: E501 - 'value': 'value', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """VariableOrValue - 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,) - variable (str): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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 - """VariableOrValue - 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,) - variable (str): [optional] # noqa: E501 - value (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - 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/digitalai/release/v1/model_utils.py b/digitalai/release/v1/model_utils.py deleted file mode 100644 index dd596fc..0000000 --- a/digitalai/release/v1/model_utils.py +++ /dev/null @@ -1,2058 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -from datetime import date, datetime # noqa: F401 -from copy import deepcopy -import inspect -import io -import os -import pprint -import re -import tempfile -import uuid - -from dateutil.parser import parse - -from digitalai.release.v1.exceptions import ( - ApiKeyError, - ApiAttributeError, - ApiTypeError, - ApiValueError, -) - -none_type = type(None) -file_type = io.IOBase - - -def convert_js_args_to_python_args(fn): - from functools import wraps - @wraps(fn) - def wrapped_init(_self, *args, **kwargs): - """ - An attribute named `self` received from the api will conflicts with the reserved `self` - parameter of a class method. During generation, `self` attributes are mapped - to `_self` in models. Here, we name `_self` instead of `self` to avoid conflicts. - """ - spec_property_naming = kwargs.get('_spec_property_naming', False) - if spec_property_naming: - kwargs = change_keys_js_to_python( - kwargs, _self if isinstance( - _self, type) else _self.__class__) - return fn(_self, *args, **kwargs) - return wrapped_init - - -class cached_property(object): - # this caches the result of the function call for fn with no inputs - # use this as a decorator on function methods that you want converted - # into cached properties - result_key = '_results' - - def __init__(self, fn): - self._fn = fn - - def __get__(self, instance, cls=None): - if self.result_key in vars(self): - return vars(self)[self.result_key] - else: - result = self._fn() - setattr(self, self.result_key, result) - return result - - -PRIMITIVE_TYPES = (list, float, int, bool, datetime, date, str, file_type) - - -def allows_single_value_input(cls): - """ - This function returns True if the input composed schema model or any - descendant model allows a value only input - This is true for cases where oneOf contains items like: - oneOf: - - float - - NumberWithValidation - - StringEnum - - ArrayModel - - null - TODO: lru_cache this - """ - if ( - issubclass(cls, ModelSimple) or - cls in PRIMITIVE_TYPES - ): - return True - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return False - return any(allows_single_value_input(c) for c in cls._composed_schemas['oneOf']) - return False - - -def composed_model_input_classes(cls): - """ - This function returns a list of the possible models that can be accepted as - inputs. - TODO: lru_cache this - """ - if issubclass(cls, ModelSimple) or cls in PRIMITIVE_TYPES: - return [cls] - elif issubclass(cls, ModelNormal): - if cls.discriminator is None: - return [cls] - else: - return get_discriminated_classes(cls) - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return [] - if cls.discriminator is None: - input_classes = [] - for c in cls._composed_schemas['oneOf']: - input_classes.extend(composed_model_input_classes(c)) - return input_classes - else: - return get_discriminated_classes(cls) - return [] - - -class OpenApiModel(object): - """The base class for all OpenAPIModels""" - - def set_attribute(self, name, value): - # this is only used to set properties on self - - path_to_item = [] - if self._path_to_item: - path_to_item.extend(self._path_to_item) - path_to_item.append(name) - - if name in self.openapi_types: - required_types_mixed = self.openapi_types[name] - elif self.additional_properties_type is None: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - path_to_item - ) - elif self.additional_properties_type is not None: - required_types_mixed = self.additional_properties_type - - if get_simple_class(name) != str: - error_msg = type_error_message( - var_name=name, - var_value=name, - valid_classes=(str,), - key_type=True - ) - raise ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=(str,), - key_type=True - ) - - if self._check_type: - value = validate_and_convert_types( - value, required_types_mixed, path_to_item, self._spec_property_naming, - self._check_type, configuration=self._configuration) - if (name,) in self.allowed_values: - check_allowed_values( - self.allowed_values, - (name,), - value - ) - if (name,) in self.validations: - check_validations( - self.validations, - (name,), - value, - self._configuration - ) - self.__dict__['_data_store'][name] = value - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other - - def __setattr__(self, attr, value): - """set the value of an attribute using dot notation: `instance.attr = val`""" - self[attr] = value - - def __getattr__(self, attr): - """get the value of an attribute using dot notation: `instance.attr`""" - return self.__getitem__(attr) - - def __copy__(self): - cls = self.__class__ - if self.get("_spec_property_naming", False): - return cls._new_from_openapi_data(**self.__dict__) - else: - return cls.__new__(cls, **self.__dict__) - - def __deepcopy__(self, memo): - cls = self.__class__ - - if self.get("_spec_property_naming", False): - new_inst = cls._new_from_openapi_data() - else: - new_inst = cls.__new__(cls) - - for k, v in self.__dict__.items(): - setattr(new_inst, k, deepcopy(v, memo)) - return new_inst - - - def __new__(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: 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 the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return super(OpenApiModel, cls).__new__(cls) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return super(OpenApiModel, cls).__new__(cls) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = super(OpenApiModel, cls).__new__(cls) - self_inst.__init__(*args, **kwargs) - - if kwargs.get("_spec_property_naming", False): - # when true, implies new is from deserialization - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - else: - new_inst = new_cls.__new__(new_cls, *args, **kwargs) - new_inst.__init__(*args, **kwargs) - - return new_inst - - @classmethod - @convert_js_args_to_python_args - def _new_from_openapi_data(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: 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 the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return cls._from_openapi_data(*args, **kwargs) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return cls._from_openapi_data(*args, **kwargs) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = cls._from_openapi_data(*args, **kwargs) - - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - return new_inst - - -class ModelSimple(OpenApiModel): - """the parent class of models whose type != object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_str(self): - """Returns the string representation of the model""" - return str(self.value) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - this_val = self._data_store['value'] - that_val = other._data_store['value'] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - return vals_equal - - -class ModelNormal(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -class ModelComposed(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi and have oneOf/allOf/anyOf - - When one sets a property we use var_name_to_model_instances to store the value in - the correct class instances + run any type checking + validation code. - When one gets a property we use var_name_to_model_instances to get the value - from the correct class instances. - This allows multiple composed schemas to contain the same property with additive - constraints on the value. - - _composed_schemas (dict) stores the anyOf/allOf/oneOf classes - key (str): allOf/oneOf/anyOf - value (list): the classes in the XOf definition. - Note: none_type can be included when the openapi document version >= 3.1.0 - _composed_instances (list): stores a list of instances of the composed schemas - defined in _composed_schemas. When properties are accessed in the self instance, - they are returned from the self._data_store or the data stores in the instances - in self._composed_schemas - _var_name_to_model_instances (dict): maps between a variable name on self and - the composed instances (self included) which contain that data - key (str): property name - value (list): list of class instances, self or instances in _composed_instances - which contain the value that the key is referring to. - """ - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - """ - Use cases: - 1. additional_properties_type is None (additionalProperties == False in spec) - Check for property presence in self.openapi_types - if not present then throw an error - if present set in self, set attribute - always set on composed schemas - 2. additional_properties_type exists - set attribute on self - always set on composed schemas - """ - if self.additional_properties_type is None: - """ - For an attribute to exist on a composed schema it must: - - fulfill schema_requirements in the self composed schema not considering oneOf/anyOf/allOf schemas AND - - fulfill schema_requirements in each oneOf/anyOf/allOf schemas - - schema_requirements: - For an attribute to exist on a schema it must: - - be present in properties at the schema OR - - have additionalProperties unset (defaults additionalProperties = any type) OR - - have additionalProperties set - """ - if name not in self.openapi_types: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - # attribute must be set on self and composed instances - self.set_attribute(name, value) - for model_instance in self._composed_instances: - setattr(model_instance, name, value) - if name not in self._var_name_to_model_instances: - # we assigned an additional property - self.__dict__['_var_name_to_model_instances'][name] = self._composed_instances + [self] - return None - - __unset_attribute_value__ = object() - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - # get the attribute from the correct instance - model_instances = self._var_name_to_model_instances.get(name) - values = [] - # A composed model stores self and child (oneof/anyOf/allOf) models under - # self._var_name_to_model_instances. - # Any property must exist in self and all model instances - # The value stored in all model instances must be the same - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - v = model_instance._data_store[name] - if v not in values: - values.append(v) - len_values = len(values) - if len_values == 0: - return default - elif len_values == 1: - return values[0] - elif len_values > 1: - raise ApiValueError( - "Values stored for property {0} in {1} differ when looking " - "at self and self's composed instances. All values must be " - "the same".format(name, type(self).__name__), - [e for e in [self._path_to_item, name] if e] - ) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - value = self.get(name, self.__unset_attribute_value__) - if value is self.__unset_attribute_value__: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - return value - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - - if name in self.required_properties: - return name in self.__dict__ - - model_instances = self._var_name_to_model_instances.get( - name, self._additional_properties_model_instances) - - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - return True - - return False - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -COERCION_INDEX_BY_TYPE = { - ModelComposed: 0, - ModelNormal: 1, - ModelSimple: 2, - none_type: 3, # The type of 'None'. - list: 4, - dict: 5, - float: 6, - int: 7, - bool: 8, - datetime: 9, - date: 10, - str: 11, - file_type: 12, # 'file_type' is an alias for the built-in 'file' or 'io.IOBase' type. -} - -# these are used to limit what type conversions we try to do -# when we have a valid type already and we want to try converting -# to another type -UPCONVERSION_TYPE_PAIRS = ( - (str, datetime), - (str, date), - # A float may be serialized as an integer, e.g. '3' is a valid serialized float. - (int, float), - (list, ModelComposed), - (dict, ModelComposed), - (str, ModelComposed), - (int, ModelComposed), - (float, ModelComposed), - (list, ModelComposed), - (list, ModelNormal), - (dict, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), -) - -COERCIBLE_TYPE_PAIRS = { - False: ( # client instantiation of a model with client data - # (dict, ModelComposed), - # (list, ModelComposed), - # (dict, ModelNormal), - # (list, ModelNormal), - # (str, ModelSimple), - # (int, ModelSimple), - # (float, ModelSimple), - # (list, ModelSimple), - # (str, int), - # (str, float), - # (str, datetime), - # (str, date), - # (int, str), - # (float, str), - ), - True: ( # server -> client data - (dict, ModelComposed), - (list, ModelComposed), - (dict, ModelNormal), - (list, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), - # (str, int), - # (str, float), - (str, datetime), - (str, date), - # (int, str), - # (float, str), - (str, file_type) - ), -} - - -def get_simple_class(input_value): - """Returns an input_value's simple class that we will use for type checking - Python2: - float and int will return int, where int is the python3 int backport - str and unicode will return str, where str is the python3 str backport - Note: float and int ARE both instances of int backport - Note: str_py2 and unicode_py2 are NOT both instances of str backport - - Args: - input_value (class/class_instance): the item for which we will return - the simple class - """ - if isinstance(input_value, type): - # input_value is a class - return input_value - elif isinstance(input_value, tuple): - return tuple - elif isinstance(input_value, list): - return list - elif isinstance(input_value, dict): - return dict - elif isinstance(input_value, none_type): - return none_type - elif isinstance(input_value, file_type): - return file_type - elif isinstance(input_value, bool): - # this must be higher than the int check because - # isinstance(True, int) == True - return bool - elif isinstance(input_value, int): - return int - elif isinstance(input_value, datetime): - # this must be higher than the date check because - # isinstance(datetime_instance, date) == True - return datetime - elif isinstance(input_value, date): - return date - elif isinstance(input_value, str): - return str - return type(input_value) - - -def check_allowed_values(allowed_values, input_variable_path, input_values): - """Raises an exception if the input_values are not allowed - - Args: - allowed_values (dict): the allowed_values dict - input_variable_path (tuple): the path to the input variable - input_values (list/str/int/float/date/datetime): the values that we - are checking to see if they are in allowed_values - """ - these_allowed_values = list(allowed_values[input_variable_path].values()) - if (isinstance(input_values, list) - and not set(input_values).issubset( - set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values) - set(these_allowed_values))), - raise ApiValueError( - "Invalid values for `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (isinstance(input_values, dict) - and not set( - input_values.keys()).issubset(set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values.keys()) - set(these_allowed_values))) - raise ApiValueError( - "Invalid keys in `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (not isinstance(input_values, (list, dict)) - and input_values not in these_allowed_values): - raise ApiValueError( - "Invalid value for `%s` (%s), must be one of %s" % - ( - input_variable_path[0], - input_values, - these_allowed_values - ) - ) - - -def is_json_validation_enabled(schema_keyword, configuration=None): - """Returns true if JSON schema validation is enabled for the specified - validation keyword. This can be used to skip JSON schema structural validation - as requested in the configuration. - - Args: - schema_keyword (string): the name of a JSON schema validation keyword. - configuration (Configuration): the configuration class. - """ - - return (configuration is None or - not hasattr(configuration, '_disabled_client_side_validations') or - schema_keyword not in configuration._disabled_client_side_validations) - - -def check_validations( - validations, input_variable_path, input_values, - configuration=None): - """Raises an exception if the input_values are invalid - - Args: - validations (dict): the validation dictionary. - input_variable_path (tuple): the path to the input variable. - input_values (list/str/int/float/date/datetime): the values that we - are checking. - configuration (Configuration): the configuration class. - """ - - if input_values is None: - return - - current_validations = validations[input_variable_path] - if (is_json_validation_enabled('multipleOf', configuration) and - 'multiple_of' in current_validations and - isinstance(input_values, (int, float)) and - not (float(input_values) / current_validations['multiple_of']).is_integer()): - # Note 'multipleOf' will be as good as the floating point arithmetic. - raise ApiValueError( - "Invalid value for `%s`, value must be a multiple of " - "`%s`" % ( - input_variable_path[0], - current_validations['multiple_of'] - ) - ) - - if (is_json_validation_enabled('maxLength', configuration) and - 'max_length' in current_validations and - len(input_values) > current_validations['max_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['max_length'] - ) - ) - - if (is_json_validation_enabled('minLength', configuration) and - 'min_length' in current_validations and - len(input_values) < current_validations['min_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be greater than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['min_length'] - ) - ) - - if (is_json_validation_enabled('maxItems', configuration) and - 'max_items' in current_validations and - len(input_values) > current_validations['max_items']): - raise ApiValueError( - "Invalid value for `%s`, number of items must be less than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['max_items'] - ) - ) - - if (is_json_validation_enabled('minItems', configuration) and - 'min_items' in current_validations and - len(input_values) < current_validations['min_items']): - raise ValueError( - "Invalid value for `%s`, number of items must be greater than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['min_items'] - ) - ) - - items = ('exclusive_maximum', 'inclusive_maximum', 'exclusive_minimum', - 'inclusive_minimum') - if (any(item in current_validations for item in items)): - if isinstance(input_values, list): - max_val = max(input_values) - min_val = min(input_values) - elif isinstance(input_values, dict): - max_val = max(input_values.values()) - min_val = min(input_values.values()) - else: - max_val = input_values - min_val = input_values - - if (is_json_validation_enabled('exclusiveMaximum', configuration) and - 'exclusive_maximum' in current_validations and - max_val >= current_validations['exclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than `%s`" % ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('maximum', configuration) and - 'inclusive_maximum' in current_validations and - max_val > current_validations['inclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['inclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('exclusiveMinimum', configuration) and - 'exclusive_minimum' in current_validations and - min_val <= current_validations['exclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than `%s`" % - ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('minimum', configuration) and - 'inclusive_minimum' in current_validations and - min_val < current_validations['inclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than or equal " - "to `%s`" % ( - input_variable_path[0], - current_validations['inclusive_minimum'] - ) - ) - flags = current_validations.get('regex', {}).get('flags', 0) - if (is_json_validation_enabled('pattern', configuration) and - 'regex' in current_validations and - not re.search(current_validations['regex']['pattern'], - input_values, flags=flags)): - err_msg = r"Invalid value for `%s`, must match regular expression `%s`" % ( - input_variable_path[0], - current_validations['regex']['pattern'] - ) - if flags != 0: - # Don't print the regex flags if the flags are not - # specified in the OAS document. - err_msg = r"%s with flags=`%s`" % (err_msg, flags) - raise ApiValueError(err_msg) - - -def order_response_types(required_types): - """Returns the required types sorted in coercion order - - Args: - required_types (list/tuple): collection of classes or instance of - list or dict with class information inside it. - - Returns: - (list): coercion order sorted collection of classes or instance - of list or dict with class information inside it. - """ - - def index_getter(class_or_instance): - if isinstance(class_or_instance, list): - return COERCION_INDEX_BY_TYPE[list] - elif isinstance(class_or_instance, dict): - return COERCION_INDEX_BY_TYPE[dict] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelComposed)): - return COERCION_INDEX_BY_TYPE[ModelComposed] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelNormal)): - return COERCION_INDEX_BY_TYPE[ModelNormal] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelSimple)): - return COERCION_INDEX_BY_TYPE[ModelSimple] - elif class_or_instance in COERCION_INDEX_BY_TYPE: - return COERCION_INDEX_BY_TYPE[class_or_instance] - raise ApiValueError("Unsupported type: %s" % class_or_instance) - - sorted_types = sorted( - required_types, - key=lambda class_or_instance: index_getter(class_or_instance) - ) - return sorted_types - - -def remove_uncoercible(required_types_classes, current_item, spec_property_naming, - must_convert=True): - """Only keeps the type conversions that are possible - - Args: - required_types_classes (tuple): tuple of classes that are required - these should be ordered by COERCION_INDEX_BY_TYPE - 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 variables names in the input data are python - variable names in PEP-8 snake case. - current_item (any): the current item (input data) to be converted - - Keyword Args: - must_convert (bool): if True the item to convert is of the wrong - type and we want a big list of coercibles - if False, we want a limited list of coercibles - - Returns: - (list): the remaining coercible required types, classes only - """ - current_type_simple = get_simple_class(current_item) - - results_classes = [] - for required_type_class in required_types_classes: - # convert our models to OpenApiModel - required_type_class_simplified = required_type_class - if isinstance(required_type_class_simplified, type): - if issubclass(required_type_class_simplified, ModelComposed): - required_type_class_simplified = ModelComposed - elif issubclass(required_type_class_simplified, ModelNormal): - required_type_class_simplified = ModelNormal - elif issubclass(required_type_class_simplified, ModelSimple): - required_type_class_simplified = ModelSimple - - if required_type_class_simplified == current_type_simple: - # don't consider converting to one's own class - continue - - class_pair = (current_type_simple, required_type_class_simplified) - if must_convert and class_pair in COERCIBLE_TYPE_PAIRS[spec_property_naming]: - results_classes.append(required_type_class) - elif class_pair in UPCONVERSION_TYPE_PAIRS: - results_classes.append(required_type_class) - return results_classes - - -def get_discriminated_classes(cls): - """ - Returns all the classes that a discriminator converts to - TODO: lru_cache this - """ - possible_classes = [] - key = list(cls.discriminator.keys())[0] - if is_type_nullable(cls): - possible_classes.append(cls) - for discr_cls in cls.discriminator[key].values(): - if hasattr(discr_cls, 'discriminator') and discr_cls.discriminator is not None: - possible_classes.extend(get_discriminated_classes(discr_cls)) - else: - possible_classes.append(discr_cls) - return possible_classes - - -def get_possible_classes(cls, from_server_context): - # TODO: lru_cache this - possible_classes = [cls] - if from_server_context: - return possible_classes - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - possible_classes = [] - possible_classes.extend(get_discriminated_classes(cls)) - elif issubclass(cls, ModelComposed): - possible_classes.extend(composed_model_input_classes(cls)) - return possible_classes - - -def get_required_type_classes(required_types_mixed, spec_property_naming): - """Converts the tuple required_types into a tuple and a dict described - below - - Args: - required_types_mixed (tuple/list): will contain either classes or - instance of list or dict - spec_property_naming (bool): if True these values came from the - server, and we use the data types in our endpoints. - If False, we are client side and we need to include - oneOf and discriminator classes inside the data types in our endpoints - - Returns: - (valid_classes, dict_valid_class_to_child_types_mixed): - valid_classes (tuple): the valid classes that the current item - should be - dict_valid_class_to_child_types_mixed (dict): - valid_class (class): this is the key - child_types_mixed (list/dict/tuple): describes the valid child - types - """ - valid_classes = [] - child_req_types_by_current_type = {} - for required_type in required_types_mixed: - if isinstance(required_type, list): - valid_classes.append(list) - child_req_types_by_current_type[list] = required_type - elif isinstance(required_type, tuple): - valid_classes.append(tuple) - child_req_types_by_current_type[tuple] = required_type - elif isinstance(required_type, dict): - valid_classes.append(dict) - child_req_types_by_current_type[dict] = required_type[str] - else: - valid_classes.extend(get_possible_classes(required_type, spec_property_naming)) - return tuple(valid_classes), child_req_types_by_current_type - - -def change_keys_js_to_python(input_dict, model_class): - """ - Converts from javascript_key keys in the input_dict to python_keys in - the output dict using the mapping in model_class. - If the input_dict contains a key which does not declared in the model_class, - the key is added to the output dict as is. The assumption is the model_class - may have undeclared properties (additionalProperties attribute in the OAS - document). - """ - - if getattr(model_class, 'attribute_map', None) is None: - return input_dict - output_dict = {} - reversed_attr_map = {value: key for key, value in - model_class.attribute_map.items()} - for javascript_key, value in input_dict.items(): - python_key = reversed_attr_map.get(javascript_key) - if python_key is None: - # if the key is unknown, it is in error or it is an - # additionalProperties variable - python_key = javascript_key - output_dict[python_key] = value - return output_dict - - -def get_type_error(var_value, path_to_item, valid_classes, key_type=False): - error_msg = type_error_message( - var_name=path_to_item[-1], - var_value=var_value, - valid_classes=valid_classes, - key_type=key_type - ) - return ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=valid_classes, - key_type=key_type - ) - - -def deserialize_primitive(data, klass, path_to_item): - """Deserializes string to primitive type. - - :param data: str/int/float - :param klass: str/class the class to convert to - - :return: int, float, str, bool, date, datetime - """ - additional_message = "" - try: - if klass in {datetime, date}: - additional_message = ( - "If you need your parameter to have a fallback " - "string value, please set its type as `type: {}` in your " - "spec. That allows the value to be any type. " - ) - if klass == datetime: - if len(data) < 8: - raise ValueError("This is not a datetime") - # The string should be in iso8601 datetime format. - parsed_datetime = parse(data) - date_only = ( - parsed_datetime.hour == 0 and - parsed_datetime.minute == 0 and - parsed_datetime.second == 0 and - parsed_datetime.tzinfo is None and - 8 <= len(data) <= 10 - ) - if date_only: - raise ValueError("This is a date, not a datetime") - return parsed_datetime - elif klass == date: - if len(data) < 8: - raise ValueError("This is not a date") - return parse(data).date() - else: - converted_value = klass(data) - if isinstance(data, str) and klass == float: - if str(converted_value) != data: - # '7' -> 7.0 -> '7.0' != '7' - raise ValueError('This is not a float') - return converted_value - except (OverflowError, ValueError) as ex: - # parse can raise OverflowError - raise ApiValueError( - "{0}Failed to parse {1} as {2}".format( - additional_message, repr(data), klass.__name__ - ), - path_to_item=path_to_item - ) from ex - - -def get_discriminator_class(model_class, - discr_name, - discr_value, cls_visited): - """Returns the child class specified by the discriminator. - - Args: - model_class (OpenApiModel): the model class. - discr_name (string): the name of the discriminator property. - discr_value (any): the discriminator value. - cls_visited (list): list of model classes that have been visited. - Used to determine the discriminator class without - visiting circular references indefinitely. - - Returns: - used_model_class (class/None): the chosen child class that will be used - to deserialize the data, for example dog.Dog. - If a class is not found, None is returned. - """ - - if model_class in cls_visited: - # The class has already been visited and no suitable class was found. - return None - cls_visited.append(model_class) - used_model_class = None - if discr_name in model_class.discriminator: - class_name_to_discr_class = model_class.discriminator[discr_name] - used_model_class = class_name_to_discr_class.get(discr_value) - if used_model_class is None: - # We didn't find a discriminated class in class_name_to_discr_class. - # So look in the ancestor or descendant discriminators - # The discriminator mapping may exist in a descendant (anyOf, oneOf) - # or ancestor (allOf). - # Ancestor example: in the GrandparentAnimal -> ParentPet -> ChildCat - # hierarchy, the discriminator mappings may be defined at any level - # in the hierarchy. - # Descendant example: mammal -> whale/zebra/Pig -> BasquePig/DanishPig - # if we try to make BasquePig from mammal, we need to travel through - # the oneOf descendant discriminators to find BasquePig - descendant_classes = model_class._composed_schemas.get('oneOf', ()) + \ - model_class._composed_schemas.get('anyOf', ()) - ancestor_classes = model_class._composed_schemas.get('allOf', ()) - possible_classes = descendant_classes + ancestor_classes - for cls in possible_classes: - # Check if the schema has inherited discriminators. - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - used_model_class = get_discriminator_class( - cls, discr_name, discr_value, cls_visited) - if used_model_class is not None: - return used_model_class - return used_model_class - - -def deserialize_model(model_data, model_class, path_to_item, check_type, - configuration, spec_property_naming): - """Deserializes model_data to model instance. - - Args: - model_data (int/str/float/bool/none_type/list/dict): data to instantiate the model - model_class (OpenApiModel): the model class - path_to_item (list): path to the model in the received data - check_type (bool): whether to check the data tupe for the values in - the model - configuration (Configuration): the instance to use to convert files - 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 variables names in the input data are python - variable names in PEP-8 snake case. - - Returns: - model instance - - Raise: - ApiTypeError - ApiValueError - ApiKeyError - """ - - kw_args = dict(_check_type=check_type, - _path_to_item=path_to_item, - _configuration=configuration, - _spec_property_naming=spec_property_naming) - - if issubclass(model_class, ModelSimple): - return model_class._new_from_openapi_data(model_data, **kw_args) - elif isinstance(model_data, list): - return model_class._new_from_openapi_data(*model_data, **kw_args) - if isinstance(model_data, dict): - kw_args.update(model_data) - return model_class._new_from_openapi_data(**kw_args) - elif isinstance(model_data, PRIMITIVE_TYPES): - return model_class._new_from_openapi_data(model_data, **kw_args) - - -def deserialize_file(response_data, configuration, content_disposition=None): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - Args: - param response_data (str): the file data to write - configuration (Configuration): the instance to use to convert files - - Keyword Args: - content_disposition (str): the value of the Content-Disposition - header - - Returns: - (file_type): the deserialized file which is open - The user is responsible for closing and reading the file - """ - fd, path = tempfile.mkstemp(dir=configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition, - flags=re.I) - if filename is not None: - filename = filename.group(1) - else: - filename = "default_" + str(uuid.uuid4()) - - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - if isinstance(response_data, str): - # change str to bytes so we can write it - response_data = response_data.encode('utf-8') - f.write(response_data) - - f = open(path, "rb") - return f - - -def attempt_convert_item(input_value, valid_classes, path_to_item, - configuration, spec_property_naming, key_type=False, - must_convert=False, check_type=True): - """ - Args: - input_value (any): the data to convert - valid_classes (any): the classes that are valid - path_to_item (list): the path to the item to convert - configuration (Configuration): the instance to use to convert files - 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 variables names in the input data are python - variable names in PEP-8 snake case. - key_type (bool): if True we need to convert a key type (not supported) - must_convert (bool): if True we must convert - check_type (bool): if True we check the type or the returned data in - ModelComposed/ModelNormal/ModelSimple instances - - Returns: - instance (any) the fixed item - - Raises: - ApiTypeError - ApiValueError - ApiKeyError - """ - valid_classes_ordered = order_response_types(valid_classes) - valid_classes_coercible = remove_uncoercible( - valid_classes_ordered, input_value, spec_property_naming) - if not valid_classes_coercible or key_type: - # we do not handle keytype errors, json will take care - # of this for us - if configuration is None or not configuration.discard_unknown_keys: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=key_type) - for valid_class in valid_classes_coercible: - try: - if issubclass(valid_class, OpenApiModel): - return deserialize_model(input_value, valid_class, - path_to_item, check_type, - configuration, spec_property_naming) - elif valid_class == file_type: - return deserialize_file(input_value, configuration) - return deserialize_primitive(input_value, valid_class, - path_to_item) - except (ApiTypeError, ApiValueError, ApiKeyError) as conversion_exc: - if must_convert: - raise conversion_exc - # if we have conversion errors when must_convert == False - # we ignore the exception and move on to the next class - continue - # we were unable to convert, must_convert == False - return input_value - - -def is_type_nullable(input_type): - """ - Returns true if None is an allowed value for the specified input_type. - - A type is nullable if at least one of the following conditions is true: - 1. The OAS 'nullable' attribute has been specified, - 1. The type is the 'null' type, - 1. The type is a anyOf/oneOf composed schema, and a child schema is - the 'null' type. - Args: - input_type (type): the class of the input_value that we are - checking - Returns: - bool - """ - if input_type is none_type: - return True - if issubclass(input_type, OpenApiModel) and input_type._nullable: - return True - if issubclass(input_type, ModelComposed): - # If oneOf/anyOf, check if the 'null' type is one of the allowed types. - for t in input_type._composed_schemas.get('oneOf', ()): - if is_type_nullable(t): - return True - for t in input_type._composed_schemas.get('anyOf', ()): - if is_type_nullable(t): - return True - return False - - -def is_valid_type(input_class_simple, valid_classes): - """ - Args: - input_class_simple (class): the class of the input_value that we are - checking - valid_classes (tuple): the valid classes that the current item - should be - Returns: - bool - """ - if issubclass(input_class_simple, OpenApiModel) and \ - valid_classes == (bool, date, datetime, dict, float, int, list, str, none_type,): - return True - valid_type = input_class_simple in valid_classes - if not valid_type and ( - issubclass(input_class_simple, OpenApiModel) or - input_class_simple is none_type): - for valid_class in valid_classes: - if input_class_simple is none_type and is_type_nullable(valid_class): - # Schema is oneOf/anyOf and the 'null' type is one of the allowed types. - return True - if not (issubclass(valid_class, OpenApiModel) and valid_class.discriminator): - continue - discr_propertyname_py = list(valid_class.discriminator.keys())[0] - discriminator_classes = ( - valid_class.discriminator[discr_propertyname_py].values() - ) - valid_type = is_valid_type(input_class_simple, discriminator_classes) - if valid_type: - return True - return valid_type - - -def validate_and_convert_types(input_value, required_types_mixed, path_to_item, - spec_property_naming, _check_type, configuration=None): - """Raises a TypeError is there is a problem, otherwise returns value - - Args: - input_value (any): the data to validate/convert - required_types_mixed (list/dict/tuple): A list of - valid classes, or a list tuples of valid classes, or a dict where - the value is a tuple of value classes - path_to_item: (list) the path to the data being validated - this stores a list of keys or indices to get to the data being - validated - 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 variables names in the input data are python - variable names in PEP-8 snake case. - _check_type: (boolean) if true, type will be checked and conversion - will be attempted. - configuration: (Configuration): the configuration class to use - when converting file_type items. - If passed, conversion will be attempted when possible - If not passed, no conversions will be attempted and - exceptions will be raised - - Returns: - the correctly typed value - - Raises: - ApiTypeError - """ - results = get_required_type_classes(required_types_mixed, spec_property_naming) - valid_classes, child_req_types_by_current_type = results - - input_class_simple = get_simple_class(input_value) - valid_type = is_valid_type(input_class_simple, valid_classes) - if not valid_type: - if (configuration - or (input_class_simple == dict - and dict not in valid_classes)): - # if input_value is not valid_type try to convert it - converted_instance = attempt_convert_item( - input_value, - valid_classes, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=True, - check_type=_check_type - ) - return converted_instance - else: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=False) - - # input_value's type is in valid_classes - if len(valid_classes) > 1 and configuration: - # there are valid classes which are not the current class - valid_classes_coercible = remove_uncoercible( - valid_classes, input_value, spec_property_naming, must_convert=False) - if valid_classes_coercible: - converted_instance = attempt_convert_item( - input_value, - valid_classes_coercible, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=False, - check_type=_check_type - ) - return converted_instance - - if child_req_types_by_current_type == {}: - # all types are of the required types and there are no more inner - # variables left to look at - return input_value - inner_required_types = child_req_types_by_current_type.get( - type(input_value) - ) - if inner_required_types is None: - # for this type, there are not more inner variables left to look at - return input_value - if isinstance(input_value, list): - if input_value == []: - # allow an empty list - return input_value - for index, inner_value in enumerate(input_value): - inner_path = list(path_to_item) - inner_path.append(index) - input_value[index] = validate_and_convert_types( - inner_value, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - elif isinstance(input_value, dict): - if input_value == {}: - # allow an empty dict - return input_value - for inner_key, inner_val in input_value.items(): - inner_path = list(path_to_item) - inner_path.append(inner_key) - if get_simple_class(inner_key) != str: - raise get_type_error(inner_key, inner_path, valid_classes, - key_type=True) - input_value[inner_key] = validate_and_convert_types( - inner_val, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - return input_value - - -def model_to_dict(model_instance, serialize=True): - """Returns the model properties as a dict - - Args: - model_instance (one of your model instances): the model instance that - will be converted to a dict. - - Keyword Args: - serialize (bool): if True, the keys in the dict will be values from - attribute_map - """ - result = {} - - def extract_item(item): return ( - item[0], model_to_dict( - item[1], serialize=serialize)) if hasattr( - item[1], '_data_store') else item - - model_instances = [model_instance] - if model_instance._composed_schemas: - model_instances.extend(model_instance._composed_instances) - seen_json_attribute_names = set() - used_fallback_python_attribute_names = set() - py_to_json_map = {} - for model_instance in model_instances: - for attr, value in model_instance._data_store.items(): - if serialize: - # we use get here because additional property key names do not - # exist in attribute_map - try: - attr = model_instance.attribute_map[attr] - py_to_json_map.update(model_instance.attribute_map) - seen_json_attribute_names.add(attr) - except KeyError: - used_fallback_python_attribute_names.add(attr) - if isinstance(value, list): - if not value: - # empty list or None - result[attr] = value - else: - res = [] - for v in value: - if isinstance(v, PRIMITIVE_TYPES) or v is None: - res.append(v) - elif isinstance(v, ModelSimple): - res.append(v.value) - elif isinstance(v, dict): - res.append(dict(map( - extract_item, - v.items() - ))) - else: - res.append(model_to_dict(v, serialize=serialize)) - result[attr] = res - elif isinstance(value, dict): - result[attr] = dict(map( - extract_item, - value.items() - )) - elif isinstance(value, ModelSimple): - result[attr] = value.value - elif hasattr(value, '_data_store'): - result[attr] = model_to_dict(value, serialize=serialize) - else: - result[attr] = value - if serialize: - for python_key in used_fallback_python_attribute_names: - json_key = py_to_json_map.get(python_key) - if json_key is None: - continue - if python_key == json_key: - continue - json_key_assigned_no_need_for_python_key = json_key in seen_json_attribute_names - if json_key_assigned_no_need_for_python_key: - del result[python_key] - - return result - - -def type_error_message(var_value=None, var_name=None, valid_classes=None, - key_type=None): - """ - Keyword Args: - var_value (any): the variable which has the type_error - var_name (str): the name of the variable which has the typ error - valid_classes (tuple): the accepted classes for current_item's - value - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - """ - key_or_value = 'value' - if key_type: - key_or_value = 'key' - valid_classes_phrase = get_valid_classes_phrase(valid_classes) - msg = ( - "Invalid type for variable '{0}'. Required {1} type {2} and " - "passed type was {3}".format( - var_name, - key_or_value, - valid_classes_phrase, - type(var_value).__name__, - ) - ) - return msg - - -def get_valid_classes_phrase(input_classes): - """Returns a string phrase describing what types are allowed - """ - all_classes = list(input_classes) - all_classes = sorted(all_classes, key=lambda cls: cls.__name__) - all_class_names = [cls.__name__ for cls in all_classes] - if len(all_class_names) == 1: - return 'is {0}'.format(all_class_names[0]) - return "is one of [{0}]".format(", ".join(all_class_names)) - - -def get_allof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - used to make instances - constant_args (dict): - metadata arguments: - _check_type - _path_to_item - _spec_property_naming - _configuration - _visited_composed_classes - - Returns - composed_instances (list) - """ - composed_instances = [] - for allof_class in self._composed_schemas['allOf']: - - try: - if constant_args.get('_spec_property_naming'): - allof_instance = allof_class._from_openapi_data(**model_args, **constant_args) - else: - allof_instance = allof_class(**model_args, **constant_args) - composed_instances.append(allof_instance) - except Exception as ex: - raise ApiValueError( - "Invalid inputs given to generate an instance of '%s'. The " - "input data was invalid for the allOf schema '%s' in the composed " - "schema '%s'. Error=%s" % ( - allof_class.__name__, - allof_class.__name__, - self.__class__.__name__, - str(ex) - ) - ) from ex - return composed_instances - - -def get_oneof_instance(cls, model_kwargs, constant_kwargs, model_arg=None): - """ - Find the oneOf schema that matches the input data (e.g. payload). - If exactly one schema matches the input data, an instance of that schema - is returned. - If zero or more than one schema match the input data, an exception is raised. - In OAS 3.x, the payload MUST, by validation, match exactly one of the - schemas described by oneOf. - - Args: - cls: the class we are handling - model_kwargs (dict): var_name to var_value - The input data, e.g. the payload that must match a oneOf schema - in the OpenAPI document. - constant_kwargs (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Kwargs: - model_arg: (int, float, bool, str, date, datetime, ModelSimple, None): - the value to assign to a primitive class or ModelSimple class - Notes: - - this is only passed in when oneOf includes types which are not object - - None is used to suppress handling of model_arg, nullable models are handled in __new__ - - Returns - oneof_instance (instance) - """ - if len(cls._composed_schemas['oneOf']) == 0: - return None - - oneof_instances = [] - # Iterate over each oneOf schema and determine if the input data - # matches the oneOf schemas. - for oneof_class in cls._composed_schemas['oneOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if oneof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - single_value_input = allows_single_value_input(oneof_class) - - try: - if not single_value_input: - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data( - **model_kwargs, **constant_kwargs) - else: - oneof_instance = oneof_class(**model_kwargs, **constant_kwargs) - else: - if issubclass(oneof_class, ModelSimple): - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data( - model_arg, **constant_kwargs) - else: - oneof_instance = oneof_class(model_arg, **constant_kwargs) - elif oneof_class in PRIMITIVE_TYPES: - oneof_instance = validate_and_convert_types( - model_arg, - (oneof_class,), - constant_kwargs['_path_to_item'], - constant_kwargs['_spec_property_naming'], - constant_kwargs['_check_type'], - configuration=constant_kwargs['_configuration'] - ) - oneof_instances.append(oneof_instance) - except Exception: - pass - if len(oneof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None " - "of the oneOf schemas matched the input data." % - cls.__name__ - ) - elif len(oneof_instances) > 1: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. Multiple " - "oneOf schemas matched the inputs, but a max of one is allowed." % - cls.__name__ - ) - return oneof_instances[0] - - -def get_anyof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - The input data, e.g. the payload that must match at least one - anyOf child schema in the OpenAPI document. - constant_args (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Returns - anyof_instances (list) - """ - anyof_instances = [] - if len(self._composed_schemas['anyOf']) == 0: - return anyof_instances - - for anyof_class in self._composed_schemas['anyOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if anyof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - try: - if constant_args.get('_spec_property_naming'): - anyof_instance = anyof_class._from_openapi_data(**model_args, **constant_args) - else: - anyof_instance = anyof_class(**model_args, **constant_args) - anyof_instances.append(anyof_instance) - except Exception: - pass - if len(anyof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None of the " - "anyOf schemas matched the inputs." % - self.__class__.__name__ - ) - return anyof_instances - - -def get_discarded_args(self, composed_instances, model_args): - """ - Gathers the args that were discarded by configuration.discard_unknown_keys - """ - model_arg_keys = model_args.keys() - discarded_args = set() - # arguments passed to self were already converted to python names - # before __init__ was called - for instance in composed_instances: - if instance.__class__ in self._composed_schemas['allOf']: - try: - keys = instance.to_dict().keys() - discarded_keys = model_args - keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - else: - try: - all_keys = set(model_to_dict(instance, serialize=False).keys()) - js_keys = model_to_dict(instance, serialize=True).keys() - all_keys.update(js_keys) - discarded_keys = model_arg_keys - all_keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - return discarded_args - - -def validate_get_composed_info(constant_args, model_args, self): - """ - For composed schemas, generate schema instances for - all schemas in the oneOf/anyOf/allOf definition. If additional - properties are allowed, also assign those properties on - all matched schemas that contain additionalProperties. - Openapi schemas are python classes. - - Exceptions are raised if: - - 0 or > 1 oneOf schema matches the model_args input data - - no anyOf schema matches the model_args input data - - any of the allOf schemas do not match the model_args input data - - Args: - constant_args (dict): these are the args that every model requires - model_args (dict): these are the required and optional spec args that - were passed in to make this model - self (class): the class that we are instantiating - This class contains self._composed_schemas - - Returns: - composed_info (list): length three - composed_instances (list): the composed instances which are not - self - var_name_to_model_instances (dict): a dict going from var_name - to the model_instance which holds that var_name - the model_instance may be self or an instance of one of the - classes in self.composed_instances() - additional_properties_model_instances (list): a list of the - model instances which have the property - additional_properties_type. This list can include self - """ - # create composed_instances - composed_instances = [] - allof_instances = get_allof_instances(self, model_args, constant_args) - composed_instances.extend(allof_instances) - oneof_instance = get_oneof_instance(self.__class__, model_args, constant_args) - if oneof_instance is not None: - composed_instances.append(oneof_instance) - anyof_instances = get_anyof_instances(self, model_args, constant_args) - composed_instances.extend(anyof_instances) - """ - set additional_properties_model_instances - additional properties must be evaluated at the schema level - so self's additional properties are most important - If self is a composed schema with: - - no properties defined in self - - additionalProperties: False - Then for object payloads every property is an additional property - and they are not allowed, so only empty dict is allowed - - Properties must be set on all matching schemas - so when a property is assigned toa composed instance, it must be set on all - composed instances regardless of additionalProperties presence - keeping it to prevent breaking changes in v5.0.1 - TODO remove cls._additional_properties_model_instances in 6.0.0 - """ - additional_properties_model_instances = [] - if self.additional_properties_type is not None: - additional_properties_model_instances = [self] - - """ - no need to set properties on self in here, they will be set in __init__ - By here all composed schema oneOf/anyOf/allOf instances have their properties set using - model_args - """ - discarded_args = get_discarded_args(self, composed_instances, model_args) - - # map variable names to composed_instances - var_name_to_model_instances = {} - for prop_name in model_args: - if prop_name not in discarded_args: - var_name_to_model_instances[prop_name] = [self] + list( - filter( - lambda x: prop_name in x.openapi_types, composed_instances)) - - return [ - composed_instances, - var_name_to_model_instances, - additional_properties_model_instances, - discarded_args - ] diff --git a/digitalai/release/v1/models/__init__.py b/digitalai/release/v1/models/__init__.py deleted file mode 100644 index 045efcb..0000000 --- a/digitalai/release/v1/models/__init__.py +++ /dev/null @@ -1,138 +0,0 @@ -# flake8: noqa - -# import all models into this package -# if you have many models here with many references from one model to another this may -# raise a RecursionError -# to avoid this, import only the models that you directly need like: -# from from digitalai.release.v1.model.pet import Pet -# or import this package, but before doing it, use: -# import sys -# sys.setrecursionlimit(n) - -from digitalai.release.v1.model.abort_release import AbortRelease -from digitalai.release.v1.model.activity_log_entry import ActivityLogEntry -from digitalai.release.v1.model.application_filters import ApplicationFilters -from digitalai.release.v1.model.application_form import ApplicationForm -from digitalai.release.v1.model.application_view import ApplicationView -from digitalai.release.v1.model.attachment import Attachment -from digitalai.release.v1.model.base_application_view import BaseApplicationView -from digitalai.release.v1.model.base_environment_view import BaseEnvironmentView -from digitalai.release.v1.model.blackout_metadata import BlackoutMetadata -from digitalai.release.v1.model.blackout_period import BlackoutPeriod -from digitalai.release.v1.model.bulk_action_result_view import BulkActionResultView -from digitalai.release.v1.model.change_password_view import ChangePasswordView -from digitalai.release.v1.model.ci_property import CiProperty -from digitalai.release.v1.model.comment import Comment -from digitalai.release.v1.model.comment1 import Comment1 -from digitalai.release.v1.model.complete_transition import CompleteTransition -from digitalai.release.v1.model.condition import Condition -from digitalai.release.v1.model.condition1 import Condition1 -from digitalai.release.v1.model.configuration_facet import ConfigurationFacet -from digitalai.release.v1.model.configuration_view import ConfigurationView -from digitalai.release.v1.model.copy_template import CopyTemplate -from digitalai.release.v1.model.create_delivery import CreateDelivery -from digitalai.release.v1.model.create_delivery_stage import CreateDeliveryStage -from digitalai.release.v1.model.create_release import CreateRelease -from digitalai.release.v1.model.delivery import Delivery -from digitalai.release.v1.model.delivery_filters import DeliveryFilters -from digitalai.release.v1.model.delivery_flow_release_info import DeliveryFlowReleaseInfo -from digitalai.release.v1.model.delivery_order_mode import DeliveryOrderMode -from digitalai.release.v1.model.delivery_pattern_filters import DeliveryPatternFilters -from digitalai.release.v1.model.delivery_status import DeliveryStatus -from digitalai.release.v1.model.delivery_timeline import DeliveryTimeline -from digitalai.release.v1.model.dependency import Dependency -from digitalai.release.v1.model.duplicate_delivery_pattern import DuplicateDeliveryPattern -from digitalai.release.v1.model.environment_filters import EnvironmentFilters -from digitalai.release.v1.model.environment_form import EnvironmentForm -from digitalai.release.v1.model.environment_label_filters import EnvironmentLabelFilters -from digitalai.release.v1.model.environment_label_form import EnvironmentLabelForm -from digitalai.release.v1.model.environment_label_view import EnvironmentLabelView -from digitalai.release.v1.model.environment_reservation_form import EnvironmentReservationForm -from digitalai.release.v1.model.environment_reservation_search_view import EnvironmentReservationSearchView -from digitalai.release.v1.model.environment_reservation_view import EnvironmentReservationView -from digitalai.release.v1.model.environment_stage_filters import EnvironmentStageFilters -from digitalai.release.v1.model.environment_stage_form import EnvironmentStageForm -from digitalai.release.v1.model.environment_stage_view import EnvironmentStageView -from digitalai.release.v1.model.environment_view import EnvironmentView -from digitalai.release.v1.model.external_variable_value import ExternalVariableValue -from digitalai.release.v1.model.facet import Facet -from digitalai.release.v1.model.facet_filters import FacetFilters -from digitalai.release.v1.model.facet_scope import FacetScope -from digitalai.release.v1.model.flag_status import FlagStatus -from digitalai.release.v1.model.folder import Folder -from digitalai.release.v1.model.folder_variables import FolderVariables -from digitalai.release.v1.model.gate_condition import GateCondition -from digitalai.release.v1.model.gate_task import GateTask -from digitalai.release.v1.model.global_variables import GlobalVariables -from digitalai.release.v1.model.import_result import ImportResult -from digitalai.release.v1.model.member_type import MemberType -from digitalai.release.v1.model.model_property import ModelProperty -from digitalai.release.v1.model.phase import Phase -from digitalai.release.v1.model.phase_status import PhaseStatus -from digitalai.release.v1.model.phase_timeline import PhaseTimeline -from digitalai.release.v1.model.phase_version import PhaseVersion -from digitalai.release.v1.model.plan_item import PlanItem -from digitalai.release.v1.model.poll_type import PollType -from digitalai.release.v1.model.principal_view import PrincipalView -from digitalai.release.v1.model.projected_phase import ProjectedPhase -from digitalai.release.v1.model.projected_release import ProjectedRelease -from digitalai.release.v1.model.projected_task import ProjectedTask -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.release_configuration import ReleaseConfiguration -from digitalai.release.v1.model.release_count_result import ReleaseCountResult -from digitalai.release.v1.model.release_count_results import ReleaseCountResults -from digitalai.release.v1.model.release_extension import ReleaseExtension -from digitalai.release.v1.model.release_full_search_result import ReleaseFullSearchResult -from digitalai.release.v1.model.release_group import ReleaseGroup -from digitalai.release.v1.model.release_group_filters import ReleaseGroupFilters -from digitalai.release.v1.model.release_group_order_mode import ReleaseGroupOrderMode -from digitalai.release.v1.model.release_group_status import ReleaseGroupStatus -from digitalai.release.v1.model.release_group_timeline import ReleaseGroupTimeline -from digitalai.release.v1.model.release_order_direction import ReleaseOrderDirection -from digitalai.release.v1.model.release_order_mode import ReleaseOrderMode -from digitalai.release.v1.model.release_search_result import ReleaseSearchResult -from digitalai.release.v1.model.release_status import ReleaseStatus -from digitalai.release.v1.model.release_timeline import ReleaseTimeline -from digitalai.release.v1.model.release_trigger import ReleaseTrigger -from digitalai.release.v1.model.releases_filters import ReleasesFilters -from digitalai.release.v1.model.reservation_filters import ReservationFilters -from digitalai.release.v1.model.reservation_search_view import ReservationSearchView -from digitalai.release.v1.model.risk import Risk -from digitalai.release.v1.model.risk_assessment import RiskAssessment -from digitalai.release.v1.model.risk_assessor import RiskAssessor -from digitalai.release.v1.model.risk_global_thresholds import RiskGlobalThresholds -from digitalai.release.v1.model.risk_profile import RiskProfile -from digitalai.release.v1.model.risk_status import RiskStatus -from digitalai.release.v1.model.risk_status_with_thresholds import RiskStatusWithThresholds -from digitalai.release.v1.model.role_view import RoleView -from digitalai.release.v1.model.shared_configuration_status_response import SharedConfigurationStatusResponse -from digitalai.release.v1.model.stage import Stage -from digitalai.release.v1.model.stage_status import StageStatus -from digitalai.release.v1.model.stage_tracked_item import StageTrackedItem -from digitalai.release.v1.model.start_release import StartRelease -from digitalai.release.v1.model.start_task import StartTask -from digitalai.release.v1.model.subscriber import Subscriber -from digitalai.release.v1.model.system_message_settings import SystemMessageSettings -from digitalai.release.v1.model.task import Task -from digitalai.release.v1.model.task_container import TaskContainer -from digitalai.release.v1.model.task_recover_op import TaskRecoverOp -from digitalai.release.v1.model.task_reporting_record import TaskReportingRecord -from digitalai.release.v1.model.task_status import TaskStatus -from digitalai.release.v1.model.team import Team -from digitalai.release.v1.model.team_member_view import TeamMemberView -from digitalai.release.v1.model.team_view import TeamView -from digitalai.release.v1.model.time_frame import TimeFrame -from digitalai.release.v1.model.tracked_item import TrackedItem -from digitalai.release.v1.model.tracked_item_status import TrackedItemStatus -from digitalai.release.v1.model.transition import Transition -from digitalai.release.v1.model.trigger import Trigger -from digitalai.release.v1.model.trigger_execution_status import TriggerExecutionStatus -from digitalai.release.v1.model.usage_point import UsagePoint -from digitalai.release.v1.model.user_account import UserAccount -from digitalai.release.v1.model.user_input_task import UserInputTask -from digitalai.release.v1.model.validate_pattern import ValidatePattern -from digitalai.release.v1.model.value_provider_configuration import ValueProviderConfiguration -from digitalai.release.v1.model.value_with_interpolation import ValueWithInterpolation -from digitalai.release.v1.model.variable import Variable -from digitalai.release.v1.model.variable1 import Variable1 -from digitalai.release.v1.model.variable_or_value import VariableOrValue diff --git a/digitalai/release/v1/rest.py b/digitalai/release/v1/rest.py deleted file mode 100644 index c97d2dd..0000000 --- a/digitalai/release/v1/rest.py +++ /dev/null @@ -1,352 +0,0 @@ -""" - Digital.ai Release API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v1 - Generated by: https://openapi-generator.tech -""" - - -import io -import json -import logging -import re -import ssl -from urllib.parse import urlencode -from urllib.parse import urlparse -from urllib.request import proxy_bypass_environment -import urllib3 -import ipaddress - -from digitalai.release.v1.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError - - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if configuration.retries is not None: - addition_pool_args['retries'] = configuration.retries - - if configuration.socket_options is not None: - addition_pool_args['socket_options'] = configuration.socket_options - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy and not should_bypass_proxies( - configuration.host, no_proxy=configuration.no_proxy or ''): - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - proxy_headers=configuration.proxy_headers, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: 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. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ApiValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, float)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - # Only set a default Content-Type for POST, PUT, PATCH and OPTIONS requests - if (method != 'DELETE') and ('Content-Type' not in headers): - headers['Content-Type'] = 'application/json' - if query_params: - url += '?' + urlencode(query_params) - if ('Content-Type' not in headers) or (re.search('json', - headers['Content-Type'], re.IGNORECASE)): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str) or isinstance(body, bytes): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - if r.status == 401: - raise UnauthorizedException(http_resp=r) - - if r.status == 403: - raise ForbiddenException(http_resp=r) - - if r.status == 404: - raise NotFoundException(http_resp=r) - - if 500 <= r.status <= 599: - raise ServiceException(http_resp=r) - - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def OPTIONS(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def POST(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PATCH(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - -# end of class RESTClientObject - - -def is_ipv4(target): - """ Test if IPv4 address or not - """ - try: - chk = ipaddress.IPv4Address(target) - return True - except ipaddress.AddressValueError: - return False - - -def in_ipv4net(target, net): - """ Test if target belongs to given IPv4 network - """ - try: - nw = ipaddress.IPv4Network(net) - ip = ipaddress.IPv4Address(target) - if ip in nw: - return True - return False - except ipaddress.AddressValueError: - return False - except ipaddress.NetmaskValueError: - return False - - -def should_bypass_proxies(url, no_proxy=None): - """ Yet another requests.should_bypass_proxies - Test if proxies should not be used for a particular url. - """ - - parsed = urlparse(url) - - # special cases - if parsed.hostname in [None, '']: - return True - - # special cases - if no_proxy in [None, '']: - return False - if no_proxy == '*': - return True - - no_proxy = no_proxy.lower().replace(' ', ''); - entries = ( - host for host in no_proxy.split(',') if host - ) - - if is_ipv4(parsed.hostname): - for item in entries: - if in_ipv4net(parsed.hostname, item): - return True - return proxy_bypass_environment(parsed.hostname, {'no': no_proxy}) diff --git a/pyproject.toml b/pyproject.toml index fb59d75..ed628cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [tool.hatch.build] exclude = [ - "digitalai/release/v1/docs/*" + ".gitignore", "tests/*", ".github/*" ] [tool.hatch.build.targets.wheel] @@ -12,25 +12,34 @@ packages = ["digitalai"] [project] name = "digitalai_release_sdk" -version = "24.1.0" +version = "25.1.0" authors = [ { name="Digital.ai", email="pypi-devops@digital.ai" }, ] description = "Digital.ai Release SDK" readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ - 'dataclasses-json==0.5.7', - 'pycryptodomex==3.16.0', - 'python_dateutil >= 2.5.3', - 'urllib3 >= 1.25.3', - 'kubernetes==25.3.0' + 'dataclasses-json==0.6.7', + 'pycryptodomex==3.21.0', + 'python-dateutil==2.9.0', + 'requests==2.32.3', + 'kubernetes==32.0.1' ] classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Topic :: Software Development :: Libraries", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", + "Operating System :: OS Independent" ] [project.urls] -"Homepage" = "https://digital.ai/" +Homepage = "https://digital.ai/" +Documentation = "https://docs.digital.ai/release/docs/category/python-sdk" diff --git a/tests/release/api/test_release_api_methods.py b/tests/release/api/test_release_api_methods.py deleted file mode 100644 index ea90b93..0000000 --- a/tests/release/api/test_release_api_methods.py +++ /dev/null @@ -1,26 +0,0 @@ -import unittest - -from digitalai.release.v1 import Configuration, ApiClient -from digitalai.release.v1.api.configuration_api import ConfigurationApi -from digitalai.release.v1.api.release_api import ReleaseApi -from digitalai.release.v1.model.release import Release -from digitalai.release.v1.model.variable import Variable - - -class TestReleaseApiMethods(unittest.TestCase): - - def test_api_methods(self): - configuration = Configuration(host="http://localhost:5516", username='admin', password='admin') - api_client = ApiClient(configuration) - - configuration_api = ConfigurationApi(api_client) - variable_list: [Variable] = configuration_api.get_global_variables() - print(f"variable_list : {variable_list}\n") - - release_api = ReleaseApi(api_client) - release_list: [Release] = release_api.get_releases(depth=1, page=0, results_per_page=1) - print(f"release_list : {release_list}\n") - - -if __name__ == '__main__': - unittest.main() diff --git a/tests/release/test_release_api_client.py b/tests/release/test_release_api_client.py new file mode 100644 index 0000000..c47ba03 --- /dev/null +++ b/tests/release/test_release_api_client.py @@ -0,0 +1,73 @@ +import unittest + +from digitalai.release.release_api_client import ReleaseAPIClient + + +class TestReleaseAPIClient(unittest.TestCase): + + @classmethod + def setUpClass(cls): + """Set up the API client before running tests.""" + cls.client = ReleaseAPIClient("http://localhost:5516", "admin", "admin") + cls.global_variable_id = None # Store ID at the class level + + @classmethod + def tearDownClass(cls): + """Close the API client session after all tests.""" + cls.client.close() + + def test_01_create_global_variable(self): + """Test creating a new global variable.""" + global_variable = { + "id": None, + "key": "global.testVar", + "type": "xlrelease.StringVariable", + "requiresValue": "false", + "showOnReleaseStart": "false", + "value": "test value" + } + response = self.client.post("/api/v1/config/Configuration/variables/global", json=global_variable) + self.assertEqual(response.status_code, 200, f"Unexpected status code: {response.status_code}") + + # Store ID in class attribute + TestReleaseAPIClient.global_variable_id = response.json().get("id") + print(f"Created global variable ID: {TestReleaseAPIClient.global_variable_id}") + + def test_02_update_global_variable(self): + """Test updating an existing global variable.""" + if not TestReleaseAPIClient.global_variable_id: + self.skipTest("Global variable ID is not set. Run test_01_create_global_variable first.") + + updated_variable = { + "id": TestReleaseAPIClient.global_variable_id, + "key": "global.testVar", + "type": "xlrelease.StringVariable", + "requiresValue": "false", + "showOnReleaseStart": "false", + "value": "updated test value" + } + + response = self.client.put(f"/api/v1/config/{TestReleaseAPIClient.global_variable_id}", json=updated_variable) + self.assertEqual(response.status_code, 200, f"Unexpected status code: {response.status_code}") + print("Global variable updated successfully.") + + def test_03_get_global_variable(self): + """Test retrieving the global variable.""" + if not TestReleaseAPIClient.global_variable_id: + self.skipTest("Global variable ID is not set. Run test_01_create_global_variable first.") + + response = self.client.get(f"/api/v1/config/{TestReleaseAPIClient.global_variable_id}") + self.assertEqual(response.status_code, 200, f"Unexpected status code: {response.status_code}") + print(f"Retrieved global variable: {response.json()}") + + def test_04_delete_global_variable(self): + """Test deleting the global variable.""" + if not TestReleaseAPIClient.global_variable_id: + self.skipTest("Global variable ID is not set. Run test_01_create_global_variable first.") + + response = self.client.delete(f"/api/v1/config/{TestReleaseAPIClient.global_variable_id}") + self.assertEqual(response.status_code, 204, f"Unexpected status code: {response.status_code}") + print("Global variable deleted successfully.") + +if __name__ == "__main__": + unittest.main()