Method: PureCloud::CampaignStats#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



111
112
113
114
115
116
117
118
119
120
# File 'lib/purecloudplatformclientv2/models/campaign_stats.rb', line 111

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      contact_rate == o.contact_rate &&
      idle_agents == o.idle_agents &&
      effective_idle_agents == o.effective_idle_agents &&
      adjusted_calls_per_agent == o.adjusted_calls_per_agent &&
      outstanding_calls == o.outstanding_calls &&
      scheduled_calls == o.scheduled_calls
end