Method: PulpRpmClient::RpmDistributionTreeResponse#list_invalid_properties
- Defined in:
- lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb', line 286 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @header_version.nil? invalid_properties.push('invalid value for "header_version", header_version cannot be nil.') end if @release_name.nil? invalid_properties.push('invalid value for "release_name", release_name cannot be nil.') end if @release_short.nil? invalid_properties.push('invalid value for "release_short", release_short cannot be nil.') end if @release_version.nil? invalid_properties.push('invalid value for "release_version", release_version cannot be nil.') end if @release_is_layered.nil? invalid_properties.push('invalid value for "release_is_layered", release_is_layered cannot be nil.') end if @arch.nil? invalid_properties.push('invalid value for "arch", arch cannot be nil.') end if .nil? invalid_properties.push('invalid value for "build_timestamp", build_timestamp cannot be nil.') end if @addons.nil? invalid_properties.push('invalid value for "addons", addons cannot be nil.') end if @checksums.nil? invalid_properties.push('invalid value for "checksums", checksums cannot be nil.') end if @images.nil? invalid_properties.push('invalid value for "images", images cannot be nil.') end if @variants.nil? invalid_properties.push('invalid value for "variants", variants cannot be nil.') end invalid_properties end |