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?
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/pulpcore_client/models/group_role.rb', line 72 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 |