open_api_smart_recruiters_sdk 0.2.6 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/smart_recruiters/api/application_api.rb +3 -3
  4. data/lib/smart_recruiters/api_client.rb +1 -0
  5. data/lib/smart_recruiters/models/actions.rb +3 -3
  6. data/lib/smart_recruiters/models/all_of_candidate_details_primary_assignment.rb +3 -3
  7. data/lib/smart_recruiters/models/all_of_candidate_details_secondary_assignments_items.rb +3 -3
  8. data/lib/smart_recruiters/models/application_attachment_webhook_payload.rb +3 -3
  9. data/lib/smart_recruiters/models/applications.rb +3 -3
  10. data/lib/smart_recruiters/models/callback_requests.rb +3 -3
  11. data/lib/smart_recruiters/models/dependent_job_property_value.rb +3 -3
  12. data/lib/smart_recruiters/models/hiring_team_member.rb +3 -3
  13. data/lib/smart_recruiters/models/hiring_team_member_response.rb +3 -3
  14. data/lib/smart_recruiters/models/interview_types.rb +3 -3
  15. data/lib/smart_recruiters/models/interviewers.rb +3 -3
  16. data/lib/smart_recruiters/models/job.rb +2 -1
  17. data/lib/smart_recruiters/models/job_ads.rb +3 -3
  18. data/lib/smart_recruiters/models/job_details.rb +25 -25
  19. data/lib/smart_recruiters/models/job_property_input.rb +3 -3
  20. data/lib/smart_recruiters/models/job_summary.rb +3 -3
  21. data/lib/smart_recruiters/models/json_patch.rb +3 -3
  22. data/lib/smart_recruiters/models/label_translations.rb +3 -3
  23. data/lib/smart_recruiters/models/messages_view.rb +3 -3
  24. data/lib/smart_recruiters/models/subscriptions.rb +3 -3
  25. data/lib/smart_recruiters/models/timeslots.rb +3 -3
  26. data/lib/smart_recruiters/version.rb +1 -1
  27. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 281f6927eb9a67ef409ea4961f8c09ab1233fe4ef74c7a5a4b00cd537feb27fc
4
- data.tar.gz: 56fb7e93d1d0ca398e5b7c297efc7ff6e1eb204e4a74bc1ccaba78c6cebc7fac
3
+ metadata.gz: 11bca64ed61783f18fbfae7ae562cc731b4b9faad2e647814bbdab1e89bdd079
4
+ data.tar.gz: 04eb66b38481c06e4204f66fb83974cb99ffd1f0d208a1e6a2366964681dc6d7
5
5
  SHA512:
6
- metadata.gz: 0d1d8b174bf8d56057e69d37c494fffe91147a526202acacaeb9d9e40a64f78c49b467600a88acfcb41c33664070c1528686fa01046d5abe1e5319d49a09530d
7
- data.tar.gz: ee19245c35de0a90a2e7897361e77d0f34b58e67404ebee86e6a6f653f2d6db6ad79ce0bf1371f3291329f5177ff2ca0ecc1b90536034af821f8787cdade6480
6
+ metadata.gz: 7496e1ab082488cd1bc14131d643231236d3064e90b51178157ea290f5bbece2f40291e8e3855fb71258560c027d7c0172433ba50c6ce3a17e259d09da4be86c
7
+ data.tar.gz: ff9fa99297b757f51979146bba2b9a92d3a1cd767f1786c2f10db6626eb8bcd439e9301a970189688d2b786a318bfeec408264b6b7b879d352492b9d67c92ac9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- open_api_smart_recruiters_sdk (0.2.4)
4
+ open_api_smart_recruiters_sdk (0.2.8)
5
5
  oauth2 (~> 2.0)
6
6
  typhoeus (~> 1.4)
7
7
 
@@ -53,7 +53,7 @@ module SmartRecruiters
53
53
 
54
54
  return_type = opts[:return_type] || 'ApplyApiResponse'
55
55
 
