func (m *JobsDeleteTasksRequest) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateStatus(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this jobs delete tasks request
package models
import (
	"strconv"
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type JobsDeleteTasksRequest struct {
	JobID string `json:"JobId,omitempty"`
	PruneLimit int32 `json:"PruneLimit,omitempty"`
	Status []JobsTaskStatus `json:"Status"`
	TaskID []string `json:"TaskID"`
}