docusign_esign 3.10.0 → 3.11.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/docusign_esign-2.11.0.rc1.gem +0 -0
  4. data/lib/docusign_esign.rb +5 -3
  5. data/lib/docusign_esign/api/envelopes_api.rb +0 -287
  6. data/lib/docusign_esign/api/users_api.rb +45 -9
  7. data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
  8. data/lib/docusign_esign/models/agent.rb +29 -1
  9. data/lib/docusign_esign/models/carbon_copy.rb +29 -1
  10. data/lib/docusign_esign/models/certified_delivery.rb +29 -1
  11. data/lib/docusign_esign/models/editor.rb +29 -1
  12. data/lib/docusign_esign/models/envelope_form_data.rb +1 -1
  13. data/lib/docusign_esign/models/in_person_signer.rb +11 -1
  14. data/lib/docusign_esign/models/initial_here.rb +11 -1
  15. data/lib/docusign_esign/models/intermediary.rb +29 -1
  16. data/lib/docusign_esign/models/notary_host.rb +11 -1
  17. data/lib/docusign_esign/models/notary_recipient.rb +29 -1
  18. data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
  19. data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
  20. data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
  21. data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
  22. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
  23. data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
  24. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +91 -1
  25. data/lib/docusign_esign/models/seal_sign.rb +11 -1
  26. data/lib/docusign_esign/models/sender_company.rb +1011 -0
  27. data/lib/docusign_esign/models/sender_name.rb +1011 -0
  28. data/lib/docusign_esign/models/sign_here.rb +11 -1
  29. data/lib/docusign_esign/models/signer.rb +29 -1
  30. data/lib/docusign_esign/models/signer_attachment.rb +11 -1
  31. data/lib/docusign_esign/models/template_tabs.rb +1 -1
  32. data/lib/docusign_esign/models/witness.rb +29 -1
  33. data/lib/docusign_esign/version.rb +1 -1
  34. data/tests/Gemfile.lock +2 -6
  35. metadata +9 -7
  36. data/docusign_esign-2.10.0.gem +0 -0
  37. data/docusign_esign-2.10.0.rc1.gem +0 -0
  38. data/docusign_esign-3.10.0.rc1.gem +0 -0
@@ -19,6 +19,12 @@ module DocuSign_eSign
19
19
  # Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.
20
20
  attr_accessor :radio_group_tabs
21
21
 
22
+ #
23
+ attr_accessor :sender_company_tabs
24
+
25
+ #
26
+ attr_accessor :sender_name_tabs
27
+
22
28
  #
23
29
  attr_accessor :tab_groups
24
30
 
@@ -30,6 +36,8 @@ module DocuSign_eSign
30
36
  {
31
37
  :'checkbox_tabs' => :'checkboxTabs',
32
38
  :'radio_group_tabs' => :'radioGroupTabs',
39
+ :'sender_company_tabs' => :'senderCompanyTabs',
40
+ :'sender_name_tabs' => :'senderNameTabs',
33
41
  :'tab_groups' => :'tabGroups',
34
42
  :'text_tabs' => :'textTabs'
35
43
  }
@@ -40,6 +48,8 @@ module DocuSign_eSign
40
48
  {
41
49
  :'checkbox_tabs' => :'Array<Checkbox>',
42
50
  :'radio_group_tabs' => :'Array<RadioGroup>',
51
+ :'sender_company_tabs' => :'Array<SenderCompany>',
52
+ :'sender_name_tabs' => :'Array<SenderName>',
43
53
  :'tab_groups' => :'Array<TabGroup>',
44
54
  :'text_tabs' => :'Array<Text>'
45
55
  }
@@ -65,6 +75,18 @@ module DocuSign_eSign
65
75
  end
66
76
  end
67
77
 
78
+ if attributes.has_key?(:'senderCompanyTabs')
79
+ if (value = attributes[:'senderCompanyTabs']).is_a?(Array)
80
+ self.sender_company_tabs = value
81
+ end
82
+ end
83
+
84
+ if attributes.has_key?(:'senderNameTabs')
85
+ if (value = attributes[:'senderNameTabs']).is_a?(Array)
86
+ self.sender_name_tabs = value
87
+ end
88
+ end
89
+
68
90
  if attributes.has_key?(:'tabGroups')
