Method: Bandwidth::DisconnectCallback#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



284
285
286
# File 'lib/bandwidth-sdk/models/disconnect_callback.rb', line 284

def hash
  [event_type, event_time, , application_id, from, to, call_id, direction, call_url, enqueued_time, start_time, answer_time, end_time, cause, error_message, error_id, tag].hash
end