56
- auth_names = opts[:auth_names] || ['key']
56
+ auth_names = opts[:auth_names] || ['key', 'oauth']
57
57
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
58
58
  :header_params => header_params,
59
59
  :query_params => query_params,
@@ -113,7 +113,7 @@ module SmartRecruiters
113
113
 
114
114
  return_type = opts[:return_type] || 'ApplicationStatusInfo'
115
115
 
116
- auth_names = opts[:auth_names] || ['key']
116
+ auth_names = opts[:auth_names] || ['key', 'oauth']
117
117
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
118
118
  :header_params => header_params,
119
119
  :query_params => query_params,
@@ -170,7 +170,7 @@ module SmartRecruiters
170
170
 
171
171
  return_type = opts[:return_type] || 'ApplyConfiguration'
172
172
 
173
- auth_names = opts[:auth_names] || ['key']
173
+ auth_names = opts[:auth_names] || ['key', 'oauth']
174
174
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
175
175
  :header_params => header_params,
176
176
  :query_params => query_params,
@@ -36,6 +36,7 @@ module SmartRecruiters
36
36
  # the data deserialized from response body (could be nil), response status code and response headers.
37
37
  def call_api(http_method, path, opts = {})
38
38
  request = build_request(http_method, path, opts)
39
+
39
40
  response = request.run
40
41
 
41
42
  if @config.debugging
@@ -36,7 +36,7 @@ module SmartRecruiters
36
36
  }
37
37
 
38
38
  # call parent's initialize
39
- super(attributes)
39
+ # super(attributes)
40
40
  end
41
41
 
42
42
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,7 +83,7 @@ module SmartRecruiters
83
83
  # @return [Object] Returns the model itself
84
84
  def build_from_hash(attributes)
85
85
  return nil unless attributes.is_a?(Hash)
86
- super(attributes)
86
+ # super(attributes)
87
87
  self.class.openapi_types.each_pair do |key, type|
88
88
  if type =~ /\AArray<(.*)>/i
89
89
  # check to ensure the input is an array given that the attribute
@@ -157,7 +157,7 @@ module SmartRecruiters
157
157
  # Returns the object in the form of hash
158
158
  # @return [Hash] Returns the object in the form of hash
159
159
  def to_hash
160
- hash = super
160
+ hash = {}
161
161
  self.class.attribute_map.each_pair do |attr, param|
162
162
  value = self.send(attr)
163
163
  if value.nil?
@@ -68,7 +68,7 @@ module SmartRecruiters
68
68
  }
69
69
 
70
70
  # call parent's initialize
71
- super(attributes)
71
+ # super(attributes)
72
72
 
73
73
  if attributes.key?(:'status')
74
74
  self.status = attributes[:'status']
@@ -155,7 +155,7 @@ module SmartRecruiters
155
155
  # @return [Object] Returns the model itself
156
156
  def build_from_hash(attributes)
157
157
  return nil unless attributes.is_a?(Hash)
158
- super(attributes)
158
+ # super(attributes)
159
159
  self.class.openapi_types.each_pair do |key, type|
160
160
  if type =~ /\AArray<(.*)>/i
161
161
  # check to ensure the input is an array given that the attribute
@@ -229,7 +229,7 @@ module SmartRecruiters
229
229
  # Returns the object in the form of hash
230
230
  # @return [Hash] Returns the object in the form of hash
231
231
  def to_hash
232
- hash = super
232
+ hash = {}
233
233
  self.class.attribute_map.each_pair do |attr, param|
234
234
  value = self.send(attr)
235
235
  if value.nil?
@@ -68,7 +68,7 @@ module SmartRecruiters
68
68
  }
69
69
 
70
70
  # call parent's initialize
71
- super(attributes)
71
+ # super(attributes)
72
72
 
73
73
  if attributes.key?(:'status')
74
74
  self.status = attributes[:'status']
@@ -155,7 +155,7 @@ module SmartRecruiters
155
155
  # @return [Object] Returns the model itself
156
156
  def build_from_hash(attributes)
