src/bosh-softlayer-cpi/softlayer/vps_service/models/vm_response.go
func (m *VMResponse) Validate(formats strfmt.Registry) error {
	var res []error

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

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

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

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func ( m * VMResponse ) Validate ( formats strfmt . Registry ) error { var res [ ] error if err := m . validateVM ( formats ) ; err != nil { // prop res = append ( res , err ) } if len ( res ) > 0 { return errors . CompositeValidationError ( res ... ) } return nil }
// Validate validates this Vm response
Validate validates this Vm response