affixapi 1.1.74 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/CompensationHistoryNoNonNullRequest.md +3 -1
- data/docs/CompensationHistoryResponse.md +3 -1
- data/docs/EmploymentHistoryNoNonNullRequest.md +5 -1
- data/docs/EmploymentHistoryResponse.md +5 -1
- data/lib/openapi_client/models/compensation_history_no_non_null_request.rb +18 -4
- data/lib/openapi_client/models/compensation_history_response.rb +15 -5
- data/lib/openapi_client/models/employment_history_no_non_null_request.rb +25 -5
- data/lib/openapi_client/models/employment_history_response.rb +25 -5
- data/lib/openapi_client/version.rb +1 -1
- data/spec/models/compensation_history_no_non_null_request_spec.rb +6 -0
- data/spec/models/compensation_history_response_spec.rb +6 -0
- data/spec/models/employment_history_no_non_null_request_spec.rb +12 -0
- data/spec/models/employment_history_response_spec.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f7f119faf30a846d45a8698349d38cf3c984bd229e019c08f62c8ab7e3dadad
|
4
|
+
data.tar.gz: 35527d74dafff50ac0619c2aeb1995831336ad84fe7387e9b5df030cca886ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6da09838549801ecede8b14da4e5e25b375246782c9ec79413f33a623a2c1bd981203d5f4f0d53bfef3b2599f9f3ff9aa8df3ed0ffa828f9e4935dc7f3840cd
|
7
|
+
data.tar.gz: 236d3d69ff5f3309ba78d76330dc477df6756eb7fb399c2fb313277865be13270884d9fe2bb87aa6e43aa52634fd3496084eef1b57afe11cd9ed9247d91a3e06
|
data/Gemfile.lock
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **employment_type** | **String** | | |
|
11
11
|
| **currency** | [**CurrencyNotNullRequest**](CurrencyNotNullRequest.md) | | |
|
12
12
|
| **effective_date** | **Date** | | |
|
13
|
+
| **notes** | **String** | | |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = OpenapiClient::CompensationHistoryNoNonNullRequest.new(
|
|
22
23
|
pay_frequency: semimonthly,
|
23
24
|
employment_type: full_time,
|
24
25
|
currency: null,
|
25
|
-
effective_date: Sun Oct 11 00:00:00 UTC 2020
|
26
|
+
effective_date: Sun Oct 11 00:00:00 UTC 2020,
|
27
|
+
notes: Salary Adjustment
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
@@ -10,6 +10,7 @@
|
|
10
10
|
| **employment_type** | **String** | | |
|
11
11
|
| **currency** | [**CurrencyResponse**](CurrencyResponse.md) | | |
|
12
12
|
| **effective_date** | **Date** | | |
|
13
|
+
| **notes** | **String** | | |
|
13
14
|
|
14
15
|
## Example
|
15
16
|
|
@@ -22,7 +23,8 @@ instance = OpenapiClient::CompensationHistoryResponse.new(
|
|
22
23
|
pay_frequency: semimonthly,
|
23
24
|
employment_type: full_time,
|
24
25
|
currency: null,
|
25
|
-
effective_date: Sun Oct 11 00:00:00 UTC 2020
|
26
|
+
effective_date: Sun Oct 11 00:00:00 UTC 2020,
|
27
|
+
notes: Salary Adjustment
|
26
28
|
)
|
27
29
|
```
|
28
30
|
|
@@ -9,6 +9,8 @@
|
|
9
9
|
| **group_id** | **String** | | |
|
10
10
|
| **group_remote_id** | **String** | | |
|
11
11
|
| **group_name** | **String** | | |
|
12
|
+
| **manager_id** | **String** | | |
|
13
|
+
| **manager_remote_id** | **String** | | |
|
12
14
|
|
13
15
|
## Example
|
14
16
|
|
@@ -20,7 +22,9 @@ instance = OpenapiClient::EmploymentHistoryNoNonNullRequest.new(
|
|
20
22
|
effective_date: Sun Oct 11 00:00:00 UTC 2020,
|
21
23
|
group_id: 4B9bKBpX5tnwjiG93TAqF7ci,
|
22
24
|
group_remote_id: 49,
|
23
|
-
group_name: Engineering
|
25
|
+
group_name: Engineering,
|
26
|
+
manager_id: null,
|
27
|
+
manager_remote_id: null
|
24
28
|
)
|
25
29
|
```
|
26
30
|
|
@@ -9,6 +9,8 @@
|
|
9
9
|
| **group_id** | **String** | | |
|
10
10
|
| **group_remote_id** | **String** | | |
|
11
11
|
| **group_name** | **String** | | |
|
12
|
+
| **manager_id** | **String** | | |
|
13
|
+
| **manager_remote_id** | **String** | | |
|
12
14
|
|
13
15
|
## Example
|
14
16
|
|
@@ -20,7 +22,9 @@ instance = OpenapiClient::EmploymentHistoryResponse.new(
|
|
20
22
|
effective_date: Sun Oct 11 00:00:00 UTC 2020,
|
21
23
|
group_id: 4B9bKBpX5tnwjiG93TAqF7ci,
|
22
24
|
group_remote_id: 49,
|
23
|
-
group_name: Engineering
|
25
|
+
group_name: Engineering,
|
26
|
+
manager_id: null,
|
27
|
+
manager_remote_id: null
|
24
28
|
)
|
25
29
|
```
|
26
30
|
|
@@ -27,6 +27,8 @@ module OpenapiClient
|
|
27
27
|
|
28
28
|
attr_accessor :effective_date
|
29
29
|
|
30
|
+
attr_accessor :notes
|
31
|
+
|
30
32
|
class EnumAttributeValidator
|
31
33
|
attr_reader :datatype
|
32
34
|
attr_reader :allowable_values
|
@@ -57,7 +59,8 @@ module OpenapiClient
|
|
57
59
|
:'pay_frequency' => :'pay_frequency',
|
58
60
|
:'employment_type' => :'employment_type',
|
59
61
|
:'currency' => :'currency',
|
60
|
-
:'effective_date' => :'effective_date'
|
62
|
+
:'effective_date' => :'effective_date',
|
63
|
+
:'notes' => :'notes'
|
61
64
|
}
|
62
65
|
end
|
63
66
|
|
@@ -74,7 +77,8 @@ module OpenapiClient
|
|
74
77
|
:'pay_frequency' => :'String',
|
75
78
|
:'employment_type' => :'String',
|
76
79
|
:'currency' => :'CurrencyNotNullRequest',
|
77
|
-
:'effective_date' => :'Date'
|
80
|
+
:'effective_date' => :'Date',
|
81
|
+
:'notes' => :'String'
|
78
82
|
}
|
79
83
|
end
|
80
84
|
|
@@ -123,6 +127,10 @@ module OpenapiClient
|
|
123
127
|
if attributes.key?(:'effective_date')
|
124
128
|
self.effective_date = attributes[:'effective_date']
|
125
129
|
end
|
130
|
+
|
131
|
+
if attributes.key?(:'notes')
|
132
|
+
self.notes = attributes[:'notes']
|
133
|
+
end
|
126
134
|
end
|
127
135
|
|
128
136
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -149,6 +157,10 @@ module OpenapiClient
|
|
149
157
|
invalid_properties.push('invalid value for "effective_date", effective_date cannot be nil.')
|
150
158
|
end
|
151
159
|
|
160
|
+
if @notes.nil?
|
161
|
+
invalid_properties.push('invalid value for "notes", notes cannot be nil.')
|
162
|
+
end
|
163
|
+
|
152
164
|
invalid_properties
|
153
165
|
end
|
154
166
|
|
@@ -164,6 +176,7 @@ module OpenapiClient
|
|
164
176
|
employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"])
|
165
177
|
return false unless employment_type_validator.valid?(@employment_type)
|
166
178
|
return false if @effective_date.nil?
|
179
|
+
return false if @notes.nil?
|
167
180
|
true
|
168
181
|
end
|
169
182
|
|
@@ -197,7 +210,8 @@ module OpenapiClient
|
|
197
210
|
pay_frequency == o.pay_frequency &&
|
198
211
|
employment_type == o.employment_type &&
|
199
212
|
currency == o.currency &&
|
200
|
-
effective_date == o.effective_date
|
213
|
+
effective_date == o.effective_date &&
|
214
|
+
notes == o.notes
|
201
215
|
end
|
202
216
|
|
203
217
|
# @see the `==` method
|
@@ -209,7 +223,7 @@ module OpenapiClient
|
|
209
223
|
# Calculates hash code according to all attributes.
|
210
224
|
# @return [Integer] Hash code
|
211
225
|
def hash
|
212
|
-
[pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date].hash
|
226
|
+
[pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date, notes].hash
|
213
227
|
end
|
214
228
|
|
215
229
|
# Builds the object from hash
|
@@ -27,6 +27,8 @@ module OpenapiClient
|
|
27
27
|
|
28
28
|
attr_accessor :effective_date
|
29
29
|
|
30
|
+
attr_accessor :notes
|
31
|
+
|
30
32
|
class EnumAttributeValidator
|
31
33
|
attr_reader :datatype
|
32
34
|
attr_reader :allowable_values
|
@@ -57,7 +59,8 @@ module OpenapiClient
|
|
57
59
|
:'pay_frequency' => :'pay_frequency',
|
58
60
|
:'employment_type' => :'employment_type',
|
59
61
|
:'currency' => :'currency',
|
60
|
-
:'effective_date' => :'effective_date'
|
62
|
+
:'effective_date' => :'effective_date',
|
63
|
+
:'notes' => :'notes'
|
61
64
|
}
|
62
65
|
end
|
63
66
|
|
@@ -74,7 +77,8 @@ module OpenapiClient
|
|
74
77
|
:'pay_frequency' => :'String',
|
75
78
|
:'employment_type' => :'String',
|
76
79
|
:'currency' => :'CurrencyResponse',
|
77
|
-
:'effective_date' => :'Date'
|
80
|
+
:'effective_date' => :'Date',
|
81
|
+
:'notes' => :'String'
|
78
82
|
}
|
79
83
|
end
|
80
84
|
|
@@ -86,7 +90,8 @@ module OpenapiClient
|
|
86
90
|
:'pay_frequency',
|
87
91
|
:'employment_type',
|
88
92
|
:'currency',
|
89
|
-
:'effective_date'
|
93
|
+
:'effective_date',
|
94
|
+
:'notes'
|
90
95
|
])
|
91
96
|
end
|
92
97
|
|
@@ -128,6 +133,10 @@ module OpenapiClient
|
|
128
133
|
if attributes.key?(:'effective_date')
|
129
134
|
self.effective_date = attributes[:'effective_date']
|
130
135
|
end
|
136
|
+
|
137
|
+
if attributes.key?(:'notes')
|
138
|
+
self.notes = attributes[:'notes']
|
139
|
+
end
|
131
140
|
end
|
132
141
|
|
133
142
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -177,7 +186,8 @@ module OpenapiClient
|
|
177
186
|
pay_frequency == o.pay_frequency &&
|
178
187
|
employment_type == o.employment_type &&
|
179
188
|
currency == o.currency &&
|
180
|
-
effective_date == o.effective_date
|
189
|
+
effective_date == o.effective_date &&
|
190
|
+
notes == o.notes
|
181
191
|
end
|
182
192
|
|
183
193
|
# @see the `==` method
|
@@ -189,7 +199,7 @@ module OpenapiClient
|
|
189
199
|
# Calculates hash code according to all attributes.
|
190
200
|
# @return [Integer] Hash code
|
191
201
|
def hash
|
192
|
-
[pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date].hash
|
202
|
+
[pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date, notes].hash
|
193
203
|
end
|
194
204
|
|
195
205
|
# Builds the object from hash
|
@@ -25,6 +25,10 @@ module OpenapiClient
|
|
25
25
|
|
26
26
|
attr_accessor :group_name
|
27
27
|
|
28
|
+
attr_accessor :manager_id
|
29
|
+
|
30
|
+
attr_accessor :manager_remote_id
|
31
|
+
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
@@ -32,7 +36,9 @@ module OpenapiClient
|
|
32
36
|
:'effective_date' => :'effective_date',
|
33
37
|
:'group_id' => :'group_id',
|
34
38
|
:'group_remote_id' => :'group_remote_id',
|
35
|
-
:'group_name' => :'group_name'
|
39
|
+
:'group_name' => :'group_name',
|
40
|
+
:'manager_id' => :'manager_id',
|
41
|
+
:'manager_remote_id' => :'manager_remote_id'
|
36
42
|
}
|
37
43
|
end
|
38
44
|
|
@@ -48,7 +54,9 @@ module OpenapiClient
|
|
48
54
|
:'effective_date' => :'Date',
|
49
55
|
:'group_id' => :'String',
|
50
56
|
:'group_remote_id' => :'String',
|
51
|
-
:'group_name' => :'String'
|
57
|
+
:'group_name' => :'String',
|
58
|
+
:'manager_id' => :'String',
|
59
|
+
:'manager_remote_id' => :'String'
|
52
60
|
}
|
53
61
|
end
|
54
62
|
|
@@ -57,7 +65,9 @@ module OpenapiClient
|
|
57
65
|
Set.new([
|
58
66
|
:'group_id',
|
59
67
|
:'group_remote_id',
|
60
|
-
:'group_name'
|
68
|
+
:'group_name',
|
69
|
+
:'manager_id',
|
70
|
+
:'manager_remote_id'
|
61
71
|
])
|
62
72
|
end
|
63
73
|
|
@@ -95,6 +105,14 @@ module OpenapiClient
|
|
95
105
|
if attributes.key?(:'group_name')
|
96
106
|
self.group_name = attributes[:'group_name']
|
97
107
|
end
|
108
|
+
|
109
|
+
if attributes.key?(:'manager_id')
|
110
|
+
self.manager_id = attributes[:'manager_id']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.key?(:'manager_remote_id')
|
114
|
+
self.manager_remote_id = attributes[:'manager_remote_id']
|
115
|
+
end
|
98
116
|
end
|
99
117
|
|
100
118
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -129,7 +147,9 @@ module OpenapiClient
|
|
129
147
|
effective_date == o.effective_date &&
|
130
148
|
group_id == o.group_id &&
|
131
149
|
group_remote_id == o.group_remote_id &&
|
132
|
-
group_name == o.group_name
|
150
|
+
group_name == o.group_name &&
|
151
|
+
manager_id == o.manager_id &&
|
152
|
+
manager_remote_id == o.manager_remote_id
|
133
153
|
end
|
134
154
|
|
135
155
|
# @see the `==` method
|
@@ -141,7 +161,7 @@ module OpenapiClient
|
|
141
161
|
# Calculates hash code according to all attributes.
|
142
162
|
# @return [Integer] Hash code
|
143
163
|
def hash
|
144
|
-
[job_title, effective_date, group_id, group_remote_id, group_name].hash
|
164
|
+
[job_title, effective_date, group_id, group_remote_id, group_name, manager_id, manager_remote_id].hash
|
145
165
|
end
|
146
166
|
|
147
167
|
# Builds the object from hash
|
@@ -25,6 +25,10 @@ module OpenapiClient
|
|
25
25
|
|
26
26
|
attr_accessor :group_name
|
27
27
|
|
28
|
+
attr_accessor :manager_id
|
29
|
+
|
30
|
+
attr_accessor :manager_remote_id
|
31
|
+
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
@@ -32,7 +36,9 @@ module OpenapiClient
|
|
32
36
|
:'effective_date' => :'effective_date',
|
33
37
|
:'group_id' => :'group_id',
|
34
38
|
:'group_remote_id' => :'group_remote_id',
|
35
|
-
:'group_name' => :'group_name'
|
39
|
+
:'group_name' => :'group_name',
|
40
|
+
:'manager_id' => :'manager_id',
|
41
|
+
:'manager_remote_id' => :'manager_remote_id'
|
36
42
|
}
|
37
43
|
end
|
38
44
|
|
@@ -48,7 +54,9 @@ module OpenapiClient
|
|
48
54
|
:'effective_date' => :'Date',
|
49
55
|
:'group_id' => :'String',
|
50
56
|
:'group_remote_id' => :'String',
|
51
|
-
:'group_name' => :'String'
|
57
|
+
:'group_name' => :'String',
|
58
|
+
:'manager_id' => :'String',
|
59
|
+
:'manager_remote_id' => :'String'
|
52
60
|
}
|
53
61
|
end
|
54
62
|
|
@@ -59,7 +67,9 @@ module OpenapiClient
|
|
59
67
|
:'effective_date',
|
60
68
|
:'group_id',
|
61
69
|
:'group_remote_id',
|
62
|
-
:'group_name'
|
70
|
+
:'group_name',
|
71
|
+
:'manager_id',
|
72
|
+
:'manager_remote_id'
|
63
73
|
])
|
64
74
|
end
|
65
75
|
|
@@ -97,6 +107,14 @@ module OpenapiClient
|
|
97
107
|
if attributes.key?(:'group_name')
|
98
108
|
self.group_name = attributes[:'group_name']
|
99
109
|
end
|
110
|
+
|
111
|
+
if attributes.key?(:'manager_id')
|
112
|
+
self.manager_id = attributes[:'manager_id']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'manager_remote_id')
|
116
|
+
self.manager_remote_id = attributes[:'manager_remote_id']
|
117
|
+
end
|
100
118
|
end
|
101
119
|
|
102
120
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -121,7 +139,9 @@ module OpenapiClient
|
|
121
139
|
effective_date == o.effective_date &&
|
122
140
|
group_id == o.group_id &&
|
123
141
|
group_remote_id == o.group_remote_id &&
|
124
|
-
group_name == o.group_name
|
142
|
+
group_name == o.group_name &&
|
143
|
+
manager_id == o.manager_id &&
|
144
|
+
manager_remote_id == o.manager_remote_id
|
125
145
|
end
|
126
146
|
|
127
147
|
# @see the `==` method
|
@@ -133,7 +153,7 @@ module OpenapiClient
|
|
133
153
|
# Calculates hash code according to all attributes.
|
134
154
|
# @return [Integer] Hash code
|
135
155
|
def hash
|
136
|
-
[job_title, effective_date, group_id, group_remote_id, group_name].hash
|
156
|
+
[job_title, effective_date, group_id, group_remote_id, group_name, manager_id, manager_remote_id].hash
|
137
157
|
end
|
138
158
|
|
139
159
|
# Builds the object from hash
|
@@ -69,4 +69,10 @@ describe OpenapiClient::CompensationHistoryNoNonNullRequest do
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
describe 'test attribute "notes"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
72
78
|
end
|
@@ -69,4 +69,10 @@ describe OpenapiClient::CompensationHistoryResponse do
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
+
describe 'test attribute "notes"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
72
78
|
end
|
@@ -55,4 +55,16 @@ describe OpenapiClient::EmploymentHistoryNoNonNullRequest do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
describe 'test attribute "manager_id"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "manager_remote_id"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
58
70
|
end
|
@@ -55,4 +55,16 @@ describe OpenapiClient::EmploymentHistoryResponse do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
+
describe 'test attribute "manager_id"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "manager_remote_id"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
58
70
|
end
|