Class: StackOne::Models::Shared::HrisUpdateEmployeeRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::HrisUpdateEmployeeRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_id: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, national_identity_numbers: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, team_id: nil, termination_date: nil, title: nil, work_email: nil, work_location: nil, work_phone_number: nil) ⇒ HrisUpdateEmployeeRequestDto
constructor
A new instance of HrisUpdateEmployeeRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_id: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, national_identity_numbers: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, team_id: nil, termination_date: nil, title: nil, work_email: nil, work_location: nil, work_phone_number: nil) ⇒ HrisUpdateEmployeeRequestDto
Returns a new instance of HrisUpdateEmployeeRequestDto.
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb', line 109 def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_id: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: nil, employee_number: nil, employment: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, national_identity_numbers: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, team_id: nil, termination_date: nil, title: nil, work_email: nil, work_location: nil, work_phone_number: nil) @avatar = avatar @avatar_url = avatar_url @benefits = benefits @birthday = birthday @citizenships = citizenships @company_id = company_id @company_name = company_name @custom_fields = custom_fields @date_of_birth = date_of_birth @department = department @department_id = department_id @display_name = display_name @employee_number = employee_number @employment = employment @employment_contract_type = employment_contract_type @employment_status = employment_status @employment_type = employment_type @ethnicity = ethnicity @first_name = first_name @gender = gender @hire_date = hire_date @home_location = home_location @job_id = job_id @job_title = job_title @last_name = last_name @manager_id = manager_id @marital_status = marital_status @name = name @national_identity_number = national_identity_number @national_identity_numbers = national_identity_numbers @passthrough = passthrough @personal_email = personal_email @personal_phone_number = personal_phone_number @preferred_language = preferred_language @start_date = start_date @team_id = team_id @termination_date = termination_date @title = title @work_email = work_email @work_location = work_location @work_phone_number = work_phone_number end |
Instance Method Details
#==(other) ⇒ Object
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb', line 154 def ==(other) return false unless other.is_a? self.class return false unless @avatar == other.avatar return false unless @avatar_url == other.avatar_url return false unless @benefits == other.benefits return false unless @birthday == other.birthday return false unless @citizenships == other.citizenships return false unless @company_id == other.company_id return false unless @company_name == other.company_name return false unless @custom_fields == other.custom_fields return false unless @date_of_birth == other.date_of_birth return false unless @department == other.department return false unless @department_id == other.department_id return false unless @display_name == other.display_name return false unless @employee_number == other.employee_number return false unless @employment == other.employment return false unless @employment_contract_type == other.employment_contract_type return false unless @employment_status == other.employment_status return false unless @employment_type == other.employment_type return false unless @ethnicity == other.ethnicity return false unless @first_name == other.first_name return false unless @gender == other.gender return false unless @hire_date == other.hire_date return false unless @home_location == other.home_location return false unless @job_id == other.job_id return false unless @job_title == other.job_title return false unless @last_name == other.last_name return false unless @manager_id == other.manager_id return false unless @marital_status == other.marital_status return false unless @name == other.name return false unless @national_identity_number == other.national_identity_number return false unless @national_identity_numbers == other.national_identity_numbers return false unless @passthrough == other.passthrough return false unless @personal_email == other.personal_email return false unless @personal_phone_number == other.personal_phone_number return false unless @preferred_language == other.preferred_language return false unless @start_date == other.start_date return false unless @team_id == other.team_id return false unless @termination_date == other.termination_date return false unless @title == other.title return false unless @work_email == other.work_email return false unless @work_location == other.work_location return false unless @work_phone_number == other.work_phone_number true end |