Method: Harbor1Client::UserProfile#==

Defined in:
lib/harbor1_client/models/user_profile.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



80
81
82
83
84
85
86
# File 'lib/harbor1_client/models/user_profile.rb', line 80

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      email == o.email &&
      realname == o.realname &&
      comment == o.comment
end