Method: PureCloud::ActivityCode#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



144
145
146
147
148
149
150
151
152
153
154
155
# File 'lib/purecloudplatformclientv2/models/activity_code.rb', line 144

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      is_active == o.is_active &&
      is_default == o.is_default &&
      category == o.category &&
      length_in_minutes == o.length_in_minutes &&
      counts_as_paid_time == o.counts_as_paid_time &&
      counts_as_work_time == o.counts_as_work_time &&
      is_agent_time_off_selectable == o.is_agent_time_off_selectable
end