docusign_esign 3.3.0.pre.rc → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile.lock +7 -7
  4. data/README.md +7 -5
  5. data/docusign_esign-2.6.0.rc1.gem +0 -0
  6. data/docusign_esign-3.5.0.rc1.gem +0 -0
  7. data/lib/docusign_esign.rb +25 -0
  8. data/lib/docusign_esign/.DS_Store +0 -0
  9. data/lib/docusign_esign/api/accounts_api.rb +362 -0
  10. data/lib/docusign_esign/api/bulk_envelopes_api.rb +128 -6
  11. data/lib/docusign_esign/api/envelopes_api.rb +320 -0
  12. data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
  13. data/lib/{.DS_Store → docusign_esign/client/.DS_Store} +0 -0
  14. data/lib/docusign_esign/models/account_settings_information.rb +11 -1
  15. data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
  16. data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
  17. data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
  18. data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
  19. data/lib/docusign_esign/models/bulk_send_response.rb +34 -4
  20. data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
  21. data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
  22. data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
  23. data/lib/docusign_esign/models/e_note_configuration.rb +11 -1
  24. data/lib/docusign_esign/models/envelope.rb +13 -4
  25. data/lib/docusign_esign/models/envelope_definition.rb +13 -4
  26. data/lib/docusign_esign/models/envelope_template.rb +13 -4
  27. data/lib/docusign_esign/models/new_user.rb +11 -1
  28. data/lib/docusign_esign/models/proof_service_resource_token.rb +14 -4
  29. data/lib/docusign_esign/models/recipient_additional_notification.rb +14 -4
  30. data/lib/docusign_esign/models/recipient_group.rb +207 -0
  31. data/lib/docusign_esign/models/recipient_option.rb +225 -0
  32. data/lib/docusign_esign/models/recipient_routing.rb +184 -0
  33. data/lib/docusign_esign/models/recipient_rules.rb +187 -0
  34. data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
  35. data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
  36. data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
  37. data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
  38. data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
  39. data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
  40. data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
  41. data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
  42. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
  43. data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
  44. data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
  45. data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
  46. data/lib/docusign_esign/models/tab_metadata.rb +21 -1
  47. data/lib/docusign_esign/models/workflow.rb +207 -0
  48. data/lib/docusign_esign/models/workflow_step.rb +254 -0
  49. data/lib/docusign_esign/version.rb +1 -1
  50. data/tests/Gemfile.lock +9 -9
  51. metadata +57 -31
