There was an error while loading. Please reload this page.
1 parent 4f60618 commit 770cc3aCopy full SHA for 770cc3a
api/webhosting/v1alpha1/webhosting_sdk.go
@@ -500,6 +500,9 @@ type Hosting struct {
500
// IPv6: iPv6 address of the hosting's host server.
501
IPv6 string `json:"ipv6"`
502
503
+// Protected: whether the hosting is protected or not.
504
+Protected bool `json:"protected"`
505
+
506
// Region: region where the Web Hosting plan is hosted.
507
Region scw.Region `json:"region"`
508
}
@@ -760,6 +763,9 @@ type UpdateHostingRequest struct {
760
763
761
764
// OfferID: ID of the new offer for the Web Hosting plan.
762
765
OfferID *string `json:"offer_id,omitempty"`
766
767
768
+Protected *bool `json:"protected,omitempty"`
769
770
771
// Web Hosting API.
0 commit comments