Method: OpenapiClient::OrganizationUpdate#list_invalid_properties
- Defined in:
- lib/openapi_client/models/organization_update.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
77 78 79 80 81 82 83 84 85 |
# File 'lib/openapi_client/models/organization_update.rb', line 77 def list_invalid_properties invalid_properties = Array.new pattern = Regexp.new(/^[A-Za-z0-9\.\-\_\ ]+$/) if !@name.nil? && @name !~ pattern invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.") end invalid_properties end |