diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py index 7972a624e..f695be5ee 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py @@ -289,6 +289,12 @@ def unmarshal_PublicCatalogProductPropertiesAppleSilicon( else: args["range"] = None + field = data.get("server_type", None) + if field is not None: + args["server_type"] = field + else: + args["server_type"] = None + return PublicCatalogProductPropertiesAppleSilicon(**args) @@ -333,6 +339,12 @@ def unmarshal_PublicCatalogProductPropertiesDedibox( else: args["range"] = None + field = data.get("offer_id", None) + if field is not None: + args["offer_id"] = field + else: + args["offer_id"] = 0 + return PublicCatalogProductPropertiesDedibox(**args) @@ -352,6 +364,12 @@ def unmarshal_PublicCatalogProductPropertiesElasticMetal( else: args["range"] = None + field = data.get("offer_id", None) + if field is not None: + args["offer_id"] = field + else: + args["offer_id"] = None + return PublicCatalogProductPropertiesElasticMetal(**args) diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py index ce424e61a..c904053ef 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py @@ -228,6 +228,11 @@ class PublicCatalogProductPropertiesAppleSilicon: The range of the Apple Silicon server. """ + server_type: str + """ + The server type of the Apple Silicon server. + """ + @dataclass class PublicCatalogProductPropertiesBlockStorage: @@ -249,6 +254,11 @@ class PublicCatalogProductPropertiesDedibox: The range of the Dedibox server. """ + offer_id: int + """ + The offer ID of the Dedibox server. + """ + @dataclass class PublicCatalogProductPropertiesElasticMetal: @@ -257,6 +267,11 @@ class PublicCatalogProductPropertiesElasticMetal: The range of the Elastic Metal server. """ + offer_id: str + """ + The offer ID of the Elastic Metal server. + """ + @dataclass class PublicCatalogProductPropertiesHardware: diff --git a/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py b/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py index 7972a624e..f695be5ee 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py @@ -289,6 +289,12 @@ def unmarshal_PublicCatalogProductPropertiesAppleSilicon( else: args["range"] = None + field = data.get("server_type", None) + if field is not None: + args["server_type"] = field + else: + args["server_type"] = None + return PublicCatalogProductPropertiesAppleSilicon(**args) @@ -333,6 +339,12 @@ def unmarshal_PublicCatalogProductPropertiesDedibox( else: args["range"] = None + field = data.get("offer_id", None) + if field is not None: + args["offer_id"] = field + else: + args["offer_id"] = 0 + return PublicCatalogProductPropertiesDedibox(**args) @@ -352,6 +364,12 @@ def unmarshal_PublicCatalogProductPropertiesElasticMetal( else: args["range"] = None + field = data.get("offer_id", None) + if field is not None: + args["offer_id"] = field + else: + args["offer_id"] = None + return PublicCatalogProductPropertiesElasticMetal(**args) diff --git a/scaleway/scaleway/product_catalog/v2alpha1/types.py b/scaleway/scaleway/product_catalog/v2alpha1/types.py index ce424e61a..c904053ef 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/types.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/types.py @@ -228,6 +228,11 @@ class PublicCatalogProductPropertiesAppleSilicon: The range of the Apple Silicon server. """ + server_type: str + """ + The server type of the Apple Silicon server. + """ + @dataclass class PublicCatalogProductPropertiesBlockStorage: @@ -249,6 +254,11 @@ class PublicCatalogProductPropertiesDedibox: The range of the Dedibox server. """ + offer_id: int + """ + The offer ID of the Dedibox server. + """ + @dataclass class PublicCatalogProductPropertiesElasticMetal: @@ -257,6 +267,11 @@ class PublicCatalogProductPropertiesElasticMetal: The range of the Elastic Metal server. """ + offer_id: str + """ + The offer ID of the Elastic Metal server. + """ + @dataclass class PublicCatalogProductPropertiesHardware: