Skip to content
Merged
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
12 changes: 12 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,12 @@ def unmarshal_ACLRule(data: Any) -> ACLRule:
else:
args["description"] = None

field = data.get("region", None)
if field is not None:
args["region"] = field
else:
args["region"] = None

field = data.get("ip", None)
if field is not None:
args["ip"] = field
Expand Down Expand Up @@ -1145,6 +1151,12 @@ def unmarshal_ClusterType(data: Any) -> ClusterType:
else:
args["max_etcd_size"] = 0

field = data.get("region", None)
if field is not None:
args["region"] = field
else:
args["region"] = None

field = data.get("commitment_delay", None)
if field is not None:
args["commitment_delay"] = field
Expand Down
10 changes: 10 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@ class ACLRule:
Description of the ACL.
"""

region: ScwRegion
"""
Region of the ACL rule.
"""

ip: Optional[str] = None

scaleway_ranges: Optional[bool] = False
Expand Down Expand Up @@ -688,6 +693,11 @@ class ClusterType:
Maximum amount of data that can be stored in etcd for the offer.
"""

region: ScwRegion
"""
The region of the cluster type.
"""

commitment_delay: Optional[str] = None
"""
Time period during which you can no longer switch to a lower offer.
Expand Down
12 changes: 12 additions & 0 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,12 @@ def unmarshal_ACLRule(data: Any) -> ACLRule:
else:
args["description"] = None

field = data.get("region", None)
if field is not None:
args["region"] = field
else:
args["region"] = None

field = data.get("ip", None)
if field is not None:
args["ip"] = field
Expand Down Expand Up @@ -1145,6 +1151,12 @@ def unmarshal_ClusterType(data: Any) -> ClusterType:
else:
args["max_etcd_size"] = 0

field = data.get("region", None)
if field is not None:
args["region"] = field
else:
args["region"] = None

field = data.get("commitment_delay", None)
if field is not None:
args["commitment_delay"] = field
Expand Down
10 changes: 10 additions & 0 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,11 @@ class ACLRule:
Description of the ACL.
"""

region: ScwRegion
"""
Region of the ACL rule.
"""

ip: Optional[str] = None

scaleway_ranges: Optional[bool] = False
Expand Down Expand Up @@ -688,6 +693,11 @@ class ClusterType:
Maximum amount of data that can be stored in etcd for the offer.
"""

region: ScwRegion
"""
The region of the cluster type.
"""

commitment_delay: Optional[str] = None
"""
Time period during which you can no longer switch to a lower offer.
Expand Down
Loading