Method: Harbor1Client::WebhookPolicy#hash

Defined in:
lib/harbor1_client/models/webhook_policy.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



169
170
171
# File 'lib/harbor1_client/models/webhook_policy.rb', line 169

def hash
  [id, name, description, project_id, targets, event_types, creator, creation_time, update_time, enabled].hash
end