v1.2.0
This commit is contained in:
@@ -10,11 +10,11 @@ import (
|
||||
type MassEnableRequest struct {
|
||||
// VINS IDs
|
||||
// Required: true
|
||||
VINSIDs []uint64 `url:"vinsIds"`
|
||||
VINSIDs []uint64 `url:"vinsIds" json:"vinsIds"`
|
||||
|
||||
// Reason for action
|
||||
// Required: false
|
||||
Reason string `url:"reason,omitempty"`
|
||||
Reason string `url:"reason,omitempty" json:"reason,omitempty"`
|
||||
}
|
||||
|
||||
func (vrq MassEnableRequest) validate() error {
|
||||
|
||||
Reference in New Issue
Block a user