Method: PulpcoreClient::GroupRole#list_invalid_properties
- Defined in:
- lib/pulpcore_client/models/group_role.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/pulpcore_client/models/group_role.rb', line 82 def list_invalid_properties 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 if @content_object.to_s.length < 1 invalid_properties.push('invalid value for "content_object", the character length must be great than or equal to 1.') end invalid_properties end |