diff --git a/services/intake/src/stackit/intake/__init__.py b/services/intake/src/stackit/intake/__init__.py index be2a3ad6..42b5eafc 100644 --- a/services/intake/src/stackit/intake/__init__.py +++ b/services/intake/src/stackit/intake/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - __version__ = "1.0.0" # Define package exports diff --git a/services/intake/src/stackit/intake/api/default_api.py b/services/intake/src/stackit/intake/api/default_api.py index f90eef7a..405d0e9e 100644 --- a/services/intake/src/stackit/intake/api/default_api.py +++ b/services/intake/src/stackit/intake/api/default_api.py @@ -12,6 +12,7 @@ """ # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union +from uuid import UUID from pydantic import ( Field, @@ -57,9 +58,7 @@ def __init__(self, configuration: Configuration = None) -> None: @validate_call def create_intake( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_payload: CreateIntakePayload, _request_timeout: Union[ @@ -77,7 +76,7 @@ def create_intake( Creates a new intake within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_payload: (required) @@ -131,9 +130,7 @@ def create_intake( @validate_call def create_intake_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_payload: CreateIntakePayload, _request_timeout: Union[ @@ -151,7 +148,7 @@ def create_intake_with_http_info( Creates a new intake within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_payload: (required) @@ -205,9 +202,7 @@ def create_intake_with_http_info( @validate_call def create_intake_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_payload: CreateIntakePayload, _request_timeout: Union[ @@ -225,7 +220,7 @@ def create_intake_without_preload_content( Creates a new intake within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_payload: (required) @@ -339,9 +334,7 @@ def _create_intake_serialize( @validate_call def create_intake_runner( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_runner_payload: CreateIntakeRunnerPayload, _request_timeout: Union[ @@ -359,7 +352,7 @@ def create_intake_runner( Creates a new intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_runner_payload: (required) @@ -413,9 +406,7 @@ def create_intake_runner( @validate_call def create_intake_runner_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_runner_payload: CreateIntakeRunnerPayload, _request_timeout: Union[ @@ -433,7 +424,7 @@ def create_intake_runner_with_http_info( Creates a new intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_runner_payload: (required) @@ -487,9 +478,7 @@ def create_intake_runner_with_http_info( @validate_call def create_intake_runner_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], create_intake_runner_payload: CreateIntakeRunnerPayload, _request_timeout: Union[ @@ -507,7 +496,7 @@ def create_intake_runner_without_preload_content( Creates a new intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param create_intake_runner_payload: (required) @@ -621,11 +610,9 @@ def _create_intake_runner_serialize( @validate_call def create_intake_user( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], create_intake_user_payload: CreateIntakeUserPayload, _request_timeout: Union[ None, @@ -642,11 +629,11 @@ def create_intake_user( Creates a new user for this intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param create_intake_user_payload: (required) :type create_intake_user_payload: CreateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one @@ -699,11 +686,9 @@ def create_intake_user( @validate_call def create_intake_user_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], create_intake_user_payload: CreateIntakeUserPayload, _request_timeout: Union[ None, @@ -720,11 +705,11 @@ def create_intake_user_with_http_info( Creates a new user for this intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param create_intake_user_payload: (required) :type create_intake_user_payload: CreateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one @@ -777,11 +762,9 @@ def create_intake_user_with_http_info( @validate_call def create_intake_user_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], create_intake_user_payload: CreateIntakeUserPayload, _request_timeout: Union[ None, @@ -798,11 +781,11 @@ def create_intake_user_without_preload_content( Creates a new user for this intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param create_intake_user_payload: (required) :type create_intake_user_payload: CreateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one @@ -918,11 +901,9 @@ def _create_intake_user_serialize( @validate_call def delete_intake( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -944,11 +925,11 @@ def delete_intake( Deletes the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1001,11 +982,9 @@ def delete_intake( @validate_call def delete_intake_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -1027,11 +1006,11 @@ def delete_intake_with_http_info( Deletes the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1084,11 +1063,9 @@ def delete_intake_with_http_info( @validate_call def delete_intake_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -1110,11 +1087,11 @@ def delete_intake_without_preload_content( Deletes the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1220,11 +1197,9 @@ def _delete_intake_serialize( @validate_call def delete_intake_runner( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -1246,11 +1221,11 @@ def delete_intake_runner( Deletes the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1303,11 +1278,9 @@ def delete_intake_runner( @validate_call def delete_intake_runner_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -1329,11 +1302,11 @@ def delete_intake_runner_with_http_info( Deletes the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1386,11 +1359,9 @@ def delete_intake_runner_with_http_info( @validate_call def delete_intake_runner_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], force: Annotated[ Optional[StrictBool], Field( @@ -1412,11 +1383,11 @@ def delete_intake_runner_without_preload_content( Deletes the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param force: If true, deletes all child resources. If false, the resource remains in a 'deletion state' while child resources exist. :type force: bool :param _request_timeout: timeout setting for this request. If one @@ -1522,12 +1493,10 @@ def _delete_intake_runner_serialize( @validate_call def delete_intake_user( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1543,13 +1512,13 @@ def delete_intake_user( Deletes the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -1600,12 +1569,10 @@ def delete_intake_user( @validate_call def delete_intake_user_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1621,13 +1588,13 @@ def delete_intake_user_with_http_info( Deletes the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -1678,12 +1645,10 @@ def delete_intake_user_with_http_info( @validate_call def delete_intake_user_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1699,13 +1664,13 @@ def delete_intake_user_without_preload_content( Deletes the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -1807,11 +1772,9 @@ def _delete_intake_user_serialize( @validate_call def get_intake( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1827,11 +1790,11 @@ def get_intake( Returns the details for the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_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,11 +1843,9 @@ def get_intake( @validate_call def get_intake_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1900,11 +1861,11 @@ def get_intake_with_http_info( Returns the details for the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_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 @@ -1953,11 +1914,9 @@ def get_intake_with_http_info( @validate_call def get_intake_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1973,11 +1932,11 @@ def get_intake_without_preload_content( Returns the details for the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_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 @@ -2078,11 +2037,9 @@ def _get_intake_serialize( @validate_call def get_intake_runner( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2098,11 +2055,11 @@ def get_intake_runner( Returns the details for the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_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 @@ -2151,11 +2108,9 @@ def get_intake_runner( @validate_call def get_intake_runner_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2171,11 +2126,11 @@ def get_intake_runner_with_http_info( Returns the details for the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_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 @@ -2224,11 +2179,9 @@ def get_intake_runner_with_http_info( @validate_call def get_intake_runner_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2244,11 +2197,11 @@ def get_intake_runner_without_preload_content( Returns the details for the given intake runner. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_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 @@ -2349,12 +2302,10 @@ def _get_intake_runner_serialize( @validate_call def get_intake_user( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2370,13 +2321,13 @@ def get_intake_user( Returns the details for the given user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -2426,12 +2377,10 @@ def get_intake_user( @validate_call def get_intake_user_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2447,13 +2396,13 @@ def get_intake_user_with_http_info( Returns the details for the given user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -2503,12 +2452,10 @@ def get_intake_user_with_http_info( @validate_call def get_intake_user_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2524,13 +2471,13 @@ def get_intake_user_without_preload_content( Returns the details for the given user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_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 @@ -2635,9 +2582,7 @@ def _get_intake_user_serialize( @validate_call def list_intake_runners( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -2662,7 +2607,7 @@ def list_intake_runners( Returns a list of all intake runners within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -2717,9 +2662,7 @@ def list_intake_runners( @validate_call def list_intake_runners_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -2744,7 +2687,7 @@ def list_intake_runners_with_http_info( Returns a list of all intake runners within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -2799,9 +2742,7 @@ def list_intake_runners_with_http_info( @validate_call def list_intake_runners_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -2826,7 +2767,7 @@ def list_intake_runners_without_preload_content( Returns a list of all intake runners within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -2940,11 +2881,9 @@ def _list_intake_runners_serialize( @validate_call def list_intake_users( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], Field(description="A token to retrieve the next page of results."), @@ -2968,11 +2907,11 @@ def list_intake_users( Returns a list of all intake users within the project and intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param page_token: A token to retrieve the next page of results. :type page_token: str :param page_size: Maximum number of items to return @@ -3026,11 +2965,9 @@ def list_intake_users( @validate_call def list_intake_users_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], Field(description="A token to retrieve the next page of results."), @@ -3054,11 +2991,11 @@ def list_intake_users_with_http_info( Returns a list of all intake users within the project and intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param page_token: A token to retrieve the next page of results. :type page_token: str :param page_size: Maximum number of items to return @@ -3112,11 +3049,9 @@ def list_intake_users_with_http_info( @validate_call def list_intake_users_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], Field(description="A token to retrieve the next page of results."), @@ -3140,11 +3075,11 @@ def list_intake_users_without_preload_content( Returns a list of all intake users within the project and intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param page_token: A token to retrieve the next page of results. :type page_token: str :param page_size: Maximum number of items to return @@ -3260,9 +3195,7 @@ def _list_intake_users_serialize( @validate_call def list_intakes( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -3287,7 +3220,7 @@ def list_intakes( Returns a list of all intakes within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -3342,9 +3275,7 @@ def list_intakes( @validate_call def list_intakes_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -3369,7 +3300,7 @@ def list_intakes_with_http_info( Returns a list of all intakes within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -3424,9 +3355,7 @@ def list_intakes_with_http_info( @validate_call def list_intakes_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], page_token: Annotated[ Optional[Annotated[str, Field(strict=True, max_length=1024)]], @@ -3451,7 +3380,7 @@ def list_intakes_without_preload_content( Returns a list of all intakes within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param page_token: A token to retrieve the next page of results. @@ -3565,11 +3494,9 @@ def _list_intakes_serialize( @validate_call def update_intake( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], update_intake_payload: UpdateIntakePayload, _request_timeout: Union[ None, @@ -3586,11 +3513,11 @@ def update_intake( Updates the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param update_intake_payload: (required) :type update_intake_payload: UpdateIntakePayload :param _request_timeout: timeout setting for this request. If one @@ -3643,11 +3570,9 @@ def update_intake( @validate_call def update_intake_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], update_intake_payload: UpdateIntakePayload, _request_timeout: Union[ None, @@ -3664,11 +3589,11 @@ def update_intake_with_http_info( Updates the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param update_intake_payload: (required) :type update_intake_payload: UpdateIntakePayload :param _request_timeout: timeout setting for this request. If one @@ -3721,11 +3646,9 @@ def update_intake_with_http_info( @validate_call def update_intake_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], update_intake_payload: UpdateIntakePayload, _request_timeout: Union[ None, @@ -3742,11 +3665,11 @@ def update_intake_without_preload_content( Updates the given intake. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param update_intake_payload: (required) :type update_intake_payload: UpdateIntakePayload :param _request_timeout: timeout setting for this request. If one @@ -3862,11 +3785,9 @@ def _update_intake_serialize( @validate_call def update_intake_runner( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], update_intake_runner_payload: UpdateIntakeRunnerPayload, _request_timeout: Union[ None, @@ -3883,11 +3804,11 @@ def update_intake_runner( Updates a intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param update_intake_runner_payload: (required) :type update_intake_runner_payload: UpdateIntakeRunnerPayload :param _request_timeout: timeout setting for this request. If one @@ -3940,11 +3861,9 @@ def update_intake_runner( @validate_call def update_intake_runner_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], update_intake_runner_payload: UpdateIntakeRunnerPayload, _request_timeout: Union[ None, @@ -3961,11 +3880,11 @@ def update_intake_runner_with_http_info( Updates a intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param update_intake_runner_payload: (required) :type update_intake_runner_payload: UpdateIntakeRunnerPayload :param _request_timeout: timeout setting for this request. If one @@ -4018,11 +3937,9 @@ def update_intake_runner_with_http_info( @validate_call def update_intake_runner_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_runner_id: Annotated[StrictStr, Field(description="The intake runner UUID.")], + intake_runner_id: Annotated[UUID, Field(description="The intake runner UUID.")], update_intake_runner_payload: UpdateIntakeRunnerPayload, _request_timeout: Union[ None, @@ -4039,11 +3956,11 @@ def update_intake_runner_without_preload_content( Updates a intake runner within the project. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_runner_id: The intake runner UUID. (required) - :type intake_runner_id: str + :type intake_runner_id: UUID :param update_intake_runner_payload: (required) :type update_intake_runner_payload: UpdateIntakeRunnerPayload :param _request_timeout: timeout setting for this request. If one @@ -4159,12 +4076,10 @@ def _update_intake_runner_serialize( @validate_call def update_intake_user( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], update_intake_user_payload: UpdateIntakeUserPayload, _request_timeout: Union[ None, @@ -4181,13 +4096,13 @@ def update_intake_user( Updates the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_id: UUID :param update_intake_user_payload: (required) :type update_intake_user_payload: UpdateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one @@ -4241,12 +4156,10 @@ def update_intake_user( @validate_call def update_intake_user_with_http_info( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], update_intake_user_payload: UpdateIntakeUserPayload, _request_timeout: Union[ None, @@ -4263,13 +4176,13 @@ def update_intake_user_with_http_info( Updates the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_id: UUID :param update_intake_user_payload: (required) :type update_intake_user_payload: UpdateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one @@ -4323,12 +4236,10 @@ def update_intake_user_with_http_info( @validate_call def update_intake_user_without_preload_content( self, - project_id: Annotated[ - StrictStr, Field(description="The STACKIT portal project UUID the resource is located in.") - ], + project_id: Annotated[UUID, Field(description="The STACKIT portal project UUID the resource is located in.")], region_id: Annotated[StrictStr, Field(description="The STACKIT region name the resource is located in.")], - intake_id: Annotated[StrictStr, Field(description="The intake UUID.")], - intake_user_id: Annotated[StrictStr, Field(description="The intake user UUID.")], + intake_id: Annotated[UUID, Field(description="The intake UUID.")], + intake_user_id: Annotated[UUID, Field(description="The intake user UUID.")], update_intake_user_payload: UpdateIntakeUserPayload, _request_timeout: Union[ None, @@ -4345,13 +4256,13 @@ def update_intake_user_without_preload_content( Updates the given intake user. :param project_id: The STACKIT portal project UUID the resource is located in. (required) - :type project_id: str + :type project_id: UUID :param region_id: The STACKIT region name the resource is located in. (required) :type region_id: str :param intake_id: The intake UUID. (required) - :type intake_id: str + :type intake_id: UUID :param intake_user_id: The intake user UUID. (required) - :type intake_user_id: str + :type intake_user_id: UUID :param update_intake_user_payload: (required) :type update_intake_user_payload: UpdateIntakeUserPayload :param _request_timeout: timeout setting for this request. If one diff --git a/services/intake/src/stackit/intake/models/__init__.py b/services/intake/src/stackit/intake/models/__init__.py index bf866c6c..ce2078f3 100644 --- a/services/intake/src/stackit/intake/models/__init__.py +++ b/services/intake/src/stackit/intake/models/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from stackit.intake.models.catalog_auth import CatalogAuth from stackit.intake.models.catalog_auth_patch import CatalogAuthPatch diff --git a/services/intake/src/stackit/intake/models/create_intake_payload.py b/services/intake/src/stackit/intake/models/create_intake_payload.py index bed705d7..d8e74c2b 100644 --- a/services/intake/src/stackit/intake/models/create_intake_payload.py +++ b/services/intake/src/stackit/intake/models/create_intake_payload.py @@ -17,6 +17,7 @@ import pprint import re # noqa: F401 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 Annotated, Self @@ -37,7 +38,7 @@ class CreateIntakePayload(BaseModel): display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field( description="The display name is a short name chosen by the user to identify the resource.", alias="displayName" ) - intake_runner_id: StrictStr = Field( + intake_runner_id: UUID = Field( description="The unique id of the intake runner this intake should run on.", alias="intakeRunnerId" ) labels: Optional[Dict[str, StrictStr]] = Field( diff --git a/services/intake/src/stackit/intake/models/intake_response.py b/services/intake/src/stackit/intake/models/intake_response.py index 9983467d..36b40425 100644 --- a/services/intake/src/stackit/intake/models/intake_response.py +++ b/services/intake/src/stackit/intake/models/intake_response.py @@ -18,6 +18,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, StrictInt, StrictStr, field_validator from typing_extensions import Annotated, Self @@ -45,8 +46,8 @@ class IntakeResponse(BaseModel): failure_message: Optional[StrictStr] = Field( default=None, description="A human-readable description of the error, if the state is 'failed'." ) - id: StrictStr = Field(description="A auto generated unique id which identifies the resource.") - intake_runner_id: StrictStr = Field( + id: UUID = Field(description="A auto generated unique id which identifies the resource.") + intake_runner_id: UUID = Field( description="The unique id of the intake runner this intake is running on.", alias="intakeRunnerId" ) labels: Optional[Dict[str, StrictStr]] = Field( diff --git a/services/intake/src/stackit/intake/models/intake_runner_response.py b/services/intake/src/stackit/intake/models/intake_runner_response.py index 166f1e04..97955c5a 100644 --- a/services/intake/src/stackit/intake/models/intake_runner_response.py +++ b/services/intake/src/stackit/intake/models/intake_runner_response.py @@ -18,6 +18,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, StrictInt, StrictStr, field_validator from typing_extensions import Annotated, Self @@ -36,7 +37,7 @@ class IntakeRunnerResponse(BaseModel): display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field( description="The display name is a short name chosen by the user to identify the resource.", alias="displayName" ) - id: StrictStr = Field(description="A auto generated unique id which identifies the resource.") + id: UUID = Field(description="A auto generated unique id which identifies the resource.") labels: Optional[Dict[str, StrictStr]] = Field( default=None, description="Labels are a set of key-value pairs assigned to resources." ) diff --git a/services/intake/src/stackit/intake/models/intake_user_response.py b/services/intake/src/stackit/intake/models/intake_user_response.py index 5b77583d..fa607923 100644 --- a/services/intake/src/stackit/intake/models/intake_user_response.py +++ b/services/intake/src/stackit/intake/models/intake_user_response.py @@ -18,6 +18,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 Annotated, Self @@ -40,7 +41,7 @@ class IntakeUserResponse(BaseModel): display_name: Annotated[str, Field(min_length=1, strict=True, max_length=32)] = Field( description="The display name is a short name chosen by the user to identify the resource.", alias="displayName" ) - id: StrictStr = Field(description="A auto generated unique id which identifies the resource.") + id: UUID = Field(description="A auto generated unique id which identifies the resource.") labels: Optional[Dict[str, StrictStr]] = Field( default=None, description="Labels are a set of key-value pairs assigned to resources." ) diff --git a/services/intake/src/stackit/intake/models/update_intake_payload.py b/services/intake/src/stackit/intake/models/update_intake_payload.py index 16be45b4..ed989d12 100644 --- a/services/intake/src/stackit/intake/models/update_intake_payload.py +++ b/services/intake/src/stackit/intake/models/update_intake_payload.py @@ -16,6 +16,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 Annotated, Self @@ -38,7 +39,7 @@ class UpdateIntakePayload(BaseModel): description="The display name is a short name chosen by the user to identify the resource.", alias="displayName", ) - intake_runner_id: StrictStr = Field( + intake_runner_id: UUID = Field( description="The unique id of the intake runner this intake should run on.", alias="intakeRunnerId" ) labels: Optional[Dict[str, StrictStr]] = Field(