Method: OpsgenieSdk::PrometheusIntegration#==

Defined in:
lib/opsgenie_sdk/models/prometheus_integration.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



158
159
160
161
162
163
164
165
166
167
168
# File 'lib/opsgenie_sdk/models/prometheus_integration.rb', line 158

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      id == o.id &&
      name == o.name &&
      enabled == o.enabled &&
      owner_team == o.owner_team &&
      is_global == o.is_global &&
      _read_only == o._read_only
end