Method: PulpcoreClient::ObjectRolesResponse#list_invalid_properties

Defined in:
lib/pulpcore_client/models/object_roles_response.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



63
64
65
66
67
68
69
70
# File 'lib/pulpcore_client/models/object_roles_response.rb', line 63

def list_invalid_properties
  invalid_properties = Array.new
  if @roles.nil?
    invalid_properties.push('invalid value for "roles", roles cannot be nil.')
  end

  invalid_properties
end