merge_hris_client 2.0.2 → 2.0.3
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/Benefit.md +3 -1
- data/docs/Company.md +3 -1
- data/docs/Deduction.md +3 -1
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +3 -1
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeesApi.md +8 -0
- data/docs/Employment.md +4 -2
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +4 -2
- data/docs/PayGroup.md +3 -1
- data/docs/PayrollRun.md +3 -1
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TimeOff.md +3 -1
- data/docs/TimeOffBalance.md +3 -1
- data/lib/merge_hris_client/api/bank_info_api.rb +0 -1
- data/lib/merge_hris_client/api/employees_api.rb +16 -0
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/linked_accounts_api.rb +14 -14
- 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/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 +0 -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/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/employees_api_spec.rb +4 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/bank_info_spec.rb +6 -0
- data/spec/models/benefit_spec.rb +6 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +6 -0
- data/spec/models/earning_spec.rb +6 -0
- data/spec/models/employee_payroll_run_spec.rb +6 -0
- data/spec/models/employee_spec.rb +6 -0
- data/spec/models/employment_spec.rb +6 -0
- data/spec/models/group_spec.rb +6 -0
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +6 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +6 -0
- data/spec/models/payroll_run_spec.rb +6 -0
- data/spec/models/tax_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/time_off_balance_spec.rb +6 -0
- data/spec/models/time_off_spec.rb +6 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +107 -110
- 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
@@ -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 on the third-party.
|
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 on the third-party.
|
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 on the third-party.
|
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
|
@@ -38,6 +38,9 @@ module MergeHRISClient
|
|
38
38
|
|
39
39
|
attr_accessor :remote_data
|
40
40
|
|
41
|
+
# Indicates whether or not this object has been deleted on the third-party.
|
42
|
+
attr_accessor :remote_was_deleted
|
43
|
+
|
41
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
45
|
def self.attribute_map
|
43
46
|
{
|
@@ -48,7 +51,8 @@ module MergeHRISClient
|
|
48
51
|
:'start_date' => :'start_date',
|
49
52
|
:'end_date' => :'end_date',
|
50
53
|
:'check_date' => :'check_date',
|
51
|
-
:'remote_data' => :'remote_data'
|
54
|
+
:'remote_data' => :'remote_data',
|
55
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
52
56
|
}
|
53
57
|
end
|
54
58
|
|
@@ -67,7 +71,8 @@ module MergeHRISClient
|
|
67
71
|
:'start_date' => :'Time',
|
68
72
|
:'end_date' => :'Time',
|
69
73
|
:'check_date' => :'Time',
|
70
|
-
:'remote_data' => :'Array<RemoteData>'
|
74
|
+
:'remote_data' => :'Array<RemoteData>',
|
75
|
+
:'remote_was_deleted' => :'Boolean'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -80,7 +85,7 @@ module MergeHRISClient
|
|
80
85
|
:'start_date',
|
81
86
|
:'end_date',
|
82
87
|
:'check_date',
|
83
|
-
:'remote_data'
|
88
|
+
:'remote_data',
|
84
89
|
])
|
85
90
|
end
|
86
91
|
|
@@ -132,6 +137,10 @@ module MergeHRISClient
|
|
132
137
|
self.remote_data = value
|
133
138
|
end
|
134
139
|
end
|
140
|
+
|
141
|
+
if attributes.key?(:'remote_was_deleted')
|
142
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
143
|
+
end
|
135
144
|
end
|
136
145
|
|
137
146
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -159,7 +168,8 @@ module MergeHRISClient
|
|
159
168
|
start_date == o.start_date &&
|
160
169
|
end_date == o.end_date &&
|
161
170
|
check_date == o.check_date &&
|
162
|
-
remote_data == o.remote_data
|
171
|
+
remote_data == o.remote_data &&
|
172
|
+
remote_was_deleted == o.remote_was_deleted
|
163
173
|
end
|
164
174
|
|
165
175
|
# @see the `==` method
|
@@ -171,7 +181,7 @@ module MergeHRISClient
|
|
171
181
|
# Calculates hash code according to all attributes.
|
172
182
|
# @return [Integer] Hash code
|
173
183
|
def hash
|
174
|
-
[id, remote_id, run_state, run_type, start_date, end_date, check_date, remote_data].hash
|
184
|
+
[id, remote_id, run_state, run_type, start_date, end_date, check_date, remote_data, remote_was_deleted].hash
|
175
185
|
end
|
176
186
|
|
177
187
|
# Builds the object from hash
|
@@ -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 on the third-party.
|
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
|
:'amount' => :'amount',
|
41
44
|
:'employer_tax' => :'employer_tax',
|
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
|
:'amount' => :'Float',
|
58
62
|
:'employer_tax' => :'Boolean',
|
59
|
-
:'remote_data' => :'String'
|
63
|
+
:'remote_data' => :'Array<Hash<String, AnyType>>',
|
64
|
+
:'remote_was_deleted' => :'Boolean'
|
60
65
|
}
|
61
66
|
end
|
62
67
|
|
@@ -67,7 +72,7 @@ module MergeHRISClient
|
|
67
72
|
:'name',
|
68
73
|
:'amount',
|
69
74
|
:'employer_tax',
|
70
|
-
:'remote_data'
|
75
|
+
:'remote_data',
|
71
76
|
])
|
72
77
|
end
|
73
78
|
|
@@ -107,7 +112,13 @@ module MergeHRISClient
|
|
107
112
|
end
|
108
113
|
|
109
114
|
if attributes.key?(:'remote_data')
|
110
|
-
|
115
|
+
if (value = attributes[:'remote_data']).is_a?(Array)
|
116
|
+
self.remote_data = value
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'remote_was_deleted')
|
121
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
111
122
|
end
|
112
123
|
end
|
113
124
|
|
@@ -134,7 +145,8 @@ module MergeHRISClient
|
|
134
145
|
name == o.name &&
|
135
146
|
amount == o.amount &&
|
136
147
|
employer_tax == o.employer_tax &&
|
137
|
-
remote_data == o.remote_data
|
148
|
+
remote_data == o.remote_data &&
|
149
|
+
remote_was_deleted == o.remote_was_deleted
|
138
150
|
end
|
139
151
|
|
140
152
|
# @see the `==` method
|
@@ -146,7 +158,7 @@ module MergeHRISClient
|
|
146
158
|
# Calculates hash code according to all attributes.
|
147
159
|
# @return [Integer] Hash code
|
148
160
|
def hash
|
149
|
-
[id, employee_payroll_run, name, amount, employer_tax, remote_data].hash
|
161
|
+
[id, employee_payroll_run, name, amount, employer_tax, remote_data, remote_was_deleted].hash
|
150
162
|
end
|
151
163
|
|
152
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 on the third-party.
|
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
|
:'remote_id' => :'remote_id',
|
36
39
|
:'name' => :'name',
|
37
40
|
:'parent_team' => :'parent_team',
|
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
|
:'remote_id' => :'String',
|
52
56
|
:'name' => :'String',
|
53
57
|
:'parent_team' => :'String',
|
54
|
-
:'remote_data' => :'Array<RemoteData>'
|
58
|
+
:'remote_data' => :'Array<RemoteData>',
|
59
|
+
:'remote_was_deleted' => :'Boolean'
|
55
60
|
}
|
56
61
|
end
|
57
62
|
|
@@ -61,7 +66,7 @@ module MergeHRISClient
|
|
61
66
|
:'remote_id',
|
62
67
|
:'name',
|
63
68
|
:'parent_team',
|
64
|
-
:'remote_data'
|
69
|
+
:'remote_data',
|
65
70
|
])
|
66
71
|
end
|
67
72
|
|
@@ -101,6 +106,10 @@ module MergeHRISClient
|
|
101
106
|
self.remote_data = value
|
102
107
|
end
|
103
108
|
end
|
109
|
+
|
110
|
+
if attributes.key?(:'remote_was_deleted')
|
111
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
112
|
+
end
|
104
113
|
end
|
105
114
|
|
106
115
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -125,7 +134,8 @@ module MergeHRISClient
|
|
125
134
|
remote_id == o.remote_id &&
|
126
135
|
name == o.name &&
|
127
136
|
parent_team == o.parent_team &&
|
128
|
-
remote_data == o.remote_data
|
137
|
+
remote_data == o.remote_data &&
|
138
|
+
remote_was_deleted == o.remote_was_deleted
|
129
139
|
end
|
130
140
|
|
131
141
|
# @see the `==` method
|
@@ -137,7 +147,7 @@ module MergeHRISClient
|
|
137
147
|
# Calculates hash code according to all attributes.
|
138
148
|
# @return [Integer] Hash code
|
139
149
|
def hash
|
140
|
-
[id, remote_id, name, parent_team, remote_data].hash
|
150
|
+
[id, remote_id, name, parent_team, remote_data, remote_was_deleted].hash
|
141
151
|
end
|
142
152
|
|
143
153
|
# Builds the object from hash
|
@@ -48,6 +48,8 @@ module MergeHRISClient
|
|
48
48
|
|
49
49
|
attr_accessor :remote_data
|
50
50
|
|
51
|
+
attr_accessor :remote_was_deleted
|
52
|
+
|
51
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
52
54
|
def self.attribute_map
|
53
55
|
{
|
@@ -62,7 +64,8 @@ module MergeHRISClient
|
|
62
64
|
:'request_type' => :'request_type',
|
63
65
|
:'start_time' => :'start_time',
|
64
66
|
:'end_time' => :'end_time',
|
65
|
-
:'remote_data' => :'remote_data'
|
67
|
+
:'remote_data' => :'remote_data',
|
68
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
66
69
|
}
|
67
70
|
end
|
68
71
|
|
@@ -85,7 +88,8 @@ module MergeHRISClient
|
|
85
88
|
:'request_type' => :'RequestTypeEnum',
|
86
89
|
:'start_time' => :'Time',
|
87
90
|
:'end_time' => :'Time',
|
88
|
-
:'remote_data' => :'Array<RemoteData>'
|
91
|
+
:'remote_data' => :'Array<RemoteData>',
|
92
|
+
:'remote_was_deleted' => :'Boolean'
|
89
93
|
}
|
90
94
|
end
|
91
95
|
|
@@ -102,7 +106,7 @@ module MergeHRISClient
|
|
102
106
|
:'request_type',
|
103
107
|
:'start_time',
|
104
108
|
:'end_time',
|
105
|
-
:'remote_data'
|
109
|
+
:'remote_data',
|
106
110
|
])
|
107
111
|
end
|
108
112
|
|
@@ -170,6 +174,10 @@ module MergeHRISClient
|
|
170
174
|
self.remote_data = value
|
171
175
|
end
|
172
176
|
end
|
177
|
+
|
178
|
+
if attributes.key?(:'remote_was_deleted')
|
179
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
180
|
+
end
|
173
181
|
end
|
174
182
|
|
175
183
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -201,7 +209,8 @@ module MergeHRISClient
|
|
201
209
|
request_type == o.request_type &&
|
202
210
|
start_time == o.start_time &&
|
203
211
|
end_time == o.end_time &&
|
204
|
-
remote_data == o.remote_data
|
212
|
+
remote_data == o.remote_data &&
|
213
|
+
remote_was_deleted == o.remote_was_deleted
|
205
214
|
end
|
206
215
|
|
207
216
|
# @see the `==` method
|
@@ -213,7 +222,7 @@ module MergeHRISClient
|
|
213
222
|
# Calculates hash code according to all attributes.
|
214
223
|
# @return [Integer] Hash code
|
215
224
|
def hash
|
216
|
-
[id, remote_id, employee, approver, status, employee_note, units, amount, request_type, start_time, end_time, remote_data].hash
|
225
|
+
[id, remote_id, employee, approver, status, employee_note, units, amount, request_type, start_time, end_time, remote_data, remote_was_deleted].hash
|
217
226
|
end
|
218
227
|
|
219
228
|
# Builds the object from hash
|
@@ -34,6 +34,9 @@ module MergeHRISClient
|
|
34
34
|
|
35
35
|
attr_accessor :remote_data
|
36
36
|
|
37
|
+
# Indicates whether or not this object has been deleted on the third-party.
|
38
|
+
attr_accessor :remote_was_deleted
|
39
|
+
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
41
|
def self.attribute_map
|
39
42
|
{
|
@@ -43,7 +46,8 @@ module MergeHRISClient
|
|
43
46
|
:'balance' => :'balance',
|
44
47
|
:'used' => :'used',
|
45
48
|
:'policy_type' => :'policy_type',
|
46
|
-
:'remote_data' => :'remote_data'
|
49
|
+
:'remote_data' => :'remote_data',
|
50
|
+
:'remote_was_deleted' => :'remote_was_deleted'
|
47
51
|
}
|
48
52
|
end
|
49
53
|
|
@@ -61,7 +65,8 @@ module MergeHRISClient
|
|
61
65
|
:'balance' => :'Float',
|
62
66
|
:'used' => :'Float',
|
63
67
|
:'policy_type' => :'PolicyTypeEnum',
|
64
|
-
:'remote_data' => :'Array<RemoteData>'
|
68
|
+
:'remote_data' => :'Array<RemoteData>',
|
69
|
+
:'remote_was_deleted' => :'Boolean'
|
65
70
|
}
|
66
71
|
end
|
67
72
|
|
@@ -73,7 +78,7 @@ module MergeHRISClient
|
|
73
78
|
:'balance',
|
74
79
|
:'used',
|
75
80
|
:'policy_type',
|
76
|
-
:'remote_data'
|
81
|
+
:'remote_data',
|
77
82
|
])
|
78
83
|
end
|
79
84
|
|
@@ -121,6 +126,10 @@ module MergeHRISClient
|
|
121
126
|
self.remote_data = value
|
122
127
|
end
|
123
128
|
end
|
129
|
+
|
130
|
+
if attributes.key?(:'remote_was_deleted')
|
131
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
132
|
+
end
|
124
133
|
end
|
125
134
|
|
126
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -147,7 +156,8 @@ module MergeHRISClient
|
|
147
156
|
balance == o.balance &&
|
148
157
|
used == o.used &&
|
149
158
|
policy_type == o.policy_type &&
|
150
|
-
remote_data == o.remote_data
|
159
|
+
remote_data == o.remote_data &&
|
160
|
+
remote_was_deleted == o.remote_was_deleted
|
151
161
|
end
|
152
162
|
|
153
163
|
# @see the `==` method
|
@@ -159,7 +169,7 @@ module MergeHRISClient
|
|
159
169
|
# Calculates hash code according to all attributes.
|
160
170
|
# @return [Integer] Hash code
|
161
171
|
def hash
|
162
|
-
[id, remote_id, employee, balance, used, policy_type, remote_data].hash
|
172
|
+
[id, remote_id, employee, balance, used, policy_type, remote_data, remote_was_deleted].hash
|
163
173
|
end
|
164
174
|
|
165
175
|
# Builds the object from hash
|