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
3 changes: 3 additions & 0 deletions scaleway-async/scaleway_async/baremetal/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ def unmarshal_OS(data: Any) -> OS:

args: Dict[str, Any] = {}

field = data.get("allowed")
args["allowed"] = field

field = data.get("enabled")
args["enabled"] = field

Expand Down
7 changes: 6 additions & 1 deletion scaleway-async/scaleway_async/baremetal/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,14 +518,19 @@ class OS:

enabled: bool
"""
State of OS.
Defines if the operating system is enabled or not.
"""

license_required: bool
"""
License required (check server options for pricing details).
"""

allowed: bool
"""
Defines if a specific Organization is allowed to install this OS type.
"""


@dataclass
class OSOSField:
Expand Down
3 changes: 3 additions & 0 deletions scaleway/scaleway/baremetal/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ def unmarshal_OS(data: Any) -> OS:

args: Dict[str, Any] = {}

field = data.get("allowed")
args["allowed"] = field

field = data.get("enabled")
args["enabled"] = field

Expand Down
7 changes: 6 additions & 1 deletion scaleway/scaleway/baremetal/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,14 +518,19 @@ class OS:

enabled: bool
"""
State of OS.
Defines if the operating system is enabled or not.
"""

license_required: bool
"""
License required (check server options for pricing details).
"""

allowed: bool
"""
Defines if a specific Organization is allowed to install this OS type.
"""


@dataclass
class OSOSField:
Expand Down