Method: Bandwidth::GatherCallback#==

Defined in:
lib/bandwidth-sdk/models/gather_callback.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/bandwidth-sdk/models/gather_callback.rb', line 267

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      event_type == o.event_type &&
      event_time == o.event_time &&
       == o. &&
      application_id == o.application_id &&
      from == o.from &&
      to == o.to &&
      direction == o.direction &&
      call_id == o.call_id &&
      digits == o.digits &&
      call_url == o.call_url &&
      enqueued_time == o.enqueued_time &&
      start_time == o.start_time &&
      answer_time == o.answer_time &&
      parent_call_id == o.parent_call_id &&
      terminating_digit == o.terminating_digit &&
      transfer_caller_id == o.transfer_caller_id &&
      transfer_to == o.transfer_to &&
      tag == o.tag
end