Method: OpenapiClient::OrganizationUpdate#valid?

Defined in:
lib/openapi_client/models/organization_update.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



89
90
91
92
# File 'lib/openapi_client/models/organization_update.rb', line 89

def valid?
  return false if !@name.nil? && @name !~ Regexp.new(/^[A-Za-z0-9\.\-\_\ ]+$/)
  true
end