157
157
  return nil unless attributes.is_a?(Hash)
158
- super(attributes)
158
+ # super(attributes)
159
159
  self.class.openapi_types.each_pair do |key, type|
160
160
  if type =~ /\AArray<(.*)>/i
161
161
  # check to ensure the input is an array given that the attribute
@@ -229,7 +229,7 @@ module SmartRecruiters
229
229
  # Returns the object in the form of hash
230
230
  # @return [Hash] Returns the object in the form of hash
231
231
  def to_hash
232
- hash = super
232
+ hash = {}
233
233
  self.class.attribute_map.each_pair do |attr, param|
234
234
  value = self.send(attr)
235
235
  if value.nil?
@@ -54,7 +54,7 @@ module SmartRecruiters
54
54
  }
55
55
 
56
56
  # call parent's initialize
57
- super(attributes)
57
+ # super(attributes)
58
58
 
59
59
  if attributes.key?(:'job_id')
60
60
  self.job_id = attributes[:'job_id']
@@ -141,7 +141,7 @@ module SmartRecruiters
141
141
  # @return [Object] Returns the model itself
142
142
  def build_from_hash(attributes)
143
143
  return nil unless attributes.is_a?(Hash)
144
- super(attributes)
144
+ # super(attributes)
145
145
  self.class.openapi_types.each_pair do |key, type|
146
146
  if type =~ /\AArray<(.*)>/i
147
147
  # check to ensure the input is an array given that the attribute
@@ -215,7 +215,7 @@ module SmartRecruiters
215
215
  # Returns the object in the form of hash
216
216
  # @return [Hash] Returns the object in the form of hash
217
217
  def to_hash
218
- hash = super
218
+ hash = {}
219
219
  self.class.attribute_map.each_pair do |attr, param|
220
220
  value = self.send(attr)
221
221
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -46,7 +46,7 @@ module SmartRecruiters
46
46
  }
47
47
 
48
48
  # call parent's initialize
49
- super(attributes)
49
+ # super(attributes)
50
50
 
51
51
  if attributes.key?(:'label')
52
52
  self.label = attributes[:'label']
@@ -113,7 +113,7 @@ module SmartRecruiters
113
113
  # @return [Object] Returns the model itself
114
114
  def build_from_hash(attributes)
115
115
  return nil unless attributes.is_a?(Hash)
116
- super(attributes)
116
+ # super(attributes)
117
117
  self.class.openapi_types.each_pair do |key, type|
118
118
  if type =~ /\AArray<(.*)>/i
119
119
  # check to ensure the input is an array given that the attribute
@@ -187,7 +187,7 @@ module SmartRecruiters
187
187
  # Returns the object in the form of hash
188
188
  # @return [Hash] Returns the object in the form of hash
189
189
  def to_hash
190
- hash = super
190
+ hash = {}
191
191
  self.class.attribute_map.each_pair do |attr, param|
192
192
  value = self.send(attr)
193
193
  if value.nil?
@@ -46,7 +46,7 @@ module SmartRecruiters
46
46
  }
47
47
 
48
48
  # call parent's initialize
49
- super(attributes)
49
+ # super(attributes)
50
50
 
51
51
  if attributes.key?(:'id')
52
52
  self.id = attributes[:'id']
@@ -113,7 +113,7 @@ module SmartRecruiters
113
113
  # @return [Object] Returns the model itself
114
114
  def build_from_hash(attributes)
115
115
  return nil unless attributes.is_a?(Hash)
116
- super(attributes)
116
+ # super(attributes)
117
117
  self.class.openapi_types.each_pair do |key, type|
118
118
  if type =~ /\AArray<(.*)>/i
119
119
  # check to ensure the input is an array given that the attribute
@@ -187,7 +187,7 @@ module SmartRecruiters
187
187
  # Returns the object in the form of hash
188
188
  # @return [Hash] Returns the object in the form of hash
189
189
  def to_hash
