diff --git a/scaleway-async/scaleway_async/webhosting/v1/marshalling.py b/scaleway-async/scaleway_async/webhosting/v1/marshalling.py index 33c67a15..c10d9ce3 100644 --- a/scaleway-async/scaleway_async/webhosting/v1/marshalling.py +++ b/scaleway-async/scaleway_async/webhosting/v1/marshalling.py @@ -875,6 +875,12 @@ def unmarshal_Offer(data: Any) -> Offer: else: args["quota_warning"] = OfferOptionWarning.UNKNOWN_WARNING + field = data.get("region", None) + if field is not None: + args["region"] = field + else: + args["region"] = None + field = data.get("price", None) if field is not None: args["price"] = unmarshal_Money(field) diff --git a/scaleway-async/scaleway_async/webhosting/v1/types.py b/scaleway-async/scaleway_async/webhosting/v1/types.py index 568f0c98..446eb672 100644 --- a/scaleway-async/scaleway_async/webhosting/v1/types.py +++ b/scaleway-async/scaleway_async/webhosting/v1/types.py @@ -621,6 +621,11 @@ class Offer: Defines a warning if the maximum value for an option in the offer is exceeded. """ + region: ScwRegion + """ + Region where the offer is hosted. + """ + price: Optional[Money] = None """ Price of the offer. diff --git a/scaleway/scaleway/webhosting/v1/marshalling.py b/scaleway/scaleway/webhosting/v1/marshalling.py index 33c67a15..c10d9ce3 100644 --- a/scaleway/scaleway/webhosting/v1/marshalling.py +++ b/scaleway/scaleway/webhosting/v1/marshalling.py @@ -875,6 +875,12 @@ def unmarshal_Offer(data: Any) -> Offer: else: args["quota_warning"] = OfferOptionWarning.UNKNOWN_WARNING + field = data.get("region", None) + if field is not None: + args["region"] = field + else: + args["region"] = None + field = data.get("price", None) if field is not None: args["price"] = unmarshal_Money(field) diff --git a/scaleway/scaleway/webhosting/v1/types.py b/scaleway/scaleway/webhosting/v1/types.py index 568f0c98..446eb672 100644 --- a/scaleway/scaleway/webhosting/v1/types.py +++ b/scaleway/scaleway/webhosting/v1/types.py @@ -621,6 +621,11 @@ class Offer: Defines a warning if the maximum value for an option in the offer is exceeded. """ + region: ScwRegion + """ + Region where the offer is hosted. + """ + price: Optional[Money] = None """ Price of the offer.