Method: PulpcoreClient::ObjectRolesResponse#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



83
84
85
86
87
# File 'lib/pulpcore_client/models/object_roles_response.rb', line 83

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @roles.nil?
  true
end