Method: DocSpring::UpdateSubmissionDataRequestData#valid?

Defined in:
lib/docspring/models/update_submission_data_request_data.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



123
124
125
126
127
128
# File 'lib/docspring/models/update_submission_data_request_data.rb', line 123

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  auth_type_validator = EnumAttributeValidator.new('String', ["none", "password", "oauth", "email_link", "phone_number", "ldap", "saml"])
  return false unless auth_type_validator.valid?(@auth_type)
  true
end