Method: OpenapiClient::CompensationHistoryResponse#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



181
182
183
184
185
186
187
188
189
190
191
# File 'lib/openapi_client/models/compensation_history_response.rb', line 181

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      pay_rate == o.pay_rate &&
      pay_period == o.pay_period &&
      pay_frequency == o.pay_frequency &&
      employment_type == o.employment_type &&
      currency == o.currency &&
      effective_date == o.effective_date &&
      notes == o.notes
end