Method: OpenapiClient::EmployeeResponse#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



484
485
486
# File 'lib/openapi_client/models/employee_response.rb', line 484

def hash
  [id, remote_id, employee_number, first_name, last_name, display_full_name, nationality, job_title, work_email, personal_email, mobile_phone_number, tax_id, gender, ethnicity, marital_status, date_of_birth, employment_status, employment_type, start_date, remote_created_at, termination_date, avatar, home_location, work_location, manager, , employments, custom_fields, groups].hash
end