pescheck-client 0.2.1 → 0.4.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b64e4be5032d2ed714e57c73fe6d3d7575019841aeba43e981ddb680e10bb25
|
|
4
|
+
data.tar.gz: c6ed3118e42c21963c32b3105249f123cc456a3cdbc061952f5644d888b69c22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 329cad683e87a7deb6e0fb2490381b827e0267aac4163026cbcc9191d3e451d9d5c0f87e666523f7ee17d1f762ab3d3755a6417da079bcdc7bdd6dcc0016d90c
|
|
7
|
+
data.tar.gz: 0d5998b9c3c06c0b4e1fad16a9f071b94b07fc4fbdf8d0a70ff331dac7e4fc271f1764941344831130031cc452dd8aea69e97e2569d9ff644a392f31991f213e
|
|
@@ -91,6 +91,7 @@ module Pescheck
|
|
|
91
91
|
# List of attributes with nullable: true
|
|
92
92
|
def self.openapi_nullable
|
|
93
93
|
Set.new([
|
|
94
|
+
:'id',
|
|
94
95
|
])
|
|
95
96
|
end
|
|
96
97
|
|
|
@@ -162,10 +163,6 @@ module Pescheck
|
|
|
162
163
|
def list_invalid_properties
|
|
163
164
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
164
165
|
invalid_properties = Array.new
|
|
165
|
-
if @id.nil?
|
|
166
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
167
|
-
end
|
|
168
|
-
|
|
169
166
|
if @check_type.nil?
|
|
170
167
|
invalid_properties.push('invalid value for "check_type", check_type cannot be nil.')
|
|
171
168
|
end
|
|
@@ -197,7 +194,6 @@ module Pescheck
|
|
|
197
194
|
# @return true if the model is valid
|
|
198
195
|
def valid?
|
|
199
196
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
200
|
-
return false if @id.nil?
|
|
201
197
|
return false if @check_type.nil?
|
|
202
198
|
check_type_validator = EnumAttributeValidator.new('String', ["addresscheck", "adversemediacheck", "bigcheck", "criminalrecordscheck", "criminalrecordsuploadcheck", "customintegritycheck", "cvcheck", "edrcheck", "focumcheck", "id2check", "idcheck", "integritycheck", "openhealthcarecheck", "permissioncheck", "pescheckadversemediacheck", "qualificationcheck", "righttoworkcheck", "vogcheck", "watchlist2check", "watchlistcheck", "workreferencecheck", "worldwidecreditcheck"])
|
|
203
199
|
return false unless check_type_validator.valid?(@check_type)
|
|
@@ -209,16 +205,6 @@ module Pescheck
|
|
|
209
205
|
true
|
|
210
206
|
end
|
|
211
207
|
|
|
212
|
-
# Custom attribute writer method with validation
|
|
213
|
-
# @param [Object] id Value to be assigned
|
|
214
|
-
def id=(id)
|
|
215
|
-
if id.nil?
|
|
216
|
-
fail ArgumentError, 'id cannot be nil'
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
@id = id
|
|
220
|
-
end
|
|
221
|
-
|
|
222
208
|
# Custom attribute writer method checking allowed values (enum).
|
|
223
209
|
# @param [Object] check_type Object to be assigned
|
|
224
210
|
def check_type=(check_type)
|