Skip to content

Commit 04b95e5

Browse files
Generate sfs
1 parent a2da9d6 commit 04b95e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+76
-544
lines changed

services/sfs/oas_commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
031ff7117541bde58d4c349de06540db30a96cc6

services/sfs/src/stackit/sfs/__init__.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
API used to create and manage NFS Shares.
99
10-
The version of the OpenAPI document: 1beta.0.0
10+
The version of the OpenAPI document: 1.0.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -48,7 +48,6 @@
4848
"ListResourcePoolsResponse",
4949
"ListShareExportPoliciesResponse",
5050
"ListSharesResponse",
51-
"ListSnapshotSchedulesResponse",
5251
"PerformanceClass",
5352
"ResourcePool",
5453
"ResourcePoolPerformanceClass",
@@ -57,7 +56,6 @@
5756
"Share",
5857
"ShareExportPolicy",
5958
"ShareExportPolicyRule",
60-
"SnapshotSchedule",
6159
"Status",
6260
"UpdateResourcePoolPayload",
6361
"UpdateResourcePoolResponse",
@@ -141,9 +139,6 @@
141139
from stackit.sfs.models.list_shares_response import (
142140
ListSharesResponse as ListSharesResponse,
143141
)
144-
from stackit.sfs.models.list_snapshot_schedules_response import (
145-
ListSnapshotSchedulesResponse as ListSnapshotSchedulesResponse,
146-
)
147142
from stackit.sfs.models.performance_class import PerformanceClass as PerformanceClass
148143
from stackit.sfs.models.resource_pool import ResourcePool as ResourcePool
149144
from stackit.sfs.models.resource_pool_performance_class import (
@@ -162,7 +157,6 @@
162157
from stackit.sfs.models.share_export_policy_rule import (
163158
ShareExportPolicyRule as ShareExportPolicyRule,
164159
)
165-
from stackit.sfs.models.snapshot_schedule import SnapshotSchedule as SnapshotSchedule
166160
from stackit.sfs.models.status import Status as Status
167161
from stackit.sfs.models.update_resource_pool_payload import (
168162
UpdateResourcePoolPayload as UpdateResourcePoolPayload,

services/sfs/src/stackit/sfs/api/default_api.py

Lines changed: 24 additions & 264 deletions
Large diffs are not rendered by default.

services/sfs/src/stackit/sfs/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/sfs/src/stackit/sfs/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/sfs/src/stackit/sfs/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
API used to create and manage NFS Shares.
88
9-
The version of the OpenAPI document: 1beta.0.0
9+
The version of the OpenAPI document: 1.0.0
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.
@@ -54,9 +54,6 @@
5454
ListShareExportPoliciesResponse,
5555
)
5656
from stackit.sfs.models.list_shares_response import ListSharesResponse
57-
from stackit.sfs.models.list_snapshot_schedules_response import (
58-
ListSnapshotSchedulesResponse,
59-
)
6057
from stackit.sfs.models.performance_class import PerformanceClass
6158
from stackit.sfs.models.resource_pool import ResourcePool
6259
from stackit.sfs.models.resource_pool_performance_class import (
@@ -67,7 +64,6 @@
6764
from stackit.sfs.models.share import Share
6865
from stackit.sfs.models.share_export_policy import ShareExportPolicy
6966
from stackit.sfs.models.share_export_policy_rule import ShareExportPolicyRule
70-
from stackit.sfs.models.snapshot_schedule import SnapshotSchedule
7167
from stackit.sfs.models.status import Status
7268
from stackit.sfs.models.update_resource_pool_payload import UpdateResourcePoolPayload
7369
from stackit.sfs.models.update_resource_pool_response import UpdateResourcePoolResponse

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

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -33,27 +33,19 @@ class CreateResourcePoolPayload(BaseModel):
3333
CreateResourcePoolPayload
3434
""" # noqa: E501
3535

36-
availability_zone: Optional[StrictStr] = Field(
37-
default=None, description="Availability zone", alias="availabilityZone"
38-
)
39-
ip_acl: Optional[List[StrictStr]] = Field(
40-
default=None,
36+
availability_zone: StrictStr = Field(description="Availability zone", alias="availabilityZone")
37+
ip_acl: List[StrictStr] = Field(
4138
description='List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP)',
4239
alias="ipAcl",
4340
)
4441
labels: Optional[Dict[str, StrictStr]] = Field(
4542
default=None,
4643
description="An optional object that represents the labels associated with the resource pool 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}_-]*$'",
4744
)
48-
name: Optional[StrictStr] = Field(default=None, description="Name of the Resource Pool")
49-
performance_class: Optional[StrictStr] = Field(
50-
default=None, description="Name of the performance class", alias="performanceClass"
51-
)
52-
size_gigabytes: Optional[StrictInt] = Field(
53-
default=None, description="Size of the Resource Pool (unit: gibibytes)", alias="sizeGigabytes"
54-
)
55-
snapshot_schedule_name: Optional[StrictStr] = Field(
56-
default=None, description="(optional) Name of the Snapshot Schedule to use", alias="snapshotScheduleName"
45+
name: StrictStr = Field(description="Name of the Resource Pool")
46+
performance_class: StrictStr = Field(description="Name of the performance class", alias="performanceClass")
47+
size_gigabytes: StrictInt = Field(
48+
description="Size of the Resource Pool (unit: gibibytes)", alias="sizeGigabytes"
5749
)
5850
snapshots_are_visible: Optional[StrictBool] = Field(
5951
default=None,
@@ -67,7 +59,6 @@ class CreateResourcePoolPayload(BaseModel):
6759
"name",
6860
"performanceClass",
6961
"sizeGigabytes",
70-
"snapshotScheduleName",
7162
"snapshotsAreVisible",
7263
]
7364

@@ -127,7 +118,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
127118
"name": obj.get("name"),
128119
"performanceClass": obj.get("performanceClass"),
129120
"sizeGigabytes": obj.get("sizeGigabytes"),
130-
"snapshotScheduleName": obj.get("snapshotScheduleName"),
131121
"snapshotsAreVisible": obj.get("snapshotsAreVisible"),
132122
}
133123
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
API used to create and manage NFS Shares.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)