Method: PulpRpmClient::ImageResponse#list_invalid_properties
- Defined in:
- lib/pulp_rpm_client/models/image_response.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/pulp_rpm_client/models/image_response.rb', line 104 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end if @path.nil? invalid_properties.push('invalid value for "path", path cannot be nil.') end if @platforms.nil? invalid_properties.push('invalid value for "platforms", platforms cannot be nil.') end invalid_properties end |