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

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

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

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

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
// Validate validates this identity verify resp
Validate validates this identity verify resp
// Validate validates this identity verify resp
func (m *IdentityVerifyResp) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateError(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateIdentity(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateTokenType(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func ( m * IdentityVerifyResp ) Validate ( formats strfmt . Registry ) error { var res [ ] error if err := m . validateError ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateIdentity ( formats ) ; err != nil { res = append ( res , err ) } if err := m . validateTokenType ( formats ) ; err != nil { res = append ( res , err ) } if len ( res ) > 0 { return errors . CompositeValidationError ( res ... ) } return nil }
Validate validates this identity verify resp
Validate validates this identity verify resp