Skip to content

Commit 9b27e21

Browse files
committed
feat: update generated APIs
1 parent f33f7ff commit 9b27e21

File tree

14 files changed

+5932
-0
lines changed

14 files changed

+5932
-0
lines changed

scaleway-async/scaleway_async/baremetal/v1/marshalling.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,12 @@ def unmarshal_ServerInstall(data: Any) -> ServerInstall:
894894
if field is not None:
895895
args["service_url"] = field
896896

897+
field = data.get("partitioning_schema", None)
898+
if field is not None:
899+
args["partitioning_schema"] = unmarshal_Schema(field)
900+
else:
901+
args["partitioning_schema"] = None
902+
897903
return ServerInstall(**args)
898904

899905

@@ -1519,6 +1525,11 @@ def marshal_CreateServerRequestInstall(
15191525
if request.service_password is not None:
15201526
output["service_password"] = request.service_password
15211527

1528+
if request.partitioning_schema is not None:
1529+
output["partitioning_schema"] = marshal_Schema(
1530+
request.partitioning_schema, defaults
1531+
)
1532+
15221533
return output
15231534

15241535

@@ -1592,6 +1603,11 @@ def marshal_InstallServerRequest(
15921603
if request.service_password is not None:
15931604
output["service_password"] = request.service_password
15941605

1606+
if request.partitioning_schema is not None:
1607+
output["partitioning_schema"] = marshal_Schema(
1608+
request.partitioning_schema, defaults
1609+
)
1610+
15951611
return output
15961612

15971613

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file was automatically generated. DO NOT EDIT.
2+
# If you have any remark or suggestion do not hesitate to open an issue.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# This file was automatically generated. DO NOT EDIT.
2+
# If you have any remark or suggestion do not hesitate to open an issue.
3+
from .types import InstanceStatus
4+
from .content import INSTANCE_TRANSIENT_STATUSES
5+
from .types import ListInstancesRequestOrderBy
6+
from .types import ListSnapshotsRequestOrderBy
7+
from .types import ListUsersRequestOrderBy
8+
from .types import NodeTypeStock
9+
from .types import SettingPropertyType
10+
from .types import SnapshotStatus
11+
from .content import SNAPSHOT_TRANSIENT_STATUSES
12+
from .types import VolumeType
13+
from .types import EndpointPrivateNetworkDetails
14+
from .types import EndpointPublicDetails
15+
from .types import EndpointSpecPrivateNetworkDetails
16+
from .types import EndpointSpecPublicDetails
17+
from .types import Endpoint
18+
from .types import InstanceSetting
19+
from .types import Volume
20+
from .types import NodeTypeVolumeType
21+
from .types import SnapshotVolumeType
22+
from .types import Setting
23+
from .types import CreateInstanceRequestVolumeDetails
24+
from .types import EndpointSpec
25+
from .types import Instance
26+
from .types import NodeType
27+
from .types import Snapshot
28+
from .types import User
29+
from .types import Version
30+
from .types import RestoreSnapshotRequestVolumeDetails
31+
from .types import CreateInstanceRequest
32+
from .types import CreateSnapshotRequest
33+
from .types import DeleteInstanceRequest
34+
from .types import DeleteSnapshotRequest
35+
from .types import GetInstanceCertificateRequest
36+
from .types import GetInstanceRequest
37+
from .types import ListInstancesRequest
38+
from .types import ListInstancesResponse
39+
from .types import ListNodeTypesRequest
40+
from .types import ListNodeTypesResponse
41+
from .types import ListSnapshotsRequest
42+
from .types import ListSnapshotsResponse
43+
from .types import ListUsersRequest
44+
from .types import ListUsersResponse
45+
from .types import ListVersionsRequest
46+
from .types import ListVersionsResponse
47+
from .types import RestoreSnapshotRequest
48+
from .types import UpdateInstanceRequest
49+
from .types import UpdateSnapshotRequest
50+
from .types import UpdateUserRequest
51+
from .types import UpgradeInstanceRequest
52+
from .api import MongodbV1Alpha1API
53+
54+
__all__ = [
55+
"InstanceStatus",
56+
"INSTANCE_TRANSIENT_STATUSES",
57+
"ListInstancesRequestOrderBy",
58+
"ListSnapshotsRequestOrderBy",
59+
"ListUsersRequestOrderBy",
60+
"NodeTypeStock",
61+
"SettingPropertyType",
62+
"SnapshotStatus",
63+
"SNAPSHOT_TRANSIENT_STATUSES",
64+
"VolumeType",
65+
"EndpointPrivateNetworkDetails",
66+
"EndpointPublicDetails",
67+
"EndpointSpecPrivateNetworkDetails",
68+
"EndpointSpecPublicDetails",
69+
"Endpoint",
70+
"InstanceSetting",
71+
"Volume",
72+
"NodeTypeVolumeType",
73+
"SnapshotVolumeType",
74+
"Setting",
75+
"CreateInstanceRequestVolumeDetails",
76+
"EndpointSpec",
77+
"Instance",
78+
"NodeType",
79+
"Snapshot",
80+
"User",
81+
"Version",
82+
"RestoreSnapshotRequestVolumeDetails",
83+
"CreateInstanceRequest",
84+
"CreateSnapshotRequest",
85+
"DeleteInstanceRequest",
86+
"DeleteSnapshotRequest",
87+
"GetInstanceCertificateRequest",
88+
"GetInstanceRequest",
89+
"ListInstancesRequest",
90+
"ListInstancesResponse",
91+
"ListNodeTypesRequest",
92+
"ListNodeTypesResponse",
93+
"ListSnapshotsRequest",
94+
"ListSnapshotsResponse",
95+
"ListUsersRequest",
96+
"ListUsersResponse",
97+
"ListVersionsRequest",
98+
"ListVersionsResponse",
99+
"RestoreSnapshotRequest",
100+
"UpdateInstanceRequest",
101+
"UpdateSnapshotRequest",
102+
"UpdateUserRequest",
103+
"UpgradeInstanceRequest",
104+
"MongodbV1Alpha1API",
105+
]

0 commit comments

Comments
 (0)