Method: Harbor2Client::Execution#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'lib/harbor2_client/models/execution.rb', line 141

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      vendor_type == o.vendor_type &&
      vendor_id == o.vendor_id &&
      status == o.status &&
      status_message == o.status_message &&
      metrics == o.metrics &&
      trigger == o.trigger &&
      extra_attrs == o.extra_attrs &&
      start_time == o.start_time &&
      end_time == o.end_time
end