func (m *JobsCtrlCommand) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateCmd(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this jobs ctrl command
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type JobsCtrlCommand struct {
	Cmd JobsCommand `json:"Cmd,omitempty"`
	JobID string `json:"JobId,omitempty"`
	OwnerID string `json:"OwnerId,omitempty"`
	TaskID string `json:"TaskId,omitempty"`
}