From 1a0a178950bc5abf7bf4dfb6f6e6673cb8ce4ef1 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 21 Jul 2026 08:18:06 +0000 Subject: [PATCH] Generate cost --- services/cost/oas_commit | 2 +- services/cost/src/stackit/cost/__init__.py | 11 ++++++----- services/cost/src/stackit/cost/api/default_api.py | 10 +++++----- services/cost/src/stackit/cost/api_client.py | 11 ++++++----- services/cost/src/stackit/cost/api_response.py | 1 + services/cost/src/stackit/cost/configuration.py | 11 ++++++----- services/cost/src/stackit/cost/exceptions.py | 10 +++++----- services/cost/src/stackit/cost/models/__init__.py | 10 +++++----- .../src/stackit/cost/models/auth_error_response.py | 10 +++++----- .../src/stackit/cost/models/detailed_service_cost.py | 10 +++++----- .../cost/src/stackit/cost/models/error_response.py | 10 +++++----- services/cost/src/stackit/cost/models/project_cost.py | 11 ++++++----- .../models/project_cost_with_detailed_services.py | 10 +++++----- .../stackit/cost/models/project_cost_with_reports.py | 10 +++++----- .../models/project_cost_with_summarized_services.py | 10 +++++----- services/cost/src/stackit/cost/models/report_data.py | 10 +++++----- .../stackit/cost/models/report_data_time_period.py | 10 +++++----- .../stackit/cost/models/summarized_project_cost.py | 10 +++++----- .../stackit/cost/models/summarized_service_cost.py | 10 +++++----- services/cost/src/stackit/cost/rest.py | 11 ++++++----- 20 files changed, 97 insertions(+), 91 deletions(-) diff --git a/services/cost/oas_commit b/services/cost/oas_commit index c08a6770d..0f8ce352b 100644 --- a/services/cost/oas_commit +++ b/services/cost/oas_commit @@ -1 +1 @@ -4407196dbbef4e53e6798809e856725cbc84ae05 +876a48fb56473c7c844baa697906d461c0675f47 diff --git a/services/cost/src/stackit/cost/__init__.py b/services/cost/src/stackit/cost/__init__.py index 864660e2a..ea7f8de21 100644 --- a/services/cost/src/stackit/cost/__init__.py +++ b/services/cost/src/stackit/cost/__init__.py @@ -3,16 +3,17 @@ # flake8: noqa """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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 diff --git a/services/cost/src/stackit/cost/api/default_api.py b/services/cost/src/stackit/cost/api/default_api.py index ad18cd68d..c58e1002c 100644 --- a/services/cost/src/stackit/cost/api/default_api.py +++ b/services/cost/src/stackit/cost/api/default_api.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 from datetime import date diff --git a/services/cost/src/stackit/cost/api_client.py b/services/cost/src/stackit/cost/api_client.py index b0a00faa5..34466a008 100644 --- a/services/cost/src/stackit/cost/api_client.py +++ b/services/cost/src/stackit/cost/api_client.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/api_response.py b/services/cost/src/stackit/cost/api_response.py index ca801da0b..b3ba14a1d 100644 --- a/services/cost/src/stackit/cost/api_response.py +++ b/services/cost/src/stackit/cost/api_response.py @@ -6,6 +6,7 @@ from pydantic import BaseModel, Field, StrictBytes, StrictInt + T = TypeVar("T") diff --git a/services/cost/src/stackit/cost/configuration.py b/services/cost/src/stackit/cost/configuration.py index 621eda53f..2426bb0b0 100644 --- a/services/cost/src/stackit/cost/configuration.py +++ b/services/cost/src/stackit/cost/configuration.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/exceptions.py b/services/cost/src/stackit/cost/exceptions.py index 7835fd417..1cf85d2ec 100644 --- a/services/cost/src/stackit/cost/exceptions.py +++ b/services/cost/src/stackit/cost/exceptions.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/__init__.py b/services/cost/src/stackit/cost/models/__init__.py index 5b388e707..7eb32f273 100644 --- a/services/cost/src/stackit/cost/models/__init__.py +++ b/services/cost/src/stackit/cost/models/__init__.py @@ -2,14 +2,14 @@ # flake8: noqa """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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 diff --git a/services/cost/src/stackit/cost/models/auth_error_response.py b/services/cost/src/stackit/cost/models/auth_error_response.py index 9adc69f3c..dc594c883 100644 --- a/services/cost/src/stackit/cost/models/auth_error_response.py +++ b/services/cost/src/stackit/cost/models/auth_error_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/detailed_service_cost.py b/services/cost/src/stackit/cost/models/detailed_service_cost.py index 5bdc5c8a3..db2b30fe1 100644 --- a/services/cost/src/stackit/cost/models/detailed_service_cost.py +++ b/services/cost/src/stackit/cost/models/detailed_service_cost.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/error_response.py b/services/cost/src/stackit/cost/models/error_response.py index 11731f015..0a826d55d 100644 --- a/services/cost/src/stackit/cost/models/error_response.py +++ b/services/cost/src/stackit/cost/models/error_response.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/project_cost.py b/services/cost/src/stackit/cost/models/project_cost.py index 7cf8d9f26..853183ff1 100644 --- a/services/cost/src/stackit/cost/models/project_cost.py +++ b/services/cost/src/stackit/cost/models/project_cost.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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 @@ -33,6 +33,7 @@ ) from stackit.cost.models.summarized_project_cost import SummarizedProjectCost + PROJECTCOST_ANY_OF_SCHEMAS = [ "ProjectCostWithDetailedServices", "ProjectCostWithReports", diff --git a/services/cost/src/stackit/cost/models/project_cost_with_detailed_services.py b/services/cost/src/stackit/cost/models/project_cost_with_detailed_services.py index 02a6957a1..1c1877c3a 100644 --- a/services/cost/src/stackit/cost/models/project_cost_with_detailed_services.py +++ b/services/cost/src/stackit/cost/models/project_cost_with_detailed_services.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/project_cost_with_reports.py b/services/cost/src/stackit/cost/models/project_cost_with_reports.py index d6435b61f..8d6c4d191 100644 --- a/services/cost/src/stackit/cost/models/project_cost_with_reports.py +++ b/services/cost/src/stackit/cost/models/project_cost_with_reports.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/project_cost_with_summarized_services.py b/services/cost/src/stackit/cost/models/project_cost_with_summarized_services.py index cfca4c941..fedeeb08f 100644 --- a/services/cost/src/stackit/cost/models/project_cost_with_summarized_services.py +++ b/services/cost/src/stackit/cost/models/project_cost_with_summarized_services.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/report_data.py b/services/cost/src/stackit/cost/models/report_data.py index 309f2fa93..237e820fa 100644 --- a/services/cost/src/stackit/cost/models/report_data.py +++ b/services/cost/src/stackit/cost/models/report_data.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/report_data_time_period.py b/services/cost/src/stackit/cost/models/report_data_time_period.py index 977fc56f2..c39a80231 100644 --- a/services/cost/src/stackit/cost/models/report_data_time_period.py +++ b/services/cost/src/stackit/cost/models/report_data_time_period.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/summarized_project_cost.py b/services/cost/src/stackit/cost/models/summarized_project_cost.py index d8dda905b..2de458c73 100644 --- a/services/cost/src/stackit/cost/models/summarized_project_cost.py +++ b/services/cost/src/stackit/cost/models/summarized_project_cost.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/models/summarized_service_cost.py b/services/cost/src/stackit/cost/models/summarized_service_cost.py index f95460ce8..7b368498e 100644 --- a/services/cost/src/stackit/cost/models/summarized_service_cost.py +++ b/services/cost/src/stackit/cost/models/summarized_service_cost.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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/cost/src/stackit/cost/rest.py b/services/cost/src/stackit/cost/rest.py index d6ecb2053..f3178d22f 100644 --- a/services/cost/src/stackit/cost/rest.py +++ b/services/cost/src/stackit/cost/rest.py @@ -1,14 +1,14 @@ # coding: utf-8 """ -STACKIT Cost API + STACKIT Cost API -The cost API provides detailed reports on the costs for a customer or project over a certain amount of time + The cost API provides detailed reports on the costs for a customer or project over a certain amount of time -The version of the OpenAPI document: 3.0 -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 3.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.cost.exceptions import ApiException, ApiValueError + RESTResponseType = requests.Response