Skip to content

Commit 75f3d26

Browse files
Generate sfs
1 parent 3e97df2 commit 75f3d26

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

services/sfs/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9916269dab33d42aa2f1a5f30c80b954b6c1221f
1+
32f3092b6471d07c7e6a4de35ee7bba6f9e12511

services/sfs/src/stackit/sfs/models/create_share_export_policy_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CreateShareExportPolicyPayload(BaseModel):
3434
default=None,
3535
description="An optional object that represents the labels associated with the share export policy keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'",
3636
)
37-
name: Optional[StrictStr] = Field(default=None, description="Name of the Share Export Policy")
37+
name: StrictStr = Field(description="Name of the Share Export Policy")
3838
rules: Optional[List[CreateShareExportPolicyRequestRule]] = Field(
3939
default=None,
4040
description='List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule',

services/sfs/src/stackit/sfs/models/create_share_payload.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ class CreateSharePayload(BaseModel):
3535
default=None,
3636
description="An optional object that represents the labels associated with the share keys are validated using the following regex '^[\\\\p{Ll}][\\\\p{Ll}\\\\p{N}_-]*$' and cannot be empty values are validated using the following regex '^[\\\\p{Ll}\\\\p{N}_-]*$'",
3737
)
38-
name: Optional[StrictStr] = Field(default=None, description="Name of the Share")
39-
space_hard_limit_gigabytes: Optional[StrictInt] = Field(
40-
default=None,
38+
name: StrictStr = Field(description="Name of the Share")
39+
space_hard_limit_gigabytes: StrictInt = Field(
4140
description="Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes)",
4241
alias="spaceHardLimitGigabytes",
4342
)

0 commit comments

Comments
 (0)