docusign_esign 3.17.0 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,307 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class EnvelopePublishTransaction
16
+ #
17
+ attr_accessor :apply_connect_settings
18
+
19
+ #
20
+ attr_accessor :envelope_count
21
+
22
+ #
23
+ attr_accessor :envelope_level_error_rollups
24
+
25
+ #
26
+ attr_accessor :envelope_publish_transaction_id
27
+
28
+ #
29
+ attr_accessor :error_count
30
+
31
+ #
32
+ attr_accessor :file_level_errors
33
+
34
+ #
35
+ attr_accessor :no_action_required_envelope_count
36
+
37
+ #
38
+ attr_accessor :processed_envelope_count
39
+
40
+ #
41
+ attr_accessor :processing_status
42
+
43
+ #
44
+ attr_accessor :results_uri
45
+
46
+ #
47
+ attr_accessor :submission_date
48
+
49
+ attr_accessor :submitted_by_user_info
50
+
51
+ #
52
+ attr_accessor :submitted_for_publishing_envelope_count
53
+
54
+ # Attribute mapping from ruby-style variable name to JSON key.
55
+ def self.attribute_map
56
+ {
57
+ :'apply_connect_settings' => :'applyConnectSettings',
58
+ :'envelope_count' => :'envelopeCount',
59
+ :'envelope_level_error_rollups' => :'envelopeLevelErrorRollups',
60
+ :'envelope_publish_transaction_id' => :'envelopePublishTransactionId',
61
+ :'error_count' => :'errorCount',
62
+ :'file_level_errors' => :'fileLevelErrors',
63
+ :'no_action_required_envelope_count' => :'noActionRequiredEnvelopeCount',
64
+ :'processed_envelope_count' => :'processedEnvelopeCount',
65
+ :'processing_status' => :'processingStatus',
66
+ :'results_uri' => :'resultsUri',
67
+ :'submission_date' => :'submissionDate',
68
+ :'submitted_by_user_info' => :'submittedByUserInfo',
69
+ :'submitted_for_publishing_envelope_count' => :'submittedForPublishingEnvelopeCount'
70
+ }
71
+ end
72
+
73
+ # Attribute type mapping.
74
+ def self.swagger_types
75
+ {
76
+ :'apply_connect_settings' => :'String',
77
+ :'envelope_count' => :'String',
78
+ :'envelope_level_error_rollups' => :'Array<EnvelopePublishTransactionErrorRollup>',
79
+ :'envelope_publish_transaction_id' => :'String',
80
+ :'error_count' => :'String',
81
+ :'file_level_errors' => :'Array<String>',
82
+ :'no_action_required_envelope_count' => :'String',
83
+ :'processed_envelope_count' => :'String',
84
+ :'processing_status' => :'String',
85
+ :'results_uri' => :'String',
86
+ :'submission_date' => :'String',
87
+ :'submitted_by_user_info' => :'UserInfo',
88
+ :'submitted_for_publishing_envelope_count' => :'String'
89
+ }
90
+ end
91
+
92
+ # Initializes the object
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ def initialize(attributes = {})
95
+ return unless attributes.is_a?(Hash)
96
+
97
+ # convert string to symbol for hash key
98
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
99
+
100
+ if attributes.has_key?(:'applyConnectSettings')
101
+ self.apply_connect_settings = attributes[:'applyConnectSettings']
102
+ end
103
+
104
+ if attributes.has_key?(:'envelopeCount')
105
+ self.envelope_count = attributes[:'envelopeCount']
106
+ end
107
+
108
+ if attributes.has_key?(:'envelopeLevelErrorRollups')
109
+ if (value = attributes[:'envelopeLevelErrorRollups']).is_a?(Array)
110
+ self.envelope_level_error_rollups = value
111
+ end
112
+ end
113
+
114
+ if attributes.has_key?(:'envelopePublishTransactionId')
115
+ self.envelope_publish_transaction_id = attributes[:'envelopePublishTransactionId']
116
+ end
117
+
118
+ if attributes.has_key?(:'errorCount')
119
+ self.error_count = attributes[:'errorCount']
120
+ end
121
+
122
+ if attributes.has_key?(:'fileLevelErrors')
123
+ if (value = attributes[:'fileLevelErrors']).is_a?(Array)
124
+ self.file_level_errors = value
125
+ end
126
+ end
127
+
128
+ if attributes.has_key?(:'noActionRequiredEnvelopeCount')
129
+ self.no_action_required_envelope_count = attributes[:'noActionRequiredEnvelopeCount']
130
+ end
131
+
132
+ if attributes.has_key?(:'processedEnvelopeCount')
133
+ self.processed_envelope_count = attributes[:'processedEnvelopeCount']
134
+ end
135
+
136
+ if attributes.has_key?(:'processingStatus')
137
+ self.processing_status = attributes[:'processingStatus']
138
+ end
139
+
140
+ if attributes.has_key?(:'resultsUri')
141
+ self.results_uri = attributes[:'resultsUri']
142
+ end
143
+
144
+ if attributes.has_key?(:'submissionDate')
145
+ self.submission_date = attributes[:'submissionDate']
146
+ end
147
+
148
+ if attributes.has_key?(:'submittedByUserInfo')
149
+ self.submitted_by_user_info = attributes[:'submittedByUserInfo']
150
+ end
151
+
152
+ if attributes.has_key?(:'submittedForPublishingEnvelopeCount')
153
+ self.submitted_for_publishing_envelope_count = attributes[:'submittedForPublishingEnvelopeCount']
154
+ end
155
+ end
156
+
157
+ # Show invalid properties with the reasons. Usually used together with valid?
158
+ # @return Array for valid properties with the reasons
159
+ def list_invalid_properties
160
+ invalid_properties = Array.new
161
+ invalid_properties
162
+ end
163
+
164
+ # Check to see if the all the properties in the model are valid
165
+ # @return true if the model is valid
166
+ def valid?
167
+ true
168
+ end
169
+
170
+ # Checks equality by comparing each attribute.
171
+ # @param [Object] Object to be compared
172
+ def ==(o)
173
+ return true if self.equal?(o)
174
+ self.class == o.class &&
175
+ apply_connect_settings == o.apply_connect_settings &&
176
+ envelope_count == o.envelope_count &&
177
+ envelope_level_error_rollups == o.envelope_level_error_rollups &&
178
+ envelope_publish_transaction_id == o.envelope_publish_transaction_id &&
179
+ error_count == o.error_count &&
180
+ file_level_errors == o.file_level_errors &&
181
+ no_action_required_envelope_count == o.no_action_required_envelope_count &&
182
+ processed_envelope_count == o.processed_envelope_count &&
183
+ processing_status == o.processing_status &&
184
+ results_uri == o.results_uri &&
185
+ submission_date == o.submission_date &&
186
+ submitted_by_user_info == o.submitted_by_user_info &&
187
+ submitted_for_publishing_envelope_count == o.submitted_for_publishing_envelope_count
188
+ end
189
+
190
+ # @see the `==` method
191
+ # @param [Object] Object to be compared
192
+ def eql?(o)
193
+ self == o
194
+ end
195
+
196
+ # Calculates hash code according to all attributes.
197
+ # @return [Fixnum] Hash code
198
+ def hash
199
+ [apply_connect_settings, envelope_count, envelope_level_error_rollups, envelope_publish_transaction_id, error_count, file_level_errors, no_action_required_envelope_count, processed_envelope_count, processing_status, results_uri, submission_date, submitted_by_user_info, submitted_for_publishing_envelope_count].hash
200
+ end
201
+
202
+ # Builds the object from hash
203
+ # @param [Hash] attributes Model attributes in the form of hash
204
+ # @return [Object] Returns the model itself
205
+ def build_from_hash(attributes)
206
+ return nil unless attributes.is_a?(Hash)
207
+ self.class.swagger_types.each_pair do |key, type|
208
+ if type =~ /\AArray<(.*)>/i
209
+ # check to ensure the input is an array given that the attribute
210
+ # is documented as an array but the input is not
211
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
212
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
213
+ end
214
+ elsif !attributes[self.class.attribute_map[key]].nil?
215
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
216
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
217
+ end
218
+
219
+ self
220
+ end
221
+
222
+ # Deserializes the data based on type
223
+ # @param string type Data type
224
+ # @param string value Value to be deserialized
225
+ # @return [Object] Deserialized data
226
+ def _deserialize(type, value)
227
+ case type.to_sym
228
+ when :DateTime
229
+ DateTime.parse(value)
230
+ when :Date
231
+ Date.parse(value)
232
+ when :String
233
+ value.to_s
234
+ when :Integer
235
+ value.to_i
236
+ when :Float
237
+ value.to_f
238
+ when :BOOLEAN
239
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
240
+ true
241
+ else
242
+ false
243
+ end
244
+ when :Object
245
+ # generic object (usually a Hash), return directly
246
+ value
247
+ when /\AArray<(?<inner_type>.+)>\z/
248
+ inner_type = Regexp.last_match[:inner_type]
249
+ value.map { |v| _deserialize(inner_type, v) }
250
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
251
+ k_type = Regexp.last_match[:k_type]
252
+ v_type = Regexp.last_match[:v_type]
253
+ {}.tap do |hash|
254
+ value.each do |k, v|
255
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
256
+ end
257
+ end
258
+ else # model
259
+ temp_model = DocuSign_eSign.const_get(type).new
260
+ temp_model.build_from_hash(value)
261
+ end
262
+ end
263
+
264
+ # Returns the string representation of the object
265
+ # @return [String] String presentation of the object
266
+ def to_s
267
+ to_hash.to_s
268
+ end
269
+
270
+ # to_body is an alias to to_hash (backward compatibility)
271
+ # @return [Hash] Returns the object in the form of hash
272
+ def to_body
273
+ to_hash
274
+ end
275
+
276
+ # Returns the object in the form of hash
277
+ # @return [Hash] Returns the object in the form of hash
278
+ def to_hash
279
+ hash = {}
280
+ self.class.attribute_map.each_pair do |attr, param|
281
+ value = self.send(attr)
282
+ next if value.nil?
283
+ hash[param] = _to_hash(value)
284
+ end
285
+ hash
286
+ end
287
+
288
+ # Outputs non-array value in the form of hash
289
+ # For object, use to_hash. Otherwise, just return the value
290
+ # @param [Object] value Any valid value
291
+ # @return [Hash] Returns the value in the form of hash
292
+ def _to_hash(value)
293
+ if value.is_a?(Array)
294
+ value.compact.map { |v| _to_hash(v) }
295
+ elsif value.is_a?(Hash)
296
+ {}.tap do |hash|
297
+ value.each { |k, v| hash[k] = _to_hash(v) }
298
+ end
299
+ elsif value.respond_to? :to_hash
300
+ value.to_hash
301
+ else
302
+ value
303
+ end
304
+ end
305
+
306
+ end
307
+ end
@@ -0,0 +1,194 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class EnvelopePublishTransactionErrorRollup
16
+ #
17
+ attr_accessor :count
18
+
19
+ #
20
+ attr_accessor :error_type
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'count' => :'count',
26
+ :'error_type' => :'errorType'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.swagger_types
32
+ {
33
+ :'count' => :'String',
34
+ :'error_type' => :'String'
35
+ }
36
+ end
37
+
38
+ # Initializes the object
39
+ # @param [Hash] attributes Model attributes in the form of hash
40
+ def initialize(attributes = {})
41
+ return unless attributes.is_a?(Hash)
42
+
43
+ # convert string to symbol for hash key
44
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
+
46
+ if attributes.has_key?(:'count')
47
+ self.count = attributes[:'count']
48
+ end
49
+
50
+ if attributes.has_key?(:'errorType')
51
+ self.error_type = attributes[:'errorType']
52
+ end
53
+ end
54
+
55
+ # Show invalid properties with the reasons. Usually used together with valid?
56
+ # @return Array for valid properties with the reasons
57
+ def list_invalid_properties
58
+ invalid_properties = Array.new
59
+ invalid_properties
60
+ end
61
+
62
+ # Check to see if the all the properties in the model are valid
63
+ # @return true if the model is valid
64
+ def valid?
65
+ true
66
+ end
67
+
68
+ # Checks equality by comparing each attribute.
69
+ # @param [Object] Object to be compared
70
+ def ==(o)
71
+ return true if self.equal?(o)
72
+ self.class == o.class &&
73
+ count == o.count &&
74
+ error_type == o.error_type
75
+ end
76
+
77
+ # @see the `==` method
78
+ # @param [Object] Object to be compared
79
+ def eql?(o)
80
+ self == o
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Fixnum] Hash code
85
+ def hash
86
+ [count, error_type].hash
87
+ end
88
+
89
+ # Builds the object from hash
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ # @return [Object] Returns the model itself
92
+ def build_from_hash(attributes)
93
+ return nil unless attributes.is_a?(Hash)
94
+ self.class.swagger_types.each_pair do |key, type|
95
+ if type =~ /\AArray<(.*)>/i
96
+ # check to ensure the input is an array given that the attribute
97
+ # is documented as an array but the input is not
98
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
99
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
100
+ end
101
+ elsif !attributes[self.class.attribute_map[key]].nil?
102
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
103
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
104
+ end
105
+
106
+ self
107
+ end
108
+
109
+ # Deserializes the data based on type
110
+ # @param string type Data type
111
+ # @param string value Value to be deserialized
112
+ # @return [Object] Deserialized data
113
+ def _deserialize(type, value)
114
+ case type.to_sym
115
+ when :DateTime
116
+ DateTime.parse(value)
117
+ when :Date
118
+ Date.parse(value)
119
+ when :String
120
+ value.to_s
121
+ when :Integer
122
+ value.to_i
123
+ when :Float
124
+ value.to_f
125
+ when :BOOLEAN
126
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
127
+ true
128
+ else
129
+ false
130
+ end
131
+ when :Object
132
+ # generic object (usually a Hash), return directly
133
+ value
134
+ when /\AArray<(?<inner_type>.+)>\z/
135
+ inner_type = Regexp.last_match[:inner_type]
136
+ value.map { |v| _deserialize(inner_type, v) }
137
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
138
+ k_type = Regexp.last_match[:k_type]
139
+ v_type = Regexp.last_match[:v_type]
140
+ {}.tap do |hash|
141
+ value.each do |k, v|
142
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
143
+ end
144
+ end
145
+ else # model
146
+ temp_model = DocuSign_eSign.const_get(type).new
147
+ temp_model.build_from_hash(value)
148
+ end
149
+ end
150
+
151
+ # Returns the string representation of the object
152
+ # @return [String] String presentation of the object
153
+ def to_s
154
+ to_hash.to_s
155
+ end
156
+
157
+ # to_body is an alias to to_hash (backward compatibility)
158
+ # @return [Hash] Returns the object in the form of hash
159
+ def to_body
160
+ to_hash
161
+ end
162
+
163
+ # Returns the object in the form of hash
164
+ # @return [Hash] Returns the object in the form of hash
165
+ def to_hash
166
+ hash = {}
167
+ self.class.attribute_map.each_pair do |attr, param|
168
+ value = self.send(attr)
169
+ next if value.nil?
170
+ hash[param] = _to_hash(value)
171
+ end
172
+ hash
173
+ end
174
+
175
+ # Outputs non-array value in the form of hash
176
+ # For object, use to_hash. Otherwise, just return the value
177
+ # @param [Object] value Any valid value
178
+ # @return [Hash] Returns the value in the form of hash
179
+ def _to_hash(value)
180
+ if value.is_a?(Array)
181
+ value.compact.map { |v| _to_hash(v) }
182
+ elsif value.is_a?(Hash)
183
+ {}.tap do |hash|
184
+ value.each { |k, v| hash[k] = _to_hash(v) }
185
+ end
186
+ elsif value.respond_to? :to_hash
187
+ value.to_hash
188
+ else
189
+ value
190
+ end
191
+ end
192
+
193
+ end
194
+ end
@@ -36,6 +36,9 @@ module DocuSign_eSign
36
36
  #
