merge_hris_client 2.0.1 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/BankInfo.md +3 -1
- data/docs/BankInfoApi.md +7 -3
- data/docs/Benefit.md +3 -1
- data/docs/BenefitsApi.md +2 -2
- data/docs/CompaniesApi.md +2 -2
- data/docs/Company.md +3 -1
- data/docs/DataPassthroughRequest.md +3 -1
- data/docs/Deduction.md +3 -1
- data/docs/DeductionsApi.md +2 -2
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +3 -1
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeePayrollRunsApi.md +2 -2
- data/docs/EmployeesApi.md +15 -3
- data/docs/Employment.md +4 -2
- data/docs/EmploymentsApi.md +7 -3
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/GroupsApi.md +7 -3
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +4 -2
- data/docs/LocationsApi.md +7 -3
- data/docs/PayGroup.md +3 -1
- data/docs/PayGroupsApi.md +2 -2
- data/docs/PayrollRun.md +3 -1
- data/docs/PayrollRunsApi.md +7 -3
- data/docs/RemoteResponse.md +2 -0
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TeamsApi.md +2 -2
- data/docs/TimeOff.md +3 -1
- data/docs/TimeOffApi.md +7 -3
- data/docs/TimeOffBalance.md +3 -1
- data/docs/TimeOffBalancesApi.md +7 -3
- data/lib/merge_hris_client/api/bank_info_api.rb +16 -3
- data/lib/merge_hris_client/api/benefits_api.rb +2 -2
- data/lib/merge_hris_client/api/companies_api.rb +2 -2
- data/lib/merge_hris_client/api/deductions_api.rb +2 -2
- data/lib/merge_hris_client/api/employee_payroll_runs_api.rb +2 -2
- data/lib/merge_hris_client/api/employees_api.rb +32 -2
- data/lib/merge_hris_client/api/employments_api.rb +16 -2
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/groups_api.rb +16 -2
- data/lib/merge_hris_client/api/linked_accounts_api.rb +14 -14
- data/lib/merge_hris_client/api/locations_api.rb +16 -2
- data/lib/merge_hris_client/api/pay_groups_api.rb +2 -2
- data/lib/merge_hris_client/api/payroll_runs_api.rb +16 -2
- data/lib/merge_hris_client/api/teams_api.rb +2 -2
- data/lib/merge_hris_client/api/time_off_api.rb +16 -2
- data/lib/merge_hris_client/api/time_off_balances_api.rb +16 -2
- data/lib/merge_hris_client/api/webhook_receivers_api.rb +154 -0
- data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/bank_info.rb +15 -5
- data/lib/merge_hris_client/models/benefit.rb +15 -5
- data/lib/merge_hris_client/models/categories_enum.rb +2 -1
- data/lib/merge_hris_client/models/category_enum.rb +2 -1
- data/lib/merge_hris_client/models/company.rb +15 -5
- data/lib/merge_hris_client/models/country_enum.rb +0 -1
- data/lib/merge_hris_client/models/data_passthrough_request.rb +14 -5
- data/lib/merge_hris_client/models/deduction.rb +15 -5
- data/lib/merge_hris_client/models/earning.rb +18 -6
- data/lib/merge_hris_client/models/earning_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/employee.rb +14 -5
- data/lib/merge_hris_client/models/employee_payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/employment.rb +15 -5
- data/lib/merge_hris_client/models/employment_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/employment_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/encoding_enum.rb +1 -1
- data/lib/merge_hris_client/models/ethnicity_enum.rb +0 -1
- data/lib/merge_hris_client/models/flsa_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/gender_enum.rb +0 -1
- data/lib/merge_hris_client/models/group.rb +15 -5
- data/lib/merge_hris_client/models/group_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/issue_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/location.rb +15 -5
- data/lib/merge_hris_client/models/location_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/marital_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/method_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_currency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_frequency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_group.rb +15 -5
- data/lib/merge_hris_client/models/pay_period_enum.rb +0 -1
- data/lib/merge_hris_client/models/payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/policy_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/reason_enum.rb +0 -1
- data/lib/merge_hris_client/models/remote_response.rb +13 -2
- data/lib/merge_hris_client/models/request_format_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/tax.rb +18 -6
- data/lib/merge_hris_client/models/team.rb +15 -5
- data/lib/merge_hris_client/models/time_off.rb +14 -5
- data/lib/merge_hris_client/models/time_off_balance.rb +15 -5
- data/lib/merge_hris_client/models/time_off_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/units_enum.rb +0 -1
- data/lib/merge_hris_client/version.rb +1 -1
- data/spec/api/bank_info_api_spec.rb +3 -1
- data/spec/api/benefits_api_spec.rb +1 -1
- data/spec/api/companies_api_spec.rb +1 -1
- data/spec/api/deductions_api_spec.rb +1 -1
- data/spec/api/employee_payroll_runs_api_spec.rb +1 -1
- data/spec/api/employees_api_spec.rb +7 -1
- data/spec/api/employments_api_spec.rb +3 -1
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/groups_api_spec.rb +3 -1
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/locations_api_spec.rb +3 -1
- data/spec/api/pay_groups_api_spec.rb +1 -1
- data/spec/api/payroll_runs_api_spec.rb +3 -1
- data/spec/api/teams_api_spec.rb +1 -1
- data/spec/api/time_off_api_spec.rb +3 -1
- data/spec/api/time_off_balances_api_spec.rb +3 -1
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/bank_info_spec.rb +1 -1
- data/spec/models/benefit_spec.rb +1 -1
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/data_passthrough_request_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +1 -1
- data/spec/models/earning_spec.rb +1 -1
- data/spec/models/employee_payroll_run_spec.rb +1 -1
- data/spec/models/employee_spec.rb +2 -2
- data/spec/models/employment_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +1 -1
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +1 -1
- data/spec/models/payroll_run_spec.rb +1 -1
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/tax_spec.rb +1 -1
- data/spec/models/team_spec.rb +1 -1
- data/spec/models/time_off_balance_spec.rb +1 -1
- data/spec/models/time_off_spec.rb +1 -1
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +105 -107
- data/docs/BenefitPlanTypeEnum.md +0 -15
- data/docs/TypeEnum.md +0 -15
- data/lib/merge_hris_client/api/time_off_balance_api.rb +0 -196
- data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +0 -56
- data/lib/merge_hris_client/models/data_passthrough.rb +0 -262
- data/lib/merge_hris_client/models/end_user_details.rb +0 -289
- data/lib/merge_hris_client/models/remote_key_for_regeneration.rb +0 -224
- data/lib/merge_hris_client/models/state_enum.rb +0 -93
- data/lib/merge_hris_client/models/type_enum.rb +0 -38
- data/spec/models/benefit_plan_type_enum_spec.rb +0 -28
- data/spec/models/type_enum_spec.rb +0 -28
@@ -31,6 +31,9 @@ module MergeHRISClient
|
|
31
31
|
|
32
32
|
attr_accessor :remote_data
|
33
33
|
|
34
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
35
|
+
attr_accessor :remote_was_deleted
|
36
|
+
|
34
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
38
|
def self.attribute_map
|
36
39
|
{
|
@@ -39,7 +42,8 @@ module MergeHRISClient
|
|
39
42
|
:'name' => :'name',
|
40
43
|
:'employee_deduction' => :'employee_deduction',
|
41
44
|
:'company_deduction' => :'company_deduction',
|
42
|
-
:'remote_data' => :'remote_data'
|
45
|
+
:'remote_data' => :'remote_data',
|
46
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
43
47
|
}
|
44
48
|
end
|
45
49
|
|
@@ -56,7 +60,8 @@ module MergeHRISClient
|
|
56
60
|
:'name' => :'String',
|
57
61
|
:'employee_deduction' => :'Float',
|
58
62
|
:'company_deduction' => :'Float',
|
59
|
-
:'remote_data' => :'Array<RemoteData>'
|
63
|
+
:'remote_data' => :'Array<RemoteData>',
|
64
|
+
:'remote_was_deleted' => :'Boolean'
|
60
65
|
}
|
61
66
|
end
|
62
67
|
|
@@ -67,7 +72,7 @@ module MergeHRISClient
|
|
67
72
|
:'name',
|
68
73
|
:'employee_deduction',
|
69
74
|
:'company_deduction',
|
70
|
-
:'remote_data'
|
75
|
+
:'remote_data',
|
71
76
|
])
|
72
77
|
end
|
73
78
|
|
@@ -111,6 +116,10 @@ module MergeHRISClient
|
|
111
116
|
self.remote_data = value
|
112
117
|
end
|
113
118
|
end
|
119
|
+
|
120
|
+
if attributes.key?(:'remote_was_deleted')
|
121
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
122
|
+
end
|
114
123
|
end
|
115
124
|
|
116
125
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -136,7 +145,8 @@ module MergeHRISClient
|
|
136
145
|
name == o.name &&
|
137
146
|
employee_deduction == o.employee_deduction &&
|
138
147
|
company_deduction == o.company_deduction &&
|
139
|
-
remote_data == o.remote_data
|
148
|
+
remote_data == o.remote_data &&
|
149
|
+
remote_was_deleted == o.remote_was_deleted
|
140
150
|
end
|
141
151
|
|
142
152
|
# @see the `==` method
|
@@ -148,7 +158,7 @@ module MergeHRISClient
|
|
148
158
|
# Calculates hash code according to all attributes.
|
149
159
|
# @return [Integer] Hash code
|
150
160
|
def hash
|
151
|
-
[id, employee_payroll_run, name, employee_deduction, company_deduction, remote_data].hash
|
161
|
+
[id, employee_payroll_run, name, employee_deduction, company_deduction, remote_data, remote_was_deleted].hash
|
152
162
|
end
|
153
163
|
|
154
164
|
# Builds the object from hash
|
@@ -28,6 +28,9 @@ module MergeHRISClient
|
|
28
28
|
|
29
29
|
attr_accessor :remote_data
|
30
30
|
|
31
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
32
|
+
attr_accessor :remote_was_deleted
|
33
|
+
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
@@ -35,7 +38,8 @@ module MergeHRISClient
|
|
35
38
|
:'employee_payroll_run' => :'employee_payroll_run',
|
36
39
|
:'amount' => :'amount',
|
37
40
|
:'type' => :'type',
|
38
|
-
:'remote_data' => :'remote_data'
|
41
|
+
:'remote_data' => :'remote_data',
|
42
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
39
43
|
}
|
40
44
|
end
|
41
45
|
|
@@ -51,7 +55,8 @@ module MergeHRISClient
|
|
51
55
|
:'employee_payroll_run' => :'String',
|
52
56
|
:'amount' => :'Float',
|
53
57
|
:'type' => :'EarningTypeEnum',
|
54
|
-
:'remote_data' => :'String'
|
58
|
+
:'remote_data' => :'Array<Hash<String, AnyType>>',
|
59
|
+
:'remote_was_deleted' => :'Boolean'
|
55
60
|
}
|
56
61
|
end
|
57
62
|
|
@@ -61,7 +66,7 @@ module MergeHRISClient
|
|
61
66
|
:'employee_payroll_run',
|
62
67
|
:'amount',
|
63
68
|
:'type',
|
64
|
-
:'remote_data'
|
69
|
+
:'remote_data',
|
65
70
|
])
|
66
71
|
end
|
67
72
|
|
@@ -97,7 +102,13 @@ module MergeHRISClient
|
|
97
102
|
end
|
98
103
|
|
99
104
|
if attributes.key?(:'remote_data')
|
100
|
-
|
105
|
+
if (value = attributes[:'remote_data']).is_a?(Array)
|
106
|
+
self.remote_data = value
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'remote_was_deleted')
|
111
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
101
112
|
end
|
102
113
|
end
|
103
114
|
|
@@ -123,7 +134,8 @@ module MergeHRISClient
|
|
123
134
|
employee_payroll_run == o.employee_payroll_run &&
|
124
135
|
amount == o.amount &&
|
125
136
|
type == o.type &&
|
126
|
-
remote_data == o.remote_data
|
137
|
+
remote_data == o.remote_data &&
|
138
|
+
remote_was_deleted == o.remote_was_deleted
|
127
139
|
end
|
128
140
|
|
129
141
|
# @see the `==` method
|
@@ -135,7 +147,7 @@ module MergeHRISClient
|
|
135
147
|
# Calculates hash code according to all attributes.
|
136
148
|
# @return [Integer] Hash code
|
137
149
|
def hash
|
138
|
-
[id, employee_payroll_run, amount, type, remote_data].hash
|
150
|
+
[id, employee_payroll_run, amount, type, remote_data, remote_was_deleted].hash
|
139
151
|
end
|
140
152
|
|
141
153
|
# Builds the object from hash
|
@@ -94,6 +94,8 @@ module MergeHRISClient
|
|
94
94
|
# Custom fields configured for a given model.
|
95
95
|
attr_accessor :custom_fields
|
96
96
|
|
97
|
+
attr_accessor :remote_was_deleted
|
98
|
+
|
97
99
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
100
|
def self.attribute_map
|
99
101
|
{
|
@@ -125,7 +127,8 @@ module MergeHRISClient
|
|
125
127
|
:'termination_date' => :'termination_date',
|
126
128
|
:'avatar' => :'avatar',
|
127
129
|
:'remote_data' => :'remote_data',
|
128
|
-
:'custom_fields' => :'custom_fields'
|
130
|
+
:'custom_fields' => :'custom_fields',
|
131
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
129
132
|
}
|
130
133
|
end
|
131
134
|
|
@@ -165,7 +168,8 @@ module MergeHRISClient
|
|
165
168
|
:'termination_date' => :'Time',
|
166
169
|
:'avatar' => :'String',
|
167
170
|
:'remote_data' => :'Array<RemoteData>',
|
168
|
-
:'custom_fields' => :'Hash<String, AnyType>'
|
171
|
+
:'custom_fields' => :'Hash<String, AnyType>',
|
172
|
+
:'remote_was_deleted' => :'Boolean'
|
169
173
|
}
|
170
174
|
end
|
171
175
|
|
@@ -197,7 +201,7 @@ module MergeHRISClient
|
|
197
201
|
:'termination_date',
|
198
202
|
:'avatar',
|
199
203
|
:'remote_data',
|
200
|
-
:'custom_fields'
|
204
|
+
:'custom_fields',
|
201
205
|
])
|
202
206
|
end
|
203
207
|
|
@@ -339,6 +343,10 @@ module MergeHRISClient
|
|
339
343
|
self.custom_fields = value
|
340
344
|
end
|
341
345
|
end
|
346
|
+
|
347
|
+
if attributes.key?(:'remote_was_deleted')
|
348
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
349
|
+
end
|
342
350
|
end
|
343
351
|
|
344
352
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -447,7 +455,8 @@ module MergeHRISClient
|
|
447
455
|
termination_date == o.termination_date &&
|
448
456
|
avatar == o.avatar &&
|
449
457
|
remote_data == o.remote_data &&
|
450
|
-
custom_fields == o.custom_fields
|
458
|
+
custom_fields == o.custom_fields &&
|
459
|
+
remote_was_deleted == o.remote_was_deleted
|
451
460
|
end
|
452
461
|
|
453
462
|
# @see the `==` method
|
@@ -459,7 +468,7 @@ module MergeHRISClient
|
|
459
468
|
# Calculates hash code according to all attributes.
|
460
469
|
# @return [Integer] Hash code
|
461
470
|
def hash
|
462
|
-
[id, remote_id, employee_number, company, first_name, last_name, display_full_name, groups, work_email, personal_email, mobile_phone_number, employments, home_location, work_location, manager, team, pay_group, ssn, gender, ethnicity, marital_status, date_of_birth, hire_date, start_date, employment_status, termination_date, avatar, remote_data, custom_fields].hash
|
471
|
+
[id, remote_id, employee_number, company, first_name, last_name, display_full_name, groups, work_email, personal_email, mobile_phone_number, employments, home_location, work_location, manager, team, pay_group, ssn, gender, ethnicity, marital_status, date_of_birth, hire_date, start_date, employment_status, termination_date, avatar, remote_data, custom_fields, remote_was_deleted].hash
|
463
472
|
end
|
464
473
|
|
465
474
|
# Builds the object from hash
|
@@ -48,6 +48,9 @@ module MergeHRISClient
|
|
48
48
|
|
49
49
|
attr_accessor :remote_data
|
50
50
|
|
51
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
52
|
+
attr_accessor :remote_was_deleted
|
53
|
+
|
51
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
55
|
def self.attribute_map
|
53
56
|
{
|
@@ -63,7 +66,8 @@ module MergeHRISClient
|
|
63
66
|
:'earnings' => :'earnings',
|
64
67
|
:'deductions' => :'deductions',
|
65
68
|
:'taxes' => :'taxes',
|
66
|
-
:'remote_data' => :'remote_data'
|
69
|
+
:'remote_data' => :'remote_data',
|
70
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
67
71
|
}
|
68
72
|
end
|
69
73
|
|
@@ -87,7 +91,8 @@ module MergeHRISClient
|
|
87
91
|
:'earnings' => :'Array<Earning>',
|
88
92
|
:'deductions' => :'Array<Deduction>',
|
89
93
|
:'taxes' => :'Array<Tax>',
|
90
|
-
:'remote_data' => :'Array<RemoteData>'
|
94
|
+
:'remote_data' => :'Array<RemoteData>',
|
95
|
+
:'remote_was_deleted' => :'Boolean'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -102,7 +107,7 @@ module MergeHRISClient
|
|
102
107
|
:'start_date',
|
103
108
|
:'end_date',
|
104
109
|
:'check_date',
|
105
|
-
:'remote_data'
|
110
|
+
:'remote_data',
|
106
111
|
])
|
107
112
|
end
|
108
113
|
|
@@ -180,6 +185,10 @@ module MergeHRISClient
|
|
180
185
|
self.remote_data = value
|
181
186
|
end
|
182
187
|
end
|
188
|
+
|
189
|
+
if attributes.key?(:'remote_was_deleted')
|
190
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
191
|
+
end
|
183
192
|
end
|
184
193
|
|
185
194
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -212,7 +221,8 @@ module MergeHRISClient
|
|
212
221
|
earnings == o.earnings &&
|
213
222
|
deductions == o.deductions &&
|
214
223
|
taxes == o.taxes &&
|
215
|
-
remote_data == o.remote_data
|
224
|
+
remote_data == o.remote_data &&
|
225
|
+
remote_was_deleted == o.remote_was_deleted
|
216
226
|
end
|
217
227
|
|
218
228
|
# @see the `==` method
|
@@ -224,7 +234,7 @@ module MergeHRISClient
|
|
224
234
|
# Calculates hash code according to all attributes.
|
225
235
|
# @return [Integer] Hash code
|
226
236
|
def hash
|
227
|
-
[id, remote_id, employee, payroll_run, gross_pay, net_pay, start_date, end_date, check_date, earnings, deductions, taxes, remote_data].hash
|
237
|
+
[id, remote_id, employee, payroll_run, gross_pay, net_pay, start_date, end_date, check_date, earnings, deductions, taxes, remote_data, remote_was_deleted].hash
|
228
238
|
end
|
229
239
|
|
230
240
|
# Builds the object from hash
|
@@ -51,6 +51,9 @@ module MergeHRISClient
|
|
51
51
|
|
52
52
|
attr_accessor :remote_data
|
53
53
|
|
54
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
55
|
+
attr_accessor :remote_was_deleted
|
56
|
+
|
54
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
55
58
|
def self.attribute_map
|
56
59
|
{
|
@@ -66,7 +69,8 @@ module MergeHRISClient
|
|
66
69
|
:'flsa_status' => :'flsa_status',
|
67
70
|
:'effective_date' => :'effective_date',
|
68
71
|
:'employment_type' => :'employment_type',
|
69
|
-
:'remote_data' => :'remote_data'
|
72
|
+
:'remote_data' => :'remote_data',
|
73
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
70
74
|
}
|
71
75
|
end
|
72
76
|
|
@@ -90,7 +94,8 @@ module MergeHRISClient
|
|
90
94
|
:'flsa_status' => :'FlsaStatusEnum',
|
91
95
|
:'effective_date' => :'Time',
|
92
96
|
:'employment_type' => :'EmploymentTypeEnum',
|
93
|
-
:'remote_data' => :'Array<RemoteData>'
|
97
|
+
:'remote_data' => :'Array<RemoteData>',
|
98
|
+
:'remote_was_deleted' => :'Boolean'
|
94
99
|
}
|
95
100
|
end
|
96
101
|
|
@@ -108,7 +113,7 @@ module MergeHRISClient
|
|
108
113
|
:'flsa_status',
|
109
114
|
:'effective_date',
|
110
115
|
:'employment_type',
|
111
|
-
:'remote_data'
|
116
|
+
:'remote_data',
|
112
117
|
])
|
113
118
|
end
|
114
119
|
|
@@ -180,6 +185,10 @@ module MergeHRISClient
|
|
180
185
|
self.remote_data = value
|
181
186
|
end
|
182
187
|
end
|
188
|
+
|
189
|
+
if attributes.key?(:'remote_was_deleted')
|
190
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
191
|
+
end
|
183
192
|
end
|
184
193
|
|
185
194
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -212,7 +221,8 @@ module MergeHRISClient
|
|
212
221
|
flsa_status == o.flsa_status &&
|
213
222
|
effective_date == o.effective_date &&
|
214
223
|
employment_type == o.employment_type &&
|
215
|
-
remote_data == o.remote_data
|
224
|
+
remote_data == o.remote_data &&
|
225
|
+
remote_was_deleted == o.remote_was_deleted
|
216
226
|
end
|
217
227
|
|
218
228
|
# @see the `==` method
|
@@ -224,7 +234,7 @@ module MergeHRISClient
|
|
224
234
|
# Calculates hash code according to all attributes.
|
225
235
|
# @return [Integer] Hash code
|
226
236
|
def hash
|
227
|
-
[id, remote_id, employee, job_title, pay_rate, pay_period, pay_frequency, pay_currency, pay_group, flsa_status, effective_date, employment_type, remote_data].hash
|
237
|
+
[id, remote_id, employee, job_title, pay_rate, pay_period, pay_frequency, pay_currency, pay_group, flsa_status, effective_date, employment_type, remote_data, remote_was_deleted].hash
|
228
238
|
end
|
229
239
|
|
230
240
|
# Builds the object from hash
|
@@ -17,6 +17,7 @@ module MergeHRISClient
|
|
17
17
|
class EncodingEnum
|
18
18
|
RAW = "RAW".freeze
|
19
19
|
BASE64 = "BASE64".freeze
|
20
|
+
GZIP_BASE64 = "GZIP_BASE64".freeze
|
20
21
|
|
21
22
|
# Builds the enum from string
|
22
23
|
# @param [String] The enum value in the form of the string
|
@@ -32,5 +33,4 @@ module MergeHRISClient
|
|
32
33
|
value
|
33
34
|
end
|
34
35
|
end
|
35
|
-
|
36
36
|
end
|
@@ -32,6 +32,9 @@ module MergeHRISClient
|
|
32
32
|
|
33
33
|
attr_accessor :remote_data
|
34
34
|
|
35
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
36
|
+
attr_accessor :remote_was_deleted
|
37
|
+
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
@@ -40,7 +43,8 @@ module MergeHRISClient
|
|
40
43
|
:'parent_group' => :'parent_group',
|
41
44
|
:'name' => :'name',
|
42
45
|
:'type' => :'type',
|
43
|
-
:'remote_data' => :'remote_data'
|
46
|
+
:'remote_data' => :'remote_data',
|
47
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -57,7 +61,8 @@ module MergeHRISClient
|
|
57
61
|
:'parent_group' => :'String',
|
58
62
|
:'name' => :'String',
|
59
63
|
:'type' => :'GroupTypeEnum',
|
60
|
-
:'remote_data' => :'Array<RemoteData>'
|
64
|
+
:'remote_data' => :'Array<RemoteData>',
|
65
|
+
:'remote_was_deleted' => :'Boolean'
|
61
66
|
}
|
62
67
|
end
|
63
68
|
|
@@ -68,7 +73,7 @@ module MergeHRISClient
|
|
68
73
|
:'parent_group',
|
69
74
|
:'name',
|
70
75
|
:'type',
|
71
|
-
:'remote_data'
|
76
|
+
:'remote_data',
|
72
77
|
])
|
73
78
|
end
|
74
79
|
|
@@ -112,6 +117,10 @@ module MergeHRISClient
|
|
112
117
|
self.remote_data = value
|
113
118
|
end
|
114
119
|
end
|
120
|
+
|
121
|
+
if attributes.key?(:'remote_was_deleted')
|
122
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
123
|
+
end
|
115
124
|
end
|
116
125
|
|
117
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -137,7 +146,8 @@ module MergeHRISClient
|
|
137
146
|
parent_group == o.parent_group &&
|
138
147
|
name == o.name &&
|
139
148
|
type == o.type &&
|
140
|
-
remote_data == o.remote_data
|
149
|
+
remote_data == o.remote_data &&
|
150
|
+
remote_was_deleted == o.remote_was_deleted
|
141
151
|
end
|
142
152
|
|
143
153
|
# @see the `==` method
|
@@ -149,7 +159,7 @@ module MergeHRISClient
|
|
149
159
|
# Calculates hash code according to all attributes.
|
150
160
|
# @return [Integer] Hash code
|
151
161
|
def hash
|
152
|
-
[id, remote_id, parent_group, name, type, remote_data].hash
|
162
|
+
[id, remote_id, parent_group, name, type, remote_data, remote_was_deleted].hash
|
153
163
|
end
|
154
164
|
|
155
165
|
# Builds the object from hash
|
@@ -50,6 +50,9 @@ module MergeHRISClient
|
|
50
50
|
|
51
51
|
attr_accessor :remote_data
|
52
52
|
|
53
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
54
|
+
attr_accessor :remote_was_deleted
|
55
|
+
|
53
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
54
57
|
def self.attribute_map
|
55
58
|
{
|
@@ -64,7 +67,8 @@ module MergeHRISClient
|
|
64
67
|
:'zip_code' => :'zip_code',
|
65
68
|
:'country' => :'country',
|
66
69
|
:'location_type' => :'location_type',
|
67
|
-
:'remote_data' => :'remote_data'
|
70
|
+
:'remote_data' => :'remote_data',
|
71
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
68
72
|
}
|
69
73
|
end
|
70
74
|
|
@@ -87,7 +91,8 @@ module MergeHRISClient
|
|
87
91
|
:'zip_code' => :'String',
|
88
92
|
:'country' => :'CountryEnum',
|
89
93
|
:'location_type' => :'LocationTypeEnum',
|
90
|
-
:'remote_data' => :'Array<RemoteData>'
|
94
|
+
:'remote_data' => :'Array<RemoteData>',
|
95
|
+
:'remote_was_deleted' => :'Boolean'
|
91
96
|
}
|
92
97
|
end
|
93
98
|
|
@@ -104,7 +109,7 @@ module MergeHRISClient
|
|
104
109
|
:'zip_code',
|
105
110
|
:'country',
|
106
111
|
:'location_type',
|
107
|
-
:'remote_data'
|
112
|
+
:'remote_data',
|
108
113
|
])
|
109
114
|
end
|
110
115
|
|
@@ -172,6 +177,10 @@ module MergeHRISClient
|
|
172
177
|
self.remote_data = value
|
173
178
|
end
|
174
179
|
end
|
180
|
+
|
181
|
+
if attributes.key?(:'remote_was_deleted')
|
182
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
183
|
+
end
|
175
184
|
end
|
176
185
|
|
177
186
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -203,7 +212,8 @@ module MergeHRISClient
|
|
203
212
|
zip_code == o.zip_code &&
|
204
213
|
country == o.country &&
|
205
214
|
location_type == o.location_type &&
|
206
|
-
remote_data == o.remote_data
|
215
|
+
remote_data == o.remote_data &&
|
216
|
+
remote_was_deleted == o.remote_was_deleted
|
207
217
|
end
|
208
218
|
|
209
219
|
# @see the `==` method
|
@@ -215,7 +225,7 @@ module MergeHRISClient
|
|
215
225
|
# Calculates hash code according to all attributes.
|
216
226
|
# @return [Integer] Hash code
|
217
227
|
def hash
|
218
|
-
[id, remote_id, name, phone_number, street_1, street_2, city, state, zip_code, country, location_type, remote_data].hash
|
228
|
+
[id, remote_id, name, phone_number, street_1, street_2, city, state, zip_code, country, location_type, remote_data, remote_was_deleted].hash
|
219
229
|
end
|
220
230
|
|
221
231
|
# Builds the object from hash
|
@@ -26,13 +26,17 @@ module MergeHRISClient
|
|
26
26
|
|
27
27
|
attr_accessor :remote_data
|
28
28
|
|
29
|
+
# Indicates whether or not this object has been deleted by third party webhooks.
|
30
|
+
attr_accessor :remote_was_deleted
|
31
|
+
|
29
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
33
|
def self.attribute_map
|
31
34
|
{
|
32
35
|
:'id' => :'id',
|
33
36
|
:'remote_id' => :'remote_id',
|
34
37
|
:'pay_group_name' => :'pay_group_name',
|
35
|
-
:'remote_data' => :'remote_data'
|
38
|
+
:'remote_data' => :'remote_data',
|
39
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
36
40
|
}
|
37
41
|
end
|
38
42
|
|
@@ -47,7 +51,8 @@ module MergeHRISClient
|
|
47
51
|
:'id' => :'String',
|
48
52
|
:'remote_id' => :'String',
|
49
53
|
:'pay_group_name' => :'String',
|
50
|
-
:'remote_data' => :'Array<RemoteData>'
|
54
|
+
:'remote_data' => :'Array<RemoteData>',
|
55
|
+
:'remote_was_deleted' => :'Boolean'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
@@ -56,7 +61,7 @@ module MergeHRISClient
|
|
56
61
|
Set.new([
|
57
62
|
:'remote_id',
|
58
63
|
:'pay_group_name',
|
59
|
-
:'remote_data'
|
64
|
+
:'remote_data',
|
60
65
|
])
|
61
66
|
end
|
62
67
|
|
@@ -92,6 +97,10 @@ module MergeHRISClient
|
|
92
97
|
self.remote_data = value
|
93
98
|
end
|
94
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'remote_was_deleted')
|
102
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
103
|
+
end
|
95
104
|
end
|
96
105
|
|
97
106
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -115,7 +124,8 @@ module MergeHRISClient
|
|
115
124
|
id == o.id &&
|
116
125
|
remote_id == o.remote_id &&
|
117
126
|
pay_group_name == o.pay_group_name &&
|
118
|
-
remote_data == o.remote_data
|
127
|
+
remote_data == o.remote_data &&
|
128
|
+
remote_was_deleted == o.remote_was_deleted
|
119
129
|
end
|
120
130
|
|
121
131
|
# @see the `==` method
|
@@ -127,7 +137,7 @@ module MergeHRISClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Integer] Hash code
|
129
139
|
def hash
|
130
|
-
[id, remote_id, pay_group_name, remote_data].hash
|
140
|
+
[id, remote_id, pay_group_name, remote_data, remote_was_deleted].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|