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:
150150 field = data .get ("id" , None )
151151 args ["id" ] = field
152152
153+ field = data .get ("offer_end_of_life" , None )
154+ args ["offer_end_of_life" ] = field
155+
153156 field = data .get ("offer_id" , None )
154157 args ["offer_id" ] = field
155158
@@ -225,6 +228,9 @@ def unmarshal_Offer(data: Any) -> Offer:
225228 field = data .get ("billing_operation_path" , None )
226229 args ["billing_operation_path" ] = field
227230
231+ field = data .get ("end_of_life" , None )
232+ args ["end_of_life" ] = field
233+
228234 field = data .get ("id" , None )
229235 args ["id" ] = field
230236
Original file line number Diff line number Diff line change @@ -245,6 +245,11 @@ class Hosting:
245245 Main Web Hosting cPanel username.
246246 """
247247
248+ offer_end_of_life : bool
249+ """
250+ Indicates if the hosting offer has reached its end of life.
251+ """
252+
248253 region : Region
249254 """
250255 Region where the Web Hosting plan is hosted.
@@ -362,6 +367,11 @@ class Offer:
362367 Quota warnings, if the offer is not available for the specified hosting_id.
363368 """
364369
370+ end_of_life : bool
371+ """
372+ Indicates if the offer has reached its end of life.
373+ """
374+
365375
366376@dataclass
367377class OfferProduct :
Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ def unmarshal_Hosting(data: Any) -> Hosting:
150150 field = data .get ("id" , None )
151151 args ["id" ] = field
152152
153+ field = data .get ("offer_end_of_life" , None )
154+ args ["offer_end_of_life" ] = field
155+
153156 field = data .get ("offer_id" , None )
154157 args ["offer_id" ] = field
155158
@@ -225,6 +228,9 @@ def unmarshal_Offer(data: Any) -> Offer:
225228 field = data .get ("billing_operation_path" , None )
226229 args ["billing_operation_path" ] = field
227230
231+ field = data .get ("end_of_life" , None )
232+ args ["end_of_life" ] = field
233+
228234 field = data .get ("id" , None )
229235 args ["id" ] = field
230236
Original file line number Diff line number Diff line change @@ -245,6 +245,11 @@ class Hosting:
245245 Main Web Hosting cPanel username.
246246 """
247247
248+ offer_end_of_life : bool
249+ """
250+ Indicates if the hosting offer has reached its end of life.
251+ """
252+
248253 region : Region
249254 """
250255 Region where the Web Hosting plan is hosted.
@@ -362,6 +367,11 @@ class Offer:
362367 Quota warnings, if the offer is not available for the specified hosting_id.
363368 """
364369
370+ end_of_life : bool
371+ """
372+ Indicates if the offer has reached its end of life.
373+ """
374+
365375
366376@dataclass
367377class OfferProduct :
You can’t perform that action at this time.
0 commit comments