File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
scaleway-async/scaleway_async/webhosting/v1alpha1
scaleway/scaleway/webhosting/v1alpha1 Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ def unmarshal_Hosting(data: Any) -> Hosting:
150
150
field = data .get ("id" , None )
151
151
args ["id" ] = field
152
152
153
+ field = data .get ("offer_end_of_life" , None )
154
+ args ["offer_end_of_life" ] = field
155
+
153
156
field = data .get ("offer_id" , None )
154
157
args ["offer_id" ] = field
155
158
@@ -225,6 +228,9 @@ def unmarshal_Offer(data: Any) -> Offer:
225
228
field = data .get ("billing_operation_path" , None )
226
229
args ["billing_operation_path" ] = field
227
230
231
+ field = data .get ("end_of_life" , None )
232
+ args ["end_of_life" ] = field
233
+
228
234
field = data .get ("id" , None )
229
235
args ["id" ] = field
230
236
Original file line number Diff line number Diff line change @@ -245,6 +245,11 @@ class Hosting:
245
245
Main Web Hosting cPanel username.
246
246
"""
247
247
248
+ offer_end_of_life : bool
249
+ """
250
+ Indicates if the hosting offer has reached its end of life.
251
+ """
252
+
248
253
region : Region
249
254
"""
250
255
Region where the Web Hosting plan is hosted.
@@ -362,6 +367,11 @@ class Offer:
362
367
Quota warnings, if the offer is not available for the specified hosting_id.
363
368
"""
364
369
370
+ end_of_life : bool
371
+ """
372
+ Indicates if the offer has reached its end of life.
373
+ """
374
+
365
375
366
376
@dataclass
367
377
class OfferProduct :
Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ def unmarshal_Hosting(data: Any) -> Hosting:
150
150
field = data .get ("id" , None )
151
151
args ["id" ] = field
152
152
153
+ field = data .get ("offer_end_of_life" , None )
154
+ args ["offer_end_of_life" ] = field
155
+
153
156
field = data .get ("offer_id" , None )
154
157
args ["offer_id" ] = field
155
158
@@ -225,6 +228,9 @@ def unmarshal_Offer(data: Any) -> Offer:
225
228
field = data .get ("billing_operation_path" , None )
226
229
args ["billing_operation_path" ] = field
227
230
231
+ field = data .get ("end_of_life" , None )
232
+ args ["end_of_life" ] = field
233
+
228
234
field = data .get ("id" , None )
229
235
args ["id" ] = field
230
236
Original file line number Diff line number Diff line change @@ -245,6 +245,11 @@ class Hosting:
245
245
Main Web Hosting cPanel username.
246
246
"""
247
247
248
+ offer_end_of_life : bool
249
+ """
250
+ Indicates if the hosting offer has reached its end of life.
251
+ """
252
+
248
253
region : Region
249
254
"""
250
255
Region where the Web Hosting plan is hosted.
@@ -362,6 +367,11 @@ class Offer:
362
367
Quota warnings, if the offer is not available for the specified hosting_id.
363
368
"""
364
369
370
+ end_of_life : bool
371
+ """
372
+ Indicates if the offer has reached its end of life.
373
+ """
374
+
365
375
366
376
@dataclass
367
377
class OfferProduct :
You can’t perform that action at this time.
0 commit comments