69
91
  if (value = attributes[:'tabGroups']).is_a?(Array)
70
92
  self.tab_groups = value
@@ -98,6 +120,8 @@ module DocuSign_eSign
98
120
  self.class == o.class &&
99
121
  checkbox_tabs == o.checkbox_tabs &&
100
122
  radio_group_tabs == o.radio_group_tabs &&
123
+ sender_company_tabs == o.sender_company_tabs &&
124
+ sender_name_tabs == o.sender_name_tabs &&
101
125
  tab_groups == o.tab_groups &&
102
126
  text_tabs == o.text_tabs
103
127
  end
@@ -111,7 +135,7 @@ module DocuSign_eSign
111
135
  # Calculates hash code according to all attributes.
112
136
  # @return [Fixnum] Hash code
113
137
  def hash
114
- [checkbox_tabs, radio_group_tabs, tab_groups, text_tabs].hash
138
+ [checkbox_tabs, radio_group_tabs, sender_company_tabs, sender_name_tabs, tab_groups, text_tabs].hash
115
139
  end
116
140
 
117
141
  # Builds the object from hash
@@ -22,6 +22,8 @@ module DocuSign_eSign
22
22
  #
23
23
  attr_accessor :authentication_method
24
24
 
25
+ attr_accessor :client_ur_ls
26
+
25
27
  #
26
28
  attr_accessor :ping_frequency
27
29
 
@@ -49,6 +51,7 @@ module DocuSign_eSign
49
51
  :'assertion_id' => :'assertionId',
50
52
  :'authentication_instant' => :'authenticationInstant',
51
53
  :'authentication_method' => :'authenticationMethod',
54
+ :'client_ur_ls' => :'clientURLs',
52
55
  :'ping_frequency' => :'pingFrequency',
53
56
  :'ping_url' => :'pingUrl',
54
57
  :'recipient_id' => :'recipientId',
@@ -65,6 +68,7 @@ module DocuSign_eSign
65
68
  :'assertion_id' => :'String',
66
69
  :'authentication_instant' => :'String',
67
70
  :'authentication_method' => :'String',
71
+ :'client_ur_ls' => :'RecipientTokenClientURLs',
68
72
  :'ping_frequency' => :'String',
69
73
  :'ping_url' => :'String',
70
74
  :'recipient_id' => :'String',
@@ -95,6 +99,10 @@ module DocuSign_eSign
95
99
  self.authentication_method = attributes[:'authenticationMethod']
96
100
  end
97
101
 
102
+ if attributes.has_key?(:'clientURLs')
103
+ self.client_ur_ls = attributes[:'clientURLs']
104
+ end
105
+
98
106
  if attributes.has_key?(:'pingFrequency')
99
107
  self.ping_frequency = attributes[:'pingFrequency']
100
108
  end
@@ -145,6 +153,7 @@ module DocuSign_eSign
145
153
  assertion_id == o.assertion_id &&
146
154
  authentication_instant == o.authentication_instant &&
147
155
  authentication_method == o.authentication_method &&
156
+ client_ur_ls == o.client_ur_ls &&
148
157
  ping_frequency == o.ping_frequency &&
149
158
  ping_url == o.ping_url &&
150
159
  recipient_id == o.recipient_id &&
@@ -163,7 +172,7 @@ module DocuSign_eSign
163
172
  # Calculates hash code according to all attributes.
164
173
  # @return [Fixnum] Hash code
165
174
  def hash
166
- [assertion_id, authentication_instant, authentication_method, ping_frequency, ping_url, recipient_id, return_url, security_domain, x_frame_options, x_frame_options_allow_from_url].hash
175
+ [assertion_id, authentication_instant, authentication_method, client_ur_ls, ping_frequency, ping_url, recipient_id, return_url, security_domain, x_frame_options, x_frame_options_allow_from_url].hash
167
176
  end
168
177
 
169
178
  # Builds the object from hash
