Skip to content

Commit 8520ae9

Browse files
authored
feat(webhosting): add language field at public hosting creation (#1989)
1 parent b2e6d73 commit 8520ae9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/webhosting/v1alpha1/webhosting_sdk.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
"github.com/scaleway/scaleway-sdk-go/internal/parameter"
2020
"github.com/scaleway/scaleway-sdk-go/namegenerator"
2121
"github.com/scaleway/scaleway-sdk-go/scw"
22+
std "github.com/scaleway/scaleway-sdk-go/api/std"
2223
)
2324

2425
// always import dependencies
@@ -541,6 +542,10 @@ type CreateHostingRequest struct {
541542

542543
// OptionIDs: iDs of any selected additional options for the Web Hosting plan.
543544
OptionIDs []string `json:"option_ids"`
545+
546+
// Language: default language for the control panel interface.
547+
// Default value: unknown_language_code
548+
Language std.LanguageCode `json:"language"`
544549
}
545550

546551
// DNSRecords: dns records.

0 commit comments

Comments
 (0)