lib/onfido/models/check_builder.rb in onfido-3.4.0 vs lib/onfido/models/check_builder.rb in onfido-4.0.0
- old
+ new
@@ -4,11 +4,11 @@
#The Onfido API (v3.6)
The version of the OpenAPI document: v3.6
Generated by: https://openapi-generator.tech
-Generator version: 7.6.0
+Generator version: 7.9.0
=end
require 'date'
require 'time'
@@ -28,10 +28,12 @@
attr_accessor :tags
# For checks where `applicant_provides_data` is `true`, redirect to this URI when the applicant has submitted their data.
attr_accessor :redirect_uri
+ attr_accessor :privacy_notices_read_consent_given
+
# An array of report names (strings).
attr_accessor :report_names
# Optional. An array of document ids, for use with Document reports only. If omitted, the Document report will use the most recently uploaded document by default.
attr_accessor :document_ids
@@ -56,10 +58,11 @@
:'webhook_ids' => :'webhook_ids',
:'applicant_id' => :'applicant_id',
:'applicant_provides_data' => :'applicant_provides_data',
:'tags' => :'tags',
:'redirect_uri' => :'redirect_uri',
+ :'privacy_notices_read_consent_given' => :'privacy_notices_read_consent_given',
:'report_names' => :'report_names',
:'document_ids' => :'document_ids',
:'asynchronous' => :'asynchronous',
:'suppress_form_emails' => :'suppress_form_emails',
:'sub_result' => :'sub_result',
@@ -79,10 +82,11 @@
:'webhook_ids' => :'Array<String>',
:'applicant_id' => :'String',
:'applicant_provides_data' => :'Boolean',
:'tags' => :'Array<String>',
:'redirect_uri' => :'String',
+ :'privacy_notices_read_consent_given' => :'Boolean',
:'report_names' => :'Array<ReportName>',
:'document_ids' => :'Array<String>',
:'asynchronous' => :'Boolean',
:'suppress_form_emails' => :'Boolean',
:'sub_result' => :'String',
@@ -146,10 +150,14 @@
if attributes.key?(:'redirect_uri')
self.redirect_uri = attributes[:'redirect_uri']
end
+ if attributes.key?(:'privacy_notices_read_consent_given')
+ self.privacy_notices_read_consent_given = attributes[:'privacy_notices_read_consent_given']
+ end
+
if attributes.key?(:'report_names')
if (value = attributes[:'report_names']).is_a?(Array)
self.report_names = value
end
else
@@ -220,10 +228,11 @@
webhook_ids == o.webhook_ids &&
applicant_id == o.applicant_id &&
applicant_provides_data == o.applicant_provides_data &&
tags == o.tags &&
redirect_uri == o.redirect_uri &&
+ privacy_notices_read_consent_given == o.privacy_notices_read_consent_given &&
report_names == o.report_names &&
document_ids == o.document_ids &&
asynchronous == o.asynchronous &&
suppress_form_emails == o.suppress_form_emails &&
sub_result == o.sub_result &&
@@ -238,10 +247,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, report_names, document_ids, asynchronous, suppress_form_emails, sub_result, consider, us_driving_licence].hash
+ [webhook_ids, applicant_id, applicant_provides_data, tags, redirect_uri, privacy_notices_read_consent_given, report_names, document_ids, asynchronous, suppress_form_emails, sub_result, consider, us_driving_licence].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself