diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py index f8e4e8ee8..28d495d0e 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/marshalling.py @@ -170,6 +170,12 @@ def unmarshal_PublicCatalogProductPropertiesHardwareCPU( else: args["threads"] = 0 + field = data.get("shared", None) + if field is not None: + args["shared"] = field + else: + args["shared"] = False + field = data.get("virtual", None) if field is not None: args["virtual"] = unmarshal_PublicCatalogProductPropertiesHardwareCPUVirtual( diff --git a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py index ea5a3a121..85a4c698e 100644 --- a/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py +++ b/scaleway-async/scaleway_async/product_catalog/v2alpha1/types.py @@ -306,6 +306,11 @@ class PublicCatalogProductPropertiesHardwareCPU: The total number of threads. """ + shared: bool + """ + Indicates whether the CPU is shared or not. + """ + virtual: Optional[PublicCatalogProductPropertiesHardwareCPUVirtual] = None physical: Optional[PublicCatalogProductPropertiesHardwareCPUPhysical] = None diff --git a/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py b/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py index f8e4e8ee8..28d495d0e 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/marshalling.py @@ -170,6 +170,12 @@ def unmarshal_PublicCatalogProductPropertiesHardwareCPU( else: args["threads"] = 0 + field = data.get("shared", None) + if field is not None: + args["shared"] = field + else: + args["shared"] = False + field = data.get("virtual", None) if field is not None: args["virtual"] = unmarshal_PublicCatalogProductPropertiesHardwareCPUVirtual( diff --git a/scaleway/scaleway/product_catalog/v2alpha1/types.py b/scaleway/scaleway/product_catalog/v2alpha1/types.py index ea5a3a121..85a4c698e 100644 --- a/scaleway/scaleway/product_catalog/v2alpha1/types.py +++ b/scaleway/scaleway/product_catalog/v2alpha1/types.py @@ -306,6 +306,11 @@ class PublicCatalogProductPropertiesHardwareCPU: The total number of threads. """ + shared: bool + """ + Indicates whether the CPU is shared or not. + """ + virtual: Optional[PublicCatalogProductPropertiesHardwareCPUVirtual] = None physical: Optional[PublicCatalogProductPropertiesHardwareCPUPhysical] = None