@@ -0,0 +1,174 @@
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 RecipientTokenClientURLs
16
+ # Attribute mapping from ruby-style variable name to JSON key.
17
+ def self.attribute_map
18
+ {
19
+ }
20
+ end
21
+
22
+ # Attribute type mapping.
23
+ def self.swagger_types
24
+ {
25
+ }
26
+ end
27
+
28
+ # Initializes the object
29
+ # @param [Hash] attributes Model attributes in the form of hash
30
+ def initialize(attributes = {})
31
+ return unless attributes.is_a?(Hash)
32
+
33
+ # convert string to symbol for hash key
34
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
35
+ end
36
+
37
+ # Show invalid properties with the reasons. Usually used together with valid?
38
+ # @return Array for valid properties with the reasons
39
+ def list_invalid_properties
40
+ invalid_properties = Array.new
41
+ invalid_properties
42
+ end
43
+
44
+ # Check to see if the all the properties in the model are valid
45
+ # @return true if the model is valid
46
+ def valid?
47
+ true
48
+ end
49
+
50
+ # Checks equality by comparing each attribute.
51
+ # @param [Object] Object to be compared
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class
55
+ end
56
+
57
+ # @see the `==` method
58
+ # @param [Object] Object to be compared
59
+ def eql?(o)
60
+ self == o
61
+ end
62
+
63
+ # Calculates hash code according to all attributes.
64
+ # @return [Fixnum] Hash code
65
+ def hash
66
+ [].hash
67
+ end
68
+
69
+ # Builds the object from hash
70
+ # @param [Hash] attributes Model attributes in the form of hash
71
+ # @return [Object] Returns the model itself
72
+ def build_from_hash(attributes)
73
+ return nil unless attributes.is_a?(Hash)
74
+ self.class.swagger_types.each_pair do |key, type|
75
+ if type =~ /\AArray<(.*)>/i
76
+ # check to ensure the input is an array given that the attribute
77
+ # is documented as an array but the input is not
78
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
79
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
80
+ end
81
+ elsif !attributes[self.class.attribute_map[key]].nil?
82
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
83
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
84
+ end
85
+
86
+ self
87
+ end
88
+
89
+ # Deserializes the data based on type
90
+ # @param string type Data type
91
+ # @param string value Value to be deserialized
92
+ # @return [Object] Deserialized data
93
+ def _deserialize(type, value)
94
+ case type.to_sym
95
+ when :DateTime
96
+ DateTime.parse(value)
97
+ when :Date
98
+ Date.parse(value)
99
+ when :String
100
+ value.to_s
101
+ when :Integer
102
+ value.to_i
103
+ when :Float
104
+ value.to_f
105
+ when :BOOLEAN
106
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
107
+ true
108
+ else
109
+ false
110
+ end
111
+ when :Object
112
+ # generic object (usually a Hash), return directly
113
+ value
114
+ when /\AArray<(?<inner_type>.+)>\z/
115
+ inner_type = Regexp.last_match[:inner_type]
116
+ value.map { |v| _deserialize(inner_type, v) }
117
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
118
+ k_type = Regexp.last_match[:k_type]
119
+ v_type = Regexp.last_match[:v_type]
120
+ {}.tap do |hash|
121
+ value.each do |k, v|
122
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
123
+ end
124
+ end
125
+ else # model
126
+ temp_model = DocuSign_eSign.const_get(type).new
127
+ temp_model.build_from_hash(value)
128
+ end
129
+ end
130
+
131
+ # Returns the string representation of the object
132
+ # @return [String] String presentation of the object
133
+ def to_s
134
+ to_hash.to_s
135
+ end
136
+
137
+ # to_body is an alias to to_hash (backward compatibility)
138
+ # @return [Hash] Returns the object in the form of hash
139
+ def to_body
140
+ to_hash
141
+ end
142
+
143
+ # Returns the object in the form of hash
144
+ # @return [Hash] Returns the object in the form of hash
145
+ def to_hash
146
+ hash = {}
147
+ self.class.attribute_map.each_pair do |attr, param|
148
+ value = self.send(attr)
149
+ next if value.nil?
150
+ hash[param] = _to_hash(value)
151
+ end
152
+ hash
153
+ end
154
+
155
+ # Outputs non-array value in the form of hash
156
+ # For object, use to_hash. Otherwise, just return the value
157
+ # @param [Object] value Any valid value
158
+ # @return [Hash] Returns the value in the form of hash
159
+ def _to_hash(value)
160
+ if value.is_a?(Array)
161
+ value.compact.map { |v| _to_hash(v) }
162
+ elsif value.is_a?(Hash)
163
+ {}.tap do |hash|
164
+ value.each { |k, v| hash[k] = _to_hash(v) }
165
+ end
166
+ elsif value.respond_to? :to_hash
167
+ value.to_hash
168
+ else
169
+ value
170
+ end
171
+ end
172
+
173
+ end
174
+ end
@@ -22,6 +22,8 @@ module DocuSign_eSign
22
22
  # A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion.
