Method: Bandwidth::TransferCompleteCallback#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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

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 &&
      call_url == o.call_url &&
      enqueued_time == o.enqueued_time &&
      start_time == o.start_time &&
      answer_time == o.answer_time &&
      tag == o.tag &&
      transfer_caller_id == o.transfer_caller_id &&
      transfer_to == o.transfer_to &&
      cause == o.cause &&
      error_message == o.error_message &&
      error_id == o.error_id
end