This commit is contained in:
stSolo
2023-03-01 19:05:53 +03:00
parent de12bc2acc
commit 42800ac4fe
573 changed files with 2077 additions and 1844 deletions

View File

@@ -11,19 +11,19 @@ import (
type DefaultQOSUpdateRequest struct {
// ID of VINS
// Required: true
VINSID uint64 `url:"vinsId"`
VINSID uint64 `url:"vinsId" json:"vinsId"`
// Internal traffic, kbit
// Required: false
IngressRate uint64 `url:"ingress_rate,omitempty"`
IngressRate uint64 `url:"ingress_rate,omitempty" json:"ingress_rate,omitempty"`
// Internal traffic burst, kbit
// Required: false
IngressBirst uint64 `url:"ingress_birst,omitempty"`
IngressBirst uint64 `url:"ingress_birst,omitempty" json:"ingress_birst,omitempty"`
// External traffic rate, kbit
// Required: false
EgressRate uint64 `url:"egress_rate,omitempty"`
EgressRate uint64 `url:"egress_rate,omitempty" json:"egress_rate,omitempty"`
}
func (vrq DefaultQOSUpdateRequest) validate() error {