docusign_esign 3.7.0.rc1 → 3.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -9
- data/docusign_esign-2.8.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +29 -1
- data/lib/docusign_esign/api/accounts_api.rb +65 -8
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +22 -298
- data/lib/docusign_esign/api/connect_api.rb +196 -0
- data/lib/docusign_esign/api/envelopes_api.rb +1502 -78
- data/lib/docusign_esign/api/groups_api.rb +9 -9
- data/lib/docusign_esign/api/trust_service_providers_api.rb +232 -0
- data/lib/docusign_esign/api/users_api.rb +52 -0
- data/lib/docusign_esign/models/account_billing_plan.rb +11 -1
- data/lib/docusign_esign/models/account_information.rb +34 -4
- data/lib/docusign_esign/models/account_settings_information.rb +134 -1
- data/lib/docusign_esign/models/account_ui_settings.rb +20 -1
- data/lib/docusign_esign/models/bulk_send_batch_request.rb +184 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +21 -1
- data/lib/docusign_esign/models/complete_sign_hash_response.rb +7 -11
- data/lib/docusign_esign/models/complete_sign_request.rb +7 -11
- data/lib/docusign_esign/models/credential.rb +7 -11
- data/lib/docusign_esign/models/display_appliance_account.rb +224 -0
- data/lib/docusign_esign/models/display_appliance_info.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_pdf.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +174 -0
- data/lib/docusign_esign/models/document.rb +11 -1
- data/lib/docusign_esign/models/document_security_store.rb +7 -11
- data/lib/docusign_esign/models/document_update_info.rb +7 -11
- data/lib/docusign_esign/models/envelope_form_data.rb +13 -1
- data/lib/docusign_esign/models/external_claim.rb +7 -11
- data/lib/docusign_esign/models/group_brands.rb +207 -0
- data/lib/docusign_esign/models/payment_details.rb +10 -1
- data/lib/docusign_esign/models/payment_signer_values.rb +184 -0
- data/lib/docusign_esign/models/prefill_tabs.rb +222 -0
- data/lib/docusign_esign/models/revision.rb +7 -11
- data/lib/docusign_esign/models/seal.rb +8 -12
- data/lib/docusign_esign/models/sender.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_document.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_session_info_response.rb +7 -11
- data/lib/docusign_esign/models/sign_session_info_request.rb +7 -11
- data/lib/docusign_esign/models/signature_data_info.rb +7 -11
- data/lib/docusign_esign/models/signature_properties.rb +7 -11
- data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
- data/lib/docusign_esign/models/tabs.rb +10 -1
- data/lib/docusign_esign/models/template_tabs.rb +10 -1
- data/lib/docusign_esign/models/time_stamp_field.rb +7 -11
- data/lib/docusign_esign/models/tsp_health_check_request.rb +7 -11
- data/lib/docusign_esign/models/tsp_health_check_status_description.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_request.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_response.rb +7 -11
- data/lib/docusign_esign/models/user.rb +7 -11
- data/lib/docusign_esign/models/user_info_response.rb +7 -11
- data/lib/docusign_esign/models/user_information.rb +11 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +9 -5
- metadata +11 -2
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
|
-
|
16
15
|
class SignatureDataInfo
|
17
16
|
attr_accessor :document_security_store
|
18
17
|
|
@@ -22,7 +21,6 @@ module DocuSign_eSign
|
|
22
21
|
#
|
23
22
|
attr_accessor :signature_field_name
|
24
23
|
|
25
|
-
|
26
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
25
|
def self.attribute_map
|
28
26
|
{
|
@@ -47,7 +45,7 @@ module DocuSign_eSign
|
|
47
45
|
return unless attributes.is_a?(Hash)
|
48
46
|
|
49
47
|
# convert string to symbol for hash key
|
50
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
48
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
49
|
|
52
50
|
if attributes.has_key?(:'documentSecurityStore')
|
53
51
|
self.document_security_store = attributes[:'documentSecurityStore']
|
@@ -60,20 +58,19 @@ module DocuSign_eSign
|
|
60
58
|
if attributes.has_key?(:'signatureFieldName')
|
61
59
|
self.signature_field_name = attributes[:'signatureFieldName']
|
62
60
|
end
|
63
|
-
|
64
61
|
end
|
65
62
|
|
66
63
|
# Show invalid properties with the reasons. Usually used together with valid?
|
67
|
-
# @return Array for valid
|
64
|
+
# @return Array for valid properties with the reasons
|
68
65
|
def list_invalid_properties
|
69
66
|
invalid_properties = Array.new
|
70
|
-
|
67
|
+
invalid_properties
|
71
68
|
end
|
72
69
|
|
73
70
|
# Check to see if the all the properties in the model are valid
|
74
71
|
# @return true if the model is valid
|
75
72
|
def valid?
|
76
|
-
|
73
|
+
true
|
77
74
|
end
|
78
75
|
|
79
76
|
# Checks equality by comparing each attribute.
|
@@ -105,10 +102,10 @@ module DocuSign_eSign
|
|
105
102
|
return nil unless attributes.is_a?(Hash)
|
106
103
|
self.class.swagger_types.each_pair do |key, type|
|
107
104
|
if type =~ /\AArray<(.*)>/i
|
108
|
-
# check to ensure the input is an array given that the
|
105
|
+
# check to ensure the input is an array given that the attribute
|
109
106
|
# is documented as an array but the input is not
|
110
107
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
108
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
112
109
|
end
|
113
110
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
114
111
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -190,7 +187,7 @@ module DocuSign_eSign
|
|
190
187
|
# @return [Hash] Returns the value in the form of hash
|
191
188
|
def _to_hash(value)
|
192
189
|
if value.is_a?(Array)
|
193
|
-
value.compact.map{ |v| _to_hash(v) }
|
190
|
+
value.compact.map { |v| _to_hash(v) }
|
194
191
|
elsif value.is_a?(Hash)
|
195
192
|
{}.tap do |hash|
|
196
193
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -203,5 +200,4 @@ module DocuSign_eSign
|
|
203
200
|
end
|
204
201
|
|
205
202
|
end
|
206
|
-
|
207
203
|
end
|
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
|
-
|
16
15
|
class SignatureProperties
|
17
16
|
#
|
18
17
|
attr_accessor :filter
|
@@ -20,7 +19,6 @@ module DocuSign_eSign
|
|
20
19
|
#
|
21
20
|
attr_accessor :sub_filter
|
22
21
|
|
23
|
-
|
24
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
23
|
def self.attribute_map
|
26
24
|
{
|
@@ -43,7 +41,7 @@ module DocuSign_eSign
|
|
43
41
|
return unless attributes.is_a?(Hash)
|
44
42
|
|
45
43
|
# convert string to symbol for hash key
|
46
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
47
45
|
|
48
46
|
if attributes.has_key?(:'filter')
|
49
47
|
self.filter = attributes[:'filter']
|
@@ -52,20 +50,19 @@ module DocuSign_eSign
|
|
52
50
|
if attributes.has_key?(:'subFilter')
|
53
51
|
self.sub_filter = attributes[:'subFilter']
|
54
52
|
end
|
55
|
-
|
56
53
|
end
|
57
54
|
|
58
55
|
# Show invalid properties with the reasons. Usually used together with valid?
|
59
|
-
# @return Array for valid
|
56
|
+
# @return Array for valid properties with the reasons
|
60
57
|
def list_invalid_properties
|
61
58
|
invalid_properties = Array.new
|
62
|
-
|
59
|
+
invalid_properties
|
63
60
|
end
|
64
61
|
|
65
62
|
# Check to see if the all the properties in the model are valid
|
66
63
|
# @return true if the model is valid
|
67
64
|
def valid?
|
68
|
-
|
65
|
+
true
|
69
66
|
end
|
70
67
|
|
71
68
|
# Checks equality by comparing each attribute.
|
@@ -96,10 +93,10 @@ module DocuSign_eSign
|
|
96
93
|
return nil unless attributes.is_a?(Hash)
|
97
94
|
self.class.swagger_types.each_pair do |key, type|
|
98
95
|
if type =~ /\AArray<(.*)>/i
|
99
|
-
# check to ensure the input is an array given that the
|
96
|
+
# check to ensure the input is an array given that the attribute
|
100
97
|
# is documented as an array but the input is not
|
101
98
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
102
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
99
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
103
100
|
end
|
104
101
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
105
102
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -181,7 +178,7 @@ module DocuSign_eSign
|
|
181
178
|
# @return [Hash] Returns the value in the form of hash
|
182
179
|
def _to_hash(value)
|
183
180
|
if value.is_a?(Array)
|
184
|
-
value.compact.map{ |v| _to_hash(v) }
|
181
|
+
value.compact.map { |v| _to_hash(v) }
|
185
182
|
elsif value.is_a?(Hash)
|
186
183
|
{}.tap do |hash|
|
187
184
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -194,5 +191,4 @@ module DocuSign_eSign
|
|
194
191
|
end
|
195
192
|
|
196
193
|
end
|
197
|
-
|
198
194
|
end
|
@@ -63,6 +63,11 @@ module DocuSign_eSign
|
|
63
63
|
|
64
64
|
attr_accessor :note_tabs_metadata
|
65
65
|
|
66
|
+
#
|
67
|
+
attr_accessor :prefill_tabs_enabled
|
68
|
+
|
69
|
+
attr_accessor :prefill_tabs_metadata
|
70
|
+
|
66
71
|
#
|
67
72
|
attr_accessor :radio_tabs_enabled
|
68
73
|
|
@@ -136,6 +141,8 @@ module DocuSign_eSign
|
|
136
141
|
:'list_tabs_metadata' => :'listTabsMetadata',
|
137
142
|
:'note_tabs_enabled' => :'noteTabsEnabled',
|
138
143
|
:'note_tabs_metadata' => :'noteTabsMetadata',
|
144
|
+
:'prefill_tabs_enabled' => :'prefillTabsEnabled',
|
145
|
+
:'prefill_tabs_metadata' => :'prefillTabsMetadata',
|
139
146
|
:'radio_tabs_enabled' => :'radioTabsEnabled',
|
140
147
|
:'radio_tabs_metadata' => :'radioTabsMetadata',
|
141
148
|
:'saving_custom_tabs_enabled' => :'savingCustomTabsEnabled',
|
@@ -182,6 +189,8 @@ module DocuSign_eSign
|
|
182
189
|
:'list_tabs_metadata' => :'SettingsMetadata',
|
183
190
|
:'note_tabs_enabled' => :'String',
|
184
191
|
:'note_tabs_metadata' => :'SettingsMetadata',
|
192
|
+
:'prefill_tabs_enabled' => :'String',
|
193
|
+
:'prefill_tabs_metadata' => :'SettingsMetadata',
|
185
194
|
:'radio_tabs_enabled' => :'String',
|
186
195
|
:'radio_tabs_metadata' => :'SettingsMetadata',
|
187
196
|
:'saving_custom_tabs_enabled' => :'String',
|
@@ -293,6 +302,14 @@ module DocuSign_eSign
|
|
293
302
|
self.note_tabs_metadata = attributes[:'noteTabsMetadata']
|
294
303
|
end
|
295
304
|
|
305
|
+
if attributes.has_key?(:'prefillTabsEnabled')
|
306
|
+
self.prefill_tabs_enabled = attributes[:'prefillTabsEnabled']
|
307
|
+
end
|
308
|
+
|
309
|
+
if attributes.has_key?(:'prefillTabsMetadata')
|
310
|
+
self.prefill_tabs_metadata = attributes[:'prefillTabsMetadata']
|
311
|
+
end
|
312
|
+
|
296
313
|
if attributes.has_key?(:'radioTabsEnabled')
|
297
314
|
self.radio_tabs_enabled = attributes[:'radioTabsEnabled']
|
298
315
|
end
|
@@ -412,6 +429,8 @@ module DocuSign_eSign
|
|
412
429
|
list_tabs_metadata == o.list_tabs_metadata &&
|
413
430
|
note_tabs_enabled == o.note_tabs_enabled &&
|
414
431
|
note_tabs_metadata == o.note_tabs_metadata &&
|
432
|
+
prefill_tabs_enabled == o.prefill_tabs_enabled &&
|
433
|
+
prefill_tabs_metadata == o.prefill_tabs_metadata &&
|
415
434
|
radio_tabs_enabled == o.radio_tabs_enabled &&
|
416
435
|
radio_tabs_metadata == o.radio_tabs_metadata &&
|
417
436
|
saving_custom_tabs_enabled == o.saving_custom_tabs_enabled &&
|
@@ -443,7 +462,7 @@ module DocuSign_eSign
|
|
443
462
|
# Calculates hash code according to all attributes.
|
444
463
|
# @return [Fixnum] Hash code
|
445
464
|
def hash
|
446
|
-
[allow_tab_order, allow_tab_order_metadata, approve_decline_tabs_enabled, approve_decline_tabs_metadata, calculated_fields_enabled, calculated_fields_metadata, checkbox_tabs_enabled, check_box_tabs_metadata, data_field_regex_enabled, data_field_regex_metadata, data_field_size_enabled, data_field_size_metadata, draw_tabs_enabled, draw_tabs_metadata, first_last_email_tabs_enabled, first_last_email_tabs_metadata, list_tabs_enabled, list_tabs_metadata, note_tabs_enabled, note_tabs_metadata, radio_tabs_enabled, radio_tabs_metadata, saving_custom_tabs_enabled, saving_custom_tabs_metadata, sender_to_change_tab_assignments_enabled, sender_to_change_tab_assignments_metadata, shared_custom_tabs_enabled, shared_custom_tabs_metadata, tab_data_label_enabled, tab_data_label_metadata, tab_location_enabled, tab_location_metadata, tab_locking_enabled, tab_locking_metadata, tab_scale_enabled, tab_scale_metadata, tab_text_formatting_enabled, tab_text_formatting_metadata, text_tabs_enabled, text_tabs_metadata].hash
|
465
|
+
[allow_tab_order, allow_tab_order_metadata, approve_decline_tabs_enabled, approve_decline_tabs_metadata, calculated_fields_enabled, calculated_fields_metadata, checkbox_tabs_enabled, check_box_tabs_metadata, data_field_regex_enabled, data_field_regex_metadata, data_field_size_enabled, data_field_size_metadata, draw_tabs_enabled, draw_tabs_metadata, first_last_email_tabs_enabled, first_last_email_tabs_metadata, list_tabs_enabled, list_tabs_metadata, note_tabs_enabled, note_tabs_metadata, prefill_tabs_enabled, prefill_tabs_metadata, radio_tabs_enabled, radio_tabs_metadata, saving_custom_tabs_enabled, saving_custom_tabs_metadata, sender_to_change_tab_assignments_enabled, sender_to_change_tab_assignments_metadata, shared_custom_tabs_enabled, shared_custom_tabs_metadata, tab_data_label_enabled, tab_data_label_metadata, tab_location_enabled, tab_location_metadata, tab_locking_enabled, tab_locking_metadata, tab_scale_enabled, tab_scale_metadata, tab_text_formatting_enabled, tab_text_formatting_metadata, text_tabs_enabled, text_tabs_metadata].hash
|
447
466
|
end
|
448
467
|
|
449
468
|
# Builds the object from hash
|
@@ -94,6 +94,8 @@ module DocuSign_eSign
|
|
94
94
|
#
|
95
95
|
attr_accessor :poly_line_overlay_tabs
|
96
96
|
|
97
|
+
attr_accessor :prefill_tabs
|
98
|
+
|
97
99
|
# 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.
|
98
100
|
attr_accessor :radio_group_tabs
|
99
101
|
|
@@ -154,6 +156,7 @@ module DocuSign_eSign
|
|
154
156
|
:'number_tabs' => :'numberTabs',
|
155
157
|
:'phone_number_tabs' => :'phoneNumberTabs',
|
156
158
|
:'poly_line_overlay_tabs' => :'polyLineOverlayTabs',
|
159
|
+
:'prefill_tabs' => :'prefillTabs',
|
157
160
|
:'radio_group_tabs' => :'radioGroupTabs',
|
158
161
|
:'signer_attachment_tabs' => :'signerAttachmentTabs',
|
159
162
|
:'sign_here_tabs' => :'signHereTabs',
|
@@ -197,6 +200,7 @@ module DocuSign_eSign
|
|
197
200
|
:'number_tabs' => :'Array<Number>',
|
198
201
|
:'phone_number_tabs' => :'Array<PhoneNumber>',
|
199
202
|
:'poly_line_overlay_tabs' => :'Array<PolyLineOverlay>',
|
203
|
+
:'prefill_tabs' => :'PrefillTabs',
|
200
204
|
:'radio_group_tabs' => :'Array<RadioGroup>',
|
201
205
|
:'signer_attachment_tabs' => :'Array<SignerAttachment>',
|
202
206
|
:'sign_here_tabs' => :'Array<SignHere>',
|
@@ -380,6 +384,10 @@ module DocuSign_eSign
|
|
380
384
|
end
|
381
385
|
end
|
382
386
|
|
387
|
+
if attributes.has_key?(:'prefillTabs')
|
388
|
+
self.prefill_tabs = attributes[:'prefillTabs']
|
389
|
+
end
|
390
|
+
|
383
391
|
if attributes.has_key?(:'radioGroupTabs')
|
384
392
|
if (value = attributes[:'radioGroupTabs']).is_a?(Array)
|
385
393
|
self.radio_group_tabs = value
|
@@ -486,6 +494,7 @@ module DocuSign_eSign
|
|
486
494
|
number_tabs == o.number_tabs &&
|
487
495
|
phone_number_tabs == o.phone_number_tabs &&
|
488
496
|
poly_line_overlay_tabs == o.poly_line_overlay_tabs &&
|
497
|
+
prefill_tabs == o.prefill_tabs &&
|
489
498
|
radio_group_tabs == o.radio_group_tabs &&
|
490
499
|
signer_attachment_tabs == o.signer_attachment_tabs &&
|
491
500
|
sign_here_tabs == o.sign_here_tabs &&
|
@@ -507,7 +516,7 @@ module DocuSign_eSign
|
|
507
516
|
# Calculates hash code according to all attributes.
|
508
517
|
# @return [Fixnum] Hash code
|
509
518
|
def hash
|
510
|
-
[approve_tabs, checkbox_tabs, comment_thread_tabs, commission_county_tabs, commission_expiration_tabs, commission_number_tabs, commission_state_tabs, company_tabs, date_signed_tabs, date_tabs, decline_tabs, draw_tabs, email_address_tabs, email_tabs, envelope_id_tabs, first_name_tabs, formula_tabs, full_name_tabs, initial_here_tabs, last_name_tabs, list_tabs, notarize_tabs, notary_seal_tabs, note_tabs, number_tabs, phone_number_tabs, poly_line_overlay_tabs, radio_group_tabs, signer_attachment_tabs, sign_here_tabs, smart_section_tabs, ssn_tabs, tab_groups, text_tabs, title_tabs, view_tabs, zip_tabs].hash
|
519
|
+
[approve_tabs, checkbox_tabs, comment_thread_tabs, commission_county_tabs, commission_expiration_tabs, commission_number_tabs, commission_state_tabs, company_tabs, date_signed_tabs, date_tabs, decline_tabs, draw_tabs, email_address_tabs, email_tabs, envelope_id_tabs, first_name_tabs, formula_tabs, full_name_tabs, initial_here_tabs, last_name_tabs, list_tabs, notarize_tabs, notary_seal_tabs, note_tabs, number_tabs, phone_number_tabs, poly_line_overlay_tabs, prefill_tabs, radio_group_tabs, signer_attachment_tabs, sign_here_tabs, smart_section_tabs, ssn_tabs, tab_groups, text_tabs, title_tabs, view_tabs, zip_tabs].hash
|
511
520
|
end
|
512
521
|
|
513
522
|
# Builds the object from hash
|
@@ -94,6 +94,8 @@ module DocuSign_eSign
|
|
94
94
|
#
|
95
95
|
attr_accessor :poly_line_overlay_tabs
|
96
96
|
|
97
|
+
attr_accessor :prefill_tabs
|
98
|
+
|
97
99
|
# 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.
|
98
100
|
attr_accessor :radio_group_tabs
|
99
101
|
|
@@ -154,6 +156,7 @@ module DocuSign_eSign
|
|
154
156
|
:'number_tabs' => :'numberTabs',
|
155
157
|
:'phone_number_tabs' => :'phoneNumberTabs',
|
156
158
|
:'poly_line_overlay_tabs' => :'polyLineOverlayTabs',
|
159
|
+
:'prefill_tabs' => :'prefillTabs',
|
157
160
|
:'radio_group_tabs' => :'radioGroupTabs',
|
158
161
|
:'signer_attachment_tabs' => :'signerAttachmentTabs',
|
159
162
|
:'sign_here_tabs' => :'signHereTabs',
|
@@ -197,6 +200,7 @@ module DocuSign_eSign
|
|
197
200
|
:'number_tabs' => :'Array<Number>',
|
198
201
|
:'phone_number_tabs' => :'Array<PhoneNumber>',
|
199
202
|
:'poly_line_overlay_tabs' => :'Array<PolyLineOverlay>',
|
203
|
+
:'prefill_tabs' => :'PrefillTabs',
|
200
204
|
:'radio_group_tabs' => :'Array<RadioGroup>',
|
201
205
|
:'signer_attachment_tabs' => :'Array<SignerAttachment>',
|
202
206
|
:'sign_here_tabs' => :'Array<SignHere>',
|
@@ -380,6 +384,10 @@ module DocuSign_eSign
|
|
380
384
|
end
|
381
385
|
end
|
382
386
|
|
387
|
+
if attributes.has_key?(:'prefillTabs')
|
388
|
+
self.prefill_tabs = attributes[:'prefillTabs']
|
389
|
+
end
|
390
|
+
|
383
391
|
if attributes.has_key?(:'radioGroupTabs')
|
384
392
|
if (value = attributes[:'radioGroupTabs']).is_a?(Array)
|
385
393
|
self.radio_group_tabs = value
|
@@ -486,6 +494,7 @@ module DocuSign_eSign
|
|
486
494
|
number_tabs == o.number_tabs &&
|
487
495
|
phone_number_tabs == o.phone_number_tabs &&
|
488
496
|
poly_line_overlay_tabs == o.poly_line_overlay_tabs &&
|
497
|
+
prefill_tabs == o.prefill_tabs &&
|
489
498
|
radio_group_tabs == o.radio_group_tabs &&
|
490
499
|
signer_attachment_tabs == o.signer_attachment_tabs &&
|
491
500
|
sign_here_tabs == o.sign_here_tabs &&
|
@@ -507,7 +516,7 @@ module DocuSign_eSign
|
|
507
516
|
# Calculates hash code according to all attributes.
|
508
517
|
# @return [Fixnum] Hash code
|
509
518
|
def hash
|
510
|
-
[approve_tabs, checkbox_tabs, comment_thread_tabs, commission_county_tabs, commission_expiration_tabs, commission_number_tabs, commission_state_tabs, company_tabs, date_signed_tabs, date_tabs, decline_tabs, draw_tabs, email_address_tabs, email_tabs, envelope_id_tabs, first_name_tabs, formula_tabs, full_name_tabs, initial_here_tabs, last_name_tabs, list_tabs, notarize_tabs, notary_seal_tabs, note_tabs, number_tabs, phone_number_tabs, poly_line_overlay_tabs, radio_group_tabs, signer_attachment_tabs, sign_here_tabs, smart_section_tabs, ssn_tabs, tab_groups, text_tabs, title_tabs, view_tabs, zip_tabs].hash
|
519
|
+
[approve_tabs, checkbox_tabs, comment_thread_tabs, commission_county_tabs, commission_expiration_tabs, commission_number_tabs, commission_state_tabs, company_tabs, date_signed_tabs, date_tabs, decline_tabs, draw_tabs, email_address_tabs, email_tabs, envelope_id_tabs, first_name_tabs, formula_tabs, full_name_tabs, initial_here_tabs, last_name_tabs, list_tabs, notarize_tabs, notary_seal_tabs, note_tabs, number_tabs, phone_number_tabs, poly_line_overlay_tabs, prefill_tabs, radio_group_tabs, signer_attachment_tabs, sign_here_tabs, smart_section_tabs, ssn_tabs, tab_groups, text_tabs, title_tabs, view_tabs, zip_tabs].hash
|
511
520
|
end
|
512
521
|
|
513
522
|
# Builds the object from hash
|
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
|
-
|
16
15
|
class TimeStampField
|
17
16
|
attr_accessor :document_security_store
|
18
17
|
|
@@ -22,7 +21,6 @@ module DocuSign_eSign
|
|
22
21
|
#
|
23
22
|
attr_accessor :time_stamp_field_name
|
24
23
|
|
25
|
-
|
26
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
25
|
def self.attribute_map
|
28
26
|
{
|
@@ -47,7 +45,7 @@ module DocuSign_eSign
|
|
47
45
|
return unless attributes.is_a?(Hash)
|
48
46
|
|
49
47
|
# convert string to symbol for hash key
|
50
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
48
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
49
|
|
52
50
|
if attributes.has_key?(:'documentSecurityStore')
|
53
51
|
self.document_security_store = attributes[:'documentSecurityStore']
|
@@ -60,20 +58,19 @@ module DocuSign_eSign
|
|
60
58
|
if attributes.has_key?(:'timeStampFieldName')
|
61
59
|
self.time_stamp_field_name = attributes[:'timeStampFieldName']
|
62
60
|
end
|
63
|
-
|
64
61
|
end
|
65
62
|
|
66
63
|
# Show invalid properties with the reasons. Usually used together with valid?
|
67
|
-
# @return Array for valid
|
64
|
+
# @return Array for valid properties with the reasons
|
68
65
|
def list_invalid_properties
|
69
66
|
invalid_properties = Array.new
|
70
|
-
|
67
|
+
invalid_properties
|
71
68
|
end
|
72
69
|
|
73
70
|
# Check to see if the all the properties in the model are valid
|
74
71
|
# @return true if the model is valid
|
75
72
|
def valid?
|
76
|
-
|
73
|
+
true
|
77
74
|
end
|
78
75
|
|
79
76
|
# Checks equality by comparing each attribute.
|
@@ -105,10 +102,10 @@ module DocuSign_eSign
|
|
105
102
|
return nil unless attributes.is_a?(Hash)
|
106
103
|
self.class.swagger_types.each_pair do |key, type|
|
107
104
|
if type =~ /\AArray<(.*)>/i
|
108
|
-
# check to ensure the input is an array given that the
|
105
|
+
# check to ensure the input is an array given that the attribute
|
109
106
|
# is documented as an array but the input is not
|
110
107
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
108
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
112
109
|
end
|
113
110
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
114
111
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -190,7 +187,7 @@ module DocuSign_eSign
|
|
190
187
|
# @return [Hash] Returns the value in the form of hash
|
191
188
|
def _to_hash(value)
|
192
189
|
if value.is_a?(Array)
|
193
|
-
value.compact.map{ |v| _to_hash(v) }
|
190
|
+
value.compact.map { |v| _to_hash(v) }
|
194
191
|
elsif value.is_a?(Hash)
|
195
192
|
{}.tap do |hash|
|
196
193
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -203,5 +200,4 @@ module DocuSign_eSign
|
|
203
200
|
end
|
204
201
|
|
205
202
|
end
|
206
|
-
|
207
203
|
end
|
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
|
-
|
16
15
|
class TspHealthCheckRequest
|
17
16
|
#
|
18
17
|
attr_accessor :app_version
|
@@ -29,7 +28,6 @@ module DocuSign_eSign
|
|
29
28
|
#
|
30
29
|
attr_accessor :status_description
|
31
30
|
|
32
|
-
|
33
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
32
|
def self.attribute_map
|
35
33
|
{
|
@@ -58,7 +56,7 @@ module DocuSign_eSign
|
|
58
56
|
return unless attributes.is_a?(Hash)
|
59
57
|
|
60
58
|
# convert string to symbol for hash key
|
61
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
62
60
|
|
63
61
|
if attributes.has_key?(:'appVersion')
|
64
62
|
self.app_version = attributes[:'appVersion']
|
@@ -81,20 +79,19 @@ module DocuSign_eSign
|
|
81
79
|
self.status_description = value
|
82
80
|
end
|
83
81
|
end
|
84
|
-
|
85
82
|
end
|
86
83
|
|
87
84
|
# Show invalid properties with the reasons. Usually used together with valid?
|
88
|
-
# @return Array for valid
|
85
|
+
# @return Array for valid properties with the reasons
|
89
86
|
def list_invalid_properties
|
90
87
|
invalid_properties = Array.new
|
91
|
-
|
88
|
+
invalid_properties
|
92
89
|
end
|
93
90
|
|
94
91
|
# Check to see if the all the properties in the model are valid
|
95
92
|
# @return true if the model is valid
|
96
93
|
def valid?
|
97
|
-
|
94
|
+
true
|
98
95
|
end
|
99
96
|
|
100
97
|
# Checks equality by comparing each attribute.
|
@@ -128,10 +125,10 @@ module DocuSign_eSign
|
|
128
125
|
return nil unless attributes.is_a?(Hash)
|
129
126
|
self.class.swagger_types.each_pair do |key, type|
|
130
127
|
if type =~ /\AArray<(.*)>/i
|
131
|
-
# check to ensure the input is an array given that the
|
128
|
+
# check to ensure the input is an array given that the attribute
|
132
129
|
# is documented as an array but the input is not
|
133
130
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
134
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) }
|
131
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
135
132
|
end
|
136
133
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
137
134
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
@@ -213,7 +210,7 @@ module DocuSign_eSign
|
|
213
210
|
# @return [Hash] Returns the value in the form of hash
|
214
211
|
def _to_hash(value)
|
215
212
|
if value.is_a?(Array)
|
216
|
-
value.compact.map{ |v| _to_hash(v) }
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
217
214
|
elsif value.is_a?(Hash)
|
218
215
|
{}.tap do |hash|
|
219
216
|
value.each { |k, v| hash[k] = _to_hash(v) }
|
@@ -226,5 +223,4 @@ module DocuSign_eSign
|
|
226
223
|
end
|
227
224
|
|
228
225
|
end
|
229
|
-
|
230
226
|
end
|