23
23
  attr_accessor :authentication_method
24
24
 
25
+ attr_accessor :client_ur_ls
26
+
25
27
  # A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters.
26
28
  attr_accessor :client_user_id
27
29
 
@@ -67,6 +69,7 @@ module DocuSign_eSign
67
69
  :'assertion_id' => :'assertionId',
68
70
  :'authentication_instant' => :'authenticationInstant',
69
71
  :'authentication_method' => :'authenticationMethod',
72
+ :'client_ur_ls' => :'clientURLs',
70
73
  :'client_user_id' => :'clientUserId',
71
74
  :'email' => :'email',
72
75
  :'frame_ancestors' => :'frameAncestors',
@@ -89,6 +92,7 @@ module DocuSign_eSign
89
92
  :'assertion_id' => :'String',
90
93
  :'authentication_instant' => :'String',
91
94
  :'authentication_method' => :'String',
95
+ :'client_ur_ls' => :'RecipientTokenClientURLs',
92
96
  :'client_user_id' => :'String',
93
97
  :'email' => :'String',
94
98
  :'frame_ancestors' => :'Array<String>',
@@ -125,6 +129,10 @@ module DocuSign_eSign
125
129
  self.authentication_method = attributes[:'authenticationMethod']
126
130
  end
127
131
 
132
+ if attributes.has_key?(:'clientURLs')
133
+ self.client_ur_ls = attributes[:'clientURLs']
134
+ end
135
+
128
136
  if attributes.has_key?(:'clientUserId')
129
137
  self.client_user_id = attributes[:'clientUserId']
130
138
  end
@@ -203,6 +211,7 @@ module DocuSign_eSign
203
211
  assertion_id == o.assertion_id &&
204
212
  authentication_instant == o.authentication_instant &&
205
213
  authentication_method == o.authentication_method &&
214
+ client_ur_ls == o.client_ur_ls &&
206
215
  client_user_id == o.client_user_id &&
207
216
  email == o.email &&
208
217
  frame_ancestors == o.frame_ancestors &&
@@ -227,7 +236,7 @@ module DocuSign_eSign
227
236
  # Calculates hash code according to all attributes.
228
237
  # @return [Fixnum] Hash code
229
238
  def hash
230
- [assertion_id, authentication_instant, authentication_method, client_user_id, email, frame_ancestors, message_origins, ping_frequency, ping_url, recipient_id, return_url, security_domain, user_id, user_name, x_frame_options, x_frame_options_allow_from_url].hash
239
+ [assertion_id, authentication_instant, authentication_method, client_ur_ls, client_user_id, email, frame_ancestors, message_origins, ping_frequency, ping_url, recipient_id, return_url, security_domain, user_id, user_name, x_frame_options, x_frame_options_allow_from_url].hash
231
240
  end
232
241
 
233
242
  # Builds the object from hash
@@ -52,6 +52,12 @@ module DocuSign_eSign
52
52
  #
53
53
  attr_accessor :created_date
54
54
 
55
+ #
56
+ attr_accessor :created_on
57
+
58
+ #
59
+ attr_accessor :creator
60
+
55
61
  #
56
62
  attr_accessor :custom_field
57
63
 
@@ -175,9 +181,15 @@ module DocuSign_eSign
175
181
  #
176
182
  attr_accessor :last_activity_date
177
183
 
184
+ #
185
+ attr_accessor :last_modified
186
+
178
187
  #
179
188
  attr_accessor :last_sent_date
180
189
 
190
+ #
191
+ attr_accessor :last_used
192
+
181
193
  #
