Method: Harbor2Client::Artifact#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/harbor2_client/models/artifact.rb', line 215

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      type == o.type &&
      media_type == o.media_type &&
      manifest_media_type == o.manifest_media_type &&
      project_id == o.project_id &&
      repository_id == o.repository_id &&
      digest == o.digest &&
      size == o.size &&
      icon == o.icon &&
      push_time == o.push_time &&
      pull_time == o.pull_time &&
      extra_attrs == o.extra_attrs &&
      annotations == o.annotations &&
      references == o.references &&
      tags == o.tags &&
      addition_links == o.addition_links &&
      labels == o.labels &&
      scan_overview == o.scan_overview
end