Skip to content

Commit

Permalink
feat(webhosting): add language field at public hosting creation (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 29, 2024
1 parent b2e6d73 commit 8520ae9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/webhosting/v1alpha1/webhosting_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/scaleway/scaleway-sdk-go/internal/parameter"
"github.com/scaleway/scaleway-sdk-go/namegenerator"
"github.com/scaleway/scaleway-sdk-go/scw"
std "github.com/scaleway/scaleway-sdk-go/api/std"
)

// always import dependencies
Expand Down Expand Up @@ -541,6 +542,10 @@ type CreateHostingRequest struct {

// OptionIDs: iDs of any selected additional options for the Web Hosting plan.
OptionIDs []string `json:"option_ids"`

// Language: default language for the control panel interface.
// Default value: unknown_language_code
Language std.LanguageCode `json:"language"`
}

// DNSRecords: dns records.
Expand Down

0 comments on commit 8520ae9

Please sign in to comment.