37
37
  attr_accessor :completed_count
38
38
 
39
+ #
40
+ attr_accessor :consent_details_list
41
+
39
42
  # An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.
40
43
  attr_accessor :custom_fields
41
44
 
@@ -218,6 +221,7 @@ module DocuSign_eSign
218
221
  :'auto_responded_reason' => :'autoRespondedReason',
219
222
  :'client_user_id' => :'clientUserId',
220
223
  :'completed_count' => :'completedCount',
224
+ :'consent_details_list' => :'consentDetailsList',
221
225
  :'custom_fields' => :'customFields',
222
226
  :'declined_date_time' => :'declinedDateTime',
223
227
  :'declined_reason' => :'declinedReason',
@@ -296,6 +300,7 @@ module DocuSign_eSign
296
300
  :'auto_responded_reason' => :'String',
297
301
  :'client_user_id' => :'String',
298
302
  :'completed_count' => :'String',
303
+ :'consent_details_list' => :'Array<ConsentDetails>',
299
304
  :'custom_fields' => :'Array<String>',
300
305
  :'declined_date_time' => :'String',
301
306
  :'declined_reason' => :'String',
@@ -405,6 +410,12 @@ module DocuSign_eSign
405
410
  self.completed_count = attributes[:'completedCount']
406
411
  end
