diff --git a/services/logme/oas_commit b/services/logme/oas_commit index a77ddf5f5..0f8ce352b 100644 --- a/services/logme/oas_commit +++ b/services/logme/oas_commit @@ -1 +1 @@ -d4da229ba7a242ed561223c67f68683be824c126 +876a48fb56473c7c844baa697906d461c0675f47 diff --git a/services/logme/src/stackit/logme/__init__.py b/services/logme/src/stackit/logme/__init__.py index 2f442e4c0..56ca24ab4 100644 --- a/services/logme/src/stackit/logme/__init__.py +++ b/services/logme/src/stackit/logme/__init__.py @@ -3,16 +3,17 @@ # flake8: noqa """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 + __version__ = "1.0.0" # Define package exports @@ -42,7 +43,6 @@ "InstanceParameters", "InstanceParametersGroksInner", "InstanceSchema", - "ListBackupsResponse", "ListCredentialsResponse", "ListInstancesResponse", "ListOfferingsResponse", @@ -108,9 +108,6 @@ InstanceParametersGroksInner as InstanceParametersGroksInner, ) from stackit.logme.models.instance_schema import InstanceSchema as InstanceSchema -from stackit.logme.models.list_backups_response import ( - ListBackupsResponse as ListBackupsResponse, -) from stackit.logme.models.list_credentials_response import ( ListCredentialsResponse as ListCredentialsResponse, ) diff --git a/services/logme/src/stackit/logme/api/default_api.py b/services/logme/src/stackit/logme/api/default_api.py index 42bc42567..26d80a7e0 100644 --- a/services/logme/src/stackit/logme/api/default_api.py +++ b/services/logme/src/stackit/logme/api/default_api.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union @@ -25,6 +25,7 @@ from stackit.logme.api_client import ApiClient, RequestSerialized from stackit.logme.api_response import ApiResponse +from stackit.logme.models.backup import Backup from stackit.logme.models.create_backup_response_item import CreateBackupResponseItem from stackit.logme.models.create_credentials_payload import CreateCredentialsPayload from stackit.logme.models.create_instance_payload import CreateInstancePayload @@ -32,7 +33,6 @@ from stackit.logme.models.credentials_response import CredentialsResponse from stackit.logme.models.get_metrics_response import GetMetricsResponse from stackit.logme.models.instance import Instance -from stackit.logme.models.list_backups_response import ListBackupsResponse from stackit.logme.models.list_credentials_response import ListCredentialsResponse from stackit.logme.models.list_instances_response import ListInstancesResponse from stackit.logme.models.list_offerings_response import ListOfferingsResponse @@ -2550,7 +2550,7 @@ def list_backups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ListBackupsResponse: + ) -> List[Backup]: """get latest backup information for provided instanceId @@ -2593,7 +2593,7 @@ def list_backups( ) _response_types_map: Dict[str, Optional[str]] = { - "200": "ListBackupsResponse", + "200": "List[Backup]", "400": "Error", "401": "Error", "404": "Error", @@ -2620,7 +2620,7 @@ def list_backups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ListBackupsResponse]: + ) -> ApiResponse[List[Backup]]: """get latest backup information for provided instanceId @@ -2663,7 +2663,7 @@ def list_backups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - "200": "ListBackupsResponse", + "200": "List[Backup]", "400": "Error", "401": "Error", "404": "Error", @@ -2733,7 +2733,7 @@ def list_backups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - "200": "ListBackupsResponse", + "200": "List[Backup]", "400": "Error", "401": "Error", "404": "Error", diff --git a/services/logme/src/stackit/logme/api_client.py b/services/logme/src/stackit/logme/api_client.py index 14d2ce222..914f65e85 100644 --- a/services/logme/src/stackit/logme/api_client.py +++ b/services/logme/src/stackit/logme/api_client.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import datetime @@ -36,6 +36,7 @@ ApiException, ) + RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] diff --git a/services/logme/src/stackit/logme/api_response.py b/services/logme/src/stackit/logme/api_response.py index ca801da0b..b3ba14a1d 100644 --- a/services/logme/src/stackit/logme/api_response.py +++ b/services/logme/src/stackit/logme/api_response.py @@ -6,6 +6,7 @@ from pydantic import BaseModel, Field, StrictBytes, StrictInt + T = TypeVar("T") diff --git a/services/logme/src/stackit/logme/configuration.py b/services/logme/src/stackit/logme/configuration.py index 857321630..49c1aea9a 100644 --- a/services/logme/src/stackit/logme/configuration.py +++ b/services/logme/src/stackit/logme/configuration.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import sys @@ -18,6 +18,7 @@ import os + ServerVariablesT = Dict[str, str] diff --git a/services/logme/src/stackit/logme/exceptions.py b/services/logme/src/stackit/logme/exceptions.py index 96988a437..6b9b920f2 100644 --- a/services/logme/src/stackit/logme/exceptions.py +++ b/services/logme/src/stackit/logme/exceptions.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from typing import Any, Optional diff --git a/services/logme/src/stackit/logme/models/__init__.py b/services/logme/src/stackit/logme/models/__init__.py index 7d657b0c7..c02536259 100644 --- a/services/logme/src/stackit/logme/models/__init__.py +++ b/services/logme/src/stackit/logme/models/__init__.py @@ -2,14 +2,14 @@ # flake8: noqa """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 # import models into model package @@ -30,7 +30,6 @@ InstanceParametersGroksInner, ) from stackit.logme.models.instance_schema import InstanceSchema -from stackit.logme.models.list_backups_response import ListBackupsResponse from stackit.logme.models.list_credentials_response import ListCredentialsResponse from stackit.logme.models.list_instances_response import ListInstancesResponse from stackit.logme.models.list_offerings_response import ListOfferingsResponse diff --git a/services/logme/src/stackit/logme/models/backup.py b/services/logme/src/stackit/logme/models/backup.py index 8c0bec0da..8876491a1 100644 --- a/services/logme/src/stackit/logme/models/backup.py +++ b/services/logme/src/stackit/logme/models/backup.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/create_backup_response_item.py b/services/logme/src/stackit/logme/models/create_backup_response_item.py index f090d10e0..00169add1 100644 --- a/services/logme/src/stackit/logme/models/create_backup_response_item.py +++ b/services/logme/src/stackit/logme/models/create_backup_response_item.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/create_credentials_payload.py b/services/logme/src/stackit/logme/models/create_credentials_payload.py index eb3ece3f1..3953b048e 100644 --- a/services/logme/src/stackit/logme/models/create_credentials_payload.py +++ b/services/logme/src/stackit/logme/models/create_credentials_payload.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/create_instance_payload.py b/services/logme/src/stackit/logme/models/create_instance_payload.py index e8dccf4b7..192fc4068 100644 --- a/services/logme/src/stackit/logme/models/create_instance_payload.py +++ b/services/logme/src/stackit/logme/models/create_instance_payload.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/create_instance_response.py b/services/logme/src/stackit/logme/models/create_instance_response.py index c0bb724c9..383306b30 100644 --- a/services/logme/src/stackit/logme/models/create_instance_response.py +++ b/services/logme/src/stackit/logme/models/create_instance_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/credentials.py b/services/logme/src/stackit/logme/models/credentials.py index aec0e32ed..bcaf55e6f 100644 --- a/services/logme/src/stackit/logme/models/credentials.py +++ b/services/logme/src/stackit/logme/models/credentials.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/credentials_list_item.py b/services/logme/src/stackit/logme/models/credentials_list_item.py index 16237d667..43cdf1c3f 100644 --- a/services/logme/src/stackit/logme/models/credentials_list_item.py +++ b/services/logme/src/stackit/logme/models/credentials_list_item.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/credentials_response.py b/services/logme/src/stackit/logme/models/credentials_response.py index d305de26b..bad05b26b 100644 --- a/services/logme/src/stackit/logme/models/credentials_response.py +++ b/services/logme/src/stackit/logme/models/credentials_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/error.py b/services/logme/src/stackit/logme/models/error.py index 573a5e2f8..d56cedb7c 100644 --- a/services/logme/src/stackit/logme/models/error.py +++ b/services/logme/src/stackit/logme/models/error.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/get_metrics_response.py b/services/logme/src/stackit/logme/models/get_metrics_response.py index bd3a64c29..9a758d16c 100644 --- a/services/logme/src/stackit/logme/models/get_metrics_response.py +++ b/services/logme/src/stackit/logme/models/get_metrics_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/instance.py b/services/logme/src/stackit/logme/models/instance.py index 24adefce8..af92609eb 100644 --- a/services/logme/src/stackit/logme/models/instance.py +++ b/services/logme/src/stackit/logme/models/instance.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/instance_last_operation.py b/services/logme/src/stackit/logme/models/instance_last_operation.py index c7cb8c36c..0f80d357e 100644 --- a/services/logme/src/stackit/logme/models/instance_last_operation.py +++ b/services/logme/src/stackit/logme/models/instance_last_operation.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/instance_parameters.py b/services/logme/src/stackit/logme/models/instance_parameters.py index 4f0fed93a..6b9addd7d 100644 --- a/services/logme/src/stackit/logme/models/instance_parameters.py +++ b/services/logme/src/stackit/logme/models/instance_parameters.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/instance_parameters_groks_inner.py b/services/logme/src/stackit/logme/models/instance_parameters_groks_inner.py index 387ede4f9..de7640438 100644 --- a/services/logme/src/stackit/logme/models/instance_parameters_groks_inner.py +++ b/services/logme/src/stackit/logme/models/instance_parameters_groks_inner.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/instance_schema.py b/services/logme/src/stackit/logme/models/instance_schema.py index 39d81d583..1bd47e26c 100644 --- a/services/logme/src/stackit/logme/models/instance_schema.py +++ b/services/logme/src/stackit/logme/models/instance_schema.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/list_backups_response.py b/services/logme/src/stackit/logme/models/list_backups_response.py deleted file mode 100644 index 0bbeec1c2..000000000 --- a/services/logme/src/stackit/logme/models/list_backups_response.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" -STACKIT LogMe API - -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - -from __future__ import annotations - -import json -import pprint -from typing import Any, ClassVar, Dict, List, Optional, Set - -from pydantic import BaseModel, ConfigDict, Field -from pydantic_core import to_jsonable_python -from typing_extensions import Self - -from stackit.logme.models.backup import Backup - - -class ListBackupsResponse(BaseModel): - """ - ListBackupsResponse - """ # noqa: E501 - - instance_backups: List[Backup] = Field(alias="instanceBackups") - __properties: ClassVar[List[str]] = ["instanceBackups"] - - model_config = ConfigDict( - validate_by_name=True, - validate_by_alias=True, - validate_assignment=True, - protected_namespaces=(), - ) - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(to_jsonable_python(self.to_dict())) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ListBackupsResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in instance_backups (list) - _items = [] - if self.instance_backups: - for _item_instance_backups in self.instance_backups: - if _item_instance_backups: - _items.append(_item_instance_backups.to_dict()) - _dict["instanceBackups"] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ListBackupsResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate( - { - "instanceBackups": ( - [Backup.from_dict(_item) for _item in obj["instanceBackups"]] - if obj.get("instanceBackups") is not None - else None - ) - } - ) - return _obj diff --git a/services/logme/src/stackit/logme/models/list_credentials_response.py b/services/logme/src/stackit/logme/models/list_credentials_response.py index 0f3825228..3e45bd8e0 100644 --- a/services/logme/src/stackit/logme/models/list_credentials_response.py +++ b/services/logme/src/stackit/logme/models/list_credentials_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/list_instances_response.py b/services/logme/src/stackit/logme/models/list_instances_response.py index 752789b6b..7a9154096 100644 --- a/services/logme/src/stackit/logme/models/list_instances_response.py +++ b/services/logme/src/stackit/logme/models/list_instances_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/list_offerings_response.py b/services/logme/src/stackit/logme/models/list_offerings_response.py index 7e4d5277b..f293c2193 100644 --- a/services/logme/src/stackit/logme/models/list_offerings_response.py +++ b/services/logme/src/stackit/logme/models/list_offerings_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/list_restores_response.py b/services/logme/src/stackit/logme/models/list_restores_response.py index 0daff819e..ee4e79e04 100644 --- a/services/logme/src/stackit/logme/models/list_restores_response.py +++ b/services/logme/src/stackit/logme/models/list_restores_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/model_schema.py b/services/logme/src/stackit/logme/models/model_schema.py index fcdf5d797..0b2e26bee 100644 --- a/services/logme/src/stackit/logme/models/model_schema.py +++ b/services/logme/src/stackit/logme/models/model_schema.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/offering.py b/services/logme/src/stackit/logme/models/offering.py index 7373a9427..15a5c846e 100644 --- a/services/logme/src/stackit/logme/models/offering.py +++ b/services/logme/src/stackit/logme/models/offering.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/partial_update_instance_payload.py b/services/logme/src/stackit/logme/models/partial_update_instance_payload.py index a05ab275d..27ddd36cf 100644 --- a/services/logme/src/stackit/logme/models/partial_update_instance_payload.py +++ b/services/logme/src/stackit/logme/models/partial_update_instance_payload.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/plan.py b/services/logme/src/stackit/logme/models/plan.py index 9e8cb145a..3d26c3099 100644 --- a/services/logme/src/stackit/logme/models/plan.py +++ b/services/logme/src/stackit/logme/models/plan.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/raw_credentials.py b/services/logme/src/stackit/logme/models/raw_credentials.py index a3aa95388..f2f22a638 100644 --- a/services/logme/src/stackit/logme/models/raw_credentials.py +++ b/services/logme/src/stackit/logme/models/raw_credentials.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/restore.py b/services/logme/src/stackit/logme/models/restore.py index abd9f0802..7be8030ce 100644 --- a/services/logme/src/stackit/logme/models/restore.py +++ b/services/logme/src/stackit/logme/models/restore.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/trigger_restore_response.py b/services/logme/src/stackit/logme/models/trigger_restore_response.py index 9762719a2..ec8a00633 100644 --- a/services/logme/src/stackit/logme/models/trigger_restore_response.py +++ b/services/logme/src/stackit/logme/models/trigger_restore_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/update_backups_config_payload.py b/services/logme/src/stackit/logme/models/update_backups_config_payload.py index 60b4c6a5b..6ab805c37 100644 --- a/services/logme/src/stackit/logme/models/update_backups_config_payload.py +++ b/services/logme/src/stackit/logme/models/update_backups_config_payload.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/models/update_backups_config_response.py b/services/logme/src/stackit/logme/models/update_backups_config_response.py index 676823f67..09c97cc75 100644 --- a/services/logme/src/stackit/logme/models/update_backups_config_response.py +++ b/services/logme/src/stackit/logme/models/update_backups_config_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from __future__ import annotations diff --git a/services/logme/src/stackit/logme/rest.py b/services/logme/src/stackit/logme/rest.py index d1526f013..fc9791542 100644 --- a/services/logme/src/stackit/logme/rest.py +++ b/services/logme/src/stackit/logme/rest.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT LogMe API + STACKIT LogMe API -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. -The version of the OpenAPI document: 2.1.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 2.1.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import io @@ -21,6 +21,7 @@ from stackit.logme.exceptions import ApiException, ApiValueError + RESTResponseType = requests.Response