From 86491fe7490d3ebc5e7b2252dfaf38b4bf04d6a6 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 21 Jan 2026 14:26:16 +0000 Subject: [PATCH] Generate resourcemanager --- .../resourcemanager/src/stackit/resourcemanager/__init__.py | 1 - .../src/stackit/resourcemanager/models/__init__.py | 1 - .../resourcemanager/models/container_search_result.py | 5 +++-- .../src/stackit/resourcemanager/models/folder_response.py | 3 ++- .../resourcemanager/models/get_folder_details_response.py | 3 ++- .../stackit/resourcemanager/models/get_project_response.py | 3 ++- .../models/list_folders_response_items_inner.py | 3 ++- .../models/list_organizations_response_items_inner.py | 3 ++- .../stackit/resourcemanager/models/organization_response.py | 3 ++- .../src/stackit/resourcemanager/models/parent.py | 3 ++- .../src/stackit/resourcemanager/models/parent_list_inner.py | 5 +++-- .../src/stackit/resourcemanager/models/project.py | 3 ++- 12 files changed, 22 insertions(+), 14 deletions(-) diff --git a/services/resourcemanager/src/stackit/resourcemanager/__init__.py b/services/resourcemanager/src/stackit/resourcemanager/__init__.py index 8c7174af..c77cfd20 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/__init__.py +++ b/services/resourcemanager/src/stackit/resourcemanager/__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/resourcemanager/src/stackit/resourcemanager/models/__init__.py b/services/resourcemanager/src/stackit/resourcemanager/models/__init__.py index 3863939a..056d5b60 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/__init__.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/__init__.py @@ -12,7 +12,6 @@ Do not edit the class manually. """ # noqa: E501 - # import models into model package from stackit.resourcemanager.models.container_search_result import ContainerSearchResult from stackit.resourcemanager.models.create_folder_payload import CreateFolderPayload diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/container_search_result.py b/services/resourcemanager/src/stackit/resourcemanager/models/container_search_result.py index bbe9b4c0..7d94e961 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/container_search_result.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/container_search_result.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, field_validator from typing_extensions import Self @@ -30,10 +31,10 @@ class ContainerSearchResult(BaseModel): container_id: StrictStr = Field(description="Globally unique user-friendly identifier.", alias="containerId") container_type: StrictStr = Field(description="Resource container type.", alias="containerType") - id: StrictStr = Field(description="Globally unique identifier.") + id: UUID = Field(description="Globally unique identifier.") lifecycle_state: Optional[LifecycleState] = Field(default=None, alias="lifecycleState") name: StrictStr = Field(description="Resource container name.") - organization_id: Optional[StrictStr] = Field( + organization_id: Optional[UUID] = Field( default=None, description="Id of the organization the container is in.", alias="organizationId" ) __properties: ClassVar[List[str]] = [ diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/folder_response.py b/services/resourcemanager/src/stackit/resourcemanager/models/folder_response.py index 4be9e699..46cdd112 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/folder_response.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/folder_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 Self @@ -32,7 +33,7 @@ class FolderResponse(BaseModel): container_id: StrictStr = Field(description="Globally unique, user-friendly identifier.", alias="containerId") creation_time: datetime = Field(description="Timestamp at which the folder was created.", alias="creationTime") - folder_id: StrictStr = Field(description="Globally unique folder identifier.", alias="folderId") + folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId") labels: Optional[Dict[str, StrictStr]] = Field( default=None, description="Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.", diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/get_folder_details_response.py b/services/resourcemanager/src/stackit/resourcemanager/models/get_folder_details_response.py index d61ad3e0..cd1b30fe 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/get_folder_details_response.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/get_folder_details_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 Self @@ -33,7 +34,7 @@ class GetFolderDetailsResponse(BaseModel): container_id: StrictStr = Field(description="Globally unique user-friendly identifier.", alias="containerId") creation_time: datetime = Field(description="Timestamp at which the folder was created.", alias="creationTime") - folder_id: StrictStr = Field(description="Globally unique folder identifier.", alias="folderId") + folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId") labels: Optional[Dict[str, StrictStr]] = Field( default=None, description="Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.", diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/get_project_response.py b/services/resourcemanager/src/stackit/resourcemanager/models/get_project_response.py index 1b03014d..b52bb2a6 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/get_project_response.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/get_project_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 Self @@ -42,7 +43,7 @@ class GetProjectResponse(BaseModel): name: StrictStr = Field(description="Project name.") parent: Parent parents: Optional[List[ParentListInner]] = None - project_id: StrictStr = Field(description="Globally unique identifier.", alias="projectId") + project_id: UUID = Field(description="Globally unique identifier.", alias="projectId") update_time: datetime = Field(description="Timestamp at which the project was last modified.", alias="updateTime") __properties: ClassVar[List[str]] = [ "containerId", diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/list_folders_response_items_inner.py b/services/resourcemanager/src/stackit/resourcemanager/models/list_folders_response_items_inner.py index a2737ff6..875cc4aa 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/list_folders_response_items_inner.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/list_folders_response_items_inner.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 Self @@ -32,7 +33,7 @@ class ListFoldersResponseItemsInner(BaseModel): container_id: StrictStr = Field(description="Globally unique folder identifier.", alias="containerId") creation_time: datetime = Field(description="Timestamp at which the folder was created.", alias="creationTime") - folder_id: StrictStr = Field(description="Globally unique folder identifier.", alias="folderId") + folder_id: UUID = Field(description="Globally unique folder identifier.", alias="folderId") labels: Optional[Dict[str, StrictStr]] = Field( default=None, description="Labels are key-value string pairs that can be attached to a resource container. Some labels may be enforced via policies. - A label key must match the regex `[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`. - A label value must match the regex `^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}`.", diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/list_organizations_response_items_inner.py b/services/resourcemanager/src/stackit/resourcemanager/models/list_organizations_response_items_inner.py index f1673628..55f38a63 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/list_organizations_response_items_inner.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/list_organizations_response_items_inner.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 Self @@ -40,7 +41,7 @@ class ListOrganizationsResponseItemsInner(BaseModel): ) lifecycle_state: LifecycleState = Field(alias="lifecycleState") name: StrictStr = Field(description="Name of the organization.") - organization_id: StrictStr = Field(description="Globally unique, organization identifier.", alias="organizationId") + organization_id: UUID = Field(description="Globally unique, organization identifier.", alias="organizationId") update_time: datetime = Field( description="Timestamp at which the organization was last modified.", alias="updateTime" ) diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/organization_response.py b/services/resourcemanager/src/stackit/resourcemanager/models/organization_response.py index 5fdf3e73..4502c4e5 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/organization_response.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/organization_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 Self @@ -40,7 +41,7 @@ class OrganizationResponse(BaseModel): ) lifecycle_state: LifecycleState = Field(alias="lifecycleState") name: StrictStr = Field(description="Organization name.") - organization_id: StrictStr = Field(description="Globally unique, organization identifier.", alias="organizationId") + organization_id: UUID = Field(description="Globally unique, organization identifier.", alias="organizationId") update_time: datetime = Field( description="Timestamp at which the organization was last modified.", alias="updateTime" ) diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/parent.py b/services/resourcemanager/src/stackit/resourcemanager/models/parent.py index 5b4d7df8..20896229 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/parent.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/parent.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, field_validator from typing_extensions import Self @@ -29,7 +30,7 @@ class Parent(BaseModel): container_id: StrictStr = Field( description="User-friendly identifier of either organization or folder (will replace id).", alias="containerId" ) - id: StrictStr = Field(description="Identifier of either organization or folder.") + id: UUID = Field(description="Identifier of either organization or folder.") type: StrictStr = Field(description="Container type of parent container.") __properties: ClassVar[List[str]] = ["containerId", "id", "type"] diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/parent_list_inner.py b/services/resourcemanager/src/stackit/resourcemanager/models/parent_list_inner.py index f84fb42b..6484436a 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/parent_list_inner.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/parent_list_inner.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, field_validator from typing_extensions import Self @@ -34,9 +35,9 @@ class ParentListInner(BaseModel): description="User-friendly parent identifier of either organization or folder (will replace parentId).", alias="containerParentId", ) - id: StrictStr = Field(description="Identifier.") + id: UUID = Field(description="Identifier.") name: StrictStr = Field(description="Parent container name.") - parent_id: Optional[StrictStr] = Field( + parent_id: Optional[UUID] = Field( default=None, description="Identifier of the parent resource container.", alias="parentId" ) type: StrictStr = Field(description="Parent container type.") diff --git a/services/resourcemanager/src/stackit/resourcemanager/models/project.py b/services/resourcemanager/src/stackit/resourcemanager/models/project.py index a04829a9..22827300 100644 --- a/services/resourcemanager/src/stackit/resourcemanager/models/project.py +++ b/services/resourcemanager/src/stackit/resourcemanager/models/project.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 Self @@ -40,7 +41,7 @@ class Project(BaseModel): lifecycle_state: LifecycleState = Field(alias="lifecycleState") name: StrictStr = Field(description="Project name.") parent: Parent - project_id: StrictStr = Field(description="Globally unique, project identifier.", alias="projectId") + project_id: UUID = Field(description="Globally unique, project identifier.", alias="projectId") update_time: datetime = Field(description="Timestamp at which the project was last modified.", alias="updateTime") __properties: ClassVar[List[str]] = [ "containerId",