Method: TogaiClient::Incident#hash

Defined in:
lib/togai_client/models/incident.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



229
230
231
# File 'lib/togai_client/models/incident.rb', line 229

def hash
  [id, alert_id, alert_version, alert_template_id, valid_until, report_data, status, last_checked_at, created_at, updated_at].hash
end