Method: Harbor2Client::Quota#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



127
128
129
# File 'lib/harbor2_client/models/quota.rb', line 127

def hash
  [id, ref, hard, used, creation_time, update_time].hash
end