Method: OpenapiClient::ClientRequest#list_invalid_properties
- Defined in:
- lib/openapi_client/models/client_request.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/openapi_client/models/client_request.rb', line 100 def list_invalid_properties invalid_properties = Array.new if @client_secret.nil? invalid_properties.push('invalid value for "client_secret", client_secret cannot be nil.') end if @redirect_uris.nil? invalid_properties.push('invalid value for "redirect_uris", redirect_uris cannot be nil.') end if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end invalid_properties end |