182
194
  attr_accessor :metadata_removed
183
195
 
@@ -220,6 +232,12 @@ module DocuSign_eSign
220
232
  #
221
233
  attr_accessor :number_total_recipients
222
234
 
235
+ #
236
+ attr_accessor :owner
237
+
238
+ #
239
+ attr_accessor :owner_mail
240
+
223
241
  #
224
242
  attr_accessor :period_end
225
243
 
@@ -271,6 +289,9 @@ module DocuSign_eSign
271
289
  #
272
290
  attr_accessor :recipient_name
273
291
 
292
+ #
293
+ attr_accessor :recipient_role_name
294
+
274
295
  #
275
296
  attr_accessor :recipient_template_role_name
276
297
 
@@ -349,6 +370,12 @@ module DocuSign_eSign
349
370
  #
350
371
  attr_accessor :successes
351
372
 
373
+ # The unique identifier of the template. If this is not provided, DocuSign will generate a value.
374
+ attr_accessor :template_id
375
+
376
+ #
377
+ attr_accessor :template_name
378
+
352
379
  #
353
380
  attr_accessor :templates_created
354
381
 
@@ -425,6 +452,8 @@ module DocuSign_eSign
425
452
  :'completed' => :'completed',
426
453
  :'completed_ts' => :'completedTs',
427
454
  :'created_date' => :'createdDate',
455
+ :'created_on' => :'createdOn',
456
+ :'creator' => :'creator',
428
457
  :'custom_field' => :'customField',
429
458
  :'declined_date' => :'declinedDate',
430
459
  :'declined_reason' => :'declinedReason',
@@ -466,7 +495,9 @@ module DocuSign_eSign
466
495
  :'ip_address' => :'ipAddress',
467
496
  :'last_activity' => :'lastActivity',
468
497
  :'last_activity_date' => :'lastActivityDate',
498
+ :'last_modified' => :'lastModified',
469
499
  :'last_sent_date' => :'lastSentDate',
500
+ :'last_used' => :'lastUsed',
470
501
  :'metadata_removed' => :'metadataRemoved',
471
502
  :'not_signed' => :'notSigned',
472
503
  :'number_of_authenticated_recipients' => :'numberOfAuthenticatedRecipients',
@@ -481,6 +512,8 @@ module DocuSign_eSign
481
512
  :'number_of_total_signers' => :'numberOfTotalSigners',
482
513
  :'number_of_unique_senders' => :'numberOfUniqueSenders',
483
514
  :'number_total_recipients' => :'numberTotalRecipients',
515
+ :'owner' => :'owner',
516
+ :'owner_mail' => :'ownerMail',
484
517
  :'period_end' => :'periodEnd',
485
518
  :'period_start' => :'periodStart',
486
519
  :'phone_calls_attempted' => :'phoneCallsAttempted',
@@ -498,6 +531,7 @@ module DocuSign_eSign
498
531
  :'recipient_email' => :'recipientEmail',
499
532
  :'recipient_id' => :'recipientId',
500
533
  :'recipient_name' => :'recipientName',
534
+ :'recipient_role_name' => :'recipientRoleName',
501
535
  :'recipient_template_role_name' => :'recipientTemplateRoleName',
502
536
  :'recipient_title' => :'recipientTitle',
503
537
  :'recipient_type' => :'recipientType',
@@ -524,6 +558,8 @@ module DocuSign_eSign
524
558
  :'status_comment' => :'statusComment',
525
559
  :'subject' => :'subject',
526
560
  :'successes' => :'successes',
561
+ :'template_id' => :'templateId',
562
+ :'template_name' => :'templateName',
527
563
  :'templates_created' => :'templatesCreated',
528
564
  :'templates_created_count' => :'templatesCreatedCount',
529
565
  :'terminal_status_date' => :'terminalStatusDate',
@@ -563,6 +599,8 @@ module DocuSign_eSign
563
599
  :'completed' => :'String',
564
600
  :'completed_ts' => :'String',
565
601
  :'created_date' => :'String',
602
+ :'created_on' => :'String',
603
+ :'creator' => :'String',
566
604
  :'custom_field' => :'String',
