Skip to content

Commit efc922e

Browse files
authored
feat(webhosting): add Web Hosting offer EOL boolean (#1778)
1 parent 2eb545f commit efc922e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/webhosting/v1alpha1/webhosting_sdk.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ type Hosting struct {
401401
CpanelURLs *HostingCpanelURLs `json:"cpanel_urls"`
402402
// Username: main Web Hosting cPanel username.
403403
Username string `json:"username"`
404+
// OfferEndOfLife: indicates if the hosting offer has reached its end of life.
405+
OfferEndOfLife bool `json:"offer_end_of_life"`
404406
// Region: region where the Web Hosting plan is hosted.
405407
Region scw.Region `json:"region"`
406408
}
@@ -458,6 +460,8 @@ type Offer struct {
458460
Available bool `json:"available"`
459461
// QuotaWarnings: quota warnings, if the offer is not available for the specified hosting_id.
460462
QuotaWarnings []OfferQuotaWarning `json:"quota_warnings"`
463+
// EndOfLife: indicates if the offer has reached its end of life.
464+
EndOfLife bool `json:"end_of_life"`
461465
}
462466

463467
// OfferProduct: offer. product.

0 commit comments

Comments
 (0)