File tree Expand file tree Collapse file tree 4 files changed +66
-0
lines changed
scaleway-async/scaleway_async/product_catalog/v2alpha1
scaleway/scaleway/product_catalog/v2alpha1 Expand file tree Collapse file tree 4 files changed +66
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,12 @@ def unmarshal_PublicCatalogProductPropertiesAppleSilicon(
289289 else :
290290 args ["range" ] = None
291291
292+ field = data .get ("server_type" , None )
293+ if field is not None :
294+ args ["server_type" ] = field
295+ else :
296+ args ["server_type" ] = None
297+
292298 return PublicCatalogProductPropertiesAppleSilicon (** args )
293299
294300
@@ -333,6 +339,12 @@ def unmarshal_PublicCatalogProductPropertiesDedibox(
333339 else :
334340 args ["range" ] = None
335341
342+ field = data .get ("offer_id" , None )
343+ if field is not None :
344+ args ["offer_id" ] = field
345+ else :
346+ args ["offer_id" ] = 0
347+
336348 return PublicCatalogProductPropertiesDedibox (** args )
337349
338350
@@ -352,6 +364,12 @@ def unmarshal_PublicCatalogProductPropertiesElasticMetal(
352364 else :
353365 args ["range" ] = None
354366
367+ field = data .get ("offer_id" , None )
368+ if field is not None :
369+ args ["offer_id" ] = field
370+ else :
371+ args ["offer_id" ] = None
372+
355373 return PublicCatalogProductPropertiesElasticMetal (** args )
356374
357375
Original file line number Diff line number Diff line change @@ -228,6 +228,11 @@ class PublicCatalogProductPropertiesAppleSilicon:
228228 The range of the Apple Silicon server.
229229 """
230230
231+ server_type : str
232+ """
233+ The server type of the Apple Silicon server.
234+ """
235+
231236
232237@dataclass
233238class PublicCatalogProductPropertiesBlockStorage :
@@ -249,6 +254,11 @@ class PublicCatalogProductPropertiesDedibox:
249254 The range of the Dedibox server.
250255 """
251256
257+ offer_id : int
258+ """
259+ The offer ID of the Dedibox server.
260+ """
261+
252262
253263@dataclass
254264class PublicCatalogProductPropertiesElasticMetal :
@@ -257,6 +267,11 @@ class PublicCatalogProductPropertiesElasticMetal:
257267 The range of the Elastic Metal server.
258268 """
259269
270+ offer_id : str
271+ """
272+ The offer ID of the Elastic Metal server.
273+ """
274+
260275
261276@dataclass
262277class PublicCatalogProductPropertiesHardware :
Original file line number Diff line number Diff line change @@ -289,6 +289,12 @@ def unmarshal_PublicCatalogProductPropertiesAppleSilicon(
289289 else :
290290 args ["range" ] = None
291291
292+ field = data .get ("server_type" , None )
293+ if field is not None :
294+ args ["server_type" ] = field
295+ else :
296+ args ["server_type" ] = None
297+
292298 return PublicCatalogProductPropertiesAppleSilicon (** args )
293299
294300
@@ -333,6 +339,12 @@ def unmarshal_PublicCatalogProductPropertiesDedibox(
333339 else :
334340 args ["range" ] = None
335341
342+ field = data .get ("offer_id" , None )
343+ if field is not None :
344+ args ["offer_id" ] = field
345+ else :
346+ args ["offer_id" ] = 0
347+
336348 return PublicCatalogProductPropertiesDedibox (** args )
337349
338350
@@ -352,6 +364,12 @@ def unmarshal_PublicCatalogProductPropertiesElasticMetal(
352364 else :
353365 args ["range" ] = None
354366
367+ field = data .get ("offer_id" , None )
368+ if field is not None :
369+ args ["offer_id" ] = field
370+ else :
371+ args ["offer_id" ] = None
372+
355373 return PublicCatalogProductPropertiesElasticMetal (** args )
356374
357375
Original file line number Diff line number Diff line change @@ -228,6 +228,11 @@ class PublicCatalogProductPropertiesAppleSilicon:
228228 The range of the Apple Silicon server.
229229 """
230230
231+ server_type : str
232+ """
233+ The server type of the Apple Silicon server.
234+ """
235+
231236
232237@dataclass
233238class PublicCatalogProductPropertiesBlockStorage :
@@ -249,6 +254,11 @@ class PublicCatalogProductPropertiesDedibox:
249254 The range of the Dedibox server.
250255 """
251256
257+ offer_id : int
258+ """
259+ The offer ID of the Dedibox server.
260+ """
261+
252262
253263@dataclass
254264class PublicCatalogProductPropertiesElasticMetal :
@@ -257,6 +267,11 @@ class PublicCatalogProductPropertiesElasticMetal:
257267 The range of the Elastic Metal server.
258268 """
259269
270+ offer_id : str
271+ """
272+ The offer ID of the Elastic Metal server.
273+ """
274+
260275
261276@dataclass
262277class PublicCatalogProductPropertiesHardware :
You can’t perform that action at this time.
0 commit comments