567
605
  :'declined_date' => :'String',
568
606
  :'declined_reason' => :'String',
@@ -604,7 +642,9 @@ module DocuSign_eSign
604
642
  :'ip_address' => :'String',
605
643
  :'last_activity' => :'String',
606
644
  :'last_activity_date' => :'String',
645
+ :'last_modified' => :'String',
607
646
  :'last_sent_date' => :'String',
647
+ :'last_used' => :'String',
608
648
  :'metadata_removed' => :'String',
609
649
  :'not_signed' => :'String',
610
650
  :'number_of_authenticated_recipients' => :'String',
@@ -619,6 +659,8 @@ module DocuSign_eSign
619
659
  :'number_of_total_signers' => :'String',
620
660
  :'number_of_unique_senders' => :'String',
621
661
  :'number_total_recipients' => :'String',
662
+ :'owner' => :'String',
663
+ :'owner_mail' => :'String',
622
664
  :'period_end' => :'String',
623
665
  :'period_start' => :'String',
624
666
  :'phone_calls_attempted' => :'String',
@@ -636,6 +678,7 @@ module DocuSign_eSign
636
678
  :'recipient_email' => :'String',
637
679
  :'recipient_id' => :'String',
638
680
  :'recipient_name' => :'String',
681
+ :'recipient_role_name' => :'String',
639
682
  :'recipient_template_role_name' => :'String',
640
683
  :'recipient_title' => :'String',
641
684
  :'recipient_type' => :'String',
@@ -662,6 +705,8 @@ module DocuSign_eSign
662
705
  :'status_comment' => :'String',
663
706
  :'subject' => :'String',
664
707
  :'successes' => :'String',
708
+ :'template_id' => :'String',
709
+ :'template_name' => :'String',
665
710
  :'templates_created' => :'String',
666
711
  :'templates_created_count' => :'String',
667
712
  :'terminal_status_date' => :'String',
@@ -745,6 +790,14 @@ module DocuSign_eSign
745
790
  self.created_date = attributes[:'createdDate']
746
791
  end
747
792
 
793
+ if attributes.has_key?(:'createdOn')
794
+ self.created_on = attributes[:'createdOn']
795
+ end
796
+
797
+ if attributes.has_key?(:'creator')
798
+ self.creator = attributes[:'creator']
799
+ end
800
+
748
801
  if attributes.has_key?(:'customField')
749
802
  self.custom_field = attributes[:'customField']
750
803
  end
@@ -909,10 +962,18 @@ module DocuSign_eSign
909
962
  self.last_activity_date = attributes[:'lastActivityDate']
910
963
  end
911
964
 
965
+ if attributes.has_key?(:'lastModified')
966
+ self.last_modified = attributes[:'lastModified']
967
+ end
968
+
912
969
  if attributes.has_key?(:'lastSentDate')
913
970
  self.last_sent_date = attributes[:'lastSentDate']
914
971
  end
915
972
 
973
+ if attributes.has_key?(:'lastUsed')
974
+ self.last_used = attributes[:'lastUsed']
975
+ end
976
+
916
977
  if attributes.has_key?(:'metadataRemoved')
917
978
  self.metadata_removed = attributes[:'metadataRemoved']
918
979
  end
@@ -969,6 +1030,14 @@ module DocuSign_eSign
969
1030
  self.number_total_recipients = attributes[:'numberTotalRecipients']
970
1031
  end
971
1032
 
1033
+ if attributes.has_key?(:'owner')
1034
+ self.owner = attributes[:'owner']
1035
+ end
1036
+
1037
+ if attributes.has_key?(:'ownerMail')
1038
+ self.owner_mail = attributes[:'ownerMail']
1039
+ end
1040
+
972
1041
  if attributes.has_key?(:'periodEnd')
973
1042
  self.period_end = attributes[:'periodEnd']
974
1043
  end
@@ -1037,6 +1106,10 @@ module DocuSign_eSign
1037
1106
  self.recipient_name = attributes[:'recipientName']
1038
1107
  end
1039
1108
 
1109
+ if attributes.has_key?(:'recipientRoleName')
1110
+ self.recipient_role_name = attributes[:'recipientRoleName']
1111
+ end
1112
+
1040
1113
  if attributes.has_key?(:'recipientTemplateRoleName')
