func (m *IdmUserSingleQuery) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateNodeType(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this idm user single query
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
)
type IdmUserSingleQuery struct {
	AttributeAnyValue bool `json:"AttributeAnyValue,omitempty"`
	AttributeName string `json:"AttributeName,omitempty"`
	AttributeValue string `json:"AttributeValue,omitempty"`
	FullPath string `json:"FullPath,omitempty"`
	GroupPath string `json:"GroupPath,omitempty"`
	HasProfile string `json:"HasProfile,omitempty"`
	HasRole string `json:"HasRole,omitempty"`
	Login string `json:"Login,omitempty"`
	NodeType IdmNodeType `json:"NodeType,omitempty"`
	Password string `json:"Password,omitempty"`
	Recursive bool `json:"Recursive,omitempty"`
	UUID string `json:"Uuid,omitempty"`
	Not bool `json:"not,omitempty"`
}