407
412
 
413
+ if attributes.has_key?(:'consentDetailsList')
414
+ if (value = attributes[:'consentDetailsList']).is_a?(Array)
415
+ self.consent_details_list = value
416
+ end
417
+ end
418
+
408
419
  if attributes.has_key?(:'customFields')
409
420
  if (value = attributes[:'customFields']).is_a?(Array)
410
421
  self.custom_fields = value
@@ -702,6 +713,7 @@ module DocuSign_eSign
702
713
  auto_responded_reason == o.auto_responded_reason &&
703
714
  client_user_id == o.client_user_id &&
704
715
  completed_count == o.completed_count &&
716
+ consent_details_list == o.consent_details_list &&
705
717
  custom_fields == o.custom_fields &&
706
718
  declined_date_time == o.declined_date_time &&
707
719
  declined_reason == o.declined_reason &&
@@ -777,7 +789,7 @@ module DocuSign_eSign
777
789
  # Calculates hash code according to all attributes.
778
790
  # @return [Fixnum] Hash code
779
791
  def hash
780
- [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
792
+ [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, consent_details_list, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
781
793
  end
782
794
 
783
795
  # Builds the object from hash
@@ -51,6 +51,9 @@ module DocuSign_eSign
51
51
  #
52
52
  attr_accessor :completed_count
53
53
 
54
+ #
55
+ attr_accessor :consent_details_list
56
+
54
57
  #
55
58
  attr_accessor :creation_reason
56
59
 
@@ -166,6 +169,9 @@ module DocuSign_eSign
166
169
  #
167
170
  attr_accessor :notary_signers
168
171
 
172
+ #
173
+ attr_accessor :notary_source_type
174
+
169
175
  #
170
176
  attr_accessor :notary_type
171
177
 
@@ -297,6 +303,7 @@ module DocuSign_eSign
297
303
  :'can_sign_offline' => :'canSignOffline',
298
304
  :'client_user_id' => :'clientUserId',
299
305
  :'completed_count' => :'completedCount',
306
+ :'consent_details_list' => :'consentDetailsList',
300
307
  :'creation_reason' => :'creationReason',
301
308
  :'custom_fields' => :'customFields',
302
309
  :'declined_date_time' => :'declinedDateTime',
@@ -340,6 +347,7 @@ module DocuSign_eSign
340
347
  :'notary_id' => :'notaryId',
341
348
  :'notary_signer_email_sent' => :'notarySignerEmailSent',
342
349
  :'notary_signers' => :'notarySigners',
350
+ :'notary_source_type' => :'notarySourceType',
343
351
  :'notary_type' => :'notaryType',
344
352
  :'note' => :'note',
345
353
  :'note_metadata' => :'noteMetadata',
@@ -402,6 +410,7 @@ module DocuSign_eSign
402
410
  :'can_sign_offline' => :'String',
403
411
  :'client_user_id' => :'String',
404
412
  :'completed_count' => :'String',
413
+ :'consent_details_list' => :'Array<ConsentDetails>',
405
414
  :'creation_reason' => :'String',
406
415
  :'custom_fields' => :'Array<String>',
407
416
  :'declined_date_time' => :'String',
@@ -445,6 +454,7 @@ module DocuSign_eSign
445
454
  :'notary_id' => :'String',
446
455
  :'notary_signer_email_sent' => :'String',
447
456
  :'notary_signers' => :'Array<String>',
457
+ :'notary_source_type' => :'String',
448
458
  :'notary_type' => :'String',
449
459
  :'note' => :'String',
450
460
  :'note_metadata' => :'PropertyMetadata',
@@ -553,6 +563,12 @@ module DocuSign_eSign
553
563
  self.completed_count = attributes[:'completedCount']
554
564
  end
555
565
 
566
+ if attributes.has_key?(:'consentDetailsList')
567
+ if (value = attributes[:'consentDetailsList']).is_a?(Array)
568
+ self.consent_details_list = value
569
+ end
570
+ end
571
+
556
572
  if attributes.has_key?(:'creationReason')
557
573
  self.creation_reason = attributes[:'creationReason']
558
574
  end
@@ -735,6 +751,10 @@ module DocuSign_eSign
735
751
  end
736
752
  end
737
753
 
754
+ if attributes.has_key?(:'notarySourceType')
755
+ self.notary_source_type = attributes[:'notarySourceType']
756
+ end
757
+
738
758
  if attributes.has_key?(:'notaryType')
739
759
  self.notary_type = attributes[:'notaryType']
740
760
  end
@@ -949,6 +969,7 @@ module DocuSign_eSign
949
969
  can_sign_offline == o.can_sign_offline &&
950
970
  client_user_id == o.client_user_id &&
951
971
  completed_count == o.completed_count &&
972
+ consent_details_list == o.consent_details_list &&
952
973
  creation_reason == o.creation_reason &&
953
974
  custom_fields == o.custom_fields &&
954
975
  declined_date_time == o.declined_date_time &&
@@ -992,6 +1013,7 @@ module DocuSign_eSign
992
1013
  notary_id == o.notary_id &&
993
1014
  notary_signer_email_sent == o.notary_signer_email_sent &&
994
1015
  notary_signers == o.notary_signers &&
1016
+ notary_source_type == o.notary_source_type &&
995
1017
  notary_type == o.notary_type &&
996
1018
  note == o.note &&
997
1019
  note_metadata == o.note_metadata &&
@@ -1046,7 +1068,7 @@ module DocuSign_eSign
1046
1068
  # Calculates hash code according to all attributes.
1047
1069
  # @return [Fixnum] Hash code
1048
1070
  def hash
1049
- [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delegated_by, delegated_to, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signer_email_sent, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
1071
+ [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, consent_details_list, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delegated_by, delegated_to, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signer_email_sent, notary_signers, notary_source_type, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
1050
1072
  end
1051
1073
 
1052
1074
  # Builds the object from hash