1041
1114
  self.recipient_template_role_name = attributes[:'recipientTemplateRoleName']
1042
1115
  end
@@ -1141,6 +1214,14 @@ module DocuSign_eSign
1141
1214
  self.successes = attributes[:'successes']
1142
1215
  end
1143
1216
 
1217
+ if attributes.has_key?(:'templateId')
1218
+ self.template_id = attributes[:'templateId']
1219
+ end
1220
+
1221
+ if attributes.has_key?(:'templateName')
1222
+ self.template_name = attributes[:'templateName']
1223
+ end
1224
+
1144
1225
  if attributes.has_key?(:'templatesCreated')
1145
1226
  self.templates_created = attributes[:'templatesCreated']
1146
1227
  end
@@ -1253,6 +1334,8 @@ module DocuSign_eSign
1253
1334
  completed == o.completed &&
1254
1335
  completed_ts == o.completed_ts &&
1255
1336
  created_date == o.created_date &&
1337
+ created_on == o.created_on &&
1338
+ creator == o.creator &&
1256
1339
  custom_field == o.custom_field &&
1257
1340
  declined_date == o.declined_date &&
1258
1341
  declined_reason == o.declined_reason &&
@@ -1294,7 +1377,9 @@ module DocuSign_eSign
1294
1377
  ip_address == o.ip_address &&
1295
1378
  last_activity == o.last_activity &&
1296
1379
  last_activity_date == o.last_activity_date &&
1380
+ last_modified == o.last_modified &&
1297
1381
  last_sent_date == o.last_sent_date &&
1382
+ last_used == o.last_used &&
1298
1383
  metadata_removed == o.metadata_removed &&
1299
1384
  not_signed == o.not_signed &&
1300
1385
  number_of_authenticated_recipients == o.number_of_authenticated_recipients &&
@@ -1309,6 +1394,8 @@ module DocuSign_eSign
1309
1394
  number_of_total_signers == o.number_of_total_signers &&
1310
1395
  number_of_unique_senders == o.number_of_unique_senders &&
1311
1396
  number_total_recipients == o.number_total_recipients &&
1397
+ owner == o.owner &&
1398
+ owner_mail == o.owner_mail &&
1312
1399
  period_end == o.period_end &&
1313
1400
  period_start == o.period_start &&
1314
1401
  phone_calls_attempted == o.phone_calls_attempted &&
@@ -1326,6 +1413,7 @@ module DocuSign_eSign
1326
1413
  recipient_email == o.recipient_email &&
1327
1414
  recipient_id == o.recipient_id &&
1328
1415
  recipient_name == o.recipient_name &&
1416
+ recipient_role_name == o.recipient_role_name &&
1329
1417
  recipient_template_role_name == o.recipient_template_role_name &&
1330
1418
  recipient_title == o.recipient_title &&
1331
1419
  recipient_type == o.recipient_type &&
@@ -1352,6 +1440,8 @@ module DocuSign_eSign
1352
1440
  status_comment == o.status_comment &&
1353
1441
  subject == o.subject &&
1354
1442
  successes == o.successes &&
1443
+ template_id == o.template_id &&
1444
+ template_name == o.template_name &&
1355
1445
  templates_created == o.templates_created &&
1356
1446
  templates_created_count == o.templates_created_count &&
1357
1447
  terminal_status_date == o.terminal_status_date &&
@@ -1383,7 +1473,7 @@ module DocuSign_eSign
1383
1473
  # Calculates hash code according to all attributes.
1384
1474
  # @return [Fixnum] Hash code
1385
1475
  def hash