190
- hash = super
190
+ hash = {}
191
191
  self.class.attribute_map.each_pair do |attr, param|
192
192
  value = self.send(attr)
193
193
  if value.nil?
@@ -46,7 +46,7 @@ module SmartRecruiters
46
46
  }
47
47
 
48
48
  # call parent's initialize
49
- super(attributes)
49
+ # super(attributes)
50
50
 
51
51
  if attributes.key?(:'role')
52
52
  self.role = attributes[:'role']
@@ -108,7 +108,7 @@ module SmartRecruiters
108
108
  # @return [Object] Returns the model itself
109
109
  def build_from_hash(attributes)
110
110
  return nil unless attributes.is_a?(Hash)
111
- super(attributes)
111
+ # super(attributes)
112
112
  self.class.openapi_types.each_pair do |key, type|
113
113
  if type =~ /\AArray<(.*)>/i
114
114
  # check to ensure the input is an array given that the attribute
@@ -182,7 +182,7 @@ module SmartRecruiters
182
182
  # Returns the object in the form of hash
183
183
  # @return [Hash] Returns the object in the form of hash
184
184
  def to_hash
185
- hash = super
185
+ hash = {}
186
186
  self.class.attribute_map.each_pair do |attr, param|
187
187
  value = self.send(attr)
188
188
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -193,5 +193,6 @@ module SmartRecruiters
193
193
  else
194
194
  value
195
195
  end
196
- end end
196
+ end
197
+ end
197
198
  end
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -81,28 +81,28 @@ module SmartRecruiters
81
81
  # Attribute type mapping.
82
82
  def self.openapi_types
83
83
  {
84
- :'id' => :'',
85
- :'title' => :'',
86
- :'ref_number' => :'',
87
- :'created_on' => :'',
88
- :'updated_on' => :'',
89
- :'last_activity_on' => :'',
90
- :'department' => :'',
91
- :'location' => :'',
92
- :'status' => :'',
93
- :'posting_status' => :'',
94
- :'target_hiring_date' => :'',
95
- :'industry' => :'',
96
- :'function' => :'',
97
- :'type_of_employment' => :'',
98
- :'experience_level' => :'',
99
- :'eeo_category' => :'',
100
- :'template' => :'',
101
- :'creator' => :'',
102
- :'compensation' => :'',
103
- :'job_ad' => :'',
104
- :'properties' => :'',
105
- :'actions' => :''
84
+ :'id' => :'Object',
85
+ :'title' => :'Object',
86
+ :'ref_number' => :'Object',
87
+ :'created_on' => :'Object',
88
+ :'updated_on' => :'Object',
89
+ :'last_activity_on' => :'Object',
90
+ :'department' => :'Object',
91
+ :'location' => :'Object',
92
+ :'status' => :'Object',
93
+ :'posting_status' => :'Object',
94
+ :'target_hiring_date' => :'Object',
95
+ :'industry' => :'Object',
96
+ :'function' => :'Object',
97
+ :'type_of_employment' => :'Object',
98
+ :'experience_level' => :'Object',
99
+ :'eeo_category' => :'Object',
100
+ :'template' => :'Object',
101
+ :'creator' => :'Object',
102
+ :'compensation' => :'Object',
103
+ :'job_ad' => :'Object',
104
+ :'properties' => :'Object',
105
+ :'actions' => :'Object'
106
106
  }
107
107
  end
108
108
 
@@ -128,7 +128,7 @@ module SmartRecruiters
128
128
  }
129
129
 
130
130
  # call parent's initialize
131
- super(attributes)
131
+ # super(attributes)
132
132
 
133
133
  if attributes.key?(:'id')
134
134
  self.id = attributes[:'id']
@@ -287,7 +287,7 @@ module SmartRecruiters
287
287
  # @return [Object] Returns the model itself
288
288
  def build_from_hash(attributes)
289
289
  return nil unless attributes.is_a?(Hash)
290
- super(attributes)
290
+ # super(attributes)
291
291
  self.class.openapi_types.each_pair do |key, type|
