Skip to content

Commit 8f04f9e

Browse files
Generate iaasalpha (#1276)
1 parent 8f71ab5 commit 8f04f9e

14 files changed

+25
-25
lines changed

services/iaasalpha/src/stackit/iaasalpha/models/base_security_group_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class BaseSecurityGroupRule(BaseModel):
3131
The base schema for a security group rule.
3232
"""
3333

34-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
35-
default=None, description="Description Object. Allows string up to 127 Characters."
34+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
35+
default=None, description="Description Object. Allows string up to 255 Characters."
3636
)
3737
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3838
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaasalpha/src/stackit/iaasalpha/models/create_security_group_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class CreateSecurityGroupPayload(BaseModel):
3434
created_at: Optional[datetime] = Field(
3535
default=None, description="Date-time when resource was created.", alias="createdAt"
3636
)
37-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
38-
default=None, description="Description Object. Allows string up to 127 Characters."
37+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
38+
default=None, description="Description Object. Allows string up to 255 Characters."
3939
)
4040
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
4141
default=None, description="Universally Unique Identifier (UUID)."

services/iaasalpha/src/stackit/iaasalpha/models/create_security_group_rule_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class CreateSecurityGroupRulePayload(BaseModel):
3232
Object that represents a request body for security group rule creation.
3333
"""
3434

35-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
36-
default=None, description="Description Object. Allows string up to 127 Characters."
35+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
36+
default=None, description="Description Object. Allows string up to 255 Characters."
3737
)
3838
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3939
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaasalpha/src/stackit/iaasalpha/models/create_server_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class CreateServerPayload(BaseModel):
9999
)
100100
status: Optional[StrictStr] = Field(
101101
default=None,
102-
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
102+
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
103103
)
104104
updated_at: Optional[datetime] = Field(
105105
default=None, description="Date-time when resource was last updated.", alias="updatedAt"

services/iaasalpha/src/stackit/iaasalpha/models/create_volume_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class CreateVolumePayload(BaseModel):
4747
created_at: Optional[datetime] = Field(
4848
default=None, description="Date-time when resource was created.", alias="createdAt"
4949
)
50-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
51-
default=None, description="Description Object. Allows string up to 127 Characters."
50+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
51+
default=None, description="Description Object. Allows string up to 255 Characters."
5252
)
5353
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
5454
default=None, description="Universally Unique Identifier (UUID)."

services/iaasalpha/src/stackit/iaasalpha/models/machine_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class MachineType(BaseModel):
2828
Machine Type. Filterable Fields: `disk`, `extraSpecs`, `name`, `ram`, `vcpus`.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
disk: StrictInt = Field(description="Size in Gigabyte.")
3535
extra_specs: Optional[Dict[str, Any]] = Field(

services/iaasalpha/src/stackit/iaasalpha/models/network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Network(BaseModel):
5151
default=None,
5252
description="Object that represents the labels of an object. Regex for keys: `^[a-z]((-|_|[a-z0-9])){0,62}$`. Regex for values: `^(-|_|[a-z0-9]){0,63}$`.",
5353
)
54-
name: StrictStr
54+
name: Annotated[str, Field(strict=True, max_length=255)]
5555
nameservers: Optional[Annotated[List[Annotated[str, Field(strict=True)]], Field(max_length=3)]] = Field(
5656
default=None, description="A list containing DNS Servers/Nameservers for IPv4."
5757
)

services/iaasalpha/src/stackit/iaasalpha/models/security_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class SecurityGroup(BaseModel):
3434
created_at: Optional[datetime] = Field(
3535
default=None, description="Date-time when resource was created.", alias="createdAt"
3636
)
37-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
38-
default=None, description="Description Object. Allows string up to 127 Characters."
37+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
38+
default=None, description="Description Object. Allows string up to 255 Characters."
3939
)
4040
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
4141
default=None, description="Universally Unique Identifier (UUID)."

services/iaasalpha/src/stackit/iaasalpha/models/security_group_rule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class SecurityGroupRule(BaseModel):
3232
Object that represents a security group rule.
3333
"""
3434

35-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
36-
default=None, description="Description Object. Allows string up to 127 Characters."
35+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
36+
default=None, description="Description Object. Allows string up to 255 Characters."
3737
)
3838
direction: StrictStr = Field(description="The direction of the traffic which the rule should match.")
3939
ethertype: Optional[StrictStr] = Field(default="IPv4", description="The ethertype which the rule should match.")

services/iaasalpha/src/stackit/iaasalpha/models/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class Server(BaseModel):
9999
)
100100
status: Optional[StrictStr] = Field(
101101
default=None,
102-
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
102+
description="The status of a server object. Possible values: `ACTIVE`, `BACKING-UP`, `CREATING`, `DEALLOCATED`, `DEALLOCATING`, `DELETED`, `DELETING`, `ERROR`, `INACTIVE`, `MIGRATING`, `PAUSED`, `REBOOT`, `REBOOTING`, `REBUILD`, `REBUILDING`, `RESCUE`, `RESCUING`, `RESIZING`, `RESTORING`, `SNAPSHOTTING`, `STARTING`, `STOPPING`, `UNRESCUING`, `UPDATING`.",
103103
)
104104
updated_at: Optional[datetime] = Field(
105105
default=None, description="Date-time when resource was last updated.", alias="updatedAt"

services/iaasalpha/src/stackit/iaasalpha/models/update_security_group_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class UpdateSecurityGroupPayload(BaseModel):
2828
Object that represents an update request body of a security group.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
labels: Optional[Dict[str, Any]] = Field(
3535
default=None,

services/iaasalpha/src/stackit/iaasalpha/models/update_volume_payload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class UpdateVolumePayload(BaseModel):
3131
"""
3232

3333
bootable: Optional[StrictBool] = Field(default=None, description="Indicates if a volume is bootable.")
34-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
35-
default=None, description="Description Object. Allows string up to 127 Characters."
34+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
35+
default=None, description="Description Object. Allows string up to 255 Characters."
3636
)
3737
image_config: Optional[ImageConfig] = Field(default=None, alias="imageConfig")
3838
labels: Optional[Dict[str, Any]] = Field(

services/iaasalpha/src/stackit/iaasalpha/models/volume.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ class Volume(BaseModel):
4747
created_at: Optional[datetime] = Field(
4848
default=None, description="Date-time when resource was created.", alias="createdAt"
4949
)
50-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
51-
default=None, description="Description Object. Allows string up to 127 Characters."
50+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
51+
default=None, description="Description Object. Allows string up to 255 Characters."
5252
)
5353
id: Optional[Annotated[str, Field(min_length=36, strict=True, max_length=36)]] = Field(
5454
default=None, description="Universally Unique Identifier (UUID)."

services/iaasalpha/src/stackit/iaasalpha/models/volume_performance_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class VolumePerformanceClass(BaseModel):
2828
Object that represents a Volume performance class.
2929
"""
3030

31-
description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
32-
default=None, description="Description Object. Allows string up to 127 Characters."
31+
description: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
32+
default=None, description="Description Object. Allows string up to 255 Characters."
3333
)
3434
iops: Optional[StrictInt] = Field(default=None, description="Input/Output Operations per second.")
3535
labels: Optional[Dict[str, Any]] = Field(

0 commit comments

Comments
 (0)