File tree Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Expand file tree Collapse file tree 4 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ var _ strconv.NumError
14
14
var _ json.Unmarshaler = (* PutProjectRemoteLogging )(nil )
15
15
16
16
type PutProjectRemoteLogging struct {
17
- SyslogConfig types.Text `json:"syslogConfig"`
18
- Certificate types.Text `json:"certificate"`
17
+ SyslogConfig types.Text `json:"syslogConfig"`
18
+ Certificate types.Text `json:"certificate"`
19
+ Type types.StringNull `json:"type"`
19
20
}
20
21
21
22
func (dto PutProjectRemoteLogging ) GetSyslogConfig () types.Text {
@@ -24,11 +25,15 @@ func (dto PutProjectRemoteLogging) GetSyslogConfig() types.Text {
24
25
func (dto PutProjectRemoteLogging ) GetCertificate () types.Text {
25
26
return dto .Certificate
26
27
}
28
+ func (dto PutProjectRemoteLogging ) GetType () types.StringNull {
29
+ return dto .Type
30
+ }
27
31
28
32
func (dto * PutProjectRemoteLogging ) UnmarshalJSON (b []byte ) error {
29
33
var aux = struct {
30
34
SyslogConfig * types.Text
31
35
Certificate * types.Text
36
+ Type types.StringNull
32
37
}{}
33
38
err := json .Unmarshal (b , & aux )
34
39
if err != nil {
@@ -46,6 +51,7 @@ func (dto *PutProjectRemoteLogging) UnmarshalJSON(b []byte) error {
46
51
}
47
52
dto .SyslogConfig = * aux .SyslogConfig
48
53
dto .Certificate = * aux .Certificate
54
+ dto .Type = aux .Type
49
55
50
56
return nil
51
57
}
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ type EsProject struct {
24
24
PublicIpV4 types.StringNull `json:"publicIpV4"`
25
25
PublicIpV6 types.StringNull `json:"publicIpV6"`
26
26
ZeropsSubdomainHost types.StringNull `json:"zeropsSubdomainHost"`
27
+ LogForwardingType types.StringNull `json:"logForwardingType"`
27
28
AutoStartup types.Bool `json:"autoStartup"`
28
29
}
Original file line number Diff line number Diff line change @@ -24,5 +24,6 @@ type Project struct {
24
24
PublicIpV4 types.StringNull `json:"publicIpV4"`
25
25
PublicIpV6 types.StringNull `json:"publicIpV6"`
26
26
ZeropsSubdomainHost types.StringNull `json:"zeropsSubdomainHost"`
27
+ LogForwardingType types.StringNull `json:"logForwardingType"`
27
28
AutoStartup types.Bool `json:"autoStartup"`
28
29
}
Original file line number Diff line number Diff line change @@ -297,6 +297,7 @@ const (
297
297
PriceListNotFound ErrorCode = "priceListNotFound"
298
298
CostLimitTooSmall ErrorCode = "costLimitTooSmall"
299
299
InvalidVpnPublicKey ErrorCode = "invalidVpnPublicKey"
300
+ VpnPublicKeyNotFound ErrorCode = "vpnPublicKeyNotFound"
300
301
YamlPreprocessingMaxDurationExceeded ErrorCode = "yamlPreprocessingMaxDurationExceeded"
301
302
YamlPreprocessingError ErrorCode = "yamlPreprocessingError"
302
303
ProjectImportInvalidYaml ErrorCode = "projectImportInvalidYaml"
You can’t perform that action at this time.
0 commit comments