292
292
  if type =~ /\AArray<(.*)>/i
293
293
  # check to ensure the input is an array given that the attribute
@@ -361,7 +361,7 @@ module SmartRecruiters
361
361
  # Returns the object in the form of hash
362
362
  # @return [Hash] Returns the object in the form of hash
363
363
  def to_hash
364
- hash = super
364
+ hash = {}
365
365
  self.class.attribute_map.each_pair do |attr, param|
366
366
  value = self.send(attr)
367
367
  if value.nil?
@@ -46,7 +46,7 @@ module SmartRecruiters
46
46
  }
47
47
 
48
48
  # call parent's initialize
49
- super(attributes)
49
+ # super(attributes)
50
50
 
51
51
  if attributes.key?(:'id')
52
52
  self.id = attributes[:'id']
@@ -113,7 +113,7 @@ module SmartRecruiters
113
113
  # @return [Object] Returns the model itself
114
114
  def build_from_hash(attributes)
115
115
  return nil unless attributes.is_a?(Hash)
116
- super(attributes)
116
+ # super(attributes)
117
117
  self.class.openapi_types.each_pair do |key, type|
118
118
  if type =~ /\AArray<(.*)>/i
119
119
  # check to ensure the input is an array given that the attribute
@@ -187,7 +187,7 @@ module SmartRecruiters
187
187
  # Returns the object in the form of hash
188
188
  # @return [Hash] Returns the object in the form of hash
189
189
  def to_hash
190
- hash = super
190
+ hash = {}
191
191
  self.class.attribute_map.each_pair do |attr, param|
192
192
  value = self.send(attr)
193
193
  if value.nil?
@@ -88,7 +88,7 @@ module SmartRecruiters
88
88
  }
89
89
 
90
90
  # call parent's initialize
91
- super(attributes)
91
+ # super(attributes)
92
92
 
93
93
  if attributes.key?(:'id')
94
94
  self.id = attributes[:'id']
@@ -195,7 +195,7 @@ module SmartRecruiters
195
195
  # @return [Object] Returns the model itself
196
196
  def build_from_hash(attributes)
197
197
  return nil unless attributes.is_a?(Hash)
198
- super(attributes)
198
+ # super(attributes)
199
199
  self.class.openapi_types.each_pair do |key, type|
200
200
  if type =~ /\AArray<(.*)>/i
201
201
  # check to ensure the input is an array given that the attribute
@@ -269,7 +269,7 @@ module SmartRecruiters
269
269
  # Returns the object in the form of hash
270
270
  # @return [Hash] Returns the object in the form of hash
271
271
  def to_hash
272
- hash = super
272
+ hash = {}
273
273
  self.class.attribute_map.each_pair do |attr, param|
274
274
  value = self.send(attr)
275
275
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -38,7 +38,7 @@ module SmartRecruiters
38
38
  }
39
39
 
40
40
  # call parent's initialize
41
- super(attributes)
41
+ # super(attributes)
42
42
  end
43
43
 
44
44
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,7 +85,7 @@ module SmartRecruiters
85
85
  # @return [Object] Returns the model itself
86
86
  def build_from_hash(attributes)
87
87
  return nil unless attributes.is_a?(Hash)
88
- super(attributes)
88
+ # super(attributes)
89
89
  self.class.openapi_types.each_pair do |key, type|
90
90
  if type =~ /\AArray<(.*)>/i
91
91
  # check to ensure the input is an array given that the attribute
@@ -159,7 +159,7 @@ module SmartRecruiters
159
159
  # Returns the object in the form of hash
160
160
  # @return [Hash] Returns the object in the form of hash
161
161
  def to_hash
162
- hash = super
162
+ hash = {}
163
163
  self.class.attribute_map.each_pair do |attr, param|
164
164
  value = self.send(attr)
165
165
  if value.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SmartRecruiters
4
- VERSION = "0.2.6"
4
+ VERSION = "0.2.9"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_api_smart_recruiters_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - OneNeptune
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-22 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2