Method: Harbor2Client::Label#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



146
147
148
# File 'lib/harbor2_client/models/label.rb', line 146

def hash
  [id, name, description, color, scope, project_id, creation_time, update_time].hash
end