Method: DocSpring::UploadPresignResponse#list_invalid_properties
- Defined in:
- lib/docspring/models/upload_presign_response.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/docspring/models/upload_presign_response.rb', line 119 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @fields.nil? invalid_properties.push('invalid value for "fields", fields cannot be nil.') end if @headers.nil? invalid_properties.push('invalid value for "headers", headers cannot be nil.') end if @url.nil? invalid_properties.push('invalid value for "url", url cannot be nil.') end invalid_properties end |