diff --git a/services/scf/src/stackit/scf/__init__.py b/services/scf/src/stackit/scf/__init__.py index 715085fa5..9e8b7f5ba 100644 --- a/services/scf/src/stackit/scf/__init__.py +++ b/services/scf/src/stackit/scf/__init__.py @@ -14,7 +14,6 @@ Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # Define package exports diff --git a/services/scf/src/stackit/scf/api/default_api.py b/services/scf/src/stackit/scf/api/default_api.py index 0e537bd3c..76cbad4ee 100644 --- a/services/scf/src/stackit/scf/api/default_api.py +++ b/services/scf/src/stackit/scf/api/default_api.py @@ -13,6 +13,7 @@ """ # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union +from uuid import UUID from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, validate_call from stackit.core.configuration import Configuration @@ -65,9 +66,9 @@ def __init__(self, configuration: Configuration = None) -> None: @validate_call def apply_organization_quota( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, apply_organization_quota_payload: ApplyOrganizationQuotaPayload, _request_timeout: Union[ None, @@ -84,11 +85,11 @@ def apply_organization_quota( Change the organization quota of an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param apply_organization_quota_payload: (required) :type apply_organization_quota_payload: ApplyOrganizationQuotaPayload :param _request_timeout: timeout setting for this request. If one @@ -142,9 +143,9 @@ def apply_organization_quota( @validate_call def apply_organization_quota_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, apply_organization_quota_payload: ApplyOrganizationQuotaPayload, _request_timeout: Union[ None, @@ -161,11 +162,11 @@ def apply_organization_quota_with_http_info( Change the organization quota of an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param apply_organization_quota_payload: (required) :type apply_organization_quota_payload: ApplyOrganizationQuotaPayload :param _request_timeout: timeout setting for this request. If one @@ -219,9 +220,9 @@ def apply_organization_quota_with_http_info( @validate_call def apply_organization_quota_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, apply_organization_quota_payload: ApplyOrganizationQuotaPayload, _request_timeout: Union[ None, @@ -238,11 +239,11 @@ def apply_organization_quota_without_preload_content( Change the organization quota of an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param apply_organization_quota_payload: (required) :type apply_organization_quota_payload: ApplyOrganizationQuotaPayload :param _request_timeout: timeout setting for this request. If one @@ -359,9 +360,9 @@ def _apply_organization_quota_serialize( @validate_call def create_org_manager( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -377,11 +378,11 @@ def create_org_manager( Creates organization manager within an organization. The organization manager will be backed by a CF user. There is only one organization manager per organization. The organization manager gets assigned the CF role Org Manager. This endpoint does synchronously several non-atomic steps behind the scenes. If any of those steps fail, the 'Delete Organization Manager' needs to be called first to clean up the failed creation attempt and afterwards the creation can be retried. The password needs to be stored by the API callee since it cannot be retrieved after creation. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -432,9 +433,9 @@ def create_org_manager( @validate_call def create_org_manager_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -450,11 +451,11 @@ def create_org_manager_with_http_info( Creates organization manager within an organization. The organization manager will be backed by a CF user. There is only one organization manager per organization. The organization manager gets assigned the CF role Org Manager. This endpoint does synchronously several non-atomic steps behind the scenes. If any of those steps fail, the 'Delete Organization Manager' needs to be called first to clean up the failed creation attempt and afterwards the creation can be retried. The password needs to be stored by the API callee since it cannot be retrieved after creation. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -505,9 +506,9 @@ def create_org_manager_with_http_info( @validate_call def create_org_manager_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -523,11 +524,11 @@ def create_org_manager_without_preload_content( Creates organization manager within an organization. The organization manager will be backed by a CF user. There is only one organization manager per organization. The organization manager gets assigned the CF role Org Manager. This endpoint does synchronously several non-atomic steps behind the scenes. If any of those steps fail, the 'Delete Organization Manager' needs to be called first to clean up the failed creation attempt and afterwards the creation can be retried. The password needs to be stored by the API callee since it cannot be retrieved after creation. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -630,9 +631,9 @@ def _create_org_manager_serialize( @validate_call def create_org_role( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_org_role_payload: CreateOrgRolePayload, _request_timeout: Union[ None, @@ -649,11 +650,11 @@ def create_org_role( Assign organization role within an organization. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_org_role_payload: (required) :type create_org_role_payload: CreateOrgRolePayload :param _request_timeout: timeout setting for this request. If one @@ -707,9 +708,9 @@ def create_org_role( @validate_call def create_org_role_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_org_role_payload: CreateOrgRolePayload, _request_timeout: Union[ None, @@ -726,11 +727,11 @@ def create_org_role_with_http_info( Assign organization role within an organization. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_org_role_payload: (required) :type create_org_role_payload: CreateOrgRolePayload :param _request_timeout: timeout setting for this request. If one @@ -784,9 +785,9 @@ def create_org_role_with_http_info( @validate_call def create_org_role_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_org_role_payload: CreateOrgRolePayload, _request_timeout: Union[ None, @@ -803,11 +804,11 @@ def create_org_role_without_preload_content( Assign organization role within an organization. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_org_role_payload: (required) :type create_org_role_payload: CreateOrgRolePayload :param _request_timeout: timeout setting for this request. If one @@ -924,7 +925,7 @@ def _create_org_role_serialize( @validate_call def create_organization( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, create_organization_payload: CreateOrganizationPayload, _request_timeout: Union[ @@ -942,7 +943,7 @@ def create_organization( Creates an organization without assigning any CF roles or creating a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param create_organization_payload: (required) @@ -997,7 +998,7 @@ def create_organization( @validate_call def create_organization_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, create_organization_payload: CreateOrganizationPayload, _request_timeout: Union[ @@ -1015,7 +1016,7 @@ def create_organization_with_http_info( Creates an organization without assigning any CF roles or creating a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param create_organization_payload: (required) @@ -1070,7 +1071,7 @@ def create_organization_with_http_info( @validate_call def create_organization_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, create_organization_payload: CreateOrganizationPayload, _request_timeout: Union[ @@ -1088,7 +1089,7 @@ def create_organization_without_preload_content( Creates an organization without assigning any CF roles or creating a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param create_organization_payload: (required) @@ -1203,9 +1204,9 @@ def _create_organization_serialize( @validate_call def create_space( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_space_payload: CreateSpacePayload, _request_timeout: Union[ None, @@ -1222,11 +1223,11 @@ def create_space( Create space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_space_payload: (required) :type create_space_payload: CreateSpacePayload :param _request_timeout: timeout setting for this request. If one @@ -1280,9 +1281,9 @@ def create_space( @validate_call def create_space_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_space_payload: CreateSpacePayload, _request_timeout: Union[ None, @@ -1299,11 +1300,11 @@ def create_space_with_http_info( Create space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_space_payload: (required) :type create_space_payload: CreateSpacePayload :param _request_timeout: timeout setting for this request. If one @@ -1357,9 +1358,9 @@ def create_space_with_http_info( @validate_call def create_space_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, create_space_payload: CreateSpacePayload, _request_timeout: Union[ None, @@ -1376,11 +1377,11 @@ def create_space_without_preload_content( Create space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param create_space_payload: (required) :type create_space_payload: CreateSpacePayload :param _request_timeout: timeout setting for this request. If one @@ -1497,10 +1498,10 @@ def _create_space_serialize( @validate_call def create_space_role( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, create_space_role_payload: CreateSpaceRolePayload, _request_timeout: Union[ None, @@ -1517,13 +1518,13 @@ def create_space_role( Assign space role within an space. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param create_space_role_payload: (required) :type create_space_role_payload: CreateSpaceRolePayload :param _request_timeout: timeout setting for this request. If one @@ -1578,10 +1579,10 @@ def create_space_role( @validate_call def create_space_role_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, create_space_role_payload: CreateSpaceRolePayload, _request_timeout: Union[ None, @@ -1598,13 +1599,13 @@ def create_space_role_with_http_info( Assign space role within an space. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param create_space_role_payload: (required) :type create_space_role_payload: CreateSpaceRolePayload :param _request_timeout: timeout setting for this request. If one @@ -1659,10 +1660,10 @@ def create_space_role_with_http_info( @validate_call def create_space_role_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, create_space_role_payload: CreateSpaceRolePayload, _request_timeout: Union[ None, @@ -1679,13 +1680,13 @@ def create_space_role_without_preload_content( Assign space role within an space. If the role is already assigned, the existing role GUID gets returned. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param create_space_role_payload: (required) :type create_space_role_payload: CreateSpaceRolePayload :param _request_timeout: timeout setting for this request. If one @@ -1806,9 +1807,9 @@ def _create_space_role_serialize( @validate_call def delete_org_manager( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1824,11 +1825,11 @@ def delete_org_manager( Delete the organization manager. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1880,9 +1881,9 @@ def delete_org_manager( @validate_call def delete_org_manager_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1898,11 +1899,11 @@ def delete_org_manager_with_http_info( Delete the organization manager. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1954,9 +1955,9 @@ def delete_org_manager_with_http_info( @validate_call def delete_org_manager_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1972,11 +1973,11 @@ def delete_org_manager_without_preload_content( Delete the organization manager. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2080,9 +2081,9 @@ def _delete_org_manager_serialize( @validate_call def delete_organization( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2098,11 +2099,11 @@ def delete_organization( Delete an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2153,9 +2154,9 @@ def delete_organization( @validate_call def delete_organization_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2171,11 +2172,11 @@ def delete_organization_with_http_info( Delete an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2226,9 +2227,9 @@ def delete_organization_with_http_info( @validate_call def delete_organization_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2244,11 +2245,11 @@ def delete_organization_without_preload_content( Delete an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2351,10 +2352,10 @@ def _delete_organization_serialize( @validate_call def delete_space( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2370,13 +2371,13 @@ def delete_space( Delete space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2428,10 +2429,10 @@ def delete_space( @validate_call def delete_space_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2447,13 +2448,13 @@ def delete_space_with_http_info( Delete space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2505,10 +2506,10 @@ def delete_space_with_http_info( @validate_call def delete_space_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2524,13 +2525,13 @@ def delete_space_without_preload_content( Delete space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2637,9 +2638,9 @@ def _delete_space_serialize( @validate_call def get_org_manager( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2655,11 +2656,11 @@ def get_org_manager( Returns the organization manager within an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2710,9 +2711,9 @@ def get_org_manager( @validate_call def get_org_manager_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2728,11 +2729,11 @@ def get_org_manager_with_http_info( Returns the organization manager within an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2783,9 +2784,9 @@ def get_org_manager_with_http_info( @validate_call def get_org_manager_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2801,11 +2802,11 @@ def get_org_manager_without_preload_content( Returns the organization manager within an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2908,9 +2909,9 @@ def _get_org_manager_serialize( @validate_call def get_organization( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2926,11 +2927,11 @@ def get_organization( Returns an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2981,9 +2982,9 @@ def get_organization( @validate_call def get_organization_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2999,11 +3000,11 @@ def get_organization_with_http_info( Returns an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3054,9 +3055,9 @@ def get_organization_with_http_info( @validate_call def get_organization_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3072,11 +3073,11 @@ def get_organization_without_preload_content( Returns an organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3179,10 +3180,10 @@ def _get_organization_serialize( @validate_call def get_organization_quota( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - quota_id: StrictStr, + organization_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3198,13 +3199,13 @@ def get_organization_quota( Returns an organization quota. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3256,10 +3257,10 @@ def get_organization_quota( @validate_call def get_organization_quota_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - quota_id: StrictStr, + organization_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3275,13 +3276,13 @@ def get_organization_quota_with_http_info( Returns an organization quota. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3333,10 +3334,10 @@ def get_organization_quota_with_http_info( @validate_call def get_organization_quota_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - quota_id: StrictStr, + organization_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3352,13 +3353,13 @@ def get_organization_quota_without_preload_content( Returns an organization quota. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3465,9 +3466,9 @@ def _get_organization_quota_serialize( @validate_call def get_organization_usage_summary( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3483,11 +3484,11 @@ def get_organization_usage_summary( Returns an organization usage summary. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3538,9 +3539,9 @@ def get_organization_usage_summary( @validate_call def get_organization_usage_summary_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3556,11 +3557,11 @@ def get_organization_usage_summary_with_http_info( Returns an organization usage summary. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3611,9 +3612,9 @@ def get_organization_usage_summary_with_http_info( @validate_call def get_organization_usage_summary_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3629,11 +3630,11 @@ def get_organization_usage_summary_without_preload_content( Returns an organization usage summary. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3736,9 +3737,9 @@ def _get_organization_usage_summary_serialize( @validate_call def get_platform( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3754,11 +3755,11 @@ def get_platform( Fetch a single platform :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3809,9 +3810,9 @@ def get_platform( @validate_call def get_platform_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3827,11 +3828,11 @@ def get_platform_with_http_info( Fetch a single platform :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3882,9 +3883,9 @@ def get_platform_with_http_info( @validate_call def get_platform_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3900,11 +3901,11 @@ def get_platform_without_preload_content( Fetch a single platform :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4007,10 +4008,10 @@ def _get_platform_serialize( @validate_call def get_platform_quota( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, - quota_id: StrictStr, + platform_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4026,13 +4027,13 @@ def get_platform_quota( Returns an organization quota on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4084,10 +4085,10 @@ def get_platform_quota( @validate_call def get_platform_quota_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, - quota_id: StrictStr, + platform_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4103,13 +4104,13 @@ def get_platform_quota_with_http_info( Returns an organization quota on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4161,10 +4162,10 @@ def get_platform_quota_with_http_info( @validate_call def get_platform_quota_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, - quota_id: StrictStr, + platform_id: UUID, + quota_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4180,13 +4181,13 @@ def get_platform_quota_without_preload_content( Returns an organization quota on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param quota_id: (required) - :type quota_id: str + :type quota_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4293,10 +4294,10 @@ def _get_platform_quota_serialize( @validate_call def get_space( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4312,13 +4313,13 @@ def get_space( Returns a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4370,10 +4371,10 @@ def get_space( @validate_call def get_space_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4389,13 +4390,13 @@ def get_space_with_http_info( Returns a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4447,10 +4448,10 @@ def get_space_with_http_info( @validate_call def get_space_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4466,13 +4467,13 @@ def get_space_without_preload_content( Returns a space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4579,9 +4580,9 @@ def _get_space_serialize( @validate_call def list_organization_quotas( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4597,11 +4598,11 @@ def list_organization_quotas( Returns a list of organization quotas. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4652,9 +4653,9 @@ def list_organization_quotas( @validate_call def list_organization_quotas_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4670,11 +4671,11 @@ def list_organization_quotas_with_http_info( Returns a list of organization quotas. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4725,9 +4726,9 @@ def list_organization_quotas_with_http_info( @validate_call def list_organization_quotas_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4743,11 +4744,11 @@ def list_organization_quotas_without_preload_content( Returns a list of organization quotas. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4850,7 +4851,7 @@ def _list_organization_quotas_serialize( @validate_call def list_organizations( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, with_details: Annotated[ Optional[StrictBool], @@ -4884,7 +4885,7 @@ def list_organizations( Returns a list of organizations for a specific STACKIT project. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param with_details: Adds the details to the response that can be queried from the Cloud Controller API @@ -4948,7 +4949,7 @@ def list_organizations( @validate_call def list_organizations_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, with_details: Annotated[ Optional[StrictBool], @@ -4982,7 +4983,7 @@ def list_organizations_with_http_info( Returns a list of organizations for a specific STACKIT project. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param with_details: Adds the details to the response that can be queried from the Cloud Controller API @@ -5046,7 +5047,7 @@ def list_organizations_with_http_info( @validate_call def list_organizations_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, with_details: Annotated[ Optional[StrictBool], @@ -5080,7 +5081,7 @@ def list_organizations_without_preload_content( Returns a list of organizations for a specific STACKIT project. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param with_details: Adds the details to the response that can be queried from the Cloud Controller API @@ -5213,9 +5214,9 @@ def _list_organizations_serialize( @validate_call def list_platform_quotas( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5231,11 +5232,11 @@ def list_platform_quotas( Returns a list of organization quotas on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5286,9 +5287,9 @@ def list_platform_quotas( @validate_call def list_platform_quotas_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5304,11 +5305,11 @@ def list_platform_quotas_with_http_info( Returns a list of organization quotas on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5359,9 +5360,9 @@ def list_platform_quotas_with_http_info( @validate_call def list_platform_quotas_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - platform_id: StrictStr, + platform_id: UUID, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5377,11 +5378,11 @@ def list_platform_quotas_without_preload_content( Returns a list of organization quotas on a platform. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param platform_id: (required) - :type platform_id: str + :type platform_id: UUID :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5484,7 +5485,7 @@ def _list_platform_quotas_serialize( @validate_call def list_platforms( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") @@ -5508,7 +5509,7 @@ def list_platforms( List all platforms available for a STACKIT project :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param page: Which page is returned @@ -5566,7 +5567,7 @@ def list_platforms( @validate_call def list_platforms_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") @@ -5590,7 +5591,7 @@ def list_platforms_with_http_info( List all platforms available for a STACKIT project :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param page: Which page is returned @@ -5648,7 +5649,7 @@ def list_platforms_with_http_info( @validate_call def list_platforms_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") @@ -5672,7 +5673,7 @@ def list_platforms_without_preload_content( List all platforms available for a STACKIT project :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param page: Which page is returned @@ -5789,9 +5790,9 @@ def _list_platforms_serialize( @validate_call def list_spaces( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") ] = None, @@ -5814,11 +5815,11 @@ def list_spaces( Returns a list of spaces for a specific organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param page: Which page is returned :type page: int :param per_page: Elements to be returned per page @@ -5875,9 +5876,9 @@ def list_spaces( @validate_call def list_spaces_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") ] = None, @@ -5900,11 +5901,11 @@ def list_spaces_with_http_info( Returns a list of spaces for a specific organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param page: Which page is returned :type page: int :param per_page: Elements to be returned per page @@ -5961,9 +5962,9 @@ def list_spaces_with_http_info( @validate_call def list_spaces_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, page: Annotated[ Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Which page is returned") ] = None, @@ -5986,11 +5987,11 @@ def list_spaces_without_preload_content( Returns a list of spaces for a specific organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param page: Which page is returned :type page: int :param per_page: Elements to be returned per page @@ -6109,9 +6110,9 @@ def _list_spaces_serialize( @validate_call def update_organization( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, update_organization_payload: UpdateOrganizationPayload, _request_timeout: Union[ None, @@ -6128,11 +6129,11 @@ def update_organization( Update organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param update_organization_payload: (required) :type update_organization_payload: UpdateOrganizationPayload :param _request_timeout: timeout setting for this request. If one @@ -6186,9 +6187,9 @@ def update_organization( @validate_call def update_organization_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, update_organization_payload: UpdateOrganizationPayload, _request_timeout: Union[ None, @@ -6205,11 +6206,11 @@ def update_organization_with_http_info( Update organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param update_organization_payload: (required) :type update_organization_payload: UpdateOrganizationPayload :param _request_timeout: timeout setting for this request. If one @@ -6263,9 +6264,9 @@ def update_organization_with_http_info( @validate_call def update_organization_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, + organization_id: UUID, update_organization_payload: UpdateOrganizationPayload, _request_timeout: Union[ None, @@ -6282,11 +6283,11 @@ def update_organization_without_preload_content( Update organization. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param update_organization_payload: (required) :type update_organization_payload: UpdateOrganizationPayload :param _request_timeout: timeout setting for this request. If one @@ -6403,10 +6404,10 @@ def _update_organization_serialize( @validate_call def update_space( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, update_space_payload: UpdateSpacePayload, _request_timeout: Union[ None, @@ -6423,13 +6424,13 @@ def update_space( Update space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param update_space_payload: (required) :type update_space_payload: UpdateSpacePayload :param _request_timeout: timeout setting for this request. If one @@ -6484,10 +6485,10 @@ def update_space( @validate_call def update_space_with_http_info( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, update_space_payload: UpdateSpacePayload, _request_timeout: Union[ None, @@ -6504,13 +6505,13 @@ def update_space_with_http_info( Update space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param update_space_payload: (required) :type update_space_payload: UpdateSpacePayload :param _request_timeout: timeout setting for this request. If one @@ -6565,10 +6566,10 @@ def update_space_with_http_info( @validate_call def update_space_without_preload_content( self, - project_id: StrictStr, + project_id: UUID, region: StrictStr, - organization_id: StrictStr, - space_id: StrictStr, + organization_id: UUID, + space_id: UUID, update_space_payload: UpdateSpacePayload, _request_timeout: Union[ None, @@ -6585,13 +6586,13 @@ def update_space_without_preload_content( Update space. :param project_id: (required) - :type project_id: str + :type project_id: UUID :param region: (required) :type region: str :param organization_id: (required) - :type organization_id: str + :type organization_id: UUID :param space_id: (required) - :type space_id: str + :type space_id: UUID :param update_space_payload: (required) :type update_space_payload: UpdateSpacePayload :param _request_timeout: timeout setting for this request. If one diff --git a/services/scf/src/stackit/scf/models/__init__.py b/services/scf/src/stackit/scf/models/__init__.py index 7d2ce44f0..77c65da4c 100644 --- a/services/scf/src/stackit/scf/models/__init__.py +++ b/services/scf/src/stackit/scf/models/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from stackit.scf.models.apply_organization_quota_payload import ( ApplyOrganizationQuotaPayload, 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 ffe9de763..76e90b6a0 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 @@ -17,8 +17,9 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field from typing_extensions import Self @@ -27,7 +28,7 @@ class ApplyOrganizationQuotaPayload(BaseModel): ApplyOrganizationQuotaPayload """ # noqa: E501 - quota_id: StrictStr = Field(alias="quotaId") + quota_id: UUID = Field(alias="quotaId") __properties: ClassVar[List[str]] = ["quotaId"] model_config = ConfigDict( 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 09080f5bc..60a9a7ae7 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 @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -30,7 +31,7 @@ class CreateOrgRolePayload(BaseModel): """ # noqa: E501 type: OrgRoleType - user_guid: Optional[StrictStr] = Field(default=None, alias="userGuid") + user_guid: Optional[UUID] = Field(default=None, alias="userGuid") user_name: Optional[StrictStr] = Field(default=None, alias="userName") __properties: ClassVar[List[str]] = ["type", "userGuid", "userName"] 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 9e0d25786..84011d8ec 100644 --- a/services/scf/src/stackit/scf/models/create_organization_payload.py +++ b/services/scf/src/stackit/scf/models/create_organization_payload.py @@ -17,8 +17,9 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field from typing_extensions import Annotated, Self @@ -28,7 +29,7 @@ class CreateOrganizationPayload(BaseModel): """ # noqa: E501 name: Annotated[str, Field(min_length=1, strict=True, max_length=255)] - platform_id: Optional[StrictStr] = Field(default=None, alias="platformId") + platform_id: Optional[UUID] = Field(default=None, alias="platformId") __properties: ClassVar[List[str]] = ["name", "platformId"] model_config = ConfigDict( 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 3e869903f..1022d67fb 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 @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -30,7 +31,7 @@ class CreateSpaceRolePayload(BaseModel): """ # noqa: E501 type: SpaceRoleType - user_guid: Optional[StrictStr] = Field(default=None, alias="userGuid") + user_guid: Optional[UUID] = Field(default=None, alias="userGuid") user_name: Optional[StrictStr] = Field(default=None, alias="userName") __properties: ClassVar[List[str]] = ["type", "userGuid", "userName"] diff --git a/services/scf/src/stackit/scf/models/isolation_segment.py b/services/scf/src/stackit/scf/models/isolation_segment.py index 401c28518..267979ac2 100644 --- a/services/scf/src/stackit/scf/models/isolation_segment.py +++ b/services/scf/src/stackit/scf/models/isolation_segment.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -30,11 +31,11 @@ class IsolationSegment(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr + guid: UUID name: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr updated_at: datetime = Field(alias="updatedAt") __properties: ClassVar[List[str]] = [ diff --git a/services/scf/src/stackit/scf/models/org_manager.py b/services/scf/src/stackit/scf/models/org_manager.py index 9a03a4e24..5a51e6d49 100644 --- a/services/scf/src/stackit/scf/models/org_manager.py +++ b/services/scf/src/stackit/scf/models/org_manager.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -30,10 +31,10 @@ class OrgManager(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + guid: UUID + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr updated_at: datetime = Field(alias="updatedAt") username: StrictStr 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 5591bb20e..16073955d 100644 --- a/services/scf/src/stackit/scf/models/org_manager_response.py +++ b/services/scf/src/stackit/scf/models/org_manager_response.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -30,11 +31,11 @@ class OrgManagerResponse(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr - org_id: StrictStr = Field(alias="orgId") + guid: UUID + org_id: UUID = Field(alias="orgId") password: StrictStr - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr updated_at: datetime = Field(alias="updatedAt") username: StrictStr 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 eeb881deb..3dcaa6711 100644 --- a/services/scf/src/stackit/scf/models/org_role_response.py +++ b/services/scf/src/stackit/scf/models/org_role_response.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -29,10 +30,10 @@ class OrgRoleResponse(BaseModel): OrgRoleResponse """ # noqa: E501 - guid: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + guid: UUID + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr type: OrgRoleType __properties: ClassVar[List[str]] = ["guid", "orgId", "platformId", "projectId", "region", "type"] diff --git a/services/scf/src/stackit/scf/models/organization.py b/services/scf/src/stackit/scf/models/organization.py index 64c5f5c99..4dab8b219 100644 --- a/services/scf/src/stackit/scf/models/organization.py +++ b/services/scf/src/stackit/scf/models/organization.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import ( BaseModel, @@ -37,11 +38,11 @@ class Organization(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr + guid: UUID name: StrictStr - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") - quota_id: StrictStr = Field(alias="quotaId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") + quota_id: UUID = Field(alias="quotaId") region: StrictStr status: StrictStr = Field( description="The organization's status. The status value starts with `deleting` when a deleting request is in progress. The status value starts with `delete_failed` when the deletion failed. The status value can be different from `deleting` and `delete_failed`. Additional details can be provided in the future. " 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 50570199a..e589fad4d 100644 --- a/services/scf/src/stackit/scf/models/organization_create_response.py +++ b/services/scf/src/stackit/scf/models/organization_create_response.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -27,9 +28,9 @@ class OrganizationCreateResponse(BaseModel): OrganizationCreateResponse """ # noqa: E501 - guid: StrictStr - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + guid: UUID + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr __properties: ClassVar[List[str]] = ["guid", "platformId", "projectId", "region"] 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 cb803b1cf..5ce1edd24 100644 --- a/services/scf/src/stackit/scf/models/organization_delete_response.py +++ b/services/scf/src/stackit/scf/models/organization_delete_response.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -27,9 +28,9 @@ class OrganizationDeleteResponse(BaseModel): OrganizationDeleteResponse """ # noqa: E501 - guid: StrictStr - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + guid: UUID + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr __properties: ClassVar[List[str]] = ["guid", "platformId", "projectId", "region"] diff --git a/services/scf/src/stackit/scf/models/organization_quota.py b/services/scf/src/stackit/scf/models/organization_quota.py index e83597d44..50636f46e 100644 --- a/services/scf/src/stackit/scf/models/organization_quota.py +++ b/services/scf/src/stackit/scf/models/organization_quota.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -27,10 +28,10 @@ class OrganizationQuota(BaseModel): OrganizationQuota """ # noqa: E501 - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") - quota_id: StrictStr = Field(alias="quotaId") + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") + quota_id: UUID = Field(alias="quotaId") region: StrictStr __properties: ClassVar[List[str]] = ["orgId", "platformId", "projectId", "quotaId", "region"] 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 b7abce826..28eb53429 100644 --- a/services/scf/src/stackit/scf/models/organization_usage_summary.py +++ b/services/scf/src/stackit/scf/models/organization_usage_summary.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -29,9 +30,9 @@ class OrganizationUsageSummary(BaseModel): OrganizationUsageSummary """ # noqa: E501 - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr usage_summary: UsageSummary = Field(alias="usageSummary") __properties: ClassVar[List[str]] = ["orgId", "platformId", "projectId", "region", "usageSummary"] 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 b3a07f999..4b540964c 100644 --- a/services/scf/src/stackit/scf/models/organizations_list_item.py +++ b/services/scf/src/stackit/scf/models/organizations_list_item.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import ( BaseModel, @@ -37,11 +38,11 @@ class OrganizationsListItem(BaseModel): """ # noqa: E501 created_at: Optional[datetime] = Field(default=None, alias="createdAt") - guid: StrictStr + guid: UUID name: Optional[StrictStr] = None - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") - quota_id: Optional[StrictStr] = Field(default=None, alias="quotaId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") + quota_id: Optional[UUID] = Field(default=None, alias="quotaId") region: StrictStr status: StrictStr = Field( description="The organization's status. The status value starts with `deleting` when a deleting request is in progress. The status value starts with `delete_failed` when the deletion failed. The status value can be different from `deleting` and `delete_failed`. Additional details can be provided in the future. " diff --git a/services/scf/src/stackit/scf/models/platforms.py b/services/scf/src/stackit/scf/models/platforms.py index cfdd554c4..1df65a51d 100644 --- a/services/scf/src/stackit/scf/models/platforms.py +++ b/services/scf/src/stackit/scf/models/platforms.py @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -30,7 +31,7 @@ class Platforms(BaseModel): api_url: StrictStr = Field(alias="apiUrl") console_url: Optional[StrictStr] = Field(default=None, alias="consoleUrl") display_name: StrictStr = Field(alias="displayName") - guid: StrictStr + guid: UUID region: StrictStr system_id: StrictStr = Field(alias="systemId") __properties: ClassVar[List[str]] = ["apiUrl", "consoleUrl", "displayName", "guid", "region", "systemId"] diff --git a/services/scf/src/stackit/scf/models/quota.py b/services/scf/src/stackit/scf/models/quota.py index 893a8a42e..c2c60bc87 100644 --- a/services/scf/src/stackit/scf/models/quota.py +++ b/services/scf/src/stackit/scf/models/quota.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -37,11 +38,11 @@ class Quota(BaseModel): apps: QuotaApps created_at: datetime = Field(alias="createdAt") domains: QuotaDomains - guid: StrictStr + guid: UUID name: StrictStr - org_id: Optional[StrictStr] = Field(default=None, alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + org_id: Optional[UUID] = Field(default=None, alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr routes: QuotaRoutes services: QuotaServices diff --git a/services/scf/src/stackit/scf/models/space.py b/services/scf/src/stackit/scf/models/space.py index 01e52eb88..c01fcea5f 100644 --- a/services/scf/src/stackit/scf/models/space.py +++ b/services/scf/src/stackit/scf/models/space.py @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -30,11 +31,11 @@ class Space(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr + guid: UUID name: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr updated_at: datetime = Field(alias="updatedAt") __properties: ClassVar[List[str]] = [ 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 49ece40c2..1b8515919 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 @@ -17,6 +17,7 @@ import json import pprint from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing_extensions import Self @@ -29,12 +30,12 @@ class SpaceRoleCreateResponse(BaseModel): SpaceRoleCreateResponse """ # noqa: E501 - guid: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + guid: UUID + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr - space_id: StrictStr = Field(alias="spaceId") + space_id: UUID = Field(alias="spaceId") type: SpaceRoleType __properties: ClassVar[List[str]] = ["guid", "orgId", "platformId", "projectId", "region", "spaceId", "type"] 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 5f686dc22..5174126de 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 @@ -19,6 +19,7 @@ import re # noqa: F401 from datetime import datetime from typing import Any, ClassVar, Dict, List, Optional, Set +from uuid import UUID from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing_extensions import Self @@ -30,14 +31,14 @@ class SpaceWithIsolationSegment(BaseModel): """ # noqa: E501 created_at: datetime = Field(alias="createdAt") - guid: StrictStr + guid: UUID name: StrictStr - org_id: StrictStr = Field(alias="orgId") - platform_id: StrictStr = Field(alias="platformId") - project_id: StrictStr = Field(alias="projectId") + org_id: UUID = Field(alias="orgId") + platform_id: UUID = Field(alias="platformId") + project_id: UUID = Field(alias="projectId") region: StrictStr updated_at: datetime = Field(alias="updatedAt") - isolation_segment_id: Optional[StrictStr] = Field(default=None, alias="isolationSegmentId") + isolation_segment_id: Optional[UUID] = Field(default=None, alias="isolationSegmentId") __properties: ClassVar[List[str]] = [ "createdAt", "guid",