Class: Kombo::Models::Shared::GetHrisEmployeesPositiveResponseResult

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/gethrisemployeespositiveresponse_result.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id:, remote_id:, changed_at:, employments:, time_off_balances:, groups:, employee_number: nil, first_name: nil, last_name: nil, nationality: nil, display_full_name: nil, job_title: nil, mobile_phone_number: nil, ssn: nil, tax_id: nil, weekly_hours: nil, avatar: nil, work_location_id: nil, legal_entity_id: nil, manager_id: nil, date_of_birth: nil, start_date: nil, termination_date: nil, remote_created_at: nil, remote_deleted_at: nil, custom_fields: nil, manager: nil, legal_entity: nil, work_location: nil, work_email: nil, personal_email: nil, gender: nil, ethnicity: nil, marital_status: nil, employment_status: nil, employment_type: nil, home_address: nil, bank_accounts: nil) ⇒ GetHrisEmployeesPositiveResponseResult

Returns a new instance of GetHrisEmployeesPositiveResponseResult.



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
152
153
154
155
156
# File 'lib/kombo/models/shared/gethrisemployeespositiveresponse_result.rb', line 117

def initialize(id:, remote_id:, changed_at:, employments:, time_off_balances:, groups:, employee_number: nil, first_name: nil, last_name: nil, nationality: nil, display_full_name: nil, job_title: nil, mobile_phone_number: nil, ssn: nil, tax_id: nil, weekly_hours: nil, avatar: nil, work_location_id: nil, legal_entity_id: nil, manager_id: nil, date_of_birth: nil, start_date: nil, termination_date: nil, remote_created_at: nil, remote_deleted_at: nil, custom_fields: nil, manager: nil, legal_entity: nil, work_location: nil, work_email: nil, personal_email: nil, gender: nil, ethnicity: nil, marital_status: nil, employment_status: nil, employment_type: nil, home_address: nil, bank_accounts: nil)
  @id = id
  @remote_id = remote_id
  @changed_at = changed_at
  @employments = employments
  @time_off_balances = time_off_balances
  @groups = groups
  @employee_number = employee_number
  @first_name = first_name
  @last_name = last_name
  @nationality = nationality
  @display_full_name = display_full_name
  @job_title = job_title
  @mobile_phone_number = mobile_phone_number
  @ssn = ssn
  @tax_id = tax_id
  @weekly_hours = weekly_hours
  @avatar = avatar
  @work_location_id = work_location_id
  @legal_entity_id = legal_entity_id
  @manager_id = manager_id
  @date_of_birth = date_of_birth
  @start_date = start_date
  @termination_date = termination_date
  @remote_created_at = remote_created_at
  @remote_deleted_at = remote_deleted_at
  @custom_fields = custom_fields
  @manager = manager
  @legal_entity = legal_entity
  @work_location = work_location
  @work_email = work_email
  @personal_email = personal_email
  @gender = gender
  @ethnicity = ethnicity
  @marital_status = marital_status
  @employment_status = employment_status
  @employment_type = employment_type
  @home_address = home_address
  @bank_accounts = bank_accounts
end

Instance Method Details

#==(other) ⇒ Object



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
199
200
# File 'lib/kombo/models/shared/gethrisemployeespositiveresponse_result.rb', line 159

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @remote_id == other.remote_id
  return false unless @changed_at == other.changed_at
  return false unless @employments == other.employments
  return false unless @time_off_balances == other.time_off_balances
  return false unless @groups == other.groups
  return false unless @employee_number == other.employee_number
  return false unless @first_name == other.first_name
  return false unless @last_name == other.last_name
  return false unless @nationality == other.nationality
  return false unless @display_full_name == other.display_full_name
  return false unless @job_title == other.job_title
  return false unless @mobile_phone_number == other.mobile_phone_number
  return false unless @ssn == other.ssn
  return false unless @tax_id == other.tax_id
  return false unless @weekly_hours == other.weekly_hours
  return false unless @avatar == other.avatar
  return false unless @work_location_id == other.work_location_id
  return false unless @legal_entity_id == other.legal_entity_id
  return false unless @manager_id == other.manager_id
  return false unless @date_of_birth == other.date_of_birth
  return false unless @start_date == other.start_date
  return false unless @termination_date == other.termination_date
  return false unless @remote_created_at == other.remote_created_at
  return false unless @remote_deleted_at == other.remote_deleted_at
  return false unless @custom_fields == other.custom_fields
  return false unless @manager == other.manager
  return false unless @legal_entity == other.legal_entity
  return false unless @work_location == other.work_location
  return false unless @work_email == other.work_email
  return false unless @personal_email == other.personal_email
  return false unless @gender == other.gender
  return false unless @ethnicity == other.ethnicity
  return false unless @marital_status == other.marital_status
  return false unless @employment_status == other.employment_status
  return false unless @employment_type == other.employment_type
  return false unless @home_address == other.home_address
  return false unless @bank_accounts == other.bank_accounts
  true
end