Method: OpenapiClient::InlineResponse401#list_invalid_properties
- Defined in:
- lib/openapi_client/models/inline_response401.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/openapi_client/models/inline_response401.rb', line 107 def list_invalid_properties invalid_properties = Array.new if @error.nil? invalid_properties.push('invalid value for "error", error cannot be nil.') end if .nil? invalid_properties.push('invalid value for "message", message cannot be nil.') end if @code.nil? invalid_properties.push('invalid value for "code", code cannot be nil.') end invalid_properties end |