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

	// value enum
	if err := m.validateModelTokenTypeEnum("", "body", m); err != nil {
		return err
	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
// Validate validates this model token type
Validate validates this model token type
// Validate validates this model token type
func (m ModelTokenType) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateModelTokenTypeEnum("", "body", m); err != nil {
		return err
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func ( m ModelTokenType ) Validate ( formats strfmt . Registry ) error { var res [ ] error if err := m . validateModelTokenTypeEnum ( " " , " " , m ) ; err != nil { return err } if len ( res ) > 0 { return errors . CompositeValidationError ( res ... ) } return nil }
Validate validates this model token type
Validate validates this model token type
// value enum