Method: OpenapiClient::EmploymentResponse#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



185
186
187
188
189
190
191
192
193
194
195
# File 'lib/openapi_client/models/employment_response.rb', line 185

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      job_title == o.job_title &&
      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
end