Skip to content

Commit d892940

Browse files
Generate resourcemanager
1 parent dab1abd commit d892940

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

services/resourcemanager/src/stackit/resourcemanager/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(self, configuration, header_name=None, header_value=None, cookie=No
8181
self.default_headers[header_name] = header_value
8282
self.cookie = cookie
8383
# Set default User-Agent.
84-
self.user_agent = "OpenAPI-Generator/1.0.0/python"
84+
self.user_agent = "stackit-sdk-python/resourcemanager"
8585

8686
def __enter__(self):
8787
return self

services/resourcemanager/src/stackit/resourcemanager/models/parent_list_inner.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ class ParentListInner(BaseModel):
2929
container_id: StrictStr = Field(
3030
description="User-friendly identifier of either organization or folder (will replace id).", alias="containerId"
3131
)
32-
container_parent_id: StrictStr = Field(
32+
container_parent_id: Optional[StrictStr] = Field(
33+
default=None,
3334
description="User-friendly parent identifier of either organization or folder (will replace parentId).",
3435
alias="containerParentId",
3536
)
3637
id: StrictStr = Field(description="Identifier.")
3738
name: StrictStr = Field(description="Parent container name.")
38-
parent_id: StrictStr = Field(description="Identifier of the parent resource container.", alias="parentId")
39+
parent_id: Optional[StrictStr] = Field(
40+
default=None, description="Identifier of the parent resource container.", alias="parentId"
41+
)
3942
type: StrictStr = Field(description="Parent container type.")
4043
__properties: ClassVar[List[str]] = ["containerId", "containerParentId", "id", "name", "parentId", "type"]
4144

0 commit comments

Comments
 (0)