From 1ad748208eeff6914736cd5de3fa971ef477ab4b Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 23 Jul 2024 08:02:54 +0000 Subject: [PATCH] feat: update generated APIs --- .../applesilicon/v1alpha1/marshalling.py | 8 ++++++++ .../scaleway_async/applesilicon/v1alpha1/types.py | 12 +++++++++++- .../scaleway/applesilicon/v1alpha1/marshalling.py | 8 ++++++++ scaleway/scaleway/applesilicon/v1alpha1/types.py | 12 +++++++++++- 4 files changed, 38 insertions(+), 2 deletions(-) diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py index 5b6da97b6..bc7908573 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/marshalling.py @@ -258,6 +258,14 @@ def unmarshal_Server(data: Any) -> Server: if field is not None: args["vnc_url"] = field + field = data.get("ssh_username", None) + if field is not None: + args["ssh_username"] = field + + field = data.get("sudo_password", None) + if field is not None: + args["sudo_password"] = field + field = data.get("status", None) if field is not None: args["status"] = field diff --git a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py index 32c0ae899..344ab5247 100644 --- a/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/applesilicon/v1alpha1/types.py @@ -212,7 +212,17 @@ class Server: vnc_url: str """ - URL of the VNC. + Vnc:// URL to access Apple Remote Desktop. + """ + + ssh_username: str + """ + SSH Username for remote shell. + """ + + sudo_password: str + """ + Admin password required to execute commands. """ status: ServerStatus diff --git a/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py b/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py index 5b6da97b6..bc7908573 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/marshalling.py @@ -258,6 +258,14 @@ def unmarshal_Server(data: Any) -> Server: if field is not None: args["vnc_url"] = field + field = data.get("ssh_username", None) + if field is not None: + args["ssh_username"] = field + + field = data.get("sudo_password", None) + if field is not None: + args["sudo_password"] = field + field = data.get("status", None) if field is not None: args["status"] = field diff --git a/scaleway/scaleway/applesilicon/v1alpha1/types.py b/scaleway/scaleway/applesilicon/v1alpha1/types.py index 32c0ae899..344ab5247 100644 --- a/scaleway/scaleway/applesilicon/v1alpha1/types.py +++ b/scaleway/scaleway/applesilicon/v1alpha1/types.py @@ -212,7 +212,17 @@ class Server: vnc_url: str """ - URL of the VNC. + Vnc:// URL to access Apple Remote Desktop. + """ + + ssh_username: str + """ + SSH Username for remote shell. + """ + + sudo_password: str + """ + Admin password required to execute commands. """ status: ServerStatus