Method: OpenapiClient::EmployeeResponse#==
- Defined in:
- lib/openapi_client/models/employee_response.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 |
# File 'lib/openapi_client/models/employee_response.rb', line 442 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && remote_id == o.remote_id && employee_number == o.employee_number && first_name == o.first_name && last_name == o.last_name && display_full_name == o.display_full_name && nationality == o.nationality && job_title == o.job_title && work_email == o.work_email && personal_email == o.personal_email && mobile_phone_number == o.mobile_phone_number && tax_id == o.tax_id && gender == o.gender && ethnicity == o.ethnicity && marital_status == o.marital_status && date_of_birth == o.date_of_birth && employment_status == o.employment_status && employment_type == o.employment_type && start_date == o.start_date && remote_created_at == o.remote_created_at && termination_date == o.termination_date && avatar == o.avatar && home_location == o.home_location && work_location == o.work_location && manager == o.manager && bank_account == o.bank_account && employments == o.employments && custom_fields == o.custom_fields && groups == o.groups end |