Method: OpenapiClient::InlineResponse409#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



119
120
121
122
123
124
# File 'lib/openapi_client/models/inline_response409.rb', line 119

def valid?
  return false if @error.nil?
  error_validator = EnumAttributeValidator.new('String', ["conflict"])
  return false unless error_validator.valid?(@error)
  true
end