Method: PureCloud::OrganizationPresence#==

Defined in:
lib/purecloudplatformclientv2/models/organization_presence.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/purecloudplatformclientv2/models/organization_presence.rb', line 156

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      language_labels == o.language_labels &&
      system_presence == o.system_presence &&
      deactivated == o.deactivated &&
      primary == o.primary &&
      created_by == o.created_by &&
      created_date == o.created_date &&
      modified_by == o.modified_by &&
      modified_date == o.modified_date &&
      self_uri == o.self_uri
end