@@ -0,0 +1,235 @@
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
+ Swagger Codegen version: 2.4.13-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module DocuSign_eSign
16
+ class ConditionalRecipientRuleFilter
17
+ #
18
+ attr_accessor :operator
19
+
20
+ # Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
21
+ attr_accessor :recipient_id
22
+
23
+ #
24
+ attr_accessor :scope
25
+
26
+ # The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
27
+ attr_accessor :tab_id
28
+
29
+ # The label string associated with the tab.
30
+ attr_accessor :tab_label
31
+
32
+ # Specifies the value of the tab.
33
+ attr_accessor :value
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ def self.attribute_map
37
+ {
38
+ :'operator' => :'operator',
39
+ :'recipient_id' => :'recipientId',
40
+ :'scope' => :'scope',
41
+ :'tab_id' => :'tabId',
42
+ :'tab_label' => :'tabLabel',
43
+ :'value' => :'value'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ def self.swagger_types
49
+ {
50
+ :'operator' => :'String',
51
+ :'recipient_id' => :'String',
52
+ :'scope' => :'String',
53
+ :'tab_id' => :'String',
54
+ :'tab_label' => :'String',
55
+ :'value' => :'String'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
66
+
67
+ if attributes.has_key?(:'operator')
68
+ self.operator = attributes[:'operator']
69
+ end
70
+
71
+ if attributes.has_key?(:'recipientId')
72
+ self.recipient_id = attributes[:'recipientId']
73
+ end
74
+
75
+ if attributes.has_key?(:'scope')
76
+ self.scope = attributes[:'scope']
77
+ end
78
+
79
+ if attributes.has_key?(:'tabId')
80
+ self.tab_id = attributes[:'tabId']
81
+ end
82
+
83
+ if attributes.has_key?(:'tabLabel')
84
+ self.tab_label = attributes[:'tabLabel']
85
+ end
86
+
87
+ if attributes.has_key?(:'value')
88
+ self.value = attributes[:'value']
89
+ end
90
+ end
91
+
92
+ # Show invalid properties with the reasons. Usually used together with valid?
93
+ # @return Array for valid properties with the reasons
94
+ def list_invalid_properties
95
+ invalid_properties = Array.new
96
+ invalid_properties
97
+ end
98
+
99
+ # Check to see if the all the properties in the model are valid
100
+ # @return true if the model is valid
101
+ def valid?
102
+ true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ operator == o.operator &&
111
+ recipient_id == o.recipient_id &&
112
+ scope == o.scope &&
113
+ tab_id == o.tab_id &&
114
+ tab_label == o.tab_label &&
115
+ value == o.value
116
+ end
117
+
118
+ # @see the `==` method
119
+ # @param [Object] Object to be compared
120
+ def eql?(o)
121
+ self == o
122
+ end
123
+
124
+ # Calculates hash code according to all attributes.
125
+ # @return [Fixnum] Hash code
126
+ def hash
127
+ [operator, recipient_id, scope, tab_id, tab_label, value].hash
128
+ end
129
+
130
+ # Builds the object from hash
131
+ # @param [Hash] attributes Model attributes in the form of hash
132
+ # @return [Object] Returns the model itself
133
+ def build_from_hash(attributes)
134
+ return nil unless attributes.is_a?(Hash)
135
+ self.class.swagger_types.each_pair do |key, type|
136
+ if type =~ /\AArray<(.*)>/i
137
+ # check to ensure the input is an array given that the attribute
138
+ # is documented as an array but the input is not
139
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
140
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
141
+ end
142
+ elsif !attributes[self.class.attribute_map[key]].nil?
143
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
144
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
145
+ end
146
+
147
+ self
148
+ end
149
+
150
+ # Deserializes the data based on type
151
+ # @param string type Data type
152
+ # @param string value Value to be deserialized
153
+ # @return [Object] Deserialized data
154
+ def _deserialize(type, value)
155
+ case type.to_sym
156
+ when :DateTime
157
+ DateTime.parse(value)
158
+ when :Date
159
+ Date.parse(value)
160
+ when :String
161
+ value.to_s
162
+ when :Integer
163
+ value.to_i
164
+ when :Float
165
+ value.to_f
166
+ when :BOOLEAN
167
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
168
+ true
169
+ else
170
+ false
171
+ end
172
+ when :Object
173
+ # generic object (usually a Hash), return directly
174
+ value
175
+ when /\AArray<(?<inner_type>.+)>\z/
176
+ inner_type = Regexp.last_match[:inner_type]
177
+ value.map { |v| _deserialize(inner_type, v) }
178
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
179
+ k_type = Regexp.last_match[:k_type]
180
+ v_type = Regexp.last_match[:v_type]
181
+ {}.tap do |hash|
182
+ value.each do |k, v|
183
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
184
+ end
185
+ end
186
+ else # model
187
+ temp_model = DocuSign_eSign.const_get(type).new
188
+ temp_model.build_from_hash(value)
189
+ end
190
+ end
191
+
192
+ # Returns the string representation of the object
193
+ # @return [String] String presentation of the object
194
+ def to_s
195
+ to_hash.to_s
196
+ end
197
+
198
+ # to_body is an alias to to_hash (backward compatibility)
199
+ # @return [Hash] Returns the object in the form of hash
200
+ def to_body
201
+ to_hash
202
+ end
203
+
204
+ # Returns the object in the form of hash
205
+ # @return [Hash] Returns the object in the form of hash
206
+ def to_hash
207
+ hash = {}
208
+ self.class.attribute_map.each_pair do |attr, param|
209
+ value = self.send(attr)
210
+ next if value.nil?
211
+ hash[param] = _to_hash(value)
212
+ end
213
+ hash
214
+ end
215
+
216
+ # Outputs non-array value in the form of hash
217
+ # For object, use to_hash. Otherwise, just return the value
218
+ # @param [Object] value Any valid value
219
+ # @return [Hash] Returns the value in the form of hash
220
+ def _to_hash(value)
221
+ if value.is_a?(Array)
222
+ value.compact.map { |v| _to_hash(v) }
223
+ elsif value.is_a?(Hash)
224
+ {}.tap do |hash|
225
+ value.each { |k, v| hash[k] = _to_hash(v) }
226
+ end
227
+ elsif value.respond_to? :to_hash
228
+ value.to_hash
229
+ else
230
+ value
231
+ end
232
+ end
233
+
234
+ end
235
+ end
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module DocuSign_eSign
16
16
  class ENoteConfiguration
17
+ #
18
+ attr_accessor :api_key
19
+
17
20
  #
18
21
  attr_accessor :connect_configured
19
22
 
@@ -32,6 +35,7 @@ module DocuSign_eSign
32
35
  # Attribute mapping from ruby-style variable name to JSON key.
33
36
  def self.attribute_map
34
37
  {
38
+ :'api_key' => :'apiKey',
35
39
  :'connect_configured' => :'connectConfigured',
36
40
  :'e_note_configured' => :'eNoteConfigured',
37
41
  :'organization' => :'organization',
@@ -43,6 +47,7 @@ module DocuSign_eSign
43
47
  # Attribute type mapping.
44
48
  def self.swagger_types
45
49
  {
50
+ :'api_key' => :'String',
46
51
  :'connect_configured' => :'String',
47
52
  :'e_note_configured' => :'String',
48
53
  :'organization' => :'String',
@@ -59,6 +64,10 @@ module DocuSign_eSign
59
64
  # convert string to symbol for hash key
60
65
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
61
66
 
67
+ if attributes.has_key?(:'apiKey')
68
+ self.api_key = attributes[:'apiKey']
69
+ end
70
+
62
71
  if attributes.has_key?(:'connectConfigured')
63
72
  self.connect_configured = attributes[:'connectConfigured']
64
73
  end
@@ -98,6 +107,7 @@ module DocuSign_eSign
98
107
  def ==(o)
99
108
  return true if self.equal?(o)
100
109
  self.class == o.class &&
110
+ api_key == o.api_key &&
101
111
  connect_configured == o.connect_configured &&
102
112
  e_note_configured == o.e_note_configured &&
103
113
  organization == o.organization &&
@@ -114,7 +124,7 @@ module DocuSign_eSign
114
124
  # Calculates hash code according to all attributes.
115
125
  # @return [Fixnum] Hash code
116
126
  def hash
117
- [connect_configured, e_note_configured, organization, password, user_name].hash
127
+ [api_key, connect_configured, e_note_configured, organization, password, user_name].hash
118
128
  end
119
129
 
120
130
  # Builds the object from hash
@@ -231,6 +231,8 @@ module DocuSign_eSign
231
231
  # The reason the envelope or template was voided.
232
232
  attr_accessor :voided_reason
233
233
 
234
+ attr_accessor :workflow
235
+
234
236
  # Attribute mapping from ruby-style variable name to JSON key.
235
237
  def self.attribute_map
236
238
  {
@@ -308,7 +310,8 @@ module DocuSign_eSign
308
310
  :'transaction_id' => :'transactionId',
309
311
  :'use_disclosure' => :'useDisclosure',
310
312
  :'voided_date_time' => :'voidedDateTime',
311
- :'voided_reason' => :'voidedReason'
313
+ :'voided_reason' => :'voidedReason',
314
+ :'workflow' => :'workflow'
312
315
  }
313
316
  end
314
317
 
@@ -389,7 +392,8 @@ module DocuSign_eSign
389
392
  :'transaction_id' => :'String',
390
393
  :'use_disclosure' => :'String',
391
394
  :'voided_date_time' => :'String',
392
- :'voided_reason' => :'String'
395
+ :'voided_reason' => :'String',
396
+ :'workflow' => :'Workflow'
393
397
  }
394
398
  end
395
399
 
@@ -706,6 +710,10 @@ module DocuSign_eSign
706
710
  if attributes.has_key?(:'voidedReason')
707
711
  self.voided_reason = attributes[:'voidedReason']
708
712
  end
713
+
714
+ if attributes.has_key?(:'workflow')
715
+ self.workflow = attributes[:'workflow']
716
+ end
709
717
  end
710
718
 
711
719
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -800,7 +808,8 @@ module DocuSign_eSign
800
808
  transaction_id == o.transaction_id &&
801
809
  use_disclosure == o.use_disclosure &&
802
810
  voided_date_time == o.voided_date_time &&
803
- voided_reason == o.voided_reason
811
+ voided_reason == o.voided_reason &&
812
+ workflow == o.workflow
804
813
  end
805
814
 
806
815
  # @see the `==` method
@@ -812,7 +821,7 @@ module DocuSign_eSign
812
821
  # Calculates hash code according to all attributes.
813
822
  # @return [Fixnum] Hash code
814
823
  def hash
815
- [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason].hash
824
+ [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
816
825
  end
817
826
 
818
827
  # Builds the object from hash
@@ -260,6 +260,8 @@ module DocuSign_eSign
260
260
  # The reason the envelope or template was voided.
261
261
  attr_accessor :voided_reason
262
262
 
263
+ attr_accessor :workflow
264
+
263
265
  # Attribute mapping from ruby-style variable name to JSON key.
264
266
  def self.attribute_map
265
267
  {
@@ -347,7 +349,8 @@ module DocuSign_eSign
347
349
  :'transaction_id' => :'transactionId',
348
350
  :'use_disclosure' => :'useDisclosure',
349
351
  :'voided_date_time' => :'voidedDateTime',
350
- :'voided_reason' => :'voidedReason'
352
+ :'voided_reason' => :'voidedReason',
353
+ :'workflow' => :'workflow'
351
354
  }
352
355
  end
353
356
 
@@ -438,7 +441,8 @@ module DocuSign_eSign
438
441
  :'transaction_id' => :'String',
439
442
  :'use_disclosure' => :'String',
440
443
  :'voided_date_time' => :'String',
441
- :'voided_reason' => :'String'
444
+ :'voided_reason' => :'String',
445
+ :'workflow' => :'Workflow'
442
446
  }
443
447
  end
444
448
 
@@ -805,6 +809,10 @@ module DocuSign_eSign
805
809
  if attributes.has_key?(:'voidedReason')
806
810
  self.voided_reason = attributes[:'voidedReason']
807
811
  end
812
+
813
+ if attributes.has_key?(:'workflow')
814
+ self.workflow = attributes[:'workflow']
815
+ end
808
816
  end
809
817
 
810
818
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -909,7 +917,8 @@ module DocuSign_eSign
909
917
  transaction_id == o.transaction_id &&
910
918
  use_disclosure == o.use_disclosure &&
911
919
  voided_date_time == o.voided_date_time &&
912
- voided_reason == o.voided_reason
920
+ voided_reason == o.voided_reason &&
921
+ workflow == o.workflow
913
922
  end
914
923
 
915
924
  # @see the `==` method
@@ -921,7 +930,7 @@ module DocuSign_eSign
921
930
  # Calculates hash code according to all attributes.
922
931
  # @return [Fixnum] Hash code
923
932
  def hash
924
- [access_control_list_base64, accessibility, allow_comments, allow_markup, allow_reassign, allow_recipient_recursion, allow_view_history, any_signer, asynchronous, attachments, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, composite_templates, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, event_notification, event_notifications, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, password, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, template_roles, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason].hash
933
+ [access_control_list_base64, accessibility, allow_comments, allow_markup, allow_reassign, allow_recipient_recursion, allow_view_history, any_signer, asynchronous, attachments, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, composite_templates, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, event_notification, event_notifications, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, password, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, template_roles, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
925
934
  end
926
935
 
927
936
  # Builds the object from hash
@@ -295,6 +295,8 @@ module DocuSign_eSign
295
295
  # The reason the envelope or template was voided.
296
296
  attr_accessor :voided_reason
297
297
 
298
+ attr_accessor :workflow
299
+
298
300
  # Attribute mapping from ruby-style variable name to JSON key.
299
301
  def self.attribute_map
300
302
  {
@@ -394,7 +396,8 @@ module DocuSign_eSign
394
396
  :'uri' => :'uri',
395
397
  :'use_disclosure' => :'useDisclosure',
396
398
  :'voided_date_time' => :'voidedDateTime',
397
- :'voided_reason' => :'voidedReason'
399
+ :'voided_reason' => :'voidedReason',
400
+ :'workflow' => :'workflow'
398
401
  }
399
402
  end
400
403
 
@@ -497,7 +500,8 @@ module DocuSign_eSign
497
500
  :'uri' => :'String',
498
501
  :'use_disclosure' => :'String',
499
502
  :'voided_date_time' => :'String',
500
- :'voided_reason' => :'String'
503
+ :'voided_reason' => :'String',
504
+ :'workflow' => :'Workflow'
501
505
  }
502
506
  end
503
507
 
@@ -908,6 +912,10 @@ module DocuSign_eSign
908
912
  if attributes.has_key?(:'voidedReason')
909
913
  self.voided_reason = attributes[:'voidedReason']
910
914
  end
915
+
916
+ if attributes.has_key?(:'workflow')
917
+ self.workflow = attributes[:'workflow']
918
+ end
911
919
  end
912
920
 
913
921
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -1024,7 +1032,8 @@ module DocuSign_eSign
1024
1032
  uri == o.uri &&
1025
1033
  use_disclosure == o.use_disclosure &&
1026
1034
  voided_date_time == o.voided_date_time &&
1027
- voided_reason == o.voided_reason
1035
+ voided_reason == o.voided_reason &&
1036
+ workflow == o.workflow
1028
1037
  end
1029
1038
 
1030
1039
  # @see the `==` method
@@ -1036,7 +1045,7 @@ module DocuSign_eSign
1036
1045
  # Calculates hash code according to all attributes.
1037
1046
  # @return [Fixnum] Hash code
1038
1047
  def hash
1039
- [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_match, auto_match_specified_by_user, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, description, disable_responsive_document, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, favorited_by_me, folder_id, folder_ids, folder_name, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified, last_modified_by, last_modified_date_time, last_used, location, lock_information, message_lock, name, new_password, notification, notification_uri, owner, page_count, password, password_protected, power_form, power_forms, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, shared, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, templates_uri, transaction_id, uri, use_disclosure, voided_date_time, voided_reason].hash
1048
+ [access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_match, auto_match_specified_by_user, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, description, disable_responsive_document, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, favorited_by_me, folder_id, folder_ids, folder_name, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified, last_modified_by, last_modified_date_time, last_used, location, lock_information, message_lock, name, new_password, notification, notification_uri, owner, page_count, password, password_protected, power_form, power_forms, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, shared, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, templates_uri, transaction_id, uri, use_disclosure, voided_date_time, voided_reason, workflow].hash
1040
1049
  end
1041
1050
 
1042
1051
  # Builds the object from hash