Method: Harbor2Client::UserSearch#==

Defined in:
lib/harbor2_client/models/user_search.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



70
71
72
73
74
75
# File 'lib/harbor2_client/models/user_search.rb', line 70

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      user_id == o.user_id &&
      username == o.username
end