Skip to content

Generator: Update SDK /services/iaasalpha #1210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class CreateNicPayload(BaseModel):
default=None, description="Object that represents an IP address."
)
ipv6: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Object that represents an IPv6 address."
default=None, description="String that represents an IPv6 address."
)
labels: Optional[Dict[str, Any]] = Field(
default=None,
Expand Down
2 changes: 1 addition & 1 deletion services/iaasalpha/src/stackit/iaasalpha/models/nic.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class NIC(BaseModel):
default=None, description="Object that represents an IP address."
)
ipv6: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Object that represents an IPv6 address."
default=None, description="String that represents an IPv6 address."
)
labels: Optional[Dict[str, Any]] = Field(
default=None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ class Project(BaseModel):
)
internet_access: Optional[StrictBool] = Field(default=None, alias="internetAccess")
openstack_project_id: Optional[Annotated[str, Field(min_length=32, strict=True, max_length=32)]] = Field(
default=None, description="The identifier (ID) of an OpenStack project.", alias="openstackProjectId"
default=None,
description="The identifier (ID) of the OpenStack project in the main region eu01.",
alias="openstackProjectId",
)
project_id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field(
description="Universally Unique Identifier (UUID).", alias="projectId"
Expand Down Expand Up @@ -115,10 +117,12 @@ def to_dict(self) -> Dict[str, Any]:
are ignored.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
* OpenAPI `readOnly` fields are excluded.
"""
excluded_fields: Set[str] = set(
[
"created_at",
"openstack_project_id",
"updated_at",
]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ServerNetwork(BaseModel):
default=None, description="Object that represents an IP address."
)
ipv6: Optional[Annotated[str, Field(strict=True)]] = Field(
default=None, description="Object that represents an IPv6 address."
default=None, description="String that represents an IPv6 address."
)
mac: Annotated[str, Field(strict=True)] = Field(description="Object that represents an MAC address.")
network_id: Annotated[str, Field(min_length=36, strict=True, max_length=36)] = Field(
Expand Down
Loading