Method: Harbor2Client::Label#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/harbor2_client/models/label.rb', line 125

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      description == o.description &&
      color == o.color &&
      scope == o.scope &&
      project_id == o.project_id &&
      creation_time == o.creation_time &&
      update_time == o.update_time
end