Skip to content

Commit

Permalink
feat(webhosting): add Web Hosting offer EOL boolean (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jul 10, 2023
1 parent 2eb545f commit efc922e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/webhosting/v1alpha1/webhosting_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ type Hosting struct {
CpanelURLs *HostingCpanelURLs `json:"cpanel_urls"`
// Username: main Web Hosting cPanel username.
Username string `json:"username"`
// OfferEndOfLife: indicates if the hosting offer has reached its end of life.
OfferEndOfLife bool `json:"offer_end_of_life"`
// Region: region where the Web Hosting plan is hosted.
Region scw.Region `json:"region"`
}
Expand Down Expand Up @@ -458,6 +460,8 @@ type Offer struct {
Available bool `json:"available"`
// QuotaWarnings: quota warnings, if the offer is not available for the specified hosting_id.
QuotaWarnings []OfferQuotaWarning `json:"quota_warnings"`
// EndOfLife: indicates if the offer has reached its end of life.
EndOfLife bool `json:"end_of_life"`
}

// OfferProduct: offer. product.
Expand Down

0 comments on commit efc922e

Please sign in to comment.