Method: TogaiClient::Incident#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



206
207
208
209
210
211
212
213
214
215
216
217
218
219
# File 'lib/togai_client/models/incident.rb', line 206

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      alert_id == o.alert_id &&
      alert_version == o.alert_version &&
      alert_template_id == o.alert_template_id &&
      valid_until == o.valid_until &&
      report_data == o.report_data &&
      status == o.status &&
      last_checked_at == o.last_checked_at &&
      created_at == o.created_at &&
      updated_at == o.updated_at
end