func (m *TaskAllOf1) Validate(formats strfmt.Registry) error {
	var res []error

	if err := m.validateReason(formats); err != nil {
		// prop
		res = append(res, err)
	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (m *TaskAllOf1) Validate(formats strfmt.Registry) error {
	var res []error

	if err := m.validateReason(formats); err != nil {
		// prop
		res = append(res, err)
	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
/* polymorph taskAllOf1 completed_at false */
/* polymorph taskAllOf1 created_at false */
/* polymorph taskAllOf1 env_vars false */
/* polymorph taskAllOf1 error false */
/* polymorph taskAllOf1 group_name false */
/* polymorph taskAllOf1 reason false */
/* polymorph taskAllOf1 retry_at false */
/* polymorph taskAllOf1 retry_of false */
/* polymorph taskAllOf1 started_at false */
// Validate validates this task all of1