Method: OpenapiClient::TagShipmentResponseBody#==

Defined in:
lib/openapi_client/models/tag_shipment_response_body.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



95
96
97
98
99
100
# File 'lib/openapi_client/models/tag_shipment_response_body.rb', line 95

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      shipment_id == o.shipment_id &&
      tag == o.tag
end