Skip to content

Commit 770cc3a

Browse files
authored
feat(webhosting): add "protected" field to hosting (#2018)
1 parent 4f60618 commit 770cc3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/webhosting/v1alpha1/webhosting_sdk.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,9 @@ type Hosting struct {
500500
// IPv6: iPv6 address of the hosting's host server.
501501
IPv6 string `json:"ipv6"`
502502

503+
// Protected: whether the hosting is protected or not.
504+
Protected bool `json:"protected"`
505+
503506
// Region: region where the Web Hosting plan is hosted.
504507
Region scw.Region `json:"region"`
505508
}
@@ -760,6 +763,9 @@ type UpdateHostingRequest struct {
760763

761764
// OfferID: ID of the new offer for the Web Hosting plan.
762765
OfferID *string `json:"offer_id,omitempty"`
766+
767+
// Protected: whether the hosting is protected or not.
768+
Protected *bool `json:"protected,omitempty"`
763769
}
764770

765771
// Web Hosting API.

0 commit comments

Comments
 (0)