From f2ed7ff23a285211d6e6058547835502bd6d7525 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:25:18 +0000 Subject: [PATCH] Generate iaasalpha --- .../src/stackit/iaasalpha/__init__.py | 1 - .../src/stackit/iaasalpha/api/default_api.py | 1068 ++++------------- .../src/stackit/iaasalpha/models/__init__.py | 1 - .../add_routing_table_to_area_payload.py | 5 +- .../models/create_network_payload.py | 3 +- .../src/stackit/iaasalpha/models/network.py | 9 +- .../models/partial_update_network_payload.py | 3 +- .../src/stackit/iaasalpha/models/route.py | 7 +- .../stackit/iaasalpha/models/routing_table.py | 5 +- 9 files changed, 269 insertions(+), 833 deletions(-) diff --git a/services/iaasalpha/src/stackit/iaasalpha/__init__.py b/services/iaasalpha/src/stackit/iaasalpha/__init__.py index 7c661f99..ecbec9bc 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/__init__.py +++ b/services/iaasalpha/src/stackit/iaasalpha/__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/iaasalpha/src/stackit/iaasalpha/api/default_api.py b/services/iaasalpha/src/stackit/iaasalpha/api/default_api.py index 42091c3d..c9f8e247 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/api/default_api.py +++ b/services/iaasalpha/src/stackit/iaasalpha/api/default_api.py @@ -13,14 +13,9 @@ """ # noqa: E501 from typing import Any, Dict, List, Optional, Tuple, Union +from uuid import UUID -from pydantic import ( - Field, - StrictFloat, - StrictInt, - StrictStr, - validate_call, -) +from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call from stackit.core.configuration import Configuration from typing_extensions import Annotated @@ -69,25 +64,10 @@ def __init__(self, configuration: Configuration = None) -> None: @validate_call def add_routes_to_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], add_routes_to_routing_table_payload: Annotated[ AddRoutesToRoutingTablePayload, Field(description="Request an addition of routes to a routing table.") ], @@ -106,13 +86,13 @@ def add_routes_to_routing_table( Create new routes in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param add_routes_to_routing_table_payload: Request an addition of routes to a routing table. (required) :type add_routes_to_routing_table_payload: AddRoutesToRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -168,25 +148,10 @@ def add_routes_to_routing_table( @validate_call def add_routes_to_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], add_routes_to_routing_table_payload: Annotated[ AddRoutesToRoutingTablePayload, Field(description="Request an addition of routes to a routing table.") ], @@ -205,13 +170,13 @@ def add_routes_to_routing_table_with_http_info( Create new routes in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param add_routes_to_routing_table_payload: Request an addition of routes to a routing table. (required) :type add_routes_to_routing_table_payload: AddRoutesToRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -267,25 +232,10 @@ def add_routes_to_routing_table_with_http_info( @validate_call def add_routes_to_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], add_routes_to_routing_table_payload: Annotated[ AddRoutesToRoutingTablePayload, Field(description="Request an addition of routes to a routing table.") ], @@ -304,13 +254,13 @@ def add_routes_to_routing_table_without_preload_content( Create new routes in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param add_routes_to_routing_table_payload: Request an addition of routes to a routing table. (required) :type add_routes_to_routing_table_payload: AddRoutesToRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -432,18 +382,8 @@ def _add_routes_to_routing_table_serialize( @validate_call def add_routing_table_to_area( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], add_routing_table_to_area_payload: Annotated[ AddRoutingTableToAreaPayload, Field(description="Request an addition of a routing table to an area.") @@ -463,9 +403,9 @@ def add_routing_table_to_area( Create a new routing table in an existing network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param add_routing_table_to_area_payload: Request an addition of a routing table to an area. (required) @@ -522,18 +462,8 @@ def add_routing_table_to_area( @validate_call def add_routing_table_to_area_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], add_routing_table_to_area_payload: Annotated[ AddRoutingTableToAreaPayload, Field(description="Request an addition of a routing table to an area.") @@ -553,9 +483,9 @@ def add_routing_table_to_area_with_http_info( Create a new routing table in an existing network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param add_routing_table_to_area_payload: Request an addition of a routing table to an area. (required) @@ -612,18 +542,8 @@ def add_routing_table_to_area_with_http_info( @validate_call def add_routing_table_to_area_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], add_routing_table_to_area_payload: Annotated[ AddRoutingTableToAreaPayload, Field(description="Request an addition of a routing table to an area.") @@ -643,9 +563,9 @@ def add_routing_table_to_area_without_preload_content( Create a new routing table in an existing network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param add_routing_table_to_area_payload: Request an addition of a routing table to an area. (required) @@ -765,10 +685,7 @@ def _add_routing_table_to_area_serialize( @validate_call def create_network( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], create_network_payload: Annotated[CreateNetworkPayload, Field(description="Request a network creation.")], _request_timeout: Union[ @@ -786,7 +703,7 @@ def create_network( Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param create_network_payload: Request a network creation. (required) @@ -842,10 +759,7 @@ def create_network( @validate_call def create_network_with_http_info( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], create_network_payload: Annotated[CreateNetworkPayload, Field(description="Request a network creation.")], _request_timeout: Union[ @@ -863,7 +777,7 @@ def create_network_with_http_info( Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param create_network_payload: Request a network creation. (required) @@ -919,10 +833,7 @@ def create_network_with_http_info( @validate_call def create_network_without_preload_content( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], create_network_payload: Annotated[CreateNetworkPayload, Field(description="Request a network creation.")], _request_timeout: Union[ @@ -940,7 +851,7 @@ def create_network_without_preload_content( Create a new network in a project. `nameservers` will be filled from `defaultNameservers` of the respective area if not specified. If the project has `internetAccess` enabled and this is the first network in the project this might incur cost. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param create_network_payload: Request a network creation. (required) @@ -1056,15 +967,9 @@ def _create_network_serialize( @validate_call def delete_network( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1080,11 +985,11 @@ def delete_network( Delete a network. If the network is still in use, the deletion will fail. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -1136,15 +1041,9 @@ def delete_network( @validate_call def delete_network_with_http_info( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1160,11 +1059,11 @@ def delete_network_with_http_info( Delete a network. If the network is still in use, the deletion will fail. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -1216,15 +1115,9 @@ def delete_network_with_http_info( @validate_call def delete_network_without_preload_content( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1240,11 +1133,11 @@ def delete_network_without_preload_content( Delete a network. If the network is still in use, the deletion will fail. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -1348,28 +1241,11 @@ def _delete_network_serialize( @validate_call def delete_route_from_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1385,15 +1261,15 @@ def delete_route_from_routing_table( Delete a route in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -1446,28 +1322,11 @@ def delete_route_from_routing_table( @validate_call def delete_route_from_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1483,15 +1342,15 @@ def delete_route_from_routing_table_with_http_info( Delete a route in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -1544,28 +1403,11 @@ def delete_route_from_routing_table_with_http_info( @validate_call def delete_route_from_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1581,15 +1423,15 @@ def delete_route_from_routing_table_without_preload_content( Delete a route in an existing routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -1700,25 +1542,10 @@ def _delete_route_from_routing_table_serialize( @validate_call def delete_routing_table_from_area( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1734,13 +1561,13 @@ def delete_routing_table_from_area( Delete a routing table of a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -1792,25 +1619,10 @@ def delete_routing_table_from_area( @validate_call def delete_routing_table_from_area_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1826,13 +1638,13 @@ def delete_routing_table_from_area_with_http_info( Delete a routing table of a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -1884,25 +1696,10 @@ def delete_routing_table_from_area_with_http_info( @validate_call def delete_routing_table_from_area_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1918,13 +1715,13 @@ def delete_routing_table_from_area_without_preload_content( Delete a routing table of a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -2031,15 +1828,9 @@ def _delete_routing_table_from_area_serialize( @validate_call def get_network( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2055,11 +1846,11 @@ def get_network( Get details about a network of a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -2110,15 +1901,9 @@ def get_network( @validate_call def get_network_with_http_info( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2134,11 +1919,11 @@ def get_network_with_http_info( Get details about a network of a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -2189,15 +1974,9 @@ def get_network_with_http_info( @validate_call def get_network_without_preload_content( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2213,11 +1992,11 @@ def get_network_without_preload_content( Get details about a network of a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_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 @@ -2320,28 +2099,11 @@ def _get_network_serialize( @validate_call def get_route_of_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2357,15 +2119,15 @@ def get_route_of_routing_table( Get details about a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -2418,28 +2180,11 @@ def get_route_of_routing_table( @validate_call def get_route_of_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2455,15 +2200,15 @@ def get_route_of_routing_table_with_http_info( Get details about a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -2516,28 +2261,11 @@ def get_route_of_routing_table_with_http_info( @validate_call def get_route_of_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2553,15 +2281,15 @@ def get_route_of_routing_table_without_preload_content( Get details about a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_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 @@ -2672,25 +2400,10 @@ def _get_route_of_routing_table_serialize( @validate_call def get_routing_table_of_area( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2706,13 +2419,13 @@ def get_routing_table_of_area( Get details about a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -2764,25 +2477,10 @@ def get_routing_table_of_area( @validate_call def get_routing_table_of_area_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2798,13 +2496,13 @@ def get_routing_table_of_area_with_http_info( Get details about a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -2856,25 +2554,10 @@ def get_routing_table_of_area_with_http_info( @validate_call def get_routing_table_of_area_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2890,13 +2573,13 @@ def get_routing_table_of_area_without_preload_content( Get details about a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -3003,10 +2686,7 @@ def _get_routing_table_of_area_serialize( @validate_call def list_networks( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -3024,7 +2704,7 @@ def list_networks( Get a list of all networks inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -3079,10 +2759,7 @@ def list_networks( @validate_call def list_networks_with_http_info( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -3100,7 +2777,7 @@ def list_networks_with_http_info( Get a list of all networks inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -3155,10 +2832,7 @@ def list_networks_with_http_info( @validate_call def list_networks_without_preload_content( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -3176,7 +2850,7 @@ def list_networks_without_preload_content( Get a list of all networks inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -3285,25 +2959,10 @@ def _list_networks_serialize( @validate_call def list_networks_of_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3319,13 +2978,13 @@ def list_networks_of_routing_table( Get a list of all networks in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -3377,25 +3036,10 @@ def list_networks_of_routing_table( @validate_call def list_networks_of_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3411,13 +3055,13 @@ def list_networks_of_routing_table_with_http_info( Get a list of all networks in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -3469,25 +3113,10 @@ def list_networks_of_routing_table_with_http_info( @validate_call def list_networks_of_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3503,13 +3132,13 @@ def list_networks_of_routing_table_without_preload_content( Get a list of all networks in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_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 @@ -3616,25 +3245,10 @@ def _list_networks_of_routing_table_serialize( @validate_call def list_routes_of_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ None, @@ -3651,13 +3265,13 @@ def list_routes_of_routing_table( Get a list of all routes in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param label_selector: Filter resources by labels. :type label_selector: str :param _request_timeout: timeout setting for this request. If one @@ -3712,25 +3326,10 @@ def list_routes_of_routing_table( @validate_call def list_routes_of_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ None, @@ -3747,13 +3346,13 @@ def list_routes_of_routing_table_with_http_info( Get a list of all routes in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param label_selector: Filter resources by labels. :type label_selector: str :param _request_timeout: timeout setting for this request. If one @@ -3808,25 +3407,10 @@ def list_routes_of_routing_table_with_http_info( @validate_call def list_routes_of_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ None, @@ -3843,13 +3427,13 @@ def list_routes_of_routing_table_without_preload_content( Get a list of all routes in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param label_selector: Filter resources by labels. :type label_selector: str :param _request_timeout: timeout setting for this request. If one @@ -3964,18 +3548,8 @@ def _list_routes_of_routing_table_serialize( @validate_call def list_routing_tables_of_area( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -3993,9 +3567,9 @@ def list_routing_tables_of_area( Get a list of all routing tables in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -4051,18 +3625,8 @@ def list_routing_tables_of_area( @validate_call def list_routing_tables_of_area_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -4080,9 +3644,9 @@ def list_routing_tables_of_area_with_http_info( Get a list of all routing tables in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -4138,18 +3702,8 @@ def list_routing_tables_of_area_with_http_info( @validate_call def list_routing_tables_of_area_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], label_selector: Annotated[Optional[StrictStr], Field(description="Filter resources by labels.")] = None, _request_timeout: Union[ @@ -4167,9 +3721,9 @@ def list_routing_tables_of_area_without_preload_content( Get a list of all routing tables in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param label_selector: Filter resources by labels. @@ -4282,15 +3836,9 @@ def _list_routing_tables_of_area_serialize( @validate_call def partial_update_network( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], partial_update_network_payload: Annotated[ PartialUpdateNetworkPayload, Field(description="Request an update of a network.") ], @@ -4309,11 +3857,11 @@ def partial_update_network( Update the settings of a network inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_id: UUID :param partial_update_network_payload: Request an update of a network. (required) :type partial_update_network_payload: PartialUpdateNetworkPayload :param _request_timeout: timeout setting for this request. If one @@ -4367,15 +3915,9 @@ def partial_update_network( @validate_call def partial_update_network_with_http_info( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], partial_update_network_payload: Annotated[ PartialUpdateNetworkPayload, Field(description="Request an update of a network.") ], @@ -4394,11 +3936,11 @@ def partial_update_network_with_http_info( Update the settings of a network inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_id: UUID :param partial_update_network_payload: Request an update of a network. (required) :type partial_update_network_payload: PartialUpdateNetworkPayload :param _request_timeout: timeout setting for this request. If one @@ -4452,15 +3994,9 @@ def partial_update_network_with_http_info( @validate_call def partial_update_network_without_preload_content( self, - project_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."), - ], + project_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Project.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - network_id: Annotated[ - str, - Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network."), - ], + network_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network.")], partial_update_network_payload: Annotated[ PartialUpdateNetworkPayload, Field(description="Request an update of a network.") ], @@ -4479,11 +4015,11 @@ def partial_update_network_without_preload_content( Update the settings of a network inside a project. :param project_id: The identifier (ID) of a STACKIT Project. (required) - :type project_id: str + :type project_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param network_id: The identifier (ID) of a STACKIT Network. (required) - :type network_id: str + :type network_id: UUID :param partial_update_network_payload: Request an update of a network. (required) :type partial_update_network_payload: PartialUpdateNetworkPayload :param _request_timeout: timeout setting for this request. If one @@ -4600,28 +4136,11 @@ def _partial_update_network_serialize( @validate_call def update_route_of_routing_table( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], update_route_of_routing_table_payload: Annotated[ UpdateRouteOfRoutingTablePayload, Field(description="Request an update of a route in a routing table.") ], @@ -4640,15 +4159,15 @@ def update_route_of_routing_table( Update a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_id: UUID :param update_route_of_routing_table_payload: Request an update of a route in a routing table. (required) :type update_route_of_routing_table_payload: UpdateRouteOfRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -4704,28 +4223,11 @@ def update_route_of_routing_table( @validate_call def update_route_of_routing_table_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], update_route_of_routing_table_payload: Annotated[ UpdateRouteOfRoutingTablePayload, Field(description="Request an update of a route in a routing table.") ], @@ -4744,15 +4246,15 @@ def update_route_of_routing_table_with_http_info( Update a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_id: UUID :param update_route_of_routing_table_payload: Request an update of a route in a routing table. (required) :type update_route_of_routing_table_payload: UpdateRouteOfRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -4808,28 +4310,11 @@ def update_route_of_routing_table_with_http_info( @validate_call def update_route_of_routing_table_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], - route_id: Annotated[ - str, Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Route.") - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], + route_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Route.")], update_route_of_routing_table_payload: Annotated[ UpdateRouteOfRoutingTablePayload, Field(description="Request an update of a route in a routing table.") ], @@ -4848,15 +4333,15 @@ def update_route_of_routing_table_without_preload_content( Update a route defined in a routing table. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param route_id: The identifier (ID) of a STACKIT Route. (required) - :type route_id: str + :type route_id: UUID :param update_route_of_routing_table_payload: Request an update of a route in a routing table. (required) :type update_route_of_routing_table_payload: UpdateRouteOfRoutingTablePayload :param _request_timeout: timeout setting for this request. If one @@ -4981,25 +4466,10 @@ def _update_route_of_routing_table_serialize( @validate_call def update_routing_table_of_area( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], update_routing_table_of_area_payload: Annotated[ UpdateRoutingTableOfAreaPayload, Field(description="Request an update of a routing table.") ], @@ -5018,13 +4488,13 @@ def update_routing_table_of_area( Update a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param update_routing_table_of_area_payload: Request an update of a routing table. (required) :type update_routing_table_of_area_payload: UpdateRoutingTableOfAreaPayload :param _request_timeout: timeout setting for this request. If one @@ -5079,25 +4549,10 @@ def update_routing_table_of_area( @validate_call def update_routing_table_of_area_with_http_info( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], update_routing_table_of_area_payload: Annotated[ UpdateRoutingTableOfAreaPayload, Field(description="Request an update of a routing table.") ], @@ -5116,13 +4571,13 @@ def update_routing_table_of_area_with_http_info( Update a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param update_routing_table_of_area_payload: Request an update of a routing table. (required) :type update_routing_table_of_area_payload: UpdateRoutingTableOfAreaPayload :param _request_timeout: timeout setting for this request. If one @@ -5177,25 +4632,10 @@ def update_routing_table_of_area_with_http_info( @validate_call def update_routing_table_of_area_without_preload_content( self, - organization_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Organization." - ), - ], - area_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Network Area." - ), - ], + organization_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Organization.")], + area_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Network Area.")], region: Annotated[StrictStr, Field(description="The STACKIT Region of the resources.")], - routing_table_id: Annotated[ - str, - Field( - min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Routing Table." - ), - ], + routing_table_id: Annotated[UUID, Field(description="The identifier (ID) of a STACKIT Routing Table.")], update_routing_table_of_area_payload: Annotated[ UpdateRoutingTableOfAreaPayload, Field(description="Request an update of a routing table.") ], @@ -5214,13 +4654,13 @@ def update_routing_table_of_area_without_preload_content( Update a routing table defined in a network area. :param organization_id: The identifier (ID) of a STACKIT Organization. (required) - :type organization_id: str + :type organization_id: UUID :param area_id: The identifier (ID) of a STACKIT Network Area. (required) - :type area_id: str + :type area_id: UUID :param region: The STACKIT Region of the resources. (required) :type region: str :param routing_table_id: The identifier (ID) of a STACKIT Routing Table. (required) - :type routing_table_id: str + :type routing_table_id: UUID :param update_routing_table_of_area_payload: Request an update of a routing table. (required) :type update_routing_table_of_area_payload: UpdateRoutingTableOfAreaPayload :param _request_timeout: timeout setting for this request. If one diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/__init__.py b/services/iaasalpha/src/stackit/iaasalpha/models/__init__.py index 11b4f249..0f049b22 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/__init__.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/__init__.py @@ -13,7 +13,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from stackit.iaasalpha.models.add_routes_to_routing_table_payload import ( AddRoutesToRoutingTablePayload, diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/add_routing_table_to_area_payload.py b/services/iaasalpha/src/stackit/iaasalpha/models/add_routing_table_to_area_payload.py index 770a1040..0106d413 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/add_routing_table_to_area_payload.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/add_routing_table_to_area_payload.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, StrictBool, field_validator from typing_extensions import Annotated, Self @@ -44,9 +45,7 @@ class AddRoutingTableToAreaPayload(BaseModel): description="A config setting for a routing table which allows propagation of dynamic routes to this routing table.", alias="dynamicRoutes", ) - id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( - default=None, description="Universally Unique Identifier (UUID)." - ) + id: Optional[UUID] = Field(default=None, description="Universally Unique Identifier (UUID).") labels: Optional[Dict[str, Any]] = Field( default=None, description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key.", diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_payload.py b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_payload.py index 66aa22f9..299972c3 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_payload.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_payload.py @@ -18,6 +18,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, StrictBool, field_validator from typing_extensions import Annotated, Self @@ -44,7 +45,7 @@ class CreateNetworkPayload(BaseModel): routed: Optional[StrictBool] = Field( default=None, description="Shows if the network is routed and therefore accessible from other networks." ) - routing_table_id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( + routing_table_id: Optional[UUID] = Field( default=None, description="Universally Unique Identifier (UUID).", alias="routingTableId" ) __properties: ClassVar[List[str]] = ["dhcp", "ipv4", "ipv6", "labels", "name", "routed", "routingTableId"] diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/network.py b/services/iaasalpha/src/stackit/iaasalpha/models/network.py index c4451f15..f9de7f0c 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/network.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/network.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, @@ -28,7 +29,7 @@ StrictStr, field_validator, ) -from typing_extensions import Annotated, Self +from typing_extensions import Self from stackit.iaasalpha.models.network_ipv4 import NetworkIPv4 from stackit.iaasalpha.models.network_ipv6 import NetworkIPv6 @@ -43,9 +44,7 @@ class Network(BaseModel): default=None, description="Date-time when resource was created.", alias="createdAt" ) dhcp: Optional[StrictBool] = Field(default=None, description="Enable or disable DHCP for a network.") - id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field( - description="Universally Unique Identifier (UUID)." - ) + id: UUID = Field(description="Universally Unique Identifier (UUID).") ipv4: Optional[NetworkIPv4] = None ipv6: Optional[NetworkIPv6] = None labels: Optional[Dict[str, Any]] = Field( @@ -56,7 +55,7 @@ class Network(BaseModel): routed: Optional[StrictBool] = Field( default=None, description="Shows if the network is routed and therefore accessible from other networks." ) - routing_table_id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( + routing_table_id: Optional[UUID] = Field( default=None, description="Universally Unique Identifier (UUID).", alias="routingTableId" ) status: StrictStr = Field( diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/partial_update_network_payload.py b/services/iaasalpha/src/stackit/iaasalpha/models/partial_update_network_payload.py index cb6fc534..6c3d957c 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/partial_update_network_payload.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/partial_update_network_payload.py @@ -18,6 +18,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, StrictBool, field_validator from typing_extensions import Annotated, Self @@ -44,7 +45,7 @@ class PartialUpdateNetworkPayload(BaseModel): routed: Optional[StrictBool] = Field( default=None, description="Shows if the network is routed and therefore accessible from other networks." ) - routing_table_id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( + routing_table_id: Optional[UUID] = Field( default=None, description="Universally Unique Identifier (UUID).", alias="routingTableId" ) __properties: ClassVar[List[str]] = ["dhcp", "ipv4", "ipv6", "labels", "name", "routed", "routingTableId"] diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/route.py b/services/iaasalpha/src/stackit/iaasalpha/models/route.py index 0ceb7def..3e7a0eef 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/route.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/route.py @@ -19,9 +19,10 @@ 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, field_validator -from typing_extensions import Annotated, Self +from typing_extensions import Self from stackit.iaasalpha.models.route_destination import RouteDestination from stackit.iaasalpha.models.route_nexthop import RouteNexthop @@ -36,9 +37,7 @@ class Route(BaseModel): default=None, description="Date-time when resource was created.", alias="createdAt" ) destination: RouteDestination - id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( - default=None, description="Universally Unique Identifier (UUID)." - ) + id: Optional[UUID] = Field(default=None, description="Universally Unique Identifier (UUID).") labels: Optional[Dict[str, Any]] = Field( default=None, description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key.", diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/routing_table.py b/services/iaasalpha/src/stackit/iaasalpha/models/routing_table.py index 03c330d3..90a1dad9 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/routing_table.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/routing_table.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, StrictBool, field_validator from typing_extensions import Annotated, Self @@ -44,9 +45,7 @@ class RoutingTable(BaseModel): description="A config setting for a routing table which allows propagation of dynamic routes to this routing table.", alias="dynamicRoutes", ) - id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field( - default=None, description="Universally Unique Identifier (UUID)." - ) + id: Optional[UUID] = Field(default=None, description="Universally Unique Identifier (UUID).") labels: Optional[Dict[str, Any]] = Field( default=None, description="Object that represents the labels of an object. Regex for keys: `^(?=.{1,63}$)([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]$`. Regex for values: `^(?=.{0,63}$)(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])*$`. Providing a `null` value for a key will remove that key.",