From d1ba16b507a1b5b1de9bcbf2097fc594ba924c97 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 21 Jul 2026 08:19:09 +0000 Subject: [PATCH] Generate scf --- services/scf/oas_commit | 2 +- services/scf/src/stackit/scf/__init__.py | 33 ++---- .../scf/src/stackit/scf/api/default_api.py | 81 ++++++++++++- services/scf/src/stackit/scf/api_client.py | 13 ++- services/scf/src/stackit/scf/api_response.py | 1 + services/scf/src/stackit/scf/configuration.py | 13 ++- services/scf/src/stackit/scf/exceptions.py | 12 +- .../scf/src/stackit/scf/models/__init__.py | 19 +--- .../apply_organization_quota_payload.py | 12 +- .../scf/models/create_org_role_payload.py | 12 +- .../scf/models/create_organization_payload.py | 12 +- .../scf/models/create_space_payload.py | 12 +- .../scf/models/create_space_role_payload.py | 12 +- .../src/stackit/scf/models/error_response.py | 12 +- .../stackit/scf/models/isolation_segment.py | 12 +- .../scf/models/isolation_segments_list.py | 12 +- .../scf/src/stackit/scf/models/org_manager.py | 12 +- .../scf/models/org_manager_delete_response.py | 12 +- .../scf/models/org_manager_response.py | 12 +- .../scf/models/org_role_create_bff_request.py | 85 -------------- .../stackit/scf/models/org_role_response.py | 12 +- .../src/stackit/scf/models/org_role_type.py | 12 +- .../src/stackit/scf/models/organization.py | 12 +- .../organization_create_bff_response.py | 106 ------------------ .../models/organization_create_response.py | 12 +- .../models/organization_delete_response.py | 12 +- .../stackit/scf/models/organization_quota.py | 12 +- .../scf/models/organization_usage_summary.py | 12 +- .../stackit/scf/models/organizations_list.py | 12 +- .../scf/models/organizations_list_item.py | 12 +- .../scf/src/stackit/scf/models/pagination.py | 12 +- .../src/stackit/scf/models/platform_list.py | 12 +- .../scf/src/stackit/scf/models/platforms.py | 12 +- services/scf/src/stackit/scf/models/quota.py | 12 +- .../scf/src/stackit/scf/models/quota_apps.py | 12 +- .../src/stackit/scf/models/quota_domains.py | 12 +- .../src/stackit/scf/models/quota_routes.py | 12 +- .../src/stackit/scf/models/quota_services.py | 12 +- services/scf/src/stackit/scf/models/space.py | 12 +- .../scf/models/space_created_bff_response.py | 106 ------------------ .../scf/models/space_delete_response.py | 12 +- .../models/space_role_create_bff_request.py | 85 -------------- .../models/space_role_create_bff_response.py | 100 ----------------- .../scf/models/space_role_create_response.py | 12 +- .../src/stackit/scf/models/space_role_type.py | 12 +- .../models/space_with_isolation_segment.py | 12 +- .../scf/src/stackit/scf/models/spaces_list.py | 12 +- .../scf/models/update_organization_payload.py | 12 +- .../scf/models/update_space_payload.py | 12 +- .../src/stackit/scf/models/usage_summary.py | 12 +- services/scf/src/stackit/scf/rest.py | 13 ++- 51 files changed, 339 insertions(+), 774 deletions(-) delete mode 100644 services/scf/src/stackit/scf/models/org_role_create_bff_request.py delete mode 100644 services/scf/src/stackit/scf/models/organization_create_bff_response.py delete mode 100644 services/scf/src/stackit/scf/models/space_created_bff_response.py delete mode 100644 services/scf/src/stackit/scf/models/space_role_create_bff_request.py delete mode 100644 services/scf/src/stackit/scf/models/space_role_create_bff_response.py diff --git a/services/scf/oas_commit b/services/scf/oas_commit index e3713dde3..0f8ce352b 100644 --- a/services/scf/oas_commit +++ b/services/scf/oas_commit @@ -1 +1 @@ -0e64886dd0847341800d7191ed193b75413be998 +876a48fb56473c7c844baa697906d461c0675f47 diff --git a/services/scf/src/stackit/scf/__init__.py b/services/scf/src/stackit/scf/__init__.py index b9ebaf190..e7fe57efe 100644 --- a/services/scf/src/stackit/scf/__init__.py +++ b/services/scf/src/stackit/scf/__init__.py @@ -3,17 +3,18 @@ # flake8: noqa """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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 @@ -39,11 +40,9 @@ "OrgManager", "OrgManagerDeleteResponse", "OrgManagerResponse", - "OrgRoleCreateBffRequest", "OrgRoleResponse", "OrgRoleType", "Organization", - "OrganizationCreateBffResponse", "OrganizationCreateResponse", "OrganizationDeleteResponse", "OrganizationQuota", @@ -59,10 +58,7 @@ "QuotaRoutes", "QuotaServices", "Space", - "SpaceCreatedBffResponse", "SpaceDeleteResponse", - "SpaceRoleCreateBffRequest", - "SpaceRoleCreateBffResponse", "SpaceRoleCreateResponse", "SpaceRoleType", "SpaceWithIsolationSegment", @@ -114,15 +110,9 @@ from stackit.scf.models.org_manager_response import ( OrgManagerResponse as OrgManagerResponse, ) -from stackit.scf.models.org_role_create_bff_request import ( - OrgRoleCreateBffRequest as OrgRoleCreateBffRequest, -) from stackit.scf.models.org_role_response import OrgRoleResponse as OrgRoleResponse from stackit.scf.models.org_role_type import OrgRoleType as OrgRoleType from stackit.scf.models.organization import Organization as Organization -from stackit.scf.models.organization_create_bff_response import ( - OrganizationCreateBffResponse as OrganizationCreateBffResponse, -) from stackit.scf.models.organization_create_response import ( OrganizationCreateResponse as OrganizationCreateResponse, ) @@ -146,18 +136,9 @@ from stackit.scf.models.quota_routes import QuotaRoutes as QuotaRoutes from stackit.scf.models.quota_services import QuotaServices as QuotaServices from stackit.scf.models.space import Space as Space -from stackit.scf.models.space_created_bff_response import ( - SpaceCreatedBffResponse as SpaceCreatedBffResponse, -) from stackit.scf.models.space_delete_response import ( SpaceDeleteResponse as SpaceDeleteResponse, ) -from stackit.scf.models.space_role_create_bff_request import ( - SpaceRoleCreateBffRequest as SpaceRoleCreateBffRequest, -) -from stackit.scf.models.space_role_create_bff_response import ( - SpaceRoleCreateBffResponse as SpaceRoleCreateBffResponse, -) from stackit.scf.models.space_role_create_response import ( SpaceRoleCreateResponse as SpaceRoleCreateResponse, ) diff --git a/services/scf/src/stackit/scf/api/default_api.py b/services/scf/src/stackit/scf/api/default_api.py index c36626264..b1b086d1a 100644 --- a/services/scf/src/stackit/scf/api/default_api.py +++ b/services/scf/src/stackit/scf/api/default_api.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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 @@ -131,6 +131,7 @@ def apply_organization_quota( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -208,6 +209,7 @@ def apply_organization_quota_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -285,6 +287,7 @@ def apply_organization_quota_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -421,6 +424,7 @@ def create_org_manager( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -494,6 +498,7 @@ def create_org_manager_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -567,6 +572,7 @@ def create_org_manager_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -696,6 +702,7 @@ def create_org_role( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -773,6 +780,7 @@ def create_org_role_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -850,6 +858,7 @@ def create_org_role_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -986,6 +995,7 @@ def create_organization( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1059,6 +1069,7 @@ def create_organization_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1132,6 +1143,7 @@ def create_organization_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1269,6 +1281,7 @@ def create_space( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1346,6 +1359,7 @@ def create_space_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1423,6 +1437,7 @@ def create_space_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1567,6 +1582,7 @@ def create_space_role( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1648,6 +1664,7 @@ def create_space_role_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1729,6 +1746,7 @@ def create_space_role_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1869,6 +1887,7 @@ def delete_org_manager( "403": "ErrorResponse", "404": "ErrorResponse", "410": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -1943,6 +1962,7 @@ def delete_org_manager_with_http_info( "403": "ErrorResponse", "404": "ErrorResponse", "410": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2017,6 +2037,7 @@ def delete_org_manager_without_preload_content( "403": "ErrorResponse", "404": "ErrorResponse", "410": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2142,6 +2163,7 @@ def delete_organization( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2215,6 +2237,7 @@ def delete_organization_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2288,6 +2311,7 @@ def delete_organization_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2417,6 +2441,7 @@ def delete_space( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2494,6 +2519,7 @@ def delete_space_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2571,6 +2597,7 @@ def delete_space_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2699,6 +2726,7 @@ def get_org_manager( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2772,6 +2800,7 @@ def get_org_manager_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2845,6 +2874,7 @@ def get_org_manager_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -2970,6 +3000,7 @@ def get_organization( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3043,6 +3074,7 @@ def get_organization_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3116,6 +3148,7 @@ def get_organization_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3245,6 +3278,7 @@ def get_organization_quota( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3322,6 +3356,7 @@ def get_organization_quota_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3399,6 +3434,7 @@ def get_organization_quota_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3527,6 +3563,7 @@ def get_organization_usage_summary( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3600,6 +3637,7 @@ def get_organization_usage_summary_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3673,6 +3711,7 @@ def get_organization_usage_summary_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3798,6 +3837,7 @@ def get_platform( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3871,6 +3911,7 @@ def get_platform_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -3944,6 +3985,7 @@ def get_platform_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4073,6 +4115,7 @@ def get_platform_quota( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4150,6 +4193,7 @@ def get_platform_quota_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4227,6 +4271,7 @@ def get_platform_quota_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4359,6 +4404,7 @@ def get_space( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4436,6 +4482,7 @@ def get_space_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4513,6 +4560,7 @@ def get_space_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4641,6 +4689,7 @@ def list_organization_quotas( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4714,6 +4763,7 @@ def list_organization_quotas_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4787,6 +4837,7 @@ def list_organization_quotas_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -4937,6 +4988,7 @@ def list_organizations( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5035,6 +5087,7 @@ def list_organizations_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5133,6 +5186,7 @@ def list_organizations_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5275,6 +5329,7 @@ def list_platform_quotas( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5348,6 +5403,7 @@ def list_platform_quotas_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5421,6 +5477,7 @@ def list_platform_quotas_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5555,6 +5612,7 @@ def list_platforms( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5637,6 +5695,7 @@ def list_platforms_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5719,6 +5778,7 @@ def list_platforms_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5864,6 +5924,7 @@ def list_spaces( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -5950,6 +6011,7 @@ def list_spaces_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6036,6 +6098,7 @@ def list_spaces_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6175,6 +6238,7 @@ def update_organization( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6252,6 +6316,7 @@ def update_organization_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6329,6 +6394,7 @@ def update_organization_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6473,6 +6539,7 @@ def update_space( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6554,6 +6621,7 @@ def update_space_with_http_info( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) @@ -6635,6 +6703,7 @@ def update_space_without_preload_content( "401": "ErrorResponse", "403": "ErrorResponse", "404": "ErrorResponse", + "429": None, "500": "ErrorResponse", } response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout) diff --git a/services/scf/src/stackit/scf/api_client.py b/services/scf/src/stackit/scf/api_client.py index 83997e172..80cdc3330 100644 --- a/services/scf/src/stackit/scf/api_client.py +++ b/services/scf/src/stackit/scf/api_client.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import datetime @@ -37,6 +37,7 @@ ApiException, ) + RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] diff --git a/services/scf/src/stackit/scf/api_response.py b/services/scf/src/stackit/scf/api_response.py index ca801da0b..b3ba14a1d 100644 --- a/services/scf/src/stackit/scf/api_response.py +++ b/services/scf/src/stackit/scf/api_response.py @@ -6,6 +6,7 @@ from pydantic import BaseModel, Field, StrictBytes, StrictInt + T = TypeVar("T") diff --git a/services/scf/src/stackit/scf/configuration.py b/services/scf/src/stackit/scf/configuration.py index 236c50d10..ca4376b4b 100644 --- a/services/scf/src/stackit/scf/configuration.py +++ b/services/scf/src/stackit/scf/configuration.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import sys @@ -19,6 +19,7 @@ import os + ServerVariablesT = Dict[str, str] diff --git a/services/scf/src/stackit/scf/exceptions.py b/services/scf/src/stackit/scf/exceptions.py index b20b8f835..dbaf3d782 100644 --- a/services/scf/src/stackit/scf/exceptions.py +++ b/services/scf/src/stackit/scf/exceptions.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/__init__.py b/services/scf/src/stackit/scf/models/__init__.py index 596d51f4f..581ed223a 100644 --- a/services/scf/src/stackit/scf/models/__init__.py +++ b/services/scf/src/stackit/scf/models/__init__.py @@ -2,15 +2,15 @@ # flake8: noqa """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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 @@ -27,13 +27,9 @@ from stackit.scf.models.org_manager import OrgManager from stackit.scf.models.org_manager_delete_response import OrgManagerDeleteResponse from stackit.scf.models.org_manager_response import OrgManagerResponse -from stackit.scf.models.org_role_create_bff_request import OrgRoleCreateBffRequest from stackit.scf.models.org_role_response import OrgRoleResponse from stackit.scf.models.org_role_type import OrgRoleType from stackit.scf.models.organization import Organization -from stackit.scf.models.organization_create_bff_response import ( - OrganizationCreateBffResponse, -) from stackit.scf.models.organization_create_response import OrganizationCreateResponse from stackit.scf.models.organization_delete_response import OrganizationDeleteResponse from stackit.scf.models.organization_quota import OrganizationQuota @@ -49,10 +45,7 @@ from stackit.scf.models.quota_routes import QuotaRoutes from stackit.scf.models.quota_services import QuotaServices from stackit.scf.models.space import Space -from stackit.scf.models.space_created_bff_response import SpaceCreatedBffResponse from stackit.scf.models.space_delete_response import SpaceDeleteResponse -from stackit.scf.models.space_role_create_bff_request import SpaceRoleCreateBffRequest -from stackit.scf.models.space_role_create_bff_response import SpaceRoleCreateBffResponse from stackit.scf.models.space_role_create_response import SpaceRoleCreateResponse from stackit.scf.models.space_role_type import SpaceRoleType from stackit.scf.models.space_with_isolation_segment import SpaceWithIsolationSegment diff --git a/services/scf/src/stackit/scf/models/apply_organization_quota_payload.py b/services/scf/src/stackit/scf/models/apply_organization_quota_payload.py index a38ff07d9..44af036ad 100644 --- a/services/scf/src/stackit/scf/models/apply_organization_quota_payload.py +++ b/services/scf/src/stackit/scf/models/apply_organization_quota_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/create_org_role_payload.py b/services/scf/src/stackit/scf/models/create_org_role_payload.py index 0faca8ce1..ed0b34a7f 100644 --- a/services/scf/src/stackit/scf/models/create_org_role_payload.py +++ b/services/scf/src/stackit/scf/models/create_org_role_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/create_organization_payload.py b/services/scf/src/stackit/scf/models/create_organization_payload.py index 07956ef2e..0d7ce3285 100644 --- a/services/scf/src/stackit/scf/models/create_organization_payload.py +++ b/services/scf/src/stackit/scf/models/create_organization_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/create_space_payload.py b/services/scf/src/stackit/scf/models/create_space_payload.py index 4fe15ea1b..9c10c2ba8 100644 --- a/services/scf/src/stackit/scf/models/create_space_payload.py +++ b/services/scf/src/stackit/scf/models/create_space_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/create_space_role_payload.py b/services/scf/src/stackit/scf/models/create_space_role_payload.py index 6a0b8569a..065a4c16f 100644 --- a/services/scf/src/stackit/scf/models/create_space_role_payload.py +++ b/services/scf/src/stackit/scf/models/create_space_role_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/error_response.py b/services/scf/src/stackit/scf/models/error_response.py index de1335782..c466ebffd 100644 --- a/services/scf/src/stackit/scf/models/error_response.py +++ b/services/scf/src/stackit/scf/models/error_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/isolation_segment.py b/services/scf/src/stackit/scf/models/isolation_segment.py index 5aeaa0583..cd7cefcc5 100644 --- a/services/scf/src/stackit/scf/models/isolation_segment.py +++ b/services/scf/src/stackit/scf/models/isolation_segment.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/isolation_segments_list.py b/services/scf/src/stackit/scf/models/isolation_segments_list.py index 59f15e4f8..213330b60 100644 --- a/services/scf/src/stackit/scf/models/isolation_segments_list.py +++ b/services/scf/src/stackit/scf/models/isolation_segments_list.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/org_manager.py b/services/scf/src/stackit/scf/models/org_manager.py index efa857841..7030e9da4 100644 --- a/services/scf/src/stackit/scf/models/org_manager.py +++ b/services/scf/src/stackit/scf/models/org_manager.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/org_manager_delete_response.py b/services/scf/src/stackit/scf/models/org_manager_delete_response.py index 77c7bf0ea..747f82d9a 100644 --- a/services/scf/src/stackit/scf/models/org_manager_delete_response.py +++ b/services/scf/src/stackit/scf/models/org_manager_delete_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/org_manager_response.py b/services/scf/src/stackit/scf/models/org_manager_response.py index 099c23c3b..925e82941 100644 --- a/services/scf/src/stackit/scf/models/org_manager_response.py +++ b/services/scf/src/stackit/scf/models/org_manager_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/org_role_create_bff_request.py b/services/scf/src/stackit/scf/models/org_role_create_bff_request.py deleted file mode 100644 index 67c5cea43..000000000 --- a/services/scf/src/stackit/scf/models/org_role_create_bff_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" -STACKIT Cloud Foundry API - -API endpoints for managing STACKIT Cloud Foundry - -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -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 -from pydantic_core import to_jsonable_python -from typing_extensions import Self - -from stackit.scf.models.org_role_type import OrgRoleType - - -class OrgRoleCreateBffRequest(BaseModel): - """ - OrgRoleCreateBffRequest - """ # noqa: E501 - - type: OrgRoleType - __properties: ClassVar[List[str]] = ["type"] - - 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 OrgRoleCreateBffRequest 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, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of OrgRoleCreateBffRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({"type": obj.get("type")}) - return _obj diff --git a/services/scf/src/stackit/scf/models/org_role_response.py b/services/scf/src/stackit/scf/models/org_role_response.py index a00974b6a..d662fe442 100644 --- a/services/scf/src/stackit/scf/models/org_role_response.py +++ b/services/scf/src/stackit/scf/models/org_role_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/org_role_type.py b/services/scf/src/stackit/scf/models/org_role_type.py index a1edcac77..fe93dd327 100644 --- a/services/scf/src/stackit/scf/models/org_role_type.py +++ b/services/scf/src/stackit/scf/models/org_role_type.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organization.py b/services/scf/src/stackit/scf/models/organization.py index 31356e2fc..2cea040d9 100644 --- a/services/scf/src/stackit/scf/models/organization.py +++ b/services/scf/src/stackit/scf/models/organization.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organization_create_bff_response.py b/services/scf/src/stackit/scf/models/organization_create_bff_response.py deleted file mode 100644 index c491ae31b..000000000 --- a/services/scf/src/stackit/scf/models/organization_create_bff_response.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" -STACKIT Cloud Foundry API - -API endpoints for managing STACKIT Cloud Foundry - -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -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 -from pydantic_core import to_jsonable_python -from typing_extensions import Self - -from stackit.scf.models.org_role_response import OrgRoleResponse -from stackit.scf.models.organization_create_response import OrganizationCreateResponse - - -class OrganizationCreateBffResponse(BaseModel): - """ - OrganizationCreateBffResponse - """ # noqa: E501 - - org: OrganizationCreateResponse - roles: Dict[str, OrgRoleResponse] - __properties: ClassVar[List[str]] = ["org", "roles"] - - 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 OrganizationCreateBffResponse 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 org - if self.org: - _dict["org"] = self.org.to_dict() - # override the default output from pydantic by calling `to_dict()` of each value in roles (dict) - _field_dict = {} - if self.roles: - for _key_roles in self.roles: - if self.roles[_key_roles]: - _field_dict[_key_roles] = self.roles[_key_roles].to_dict() - _dict["roles"] = _field_dict - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of OrganizationCreateBffResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate( - { - "org": OrganizationCreateResponse.from_dict(obj["org"]) if obj.get("org") is not None else None, - "roles": ( - dict((_k, OrgRoleResponse.from_dict(_v)) for _k, _v in obj["roles"].items()) - if obj.get("roles") is not None - else None - ), - } - ) - return _obj diff --git a/services/scf/src/stackit/scf/models/organization_create_response.py b/services/scf/src/stackit/scf/models/organization_create_response.py index 52aa1c535..858b75699 100644 --- a/services/scf/src/stackit/scf/models/organization_create_response.py +++ b/services/scf/src/stackit/scf/models/organization_create_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organization_delete_response.py b/services/scf/src/stackit/scf/models/organization_delete_response.py index 73f41baf1..bb16ce822 100644 --- a/services/scf/src/stackit/scf/models/organization_delete_response.py +++ b/services/scf/src/stackit/scf/models/organization_delete_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organization_quota.py b/services/scf/src/stackit/scf/models/organization_quota.py index 5b6d21b09..ac5d55838 100644 --- a/services/scf/src/stackit/scf/models/organization_quota.py +++ b/services/scf/src/stackit/scf/models/organization_quota.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organization_usage_summary.py b/services/scf/src/stackit/scf/models/organization_usage_summary.py index e7bbbde63..3998ca2d4 100644 --- a/services/scf/src/stackit/scf/models/organization_usage_summary.py +++ b/services/scf/src/stackit/scf/models/organization_usage_summary.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organizations_list.py b/services/scf/src/stackit/scf/models/organizations_list.py index fbf5c6d17..9e9cd12dc 100644 --- a/services/scf/src/stackit/scf/models/organizations_list.py +++ b/services/scf/src/stackit/scf/models/organizations_list.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/organizations_list_item.py b/services/scf/src/stackit/scf/models/organizations_list_item.py index ed41602fe..67d2eee73 100644 --- a/services/scf/src/stackit/scf/models/organizations_list_item.py +++ b/services/scf/src/stackit/scf/models/organizations_list_item.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/pagination.py b/services/scf/src/stackit/scf/models/pagination.py index bf482a53d..892f8a3eb 100644 --- a/services/scf/src/stackit/scf/models/pagination.py +++ b/services/scf/src/stackit/scf/models/pagination.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/platform_list.py b/services/scf/src/stackit/scf/models/platform_list.py index 4f790da1a..21e0c3d02 100644 --- a/services/scf/src/stackit/scf/models/platform_list.py +++ b/services/scf/src/stackit/scf/models/platform_list.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/platforms.py b/services/scf/src/stackit/scf/models/platforms.py index fc3a1a620..9b3359261 100644 --- a/services/scf/src/stackit/scf/models/platforms.py +++ b/services/scf/src/stackit/scf/models/platforms.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/quota.py b/services/scf/src/stackit/scf/models/quota.py index 610676117..23cf1dbc3 100644 --- a/services/scf/src/stackit/scf/models/quota.py +++ b/services/scf/src/stackit/scf/models/quota.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/quota_apps.py b/services/scf/src/stackit/scf/models/quota_apps.py index 301d70557..37506c3ff 100644 --- a/services/scf/src/stackit/scf/models/quota_apps.py +++ b/services/scf/src/stackit/scf/models/quota_apps.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/quota_domains.py b/services/scf/src/stackit/scf/models/quota_domains.py index 1be43d9fe..1152fe898 100644 --- a/services/scf/src/stackit/scf/models/quota_domains.py +++ b/services/scf/src/stackit/scf/models/quota_domains.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/quota_routes.py b/services/scf/src/stackit/scf/models/quota_routes.py index 79970aad0..81a8c334b 100644 --- a/services/scf/src/stackit/scf/models/quota_routes.py +++ b/services/scf/src/stackit/scf/models/quota_routes.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/quota_services.py b/services/scf/src/stackit/scf/models/quota_services.py index 9131ef5f4..6aafb88da 100644 --- a/services/scf/src/stackit/scf/models/quota_services.py +++ b/services/scf/src/stackit/scf/models/quota_services.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/space.py b/services/scf/src/stackit/scf/models/space.py index 3671eb2f8..a391cd8fc 100644 --- a/services/scf/src/stackit/scf/models/space.py +++ b/services/scf/src/stackit/scf/models/space.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/space_created_bff_response.py b/services/scf/src/stackit/scf/models/space_created_bff_response.py deleted file mode 100644 index 030435073..000000000 --- a/services/scf/src/stackit/scf/models/space_created_bff_response.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" -STACKIT Cloud Foundry API - -API endpoints for managing STACKIT Cloud Foundry - -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -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.scf.models.org_role_response import OrgRoleResponse -from stackit.scf.models.space import Space -from stackit.scf.models.space_role_create_response import SpaceRoleCreateResponse - - -class SpaceCreatedBffResponse(BaseModel): - """ - SpaceCreatedBffResponse - """ # noqa: E501 - - org_role: Optional[OrgRoleResponse] = Field(default=None, alias="orgRole") - space: Space - space_role: SpaceRoleCreateResponse = Field(alias="spaceRole") - __properties: ClassVar[List[str]] = ["orgRole", "space", "spaceRole"] - - 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 SpaceCreatedBffResponse 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 org_role - if self.org_role: - _dict["orgRole"] = self.org_role.to_dict() - # override the default output from pydantic by calling `to_dict()` of space - if self.space: - _dict["space"] = self.space.to_dict() - # override the default output from pydantic by calling `to_dict()` of space_role - if self.space_role: - _dict["spaceRole"] = self.space_role.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SpaceCreatedBffResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate( - { - "orgRole": OrgRoleResponse.from_dict(obj["orgRole"]) if obj.get("orgRole") is not None else None, - "space": Space.from_dict(obj["space"]) if obj.get("space") is not None else None, - "spaceRole": ( - SpaceRoleCreateResponse.from_dict(obj["spaceRole"]) if obj.get("spaceRole") is not None else None - ), - } - ) - return _obj diff --git a/services/scf/src/stackit/scf/models/space_delete_response.py b/services/scf/src/stackit/scf/models/space_delete_response.py index 4121f4451..640b90a16 100644 --- a/services/scf/src/stackit/scf/models/space_delete_response.py +++ b/services/scf/src/stackit/scf/models/space_delete_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/space_role_create_bff_request.py b/services/scf/src/stackit/scf/models/space_role_create_bff_request.py deleted file mode 100644 index 400d5c7de..000000000 --- a/services/scf/src/stackit/scf/models/space_role_create_bff_request.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" -STACKIT Cloud Foundry API - -API endpoints for managing STACKIT Cloud Foundry - -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -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 -from pydantic_core import to_jsonable_python -from typing_extensions import Self - -from stackit.scf.models.space_role_type import SpaceRoleType - - -class SpaceRoleCreateBffRequest(BaseModel): - """ - SpaceRoleCreateBffRequest - """ # noqa: E501 - - type: SpaceRoleType - __properties: ClassVar[List[str]] = ["type"] - - 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 SpaceRoleCreateBffRequest 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, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SpaceRoleCreateBffRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({"type": obj.get("type")}) - return _obj diff --git a/services/scf/src/stackit/scf/models/space_role_create_bff_response.py b/services/scf/src/stackit/scf/models/space_role_create_bff_response.py deleted file mode 100644 index 314238064..000000000 --- a/services/scf/src/stackit/scf/models/space_role_create_bff_response.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" -STACKIT Cloud Foundry API - -API endpoints for managing STACKIT Cloud Foundry - -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -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.scf.models.org_role_response import OrgRoleResponse -from stackit.scf.models.space_role_create_response import SpaceRoleCreateResponse - - -class SpaceRoleCreateBffResponse(BaseModel): - """ - SpaceRoleCreateBffResponse - """ # noqa: E501 - - org_role: Optional[OrgRoleResponse] = Field(default=None, alias="orgRole") - space_role: SpaceRoleCreateResponse = Field(alias="spaceRole") - __properties: ClassVar[List[str]] = ["orgRole", "spaceRole"] - - 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 SpaceRoleCreateBffResponse 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 org_role - if self.org_role: - _dict["orgRole"] = self.org_role.to_dict() - # override the default output from pydantic by calling `to_dict()` of space_role - if self.space_role: - _dict["spaceRole"] = self.space_role.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SpaceRoleCreateBffResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate( - { - "orgRole": OrgRoleResponse.from_dict(obj["orgRole"]) if obj.get("orgRole") is not None else None, - "spaceRole": ( - SpaceRoleCreateResponse.from_dict(obj["spaceRole"]) if obj.get("spaceRole") is not None else None - ), - } - ) - return _obj diff --git a/services/scf/src/stackit/scf/models/space_role_create_response.py b/services/scf/src/stackit/scf/models/space_role_create_response.py index 4d9fa29a8..95e27e16a 100644 --- a/services/scf/src/stackit/scf/models/space_role_create_response.py +++ b/services/scf/src/stackit/scf/models/space_role_create_response.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/space_role_type.py b/services/scf/src/stackit/scf/models/space_role_type.py index ed1e5c260..f6ae20d14 100644 --- a/services/scf/src/stackit/scf/models/space_role_type.py +++ b/services/scf/src/stackit/scf/models/space_role_type.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/space_with_isolation_segment.py b/services/scf/src/stackit/scf/models/space_with_isolation_segment.py index 5d61d6ed9..99dec646e 100644 --- a/services/scf/src/stackit/scf/models/space_with_isolation_segment.py +++ b/services/scf/src/stackit/scf/models/space_with_isolation_segment.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/spaces_list.py b/services/scf/src/stackit/scf/models/spaces_list.py index 99cf614ae..c9ef6f242 100644 --- a/services/scf/src/stackit/scf/models/spaces_list.py +++ b/services/scf/src/stackit/scf/models/spaces_list.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/update_organization_payload.py b/services/scf/src/stackit/scf/models/update_organization_payload.py index a427843a7..93e640422 100644 --- a/services/scf/src/stackit/scf/models/update_organization_payload.py +++ b/services/scf/src/stackit/scf/models/update_organization_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/update_space_payload.py b/services/scf/src/stackit/scf/models/update_space_payload.py index 56739ee2e..87c127fe4 100644 --- a/services/scf/src/stackit/scf/models/update_space_payload.py +++ b/services/scf/src/stackit/scf/models/update_space_payload.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/models/usage_summary.py b/services/scf/src/stackit/scf/models/usage_summary.py index 232fedb98..7dc0c1356 100644 --- a/services/scf/src/stackit/scf/models/usage_summary.py +++ b/services/scf/src/stackit/scf/models/usage_summary.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + 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/scf/src/stackit/scf/rest.py b/services/scf/src/stackit/scf/rest.py index 2b41aaed0..6bfe257ea 100644 --- a/services/scf/src/stackit/scf/rest.py +++ b/services/scf/src/stackit/scf/rest.py @@ -1,15 +1,15 @@ # coding: utf-8 """ -STACKIT Cloud Foundry API + STACKIT Cloud Foundry API -API endpoints for managing STACKIT Cloud Foundry + API endpoints for managing STACKIT Cloud Foundry -The version of the OpenAPI document: 1.0.0 -Contact: support@stackit.cloud -Generated by OpenAPI Generator (https://openapi-generator.tech) + The version of the OpenAPI document: 1.0.0 + Contact: support@stackit.cloud + Generated by OpenAPI Generator (https://openapi-generator.tech) -Do not edit the class manually. + Do not edit the class manually. """ # noqa: E501 import io @@ -22,6 +22,7 @@ from stackit.scf.exceptions import ApiException, ApiValueError + RESTResponseType = requests.Response