Method: Harbor2Client::Artifact#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



246
247
248
# File 'lib/harbor2_client/models/artifact.rb', line 246

def hash
  [id, type, media_type, manifest_media_type, project_id, repository_id, digest, size, icon, push_time, pull_time, extra_attrs, annotations, references, tags, addition_links, labels, scan_overview].hash
end