Method: PulpRpmClient::NestedRole#list_invalid_properties
- Defined in:
- lib/pulp_rpm_client/models/nested_role.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/pulp_rpm_client/models/nested_role.rb', line 90 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @role.nil? invalid_properties.push('invalid value for "role", role cannot be nil.') end if @role.to_s.length < 1 invalid_properties.push('invalid value for "role", the character length must be great than or equal to 1.') end invalid_properties end |