Method: Harbor2Client::PreheatPolicy#hash

Defined in:
lib/harbor2_client/models/preheat_policy.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



176
177
178
# File 'lib/harbor2_client/models/preheat_policy.rb', line 176

def hash
  [id, name, description, project_id, provider_id, provider_name, filters, trigger, enabled, creation_time, update_time].hash
end