1386
- [access_code_required, access_codes_attempted, access_codes_failed, account_id, authentication_category, authentication_success, authentication_type, average_time_to_complete_seconds, avg_complete_seconds, capture_method, completed, completed_ts, created_date, custom_field, declined_date, declined_reason, delivered_date, envelope_count, envelope_creator, envelope_id, envelope_initial_send_ts, envelopes_billed, envelopes_completed, envelopes_completed_count, envelopes_declined, envelopes_sent, envelopes_sent_count, envelopes_voided, envelope_voided_reason, eod_document_description, eod_document_name, eod_document_profile_id, eod_transaction_id, eod_transaction_name, event_date, expiration_date, expired_ts, failure_reason, failures, failure_vendor_code, failure_vendor_reason, first_send_ts, group_id, group_name, hours_to_complete_end, hours_to_complete_start, id_checks_attempted, id_checks_failed, id_country, id_method, initial_send_ts, ip_address, last_activity, last_activity_date, last_sent_date, metadata_removed, not_signed, number_of_authenticated_recipients, number_of_completed_signatures, number_of_documents, number_of_pages, number_of_recipients, number_of_sends, number_of_signers, number_of_total_documents, number_of_total_pages, number_of_total_signers, number_of_unique_senders, number_total_recipients, period_end, period_start, phone_calls_attempted, phone_calls_failed, pii_redacted, purge_date, reason_for_declining, reason_for_voiding, reassign_reason, received, recipient, recipient_action, recipient_company_name, recipient_country, recipient_email, recipient_id, recipient_name, recipient_template_role_name, recipient_title, recipient_type, recipient_user_id, remaining_signatures, routing_order, sender_account_id, sender_company_name, sender_country, sender_email, sender_ip_address, sender_job_title, sender_name, sender_user_id, sign_date, signed, signed_date, signed_on_mobile, signed_on_paper, signer_list, status, status_changed_date, status_changed_ts, status_comment, subject, successes, templates_created, templates_created_count, terminal_status_date, time_to_complete_seconds, time_to_deliver, total_documents, total_envelopes, total_pages, total_recipients, total_signers, unique_senders, user_account_email, user_account_name, user_account_status, user_count, user_id, verification_status, verification_type, view_date, voided_ts].hash
1476
+ [access_code_required, access_codes_attempted, access_codes_failed, account_id, authentication_category, authentication_success, authentication_type, average_time_to_complete_seconds, avg_complete_seconds, capture_method, completed, completed_ts, created_date, created_on, creator, custom_field, declined_date, declined_reason, delivered_date, envelope_count, envelope_creator, envelope_id, envelope_initial_send_ts, envelopes_billed, envelopes_completed, envelopes_completed_count, envelopes_declined, envelopes_sent, envelopes_sent_count, envelopes_voided, envelope_voided_reason, eod_document_description, eod_document_name, eod_document_profile_id, eod_transaction_id, eod_transaction_name, event_date, expiration_date, expired_ts, failure_reason, failures, failure_vendor_code, failure_vendor_reason, first_send_ts, group_id, group_name, hours_to_complete_end, hours_to_complete_start, id_checks_attempted, id_checks_failed, id_country, id_method, initial_send_ts, ip_address, last_activity, last_activity_date, last_modified, last_sent_date, last_used, metadata_removed, not_signed, number_of_authenticated_recipients, number_of_completed_signatures, number_of_documents, number_of_pages, number_of_recipients, number_of_sends, number_of_signers, number_of_total_documents, number_of_total_pages, number_of_total_signers, number_of_unique_senders, number_total_recipients, owner, owner_mail, period_end, period_start, phone_calls_attempted, phone_calls_failed, pii_redacted, purge_date, reason_for_declining, reason_for_voiding, reassign_reason, received, recipient, recipient_action, recipient_company_name, recipient_country, recipient_email, recipient_id, recipient_name, recipient_role_name, recipient_template_role_name, recipient_title, recipient_type, recipient_user_id, remaining_signatures, routing_order, sender_account_id, sender_company_name, sender_country, sender_email, sender_ip_address, sender_job_title, sender_name, sender_user_id, sign_date, signed, signed_date, signed_on_mobile, signed_on_paper, signer_list, status, status_changed_date, status_changed_ts, status_comment, subject, successes, template_id, template_name, templates_created, templates_created_count, terminal_status_date, time_to_complete_seconds, time_to_deliver, total_documents, total_envelopes, total_pages, total_recipients, total_signers, unique_senders, user_account_email, user_account_name, user_account_status, user_count, user_id, verification_status, verification_type, view_date, voided_ts].hash
1387
1477
  end
1388
1478
 
1389
1479
  # Builds the object from hash