diff --git a/scaleway-async/scaleway_async/webhosting/v1/marshalling.py b/scaleway-async/scaleway_async/webhosting/v1/marshalling.py index 0074ebae7..99221035a 100644 --- a/scaleway-async/scaleway_async/webhosting/v1/marshalling.py +++ b/scaleway-async/scaleway_async/webhosting/v1/marshalling.py @@ -650,6 +650,14 @@ def unmarshal_HostingSummary(data: Any) -> HostingSummary: if field is not None: args["protected"] = field + field = data.get("dns_status", None) + if field is not None: + args["dns_status"] = field + + field = data.get("offer_name", None) + if field is not None: + args["offer_name"] = field + field = data.get("region", None) if field is not None: args["region"] = field diff --git a/scaleway-async/scaleway_async/webhosting/v1/types.py b/scaleway-async/scaleway_async/webhosting/v1/types.py index b15201cea..1202b2331 100644 --- a/scaleway-async/scaleway_async/webhosting/v1/types.py +++ b/scaleway-async/scaleway_async/webhosting/v1/types.py @@ -503,6 +503,16 @@ class HostingSummary: Whether the hosting is protected or not. """ + dns_status: DnsRecordsStatus + """ + DNS status of the Web Hosting plan. + """ + + offer_name: str + """ + Name of the active offer for the Web Hosting plan. + """ + region: Region """ Region where the Web Hosting plan is hosted. diff --git a/scaleway/scaleway/webhosting/v1/marshalling.py b/scaleway/scaleway/webhosting/v1/marshalling.py index 0074ebae7..99221035a 100644 --- a/scaleway/scaleway/webhosting/v1/marshalling.py +++ b/scaleway/scaleway/webhosting/v1/marshalling.py @@ -650,6 +650,14 @@ def unmarshal_HostingSummary(data: Any) -> HostingSummary: if field is not None: args["protected"] = field + field = data.get("dns_status", None) + if field is not None: + args["dns_status"] = field + + field = data.get("offer_name", None) + if field is not None: + args["offer_name"] = field + field = data.get("region", None) if field is not None: args["region"] = field diff --git a/scaleway/scaleway/webhosting/v1/types.py b/scaleway/scaleway/webhosting/v1/types.py index b15201cea..1202b2331 100644 --- a/scaleway/scaleway/webhosting/v1/types.py +++ b/scaleway/scaleway/webhosting/v1/types.py @@ -503,6 +503,16 @@ class HostingSummary: Whether the hosting is protected or not. """ + dns_status: DnsRecordsStatus + """ + DNS status of the Web Hosting plan. + """ + + offer_name: str + """ + Name of the active offer for the Web Hosting plan. + """ + region: Region """ Region where the Web Hosting plan is hosted.