trustcomponent 0.0.1.beta.3 → 0.0.1.beta.4
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/lib/trustcomponent_generated/api/analytics_server_events_api.rb +1 -1
- data/lib/trustcomponent_generated/api/analytics_websites_api.rb +1 -1
- data/lib/trustcomponent_generated/api/captcha_verifications_api.rb +3 -3
- data/lib/trustcomponent_generated/api/monitoring_heartbeats_api.rb +1 -1
- data/lib/trustcomponent_generated/api/platform_events_api.rb +1 -1
- data/lib/trustcomponent_generated/api/platform_projects_api.rb +1 -1
- data/lib/trustcomponent_generated/api/tax_validation_schedules_api.rb +5 -3
- data/lib/trustcomponent_generated/api/tax_validation_validation_results_api.rb +3 -1
- data/lib/trustcomponent_generated/api/tax_validation_validations_api.rb +5 -5
- data/lib/trustcomponent_generated/api_client.rb +1 -1
- data/lib/trustcomponent_generated/api_error.rb +1 -1
- data/lib/trustcomponent_generated/api_model_base.rb +1 -1
- data/lib/trustcomponent_generated/configuration.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_event_category_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_realtime.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_realtime_page.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_realtime_point.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_event_commerce_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_event_commerce_product_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_event_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_event_error_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_event_refund_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_result.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_result_drop_reason_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_server_event_batch_result_dropped.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_breakdown.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_breakdown_row.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_breakdown_row_page.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_conversions.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_conversions_goal.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_conversions_goal_revenue.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_dimension_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_filter_match_mode_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_filter_operator_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_granularity_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_overview.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_timeseries.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_timeseries_point.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_stats_totals.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_website.rb +1 -1
- data/lib/trustcomponent_generated/models/analytics_websites_page.rb +1 -1
- data/lib/trustcomponent_generated/models/captcha_verification_result.rb +317 -5
- data/lib/trustcomponent_generated/models/platform_event.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_actor.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_actor_automation.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_actor_automation_kind_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_actor_type_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_change.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_change_operation_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_origin.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_ref.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_event_source_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_events_page.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_project.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_project_module_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_project_role_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/platform_projects_page.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_match_status_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_provider_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_provider_status_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_schedule.rb +10 -1
- data/lib/trustcomponent_generated/models/tax_validation_schedule_create_params.rb +4 -1
- data/lib/trustcomponent_generated/models/tax_validation_tax_address.rb +6 -1
- data/lib/trustcomponent_generated/models/tax_validation_tax_identifier_scheme_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation.rb +6 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_address_match.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_batch_create_params.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_create_params.rb +6 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_frequency_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_input.rb +7 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_match.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_mode_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_outcome_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_request_status_enum.rb +1 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_response_data.rb +4 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_result.rb +8 -1
- data/lib/trustcomponent_generated/models/tax_validation_validation_schedule_attach_params.rb +4 -2
- data/lib/trustcomponent_generated/models/tax_validation_verification_method_enum.rb +1 -1
- data/lib/trustcomponent_generated/modules.rb +2 -2
- data/lib/trustcomponent_generated/version.rb +2 -2
- data/lib/trustcomponent_generated.rb +1 -1
- metadata +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -15,12 +15,16 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrustComponent::Generated
|
|
17
17
|
class CaptchaVerificationResult < ApiModelBase
|
|
18
|
+
# Id of the captcha (in the dashboard) the verification ran on.
|
|
18
19
|
attr_accessor :captcha_id
|
|
19
20
|
|
|
21
|
+
# Id of the verification, the one from the token.
|
|
20
22
|
attr_accessor :verification_id
|
|
21
23
|
|
|
24
|
+
# Whether the visitor passed the CAPTCHA. The field most integrations act on.
|
|
22
25
|
attr_accessor :verification_passed
|
|
23
26
|
|
|
27
|
+
# Risk that the request is automated, from 0 (probably human) to 1 (probably automated).
|
|
24
28
|
attr_accessor :score
|
|
25
29
|
|
|
26
30
|
# How the verification outcome was determined. Possible values include STANDARD, BYPASS_KEY, CUSTOM_ACCESS_RULE, GLOBAL_IP_ACCESS_RULE, FAILOVER, FAILOVER_TOLERANCE.
|
|
@@ -32,31 +36,43 @@ module TrustComponent::Generated
|
|
|
32
36
|
# True when the gateway synthesized this result because the captcha service was unreachable.
|
|
33
37
|
attr_accessor :gateway_failover_active
|
|
34
38
|
|
|
39
|
+
# Whether the risk analysis of the captcha was switched on for this verification.
|
|
35
40
|
attr_accessor :risk_scoring_enabled
|
|
36
41
|
|
|
42
|
+
# Whether the captcha runs in minimal data mode; then origin, IP address and device fields are empty.
|
|
37
43
|
attr_accessor :minimal_data_mode_enabled
|
|
38
44
|
|
|
45
|
+
# Origin of the page the widget ran on.
|
|
39
46
|
attr_accessor :origin
|
|
40
47
|
|
|
48
|
+
# IP address of the visitor.
|
|
41
49
|
attr_accessor :ip_address
|
|
42
50
|
|
|
43
51
|
# Two-letter ISO 3166-1 alpha-2 country code derived from the client IP. Empty string if not resolvable.
|
|
44
52
|
attr_accessor :country_code
|
|
45
53
|
|
|
54
|
+
# Device family of the visitor, from the user agent.
|
|
46
55
|
attr_accessor :device_family
|
|
47
56
|
|
|
57
|
+
# Operating system of the visitor, from the user agent.
|
|
48
58
|
attr_accessor :operating_system
|
|
49
59
|
|
|
60
|
+
# Browser of the visitor, from the user agent.
|
|
50
61
|
attr_accessor :browser
|
|
51
62
|
|
|
63
|
+
# When the widget started the verification.
|
|
52
64
|
attr_accessor :verification_started_at
|
|
53
65
|
|
|
66
|
+
# When the visitor finished the verification.
|
|
54
67
|
attr_accessor :verification_finished_at
|
|
55
68
|
|
|
69
|
+
# Until when the result can be retrieved.
|
|
56
70
|
attr_accessor :result_expires_at
|
|
57
71
|
|
|
72
|
+
# When the result was retrieved for the first time.
|
|
58
73
|
attr_accessor :result_first_fetched_at
|
|
59
74
|
|
|
75
|
+
# When the result was retrieved for the last time.
|
|
60
76
|
attr_accessor :result_last_fetched_at
|
|
61
77
|
|
|
62
78
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -145,74 +161,110 @@ module TrustComponent::Generated
|
|
|
145
161
|
|
|
146
162
|
if attributes.key?(:'captcha_id')
|
|
147
163
|
self.captcha_id = attributes[:'captcha_id']
|
|
164
|
+
else
|
|
165
|
+
self.captcha_id = nil
|
|
148
166
|
end
|
|
149
167
|
|
|
150
168
|
if attributes.key?(:'verification_id')
|
|
151
169
|
self.verification_id = attributes[:'verification_id']
|
|
170
|
+
else
|
|
171
|
+
self.verification_id = nil
|
|
152
172
|
end
|
|
153
173
|
|
|
154
174
|
if attributes.key?(:'verification_passed')
|
|
155
175
|
self.verification_passed = attributes[:'verification_passed']
|
|
176
|
+
else
|
|
177
|
+
self.verification_passed = nil
|
|
156
178
|
end
|
|
157
179
|
|
|
158
180
|
if attributes.key?(:'score')
|
|
159
181
|
self.score = attributes[:'score']
|
|
182
|
+
else
|
|
183
|
+
self.score = nil
|
|
160
184
|
end
|
|
161
185
|
|
|
162
186
|
if attributes.key?(:'decision_type')
|
|
163
187
|
self.decision_type = attributes[:'decision_type']
|
|
188
|
+
else
|
|
189
|
+
self.decision_type = nil
|
|
164
190
|
end
|
|
165
191
|
|
|
166
192
|
if attributes.key?(:'decision_action')
|
|
167
193
|
self.decision_action = attributes[:'decision_action']
|
|
194
|
+
else
|
|
195
|
+
self.decision_action = nil
|
|
168
196
|
end
|
|
169
197
|
|
|
170
198
|
if attributes.key?(:'gateway_failover_active')
|
|
171
199
|
self.gateway_failover_active = attributes[:'gateway_failover_active']
|
|
200
|
+
else
|
|
201
|
+
self.gateway_failover_active = nil
|
|
172
202
|
end
|
|
173
203
|
|
|
174
204
|
if attributes.key?(:'risk_scoring_enabled')
|
|
175
205
|
self.risk_scoring_enabled = attributes[:'risk_scoring_enabled']
|
|
206
|
+
else
|
|
207
|
+
self.risk_scoring_enabled = nil
|
|
176
208
|
end
|
|
177
209
|
|
|
178
210
|
if attributes.key?(:'minimal_data_mode_enabled')
|
|
179
211
|
self.minimal_data_mode_enabled = attributes[:'minimal_data_mode_enabled']
|
|
212
|
+
else
|
|
213
|
+
self.minimal_data_mode_enabled = nil
|
|
180
214
|
end
|
|
181
215
|
|
|
182
216
|
if attributes.key?(:'origin')
|
|
183
217
|
self.origin = attributes[:'origin']
|
|
218
|
+
else
|
|
219
|
+
self.origin = nil
|
|
184
220
|
end
|
|
185
221
|
|
|
186
222
|
if attributes.key?(:'ip_address')
|
|
187
223
|
self.ip_address = attributes[:'ip_address']
|
|
224
|
+
else
|
|
225
|
+
self.ip_address = nil
|
|
188
226
|
end
|
|
189
227
|
|
|
190
228
|
if attributes.key?(:'country_code')
|
|
191
229
|
self.country_code = attributes[:'country_code']
|
|
230
|
+
else
|
|
231
|
+
self.country_code = nil
|
|
192
232
|
end
|
|
193
233
|
|
|
194
234
|
if attributes.key?(:'device_family')
|
|
195
235
|
self.device_family = attributes[:'device_family']
|
|
236
|
+
else
|
|
237
|
+
self.device_family = nil
|
|
196
238
|
end
|
|
197
239
|
|
|
198
240
|
if attributes.key?(:'operating_system')
|
|
199
241
|
self.operating_system = attributes[:'operating_system']
|
|
242
|
+
else
|
|
243
|
+
self.operating_system = nil
|
|
200
244
|
end
|
|
201
245
|
|
|
202
246
|
if attributes.key?(:'browser')
|
|
203
247
|
self.browser = attributes[:'browser']
|
|
248
|
+
else
|
|
249
|
+
self.browser = nil
|
|
204
250
|
end
|
|
205
251
|
|
|
206
252
|
if attributes.key?(:'verification_started_at')
|
|
207
253
|
self.verification_started_at = attributes[:'verification_started_at']
|
|
254
|
+
else
|
|
255
|
+
self.verification_started_at = nil
|
|
208
256
|
end
|
|
209
257
|
|
|
210
258
|
if attributes.key?(:'verification_finished_at')
|
|
211
259
|
self.verification_finished_at = attributes[:'verification_finished_at']
|
|
260
|
+
else
|
|
261
|
+
self.verification_finished_at = nil
|
|
212
262
|
end
|
|
213
263
|
|
|
214
264
|
if attributes.key?(:'result_expires_at')
|
|
215
265
|
self.result_expires_at = attributes[:'result_expires_at']
|
|
266
|
+
else
|
|
267
|
+
self.result_expires_at = nil
|
|
216
268
|
end
|
|
217
269
|
|
|
218
270
|
if attributes.key?(:'result_first_fetched_at')
|
|
@@ -229,14 +281,86 @@ module TrustComponent::Generated
|
|
|
229
281
|
def list_invalid_properties
|
|
230
282
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
231
283
|
invalid_properties = Array.new
|
|
232
|
-
if
|
|
284
|
+
if @captcha_id.nil?
|
|
285
|
+
invalid_properties.push('invalid value for "captcha_id", captcha_id cannot be nil.')
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
if @verification_id.nil?
|
|
289
|
+
invalid_properties.push('invalid value for "verification_id", verification_id cannot be nil.')
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if @verification_passed.nil?
|
|
293
|
+
invalid_properties.push('invalid value for "verification_passed", verification_passed cannot be nil.')
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if @score.nil?
|
|
297
|
+
invalid_properties.push('invalid value for "score", score cannot be nil.')
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
if @score > 1
|
|
233
301
|
invalid_properties.push('invalid value for "score", must be smaller than or equal to 1.')
|
|
234
302
|
end
|
|
235
303
|
|
|
236
|
-
if
|
|
304
|
+
if @score < 0
|
|
237
305
|
invalid_properties.push('invalid value for "score", must be greater than or equal to 0.')
|
|
238
306
|
end
|
|
239
307
|
|
|
308
|
+
if @decision_type.nil?
|
|
309
|
+
invalid_properties.push('invalid value for "decision_type", decision_type cannot be nil.')
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
if @decision_action.nil?
|
|
313
|
+
invalid_properties.push('invalid value for "decision_action", decision_action cannot be nil.')
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
if @gateway_failover_active.nil?
|
|
317
|
+
invalid_properties.push('invalid value for "gateway_failover_active", gateway_failover_active cannot be nil.')
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
if @risk_scoring_enabled.nil?
|
|
321
|
+
invalid_properties.push('invalid value for "risk_scoring_enabled", risk_scoring_enabled cannot be nil.')
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
if @minimal_data_mode_enabled.nil?
|
|
325
|
+
invalid_properties.push('invalid value for "minimal_data_mode_enabled", minimal_data_mode_enabled cannot be nil.')
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
if @origin.nil?
|
|
329
|
+
invalid_properties.push('invalid value for "origin", origin cannot be nil.')
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
if @ip_address.nil?
|
|
333
|
+
invalid_properties.push('invalid value for "ip_address", ip_address cannot be nil.')
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
if @country_code.nil?
|
|
337
|
+
invalid_properties.push('invalid value for "country_code", country_code cannot be nil.')
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
if @device_family.nil?
|
|
341
|
+
invalid_properties.push('invalid value for "device_family", device_family cannot be nil.')
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
if @operating_system.nil?
|
|
345
|
+
invalid_properties.push('invalid value for "operating_system", operating_system cannot be nil.')
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
if @browser.nil?
|
|
349
|
+
invalid_properties.push('invalid value for "browser", browser cannot be nil.')
|
|
350
|
+
end
|
|
351
|
+
|
|
352
|
+
if @verification_started_at.nil?
|
|
353
|
+
invalid_properties.push('invalid value for "verification_started_at", verification_started_at cannot be nil.')
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
if @verification_finished_at.nil?
|
|
357
|
+
invalid_properties.push('invalid value for "verification_finished_at", verification_finished_at cannot be nil.')
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
if @result_expires_at.nil?
|
|
361
|
+
invalid_properties.push('invalid value for "result_expires_at", result_expires_at cannot be nil.')
|
|
362
|
+
end
|
|
363
|
+
|
|
240
364
|
invalid_properties
|
|
241
365
|
end
|
|
242
366
|
|
|
@@ -244,11 +368,59 @@ module TrustComponent::Generated
|
|
|
244
368
|
# @return true if the model is valid
|
|
245
369
|
def valid?
|
|
246
370
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
247
|
-
return false if
|
|
248
|
-
return false if
|
|
371
|
+
return false if @captcha_id.nil?
|
|
372
|
+
return false if @verification_id.nil?
|
|
373
|
+
return false if @verification_passed.nil?
|
|
374
|
+
return false if @score.nil?
|
|
375
|
+
return false if @score > 1
|
|
376
|
+
return false if @score < 0
|
|
377
|
+
return false if @decision_type.nil?
|
|
378
|
+
return false if @decision_action.nil?
|
|
379
|
+
return false if @gateway_failover_active.nil?
|
|
380
|
+
return false if @risk_scoring_enabled.nil?
|
|
381
|
+
return false if @minimal_data_mode_enabled.nil?
|
|
382
|
+
return false if @origin.nil?
|
|
383
|
+
return false if @ip_address.nil?
|
|
384
|
+
return false if @country_code.nil?
|
|
385
|
+
return false if @device_family.nil?
|
|
386
|
+
return false if @operating_system.nil?
|
|
387
|
+
return false if @browser.nil?
|
|
388
|
+
return false if @verification_started_at.nil?
|
|
389
|
+
return false if @verification_finished_at.nil?
|
|
390
|
+
return false if @result_expires_at.nil?
|
|
249
391
|
true
|
|
250
392
|
end
|
|
251
393
|
|
|
394
|
+
# Custom attribute writer method with validation
|
|
395
|
+
# @param [Object] captcha_id Value to be assigned
|
|
396
|
+
def captcha_id=(captcha_id)
|
|
397
|
+
if captcha_id.nil?
|
|
398
|
+
fail ArgumentError, 'captcha_id cannot be nil'
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
@captcha_id = captcha_id
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
# Custom attribute writer method with validation
|
|
405
|
+
# @param [Object] verification_id Value to be assigned
|
|
406
|
+
def verification_id=(verification_id)
|
|
407
|
+
if verification_id.nil?
|
|
408
|
+
fail ArgumentError, 'verification_id cannot be nil'
|
|
409
|
+
end
|
|
410
|
+
|
|
411
|
+
@verification_id = verification_id
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Custom attribute writer method with validation
|
|
415
|
+
# @param [Object] verification_passed Value to be assigned
|
|
416
|
+
def verification_passed=(verification_passed)
|
|
417
|
+
if verification_passed.nil?
|
|
418
|
+
fail ArgumentError, 'verification_passed cannot be nil'
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
@verification_passed = verification_passed
|
|
422
|
+
end
|
|
423
|
+
|
|
252
424
|
# Custom attribute writer method with validation
|
|
253
425
|
# @param [Object] score Value to be assigned
|
|
254
426
|
def score=(score)
|
|
@@ -267,6 +439,146 @@ module TrustComponent::Generated
|
|
|
267
439
|
@score = score
|
|
268
440
|
end
|
|
269
441
|
|
|
442
|
+
# Custom attribute writer method with validation
|
|
443
|
+
# @param [Object] decision_type Value to be assigned
|
|
444
|
+
def decision_type=(decision_type)
|
|
445
|
+
if decision_type.nil?
|
|
446
|
+
fail ArgumentError, 'decision_type cannot be nil'
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
@decision_type = decision_type
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Custom attribute writer method with validation
|
|
453
|
+
# @param [Object] decision_action Value to be assigned
|
|
454
|
+
def decision_action=(decision_action)
|
|
455
|
+
if decision_action.nil?
|
|
456
|
+
fail ArgumentError, 'decision_action cannot be nil'
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
@decision_action = decision_action
|
|
460
|
+
end
|
|
461
|
+
|
|
462
|
+
# Custom attribute writer method with validation
|
|
463
|
+
# @param [Object] gateway_failover_active Value to be assigned
|
|
464
|
+
def gateway_failover_active=(gateway_failover_active)
|
|
465
|
+
if gateway_failover_active.nil?
|
|
466
|
+
fail ArgumentError, 'gateway_failover_active cannot be nil'
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
@gateway_failover_active = gateway_failover_active
|
|
470
|
+
end
|
|
471
|
+
|
|
472
|
+
# Custom attribute writer method with validation
|
|
473
|
+
# @param [Object] risk_scoring_enabled Value to be assigned
|
|
474
|
+
def risk_scoring_enabled=(risk_scoring_enabled)
|
|
475
|
+
if risk_scoring_enabled.nil?
|
|
476
|
+
fail ArgumentError, 'risk_scoring_enabled cannot be nil'
|
|
477
|
+
end
|
|
478
|
+
|
|
479
|
+
@risk_scoring_enabled = risk_scoring_enabled
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# Custom attribute writer method with validation
|
|
483
|
+
# @param [Object] minimal_data_mode_enabled Value to be assigned
|
|
484
|
+
def minimal_data_mode_enabled=(minimal_data_mode_enabled)
|
|
485
|
+
if minimal_data_mode_enabled.nil?
|
|
486
|
+
fail ArgumentError, 'minimal_data_mode_enabled cannot be nil'
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
@minimal_data_mode_enabled = minimal_data_mode_enabled
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
# Custom attribute writer method with validation
|
|
493
|
+
# @param [Object] origin Value to be assigned
|
|
494
|
+
def origin=(origin)
|
|
495
|
+
if origin.nil?
|
|
496
|
+
fail ArgumentError, 'origin cannot be nil'
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
@origin = origin
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
# Custom attribute writer method with validation
|
|
503
|
+
# @param [Object] ip_address Value to be assigned
|
|
504
|
+
def ip_address=(ip_address)
|
|
505
|
+
if ip_address.nil?
|
|
506
|
+
fail ArgumentError, 'ip_address cannot be nil'
|
|
507
|
+
end
|
|
508
|
+
|
|
509
|
+
@ip_address = ip_address
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
# Custom attribute writer method with validation
|
|
513
|
+
# @param [Object] country_code Value to be assigned
|
|
514
|
+
def country_code=(country_code)
|
|
515
|
+
if country_code.nil?
|
|
516
|
+
fail ArgumentError, 'country_code cannot be nil'
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
@country_code = country_code
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
# Custom attribute writer method with validation
|
|
523
|
+
# @param [Object] device_family Value to be assigned
|
|
524
|
+
def device_family=(device_family)
|
|
525
|
+
if device_family.nil?
|
|
526
|
+
fail ArgumentError, 'device_family cannot be nil'
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
@device_family = device_family
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# Custom attribute writer method with validation
|
|
533
|
+
# @param [Object] operating_system Value to be assigned
|
|
534
|
+
def operating_system=(operating_system)
|
|
535
|
+
if operating_system.nil?
|
|
536
|
+
fail ArgumentError, 'operating_system cannot be nil'
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
@operating_system = operating_system
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
# Custom attribute writer method with validation
|
|
543
|
+
# @param [Object] browser Value to be assigned
|
|
544
|
+
def browser=(browser)
|
|
545
|
+
if browser.nil?
|
|
546
|
+
fail ArgumentError, 'browser cannot be nil'
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
@browser = browser
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# Custom attribute writer method with validation
|
|
553
|
+
# @param [Object] verification_started_at Value to be assigned
|
|
554
|
+
def verification_started_at=(verification_started_at)
|
|
555
|
+
if verification_started_at.nil?
|
|
556
|
+
fail ArgumentError, 'verification_started_at cannot be nil'
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
@verification_started_at = verification_started_at
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# Custom attribute writer method with validation
|
|
563
|
+
# @param [Object] verification_finished_at Value to be assigned
|
|
564
|
+
def verification_finished_at=(verification_finished_at)
|
|
565
|
+
if verification_finished_at.nil?
|
|
566
|
+
fail ArgumentError, 'verification_finished_at cannot be nil'
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
@verification_finished_at = verification_finished_at
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Custom attribute writer method with validation
|
|
573
|
+
# @param [Object] result_expires_at Value to be assigned
|
|
574
|
+
def result_expires_at=(result_expires_at)
|
|
575
|
+
if result_expires_at.nil?
|
|
576
|
+
fail ArgumentError, 'result_expires_at cannot be nil'
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
@result_expires_at = result_expires_at
|
|
580
|
+
end
|
|
581
|
+
|
|
270
582
|
# Checks equality by comparing each attribute.
|
|
271
583
|
# @param [Object] Object to be compared
|
|
272
584
|
def ==(o)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The public API of every TrustComponent module, authenticated with an API key (`ak_…`). Each operation carries its own version in its path.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.0.1-beta.
|
|
6
|
+
The version of the OpenAPI document: 0.0.1-beta.4
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.24.0
|