Method: OpsgenieSdk::PrometheusIntegration#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



178
179
180
# File 'lib/opsgenie_sdk/models/prometheus_integration.rb', line 178

def hash
  [type, id, name, enabled, owner_team, is_global, _read_only].hash
end