docusign_esign 3.4.0.rc1 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/Gemfile.lock +73 -0
- data/README.md +7 -5
- data/docusign_esign-2.6.0.gem +0 -0
- data/docusign_esign-2.6.0.rc1.gem +0 -0
- data/docusign_esign-2.7.0.rc1.gem +0 -0
- data/docusign_esign-3.5.0.gem +0 -0
- data/docusign_esign-3.5.0.rc1.gem +0 -0
- data/docusign_esign-3.6.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +34 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/.DS_Store +0 -0
- data/lib/docusign_esign/api/accounts_api.rb +949 -35
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +126 -4
- data/lib/docusign_esign/api/envelopes_api.rb +376 -2
- data/lib/docusign_esign/client/.DS_Store +0 -0
- data/lib/docusign_esign/models/account_settings_information.rb +30 -1
- data/lib/docusign_esign/models/account_signature.rb +497 -0
- data/lib/docusign_esign/models/account_signature_definition.rb +338 -0
- data/lib/docusign_esign/models/account_signatures_information.rb +187 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
- data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
- data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
- data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
- data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
- data/lib/docusign_esign/models/correct_view_request.rb +14 -4
- data/lib/docusign_esign/models/e_note_configuration.rb +11 -1
- data/lib/docusign_esign/models/envelope.rb +13 -4
- data/lib/docusign_esign/models/envelope_definition.rb +13 -4
- data/lib/docusign_esign/models/envelope_template.rb +13 -4
- data/lib/docusign_esign/models/in_person_signer.rb +11 -1
- data/lib/docusign_esign/models/new_user.rb +11 -1
- data/lib/docusign_esign/models/notary_certificate.rb +869 -0
- data/lib/docusign_esign/models/notary_recipient.rb +1097 -0
- data/lib/docusign_esign/models/notary_seal.rb +983 -0
- data/lib/docusign_esign/models/proof_service_resource_token.rb +14 -4
- data/lib/docusign_esign/models/recipient_additional_notification.rb +14 -4
- data/lib/docusign_esign/models/recipient_group.rb +207 -0
- data/lib/docusign_esign/models/recipient_option.rb +225 -0
- data/lib/docusign_esign/models/recipient_routing.rb +184 -0
- data/lib/docusign_esign/models/recipient_rules.rb +187 -0
- data/lib/docusign_esign/models/recipients.rb +13 -1
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
- data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
- data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
- data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
- data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
- data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
- data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
- data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
- data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
- data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
- data/lib/docusign_esign/models/signature_group.rb +205 -0
- data/lib/docusign_esign/models/signature_group_def.rb +195 -0
- data/lib/docusign_esign/models/signature_user.rb +215 -0
- data/lib/docusign_esign/models/signature_user_def.rb +205 -0
- data/lib/docusign_esign/models/signer.rb +11 -1
- data/lib/docusign_esign/models/tab_metadata.rb +21 -1
- data/lib/docusign_esign/models/tabs.rb +25 -1
- data/lib/docusign_esign/models/template_recipients.rb +13 -1
- data/lib/docusign_esign/models/template_tabs.rb +25 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/witness.rb +11 -1
- data/lib/docusign_esign/models/workflow.rb +207 -0
- data/lib/docusign_esign/models/workflow_step.rb +254 -0
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +3 -3
- metadata +48 -5
- data/docusign_esign-2.4.0.gem +0 -0
@@ -20,11 +20,15 @@ module DocuSign_eSign
|
|
20
20
|
# Specifies whether the window is displayed with or without dressing.
|
21
21
|
attr_accessor :suppress_navigation
|
22
22
|
|
23
|
+
#
|
24
|
+
attr_accessor :view_url
|
25
|
+
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'return_url' => :'returnUrl',
|
27
|
-
:'suppress_navigation' => :'suppressNavigation'
|
30
|
+
:'suppress_navigation' => :'suppressNavigation',
|
31
|
+
:'view_url' => :'viewUrl'
|
28
32
|
}
|
29
33
|
end
|
30
34
|
|
@@ -32,7 +36,8 @@ module DocuSign_eSign
|
|
32
36
|
def self.swagger_types
|
33
37
|
{
|
34
38
|
:'return_url' => :'String',
|
35
|
-
:'suppress_navigation' => :'String'
|
39
|
+
:'suppress_navigation' => :'String',
|
40
|
+
:'view_url' => :'String'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -51,6 +56,10 @@ module DocuSign_eSign
|
|
51
56
|
if attributes.has_key?(:'suppressNavigation')
|
52
57
|
self.suppress_navigation = attributes[:'suppressNavigation']
|
53
58
|
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'viewUrl')
|
61
|
+
self.view_url = attributes[:'viewUrl']
|
62
|
+
end
|
54
63
|
end
|
55
64
|
|
56
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -72,7 +81,8 @@ module DocuSign_eSign
|
|
72
81
|
return true if self.equal?(o)
|
73
82
|
self.class == o.class &&
|
74
83
|
return_url == o.return_url &&
|
75
|
-
suppress_navigation == o.suppress_navigation
|
84
|
+
suppress_navigation == o.suppress_navigation &&
|
85
|
+
view_url == o.view_url
|
76
86
|
end
|
77
87
|
|
78
88
|
# @see the `==` method
|
@@ -84,7 +94,7 @@ module DocuSign_eSign
|
|
84
94
|
# Calculates hash code according to all attributes.
|
85
95
|
# @return [Fixnum] Hash code
|
86
96
|
def hash
|
87
|
-
[return_url, suppress_navigation].hash
|
97
|
+
[return_url, suppress_navigation, view_url].hash
|
88
98
|
end
|
89
99
|
|
90
100
|
# Builds the object from hash
|
@@ -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
|
@@ -129,6 +129,9 @@ module DocuSign_eSign
|
|
129
129
|
|
130
130
|
attr_accessor :notary_host
|
131
131
|
|
132
|
+
#
|
133
|
+
attr_accessor :notary_id
|
134
|
+
|
132
135
|
# Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.
|
133
136
|
attr_accessor :note
|
134
137
|
|
@@ -303,6 +306,7 @@ module DocuSign_eSign
|
|
303
306
|
:'name' => :'name',
|
304
307
|
:'name_metadata' => :'nameMetadata',
|
305
308
|
:'notary_host' => :'notaryHost',
|
309
|
+
:'notary_id' => :'notaryId',
|
306
310
|
:'note' => :'note',
|
307
311
|
:'note_metadata' => :'noteMetadata',
|
308
312
|
:'offline_attributes' => :'offlineAttributes',
|
@@ -400,6 +404,7 @@ module DocuSign_eSign
|
|
400
404
|
:'name' => :'String',
|
401
405
|
:'name_metadata' => :'PropertyMetadata',
|
402
406
|
:'notary_host' => :'NotaryHost',
|
407
|
+
:'notary_id' => :'String',
|
403
408
|
:'note' => :'String',
|
404
409
|
:'note_metadata' => :'PropertyMetadata',
|
405
410
|
:'offline_attributes' => :'OfflineAttributes',
|
@@ -637,6 +642,10 @@ module DocuSign_eSign
|
|
637
642
|
self.notary_host = attributes[:'notaryHost']
|
638
643
|
end
|
639
644
|
|
645
|
+
if attributes.has_key?(:'notaryId')
|
646
|
+
self.notary_id = attributes[:'notaryId']
|
647
|
+
end
|
648
|
+
|
640
649
|
if attributes.has_key?(:'note')
|
641
650
|
self.note = attributes[:'note']
|
642
651
|
end
|
@@ -901,6 +910,7 @@ module DocuSign_eSign
|
|
901
910
|
name == o.name &&
|
902
911
|
name_metadata == o.name_metadata &&
|
903
912
|
notary_host == o.notary_host &&
|
913
|
+
notary_id == o.notary_id &&
|
904
914
|
note == o.note &&
|
905
915
|
note_metadata == o.note_metadata &&
|
906
916
|
offline_attributes == o.offline_attributes &&
|
@@ -960,7 +970,7 @@ module DocuSign_eSign
|
|
960
970
|
# Calculates hash code according to all attributes.
|
961
971
|
# @return [Fixnum] Hash code
|
962
972
|
def hash
|
963
|
-
[access_code, access_code_metadata, add_access_code_to_email, allow_system_override_for_locked_recipient, auto_navigation, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, host_email, host_email_metadata, host_name, host_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, in_person_signing_type, in_person_signing_type_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_host, note, note_metadata, offline_attributes, phone_authentication, 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, signer_email, signer_email_metadata, signer_first_name, signer_first_name_metadata, signer_last_name, signer_last_name_metadata, signer_name, signer_name_metadata, 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
|
973
|
+
[access_code, access_code_metadata, add_access_code_to_email, allow_system_override_for_locked_recipient, auto_navigation, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, host_email, host_email_metadata, host_name, host_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, in_person_signing_type, in_person_signing_type_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_host, notary_id, note, note_metadata, offline_attributes, phone_authentication, 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, signer_email, signer_email_metadata, signer_first_name, signer_first_name_metadata, signer_last_name, signer_last_name_metadata, signer_name, signer_name_metadata, 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
|
964
974
|
end
|
965
975
|
|
966
976
|
# Builds the object from hash
|
@@ -25,6 +25,9 @@ module DocuSign_eSign
|
|
25
25
|
|
26
26
|
attr_accessor :error_details
|
27
27
|
|
28
|
+
#
|
29
|
+
attr_accessor :membership_id
|
30
|
+
|
28
31
|
#
|
29
32
|
attr_accessor :permission_profile_id
|
30
33
|
|
@@ -50,6 +53,7 @@ module DocuSign_eSign
|
|
50
53
|
:'created_date_time' => :'createdDateTime',
|
51
54
|
:'email' => :'email',
|
52
55
|
:'error_details' => :'errorDetails',
|
56
|
+
:'membership_id' => :'membershipId',
|
53
57
|
:'permission_profile_id' => :'permissionProfileId',
|
54
58
|
:'permission_profile_name' => :'permissionProfileName',
|
55
59
|
:'uri' => :'uri',
|
@@ -66,6 +70,7 @@ module DocuSign_eSign
|
|
66
70
|
:'created_date_time' => :'String',
|
67
71
|
:'email' => :'String',
|
68
72
|
:'error_details' => :'ErrorDetails',
|
73
|
+
:'membership_id' => :'String',
|
69
74
|
:'permission_profile_id' => :'String',
|
70
75
|
:'permission_profile_name' => :'String',
|
71
76
|
:'uri' => :'String',
|
@@ -99,6 +104,10 @@ module DocuSign_eSign
|
|
99
104
|
self.error_details = attributes[:'errorDetails']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.has_key?(:'membershipId')
|
108
|
+
self.membership_id = attributes[:'membershipId']
|
109
|
+
end
|
110
|
+
|
102
111
|
if attributes.has_key?(:'permissionProfileId')
|
103
112
|
self.permission_profile_id = attributes[:'permissionProfileId']
|
104
113
|
end
|
@@ -146,6 +155,7 @@ module DocuSign_eSign
|
|
146
155
|
created_date_time == o.created_date_time &&
|
147
156
|
email == o.email &&
|
148
157
|
error_details == o.error_details &&
|
158
|
+
membership_id == o.membership_id &&
|
149
159
|
permission_profile_id == o.permission_profile_id &&
|
150
160
|
permission_profile_name == o.permission_profile_name &&
|
151
161
|
uri == o.uri &&
|
@@ -163,7 +173,7 @@ module DocuSign_eSign
|
|
163
173
|
# Calculates hash code according to all attributes.
|
164
174
|
# @return [Fixnum] Hash code
|
165
175
|
def hash
|
166
|
-
[api_password, created_date_time, email, error_details, permission_profile_id, permission_profile_name, uri, user_id, user_name, user_status].hash
|
176
|
+
[api_password, created_date_time, email, error_details, membership_id, permission_profile_id, permission_profile_name, uri, user_id, user_name, user_status].hash
|
167
177
|
end
|
168
178
|
|
169
179
|
# Builds the object from hash
|
@@ -0,0 +1,869 @@
|
|
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 NotaryCertificate
|
17
|
+
#
|
18
|
+
attr_accessor :anchor_allow_white_space_in_characters
|
19
|
+
|
20
|
+
attr_accessor :anchor_allow_white_space_in_characters_metadata
|
21
|
+
|
22
|
+
# When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
|
23
|
+
attr_accessor :anchor_case_sensitive
|
24
|
+
|
25
|
+
attr_accessor :anchor_case_sensitive_metadata
|
26
|
+
|
27
|
+
# Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.
|
28
|
+
attr_accessor :anchor_horizontal_alignment
|
29
|
+
|
30
|
+
attr_accessor :anchor_horizontal_alignment_metadata
|
31
|
+
|
32
|
+
# When set to **true**, this tab is ignored if anchorString is not found in the document.
|
33
|
+
attr_accessor :anchor_ignore_if_not_present
|
34
|
+
|
35
|
+
attr_accessor :anchor_ignore_if_not_present_metadata
|
36
|
+
|
37
|
+
# When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.
|
38
|
+
attr_accessor :anchor_match_whole_word
|
39
|
+
|
40
|
+
attr_accessor :anchor_match_whole_word_metadata
|
41
|
+
|
42
|
+
# Anchor text information for a radio button.
|
43
|
+
attr_accessor :anchor_string
|
44
|
+
|
45
|
+
attr_accessor :anchor_string_metadata
|
46
|
+
|
47
|
+
#
|
48
|
+
attr_accessor :anchor_tab_processor_version
|
49
|
+
|
50
|
+
attr_accessor :anchor_tab_processor_version_metadata
|
51
|
+
|
52
|
+
# Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.
|
53
|
+
attr_accessor :anchor_units
|
54
|
+
|
55
|
+
attr_accessor :anchor_units_metadata
|
56
|
+
|
57
|
+
# Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.
|
58
|
+
attr_accessor :anchor_x_offset
|
59
|
+
|
60
|
+
attr_accessor :anchor_x_offset_metadata
|
61
|
+
|
62
|
+
# Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.
|
63
|
+
attr_accessor :anchor_y_offset
|
64
|
+
|
65
|
+
attr_accessor :anchor_y_offset_metadata
|
66
|
+
|
67
|
+
# For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
|
68
|
+
attr_accessor :conditional_parent_label
|
69
|
+
|
70
|
+
attr_accessor :conditional_parent_label_metadata
|
71
|
+
|
72
|
+
# For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active.
|
73
|
+
attr_accessor :conditional_parent_value
|
74
|
+
|
75
|
+
attr_accessor :conditional_parent_value_metadata
|
76
|
+
|
77
|
+
# The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.
|
78
|
+
attr_accessor :custom_tab_id
|
79
|
+
|
80
|
+
attr_accessor :custom_tab_id_metadata
|
81
|
+
|
82
|
+
# Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.
|
83
|
+
attr_accessor :document_id
|
84
|
+
|
85
|
+
attr_accessor :document_id_metadata
|
86
|
+
|
87
|
+
attr_accessor :error_details
|
88
|
+
|
89
|
+
#
|
90
|
+
attr_accessor :form_order
|
91
|
+
|
92
|
+
attr_accessor :form_order_metadata
|
93
|
+
|
94
|
+
#
|
95
|
+
attr_accessor :form_page_label
|
96
|
+
|
97
|
+
attr_accessor :form_page_label_metadata
|
98
|
+
|
99
|
+
#
|
100
|
+
attr_accessor :form_page_number
|
101
|
+
|
102
|
+
attr_accessor :form_page_number_metadata
|
103
|
+
|
104
|
+
# Height of the tab in pixels.
|
105
|
+
attr_accessor :height
|
106
|
+
|
107
|
+
attr_accessor :height_metadata
|
108
|
+
|
109
|
+
# When set to **true**, the signer cannot change the data of the custom tab.
|
110
|
+
attr_accessor :locked
|
111
|
+
|
112
|
+
attr_accessor :locked_metadata
|
113
|
+
|
114
|
+
attr_accessor :merge_field
|
115
|
+
|
116
|
+
#
|
117
|
+
attr_accessor :merge_field_xml
|
118
|
+
|
119
|
+
# Specifies the page number on which the tab is located.
|
120
|
+
attr_accessor :page_number
|
121
|
+
|
122
|
+
attr_accessor :page_number_metadata
|
123
|
+
|
124
|
+
# Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
|
125
|
+
attr_accessor :recipient_id
|
126
|
+
|
127
|
+
#
|
128
|
+
attr_accessor :recipient_id_guid
|
129
|
+
|
130
|
+
attr_accessor :recipient_id_guid_metadata
|
131
|
+
|
132
|
+
attr_accessor :recipient_id_metadata
|
133
|
+
|
134
|
+
# When set to **true**, the signer is required to fill out this tab
|
135
|
+
attr_accessor :required
|
136
|
+
|
137
|
+
attr_accessor :required_metadata
|
138
|
+
|
139
|
+
attr_accessor :smart_contract_information
|
140
|
+
|
141
|
+
# Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
|
142
|
+
attr_accessor :status
|
143
|
+
|
144
|
+
attr_accessor :status_metadata
|
145
|
+
|
146
|
+
#
|
147
|
+
attr_accessor :tab_group_labels
|
148
|
+
|
149
|
+
attr_accessor :tab_group_labels_metadata
|
150
|
+
|
151
|
+
# The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
|
152
|
+
attr_accessor :tab_id
|
153
|
+
|
154
|
+
attr_accessor :tab_id_metadata
|
155
|
+
|
156
|
+
attr_accessor :tab_label_metadata
|
157
|
+
|
158
|
+
#
|
159
|
+
attr_accessor :tab_order
|
160
|
+
|
161
|
+
attr_accessor :tab_order_metadata
|
162
|
+
|
163
|
+
#
|
164
|
+
attr_accessor :tab_type
|
165
|
+
|
166
|
+
attr_accessor :tab_type_metadata
|
167
|
+
|
168
|
+
# When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients.
|
169
|
+
attr_accessor :template_locked
|
170
|
+
|
171
|
+
attr_accessor :template_locked_metadata
|
172
|
+
|
173
|
+
# When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.
|
174
|
+
attr_accessor :template_required
|
175
|
+
|
176
|
+
attr_accessor :template_required_metadata
|
177
|
+
|
178
|
+
#
|
179
|
+
attr_accessor :tooltip
|
180
|
+
|
181
|
+
attr_accessor :tool_tip_metadata
|
182
|
+
|
183
|
+
# Width of the tab in pixels.
|
184
|
+
attr_accessor :width
|
185
|
+
|
186
|
+
attr_accessor :width_metadata
|
187
|
+
|
188
|
+
# This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.
|
189
|
+
attr_accessor :x_position
|
190
|
+
|
191
|
+
attr_accessor :x_position_metadata
|
192
|
+
|
193
|
+
# This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.
|
194
|
+
attr_accessor :y_position
|
195
|
+
|
196
|
+
attr_accessor :y_position_metadata
|
197
|
+
|
198
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
199
|
+
def self.attribute_map
|
200
|
+
{
|
201
|
+
:'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
|
202
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
|
203
|
+
:'anchor_case_sensitive' => :'anchorCaseSensitive',
|
204
|
+
:'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
|
205
|
+
:'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
|
206
|
+
:'anchor_horizontal_alignment_metadata' => :'anchorHorizontalAlignmentMetadata',
|
207
|
+
:'anchor_ignore_if_not_present' => :'anchorIgnoreIfNotPresent',
|
208
|
+
:'anchor_ignore_if_not_present_metadata' => :'anchorIgnoreIfNotPresentMetadata',
|
209
|
+
:'anchor_match_whole_word' => :'anchorMatchWholeWord',
|
210
|
+
:'anchor_match_whole_word_metadata' => :'anchorMatchWholeWordMetadata',
|
211
|
+
:'anchor_string' => :'anchorString',
|
212
|
+
:'anchor_string_metadata' => :'anchorStringMetadata',
|
213
|
+
:'anchor_tab_processor_version' => :'anchorTabProcessorVersion',
|
214
|
+
:'anchor_tab_processor_version_metadata' => :'anchorTabProcessorVersionMetadata',
|
215
|
+
:'anchor_units' => :'anchorUnits',
|
216
|
+
:'anchor_units_metadata' => :'anchorUnitsMetadata',
|
217
|
+
:'anchor_x_offset' => :'anchorXOffset',
|
218
|
+
:'anchor_x_offset_metadata' => :'anchorXOffsetMetadata',
|
219
|
+
:'anchor_y_offset' => :'anchorYOffset',
|
220
|
+
:'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
|
221
|
+
:'conditional_parent_label' => :'conditionalParentLabel',
|
222
|
+
:'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
|
223
|
+
:'conditional_parent_value' => :'conditionalParentValue',
|
224
|
+
:'conditional_parent_value_metadata' => :'conditionalParentValueMetadata',
|
225
|
+
:'custom_tab_id' => :'customTabId',
|
226
|
+
:'custom_tab_id_metadata' => :'customTabIdMetadata',
|
227
|
+
:'document_id' => :'documentId',
|
228
|
+
:'document_id_metadata' => :'documentIdMetadata',
|
229
|
+
:'error_details' => :'errorDetails',
|
230
|
+
:'form_order' => :'formOrder',
|
231
|
+
:'form_order_metadata' => :'formOrderMetadata',
|
232
|
+
:'form_page_label' => :'formPageLabel',
|
233
|
+
:'form_page_label_metadata' => :'formPageLabelMetadata',
|
234
|
+
:'form_page_number' => :'formPageNumber',
|
235
|
+
:'form_page_number_metadata' => :'formPageNumberMetadata',
|
236
|
+
:'height' => :'height',
|
237
|
+
:'height_metadata' => :'heightMetadata',
|
238
|
+
:'locked' => :'locked',
|
239
|
+
:'locked_metadata' => :'lockedMetadata',
|
240
|
+
:'merge_field' => :'mergeField',
|
241
|
+
:'merge_field_xml' => :'mergeFieldXml',
|
242
|
+
:'page_number' => :'pageNumber',
|
243
|
+
:'page_number_metadata' => :'pageNumberMetadata',
|
244
|
+
:'recipient_id' => :'recipientId',
|
245
|
+
:'recipient_id_guid' => :'recipientIdGuid',
|
246
|
+
:'recipient_id_guid_metadata' => :'recipientIdGuidMetadata',
|
247
|
+
:'recipient_id_metadata' => :'recipientIdMetadata',
|
248
|
+
:'required' => :'required',
|
249
|
+
:'required_metadata' => :'requiredMetadata',
|
250
|
+
:'smart_contract_information' => :'smartContractInformation',
|
251
|
+
:'status' => :'status',
|
252
|
+
:'status_metadata' => :'statusMetadata',
|
253
|
+
:'tab_group_labels' => :'tabGroupLabels',
|
254
|
+
:'tab_group_labels_metadata' => :'tabGroupLabelsMetadata',
|
255
|
+
:'tab_id' => :'tabId',
|
256
|
+
:'tab_id_metadata' => :'tabIdMetadata',
|
257
|
+
:'tab_label_metadata' => :'tabLabelMetadata',
|
258
|
+
:'tab_order' => :'tabOrder',
|
259
|
+
:'tab_order_metadata' => :'tabOrderMetadata',
|
260
|
+
:'tab_type' => :'tabType',
|
261
|
+
:'tab_type_metadata' => :'tabTypeMetadata',
|
262
|
+
:'template_locked' => :'templateLocked',
|
263
|
+
:'template_locked_metadata' => :'templateLockedMetadata',
|
264
|
+
:'template_required' => :'templateRequired',
|
265
|
+
:'template_required_metadata' => :'templateRequiredMetadata',
|
266
|
+
:'tooltip' => :'tooltip',
|
267
|
+
:'tool_tip_metadata' => :'toolTipMetadata',
|
268
|
+
:'width' => :'width',
|
269
|
+
:'width_metadata' => :'widthMetadata',
|
270
|
+
:'x_position' => :'xPosition',
|
271
|
+
:'x_position_metadata' => :'xPositionMetadata',
|
272
|
+
:'y_position' => :'yPosition',
|
273
|
+
:'y_position_metadata' => :'yPositionMetadata'
|
274
|
+
}
|
275
|
+
end
|
276
|
+
|
277
|
+
# Attribute type mapping.
|
278
|
+
def self.swagger_types
|
279
|
+
{
|
280
|
+
:'anchor_allow_white_space_in_characters' => :'String',
|
281
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
|
282
|
+
:'anchor_case_sensitive' => :'String',
|
283
|
+
:'anchor_case_sensitive_metadata' => :'PropertyMetadata',
|
284
|
+
:'anchor_horizontal_alignment' => :'String',
|
285
|
+
:'anchor_horizontal_alignment_metadata' => :'PropertyMetadata',
|
286
|
+
:'anchor_ignore_if_not_present' => :'String',
|
287
|
+
:'anchor_ignore_if_not_present_metadata' => :'PropertyMetadata',
|
288
|
+
:'anchor_match_whole_word' => :'String',
|
289
|
+
:'anchor_match_whole_word_metadata' => :'PropertyMetadata',
|
290
|
+
:'anchor_string' => :'String',
|
291
|
+
:'anchor_string_metadata' => :'PropertyMetadata',
|
292
|
+
:'anchor_tab_processor_version' => :'String',
|
293
|
+
:'anchor_tab_processor_version_metadata' => :'PropertyMetadata',
|
294
|
+
:'anchor_units' => :'String',
|
295
|
+
:'anchor_units_metadata' => :'PropertyMetadata',
|
296
|
+
:'anchor_x_offset' => :'String',
|
297
|
+
:'anchor_x_offset_metadata' => :'PropertyMetadata',
|
298
|
+
:'anchor_y_offset' => :'String',
|
299
|
+
:'anchor_y_offset_metadata' => :'PropertyMetadata',
|
300
|
+
:'conditional_parent_label' => :'String',
|
301
|
+
:'conditional_parent_label_metadata' => :'PropertyMetadata',
|
302
|
+
:'conditional_parent_value' => :'String',
|
303
|
+
:'conditional_parent_value_metadata' => :'PropertyMetadata',
|
304
|
+
:'custom_tab_id' => :'String',
|
305
|
+
:'custom_tab_id_metadata' => :'PropertyMetadata',
|
306
|
+
:'document_id' => :'String',
|
307
|
+
:'document_id_metadata' => :'PropertyMetadata',
|
308
|
+
:'error_details' => :'ErrorDetails',
|
309
|
+
:'form_order' => :'String',
|
310
|
+
:'form_order_metadata' => :'PropertyMetadata',
|
311
|
+
:'form_page_label' => :'String',
|
312
|
+
:'form_page_label_metadata' => :'PropertyMetadata',
|
313
|
+
:'form_page_number' => :'String',
|
314
|
+
:'form_page_number_metadata' => :'PropertyMetadata',
|
315
|
+
:'height' => :'String',
|
316
|
+
:'height_metadata' => :'PropertyMetadata',
|
317
|
+
:'locked' => :'String',
|
318
|
+
:'locked_metadata' => :'PropertyMetadata',
|
319
|
+
:'merge_field' => :'MergeField',
|
320
|
+
:'merge_field_xml' => :'String',
|
321
|
+
:'page_number' => :'String',
|
322
|
+
:'page_number_metadata' => :'PropertyMetadata',
|
323
|
+
:'recipient_id' => :'String',
|
324
|
+
:'recipient_id_guid' => :'String',
|
325
|
+
:'recipient_id_guid_metadata' => :'PropertyMetadata',
|
326
|
+
:'recipient_id_metadata' => :'PropertyMetadata',
|
327
|
+
:'required' => :'String',
|
328
|
+
:'required_metadata' => :'PropertyMetadata',
|
329
|
+
:'smart_contract_information' => :'SmartContractInformation',
|
330
|
+
:'status' => :'String',
|
331
|
+
:'status_metadata' => :'PropertyMetadata',
|
332
|
+
:'tab_group_labels' => :'Array<String>',
|
333
|
+
:'tab_group_labels_metadata' => :'PropertyMetadata',
|
334
|
+
:'tab_id' => :'String',
|
335
|
+
:'tab_id_metadata' => :'PropertyMetadata',
|
336
|
+
:'tab_label_metadata' => :'PropertyMetadata',
|
337
|
+
:'tab_order' => :'String',
|
338
|
+
:'tab_order_metadata' => :'PropertyMetadata',
|
339
|
+
:'tab_type' => :'String',
|
340
|
+
:'tab_type_metadata' => :'PropertyMetadata',
|
341
|
+
:'template_locked' => :'String',
|
342
|
+
:'template_locked_metadata' => :'PropertyMetadata',
|
343
|
+
:'template_required' => :'String',
|
344
|
+
:'template_required_metadata' => :'PropertyMetadata',
|
345
|
+
:'tooltip' => :'String',
|
346
|
+
:'tool_tip_metadata' => :'PropertyMetadata',
|
347
|
+
:'width' => :'String',
|
348
|
+
:'width_metadata' => :'PropertyMetadata',
|
349
|
+
:'x_position' => :'String',
|
350
|
+
:'x_position_metadata' => :'PropertyMetadata',
|
351
|
+
:'y_position' => :'String',
|
352
|
+
:'y_position_metadata' => :'PropertyMetadata'
|
353
|
+
}
|
354
|
+
end
|
355
|
+
|
356
|
+
# Initializes the object
|
357
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
358
|
+
def initialize(attributes = {})
|
359
|
+
return unless attributes.is_a?(Hash)
|
360
|
+
|
361
|
+
# convert string to symbol for hash key
|
362
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
363
|
+
|
364
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
|
365
|
+
self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
|
366
|
+
end
|
367
|
+
|
368
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
|
369
|
+
self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
|
370
|
+
end
|
371
|
+
|
372
|
+
if attributes.has_key?(:'anchorCaseSensitive')
|
373
|
+
self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
|
374
|
+
end
|
375
|
+
|
376
|
+
if attributes.has_key?(:'anchorCaseSensitiveMetadata')
|
377
|
+
self.anchor_case_sensitive_metadata = attributes[:'anchorCaseSensitiveMetadata']
|
378
|
+
end
|
379
|
+
|
380
|
+
if attributes.has_key?(:'anchorHorizontalAlignment')
|
381
|
+
self.anchor_horizontal_alignment = attributes[:'anchorHorizontalAlignment']
|
382
|
+
end
|
383
|
+
|
384
|
+
if attributes.has_key?(:'anchorHorizontalAlignmentMetadata')
|
385
|
+
self.anchor_horizontal_alignment_metadata = attributes[:'anchorHorizontalAlignmentMetadata']
|
386
|
+
end
|
387
|
+
|
388
|
+
if attributes.has_key?(:'anchorIgnoreIfNotPresent')
|
389
|
+
self.anchor_ignore_if_not_present = attributes[:'anchorIgnoreIfNotPresent']
|
390
|
+
end
|
391
|
+
|
392
|
+
if attributes.has_key?(:'anchorIgnoreIfNotPresentMetadata')
|
393
|
+
self.anchor_ignore_if_not_present_metadata = attributes[:'anchorIgnoreIfNotPresentMetadata']
|
394
|
+
end
|
395
|
+
|
396
|
+
if attributes.has_key?(:'anchorMatchWholeWord')
|
397
|
+
self.anchor_match_whole_word = attributes[:'anchorMatchWholeWord']
|
398
|
+
end
|
399
|
+
|
400
|
+
if attributes.has_key?(:'anchorMatchWholeWordMetadata')
|
401
|
+
self.anchor_match_whole_word_metadata = attributes[:'anchorMatchWholeWordMetadata']
|
402
|
+
end
|
403
|
+
|
404
|
+
if attributes.has_key?(:'anchorString')
|
405
|
+
self.anchor_string = attributes[:'anchorString']
|
406
|
+
end
|
407
|
+
|
408
|
+
if attributes.has_key?(:'anchorStringMetadata')
|
409
|
+
self.anchor_string_metadata = attributes[:'anchorStringMetadata']
|
410
|
+
end
|
411
|
+
|
412
|
+
if attributes.has_key?(:'anchorTabProcessorVersion')
|
413
|
+
self.anchor_tab_processor_version = attributes[:'anchorTabProcessorVersion']
|
414
|
+
end
|
415
|
+
|
416
|
+
if attributes.has_key?(:'anchorTabProcessorVersionMetadata')
|
417
|
+
self.anchor_tab_processor_version_metadata = attributes[:'anchorTabProcessorVersionMetadata']
|
418
|
+
end
|
419
|
+
|
420
|
+
if attributes.has_key?(:'anchorUnits')
|
421
|
+
self.anchor_units = attributes[:'anchorUnits']
|
422
|
+
end
|
423
|
+
|
424
|
+
if attributes.has_key?(:'anchorUnitsMetadata')
|
425
|
+
self.anchor_units_metadata = attributes[:'anchorUnitsMetadata']
|
426
|
+
end
|
427
|
+
|
428
|
+
if attributes.has_key?(:'anchorXOffset')
|
429
|
+
self.anchor_x_offset = attributes[:'anchorXOffset']
|
430
|
+
end
|
431
|
+
|
432
|
+
if attributes.has_key?(:'anchorXOffsetMetadata')
|
433
|
+
self.anchor_x_offset_metadata = attributes[:'anchorXOffsetMetadata']
|
434
|
+
end
|
435
|
+
|
436
|
+
if attributes.has_key?(:'anchorYOffset')
|
437
|
+
self.anchor_y_offset = attributes[:'anchorYOffset']
|
438
|
+
end
|
439
|
+
|
440
|
+
if attributes.has_key?(:'anchorYOffsetMetadata')
|
441
|
+
self.anchor_y_offset_metadata = attributes[:'anchorYOffsetMetadata']
|
442
|
+
end
|
443
|
+
|
444
|
+
if attributes.has_key?(:'conditionalParentLabel')
|
445
|
+
self.conditional_parent_label = attributes[:'conditionalParentLabel']
|
446
|
+
end
|
447
|
+
|
448
|
+
if attributes.has_key?(:'conditionalParentLabelMetadata')
|
449
|
+
self.conditional_parent_label_metadata = attributes[:'conditionalParentLabelMetadata']
|
450
|
+
end
|
451
|
+
|
452
|
+
if attributes.has_key?(:'conditionalParentValue')
|
453
|
+
self.conditional_parent_value = attributes[:'conditionalParentValue']
|
454
|
+
end
|
455
|
+
|
456
|
+
if attributes.has_key?(:'conditionalParentValueMetadata')
|
457
|
+
self.conditional_parent_value_metadata = attributes[:'conditionalParentValueMetadata']
|
458
|
+
end
|
459
|
+
|
460
|
+
if attributes.has_key?(:'customTabId')
|
461
|
+
self.custom_tab_id = attributes[:'customTabId']
|
462
|
+
end
|
463
|
+
|
464
|
+
if attributes.has_key?(:'customTabIdMetadata')
|
465
|
+
self.custom_tab_id_metadata = attributes[:'customTabIdMetadata']
|
466
|
+
end
|
467
|
+
|
468
|
+
if attributes.has_key?(:'documentId')
|
469
|
+
self.document_id = attributes[:'documentId']
|
470
|
+
end
|
471
|
+
|
472
|
+
if attributes.has_key?(:'documentIdMetadata')
|
473
|
+
self.document_id_metadata = attributes[:'documentIdMetadata']
|
474
|
+
end
|
475
|
+
|
476
|
+
if attributes.has_key?(:'errorDetails')
|
477
|
+
self.error_details = attributes[:'errorDetails']
|
478
|
+
end
|
479
|
+
|
480
|
+
if attributes.has_key?(:'formOrder')
|
481
|
+
self.form_order = attributes[:'formOrder']
|
482
|
+
end
|
483
|
+
|
484
|
+
if attributes.has_key?(:'formOrderMetadata')
|
485
|
+
self.form_order_metadata = attributes[:'formOrderMetadata']
|
486
|
+
end
|
487
|
+
|
488
|
+
if attributes.has_key?(:'formPageLabel')
|
489
|
+
self.form_page_label = attributes[:'formPageLabel']
|
490
|
+
end
|
491
|
+
|
492
|
+
if attributes.has_key?(:'formPageLabelMetadata')
|
493
|
+
self.form_page_label_metadata = attributes[:'formPageLabelMetadata']
|
494
|
+
end
|
495
|
+
|
496
|
+
if attributes.has_key?(:'formPageNumber')
|
497
|
+
self.form_page_number = attributes[:'formPageNumber']
|
498
|
+
end
|
499
|
+
|
500
|
+
if attributes.has_key?(:'formPageNumberMetadata')
|
501
|
+
self.form_page_number_metadata = attributes[:'formPageNumberMetadata']
|
502
|
+
end
|
503
|
+
|
504
|
+
if attributes.has_key?(:'height')
|
505
|
+
self.height = attributes[:'height']
|
506
|
+
end
|
507
|
+
|
508
|
+
if attributes.has_key?(:'heightMetadata')
|
509
|
+
self.height_metadata = attributes[:'heightMetadata']
|
510
|
+
end
|
511
|
+
|
512
|
+
if attributes.has_key?(:'locked')
|
513
|
+
self.locked = attributes[:'locked']
|
514
|
+
end
|
515
|
+
|
516
|
+
if attributes.has_key?(:'lockedMetadata')
|
517
|
+
self.locked_metadata = attributes[:'lockedMetadata']
|
518
|
+
end
|
519
|
+
|
520
|
+
if attributes.has_key?(:'mergeField')
|
521
|
+
self.merge_field = attributes[:'mergeField']
|
522
|
+
end
|
523
|
+
|
524
|
+
if attributes.has_key?(:'mergeFieldXml')
|
525
|
+
self.merge_field_xml = attributes[:'mergeFieldXml']
|
526
|
+
end
|
527
|
+
|
528
|
+
if attributes.has_key?(:'pageNumber')
|
529
|
+
self.page_number = attributes[:'pageNumber']
|
530
|
+
end
|
531
|
+
|
532
|
+
if attributes.has_key?(:'pageNumberMetadata')
|
533
|
+
self.page_number_metadata = attributes[:'pageNumberMetadata']
|
534
|
+
end
|
535
|
+
|
536
|
+
if attributes.has_key?(:'recipientId')
|
537
|
+
self.recipient_id = attributes[:'recipientId']
|
538
|
+
end
|
539
|
+
|
540
|
+
if attributes.has_key?(:'recipientIdGuid')
|
541
|
+
self.recipient_id_guid = attributes[:'recipientIdGuid']
|
542
|
+
end
|
543
|
+
|
544
|
+
if attributes.has_key?(:'recipientIdGuidMetadata')
|
545
|
+
self.recipient_id_guid_metadata = attributes[:'recipientIdGuidMetadata']
|
546
|
+
end
|
547
|
+
|
548
|
+
if attributes.has_key?(:'recipientIdMetadata')
|
549
|
+
self.recipient_id_metadata = attributes[:'recipientIdMetadata']
|
550
|
+
end
|
551
|
+
|
552
|
+
if attributes.has_key?(:'required')
|
553
|
+
self.required = attributes[:'required']
|
554
|
+
end
|
555
|
+
|
556
|
+
if attributes.has_key?(:'requiredMetadata')
|
557
|
+
self.required_metadata = attributes[:'requiredMetadata']
|
558
|
+
end
|
559
|
+
|
560
|
+
if attributes.has_key?(:'smartContractInformation')
|
561
|
+
self.smart_contract_information = attributes[:'smartContractInformation']
|
562
|
+
end
|
563
|
+
|
564
|
+
if attributes.has_key?(:'status')
|
565
|
+
self.status = attributes[:'status']
|
566
|
+
end
|
567
|
+
|
568
|
+
if attributes.has_key?(:'statusMetadata')
|
569
|
+
self.status_metadata = attributes[:'statusMetadata']
|
570
|
+
end
|
571
|
+
|
572
|
+
if attributes.has_key?(:'tabGroupLabels')
|
573
|
+
if (value = attributes[:'tabGroupLabels']).is_a?(Array)
|
574
|
+
self.tab_group_labels = value
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
if attributes.has_key?(:'tabGroupLabelsMetadata')
|
579
|
+
self.tab_group_labels_metadata = attributes[:'tabGroupLabelsMetadata']
|
580
|
+
end
|
581
|
+
|
582
|
+
if attributes.has_key?(:'tabId')
|
583
|
+
self.tab_id = attributes[:'tabId']
|
584
|
+
end
|
585
|
+
|
586
|
+
if attributes.has_key?(:'tabIdMetadata')
|
587
|
+
self.tab_id_metadata = attributes[:'tabIdMetadata']
|
588
|
+
end
|
589
|
+
|
590
|
+
if attributes.has_key?(:'tabLabelMetadata')
|
591
|
+
self.tab_label_metadata = attributes[:'tabLabelMetadata']
|
592
|
+
end
|
593
|
+
|
594
|
+
if attributes.has_key?(:'tabOrder')
|
595
|
+
self.tab_order = attributes[:'tabOrder']
|
596
|
+
end
|
597
|
+
|
598
|
+
if attributes.has_key?(:'tabOrderMetadata')
|
599
|
+
self.tab_order_metadata = attributes[:'tabOrderMetadata']
|
600
|
+
end
|
601
|
+
|
602
|
+
if attributes.has_key?(:'tabType')
|
603
|
+
self.tab_type = attributes[:'tabType']
|
604
|
+
end
|
605
|
+
|
606
|
+
if attributes.has_key?(:'tabTypeMetadata')
|
607
|
+
self.tab_type_metadata = attributes[:'tabTypeMetadata']
|
608
|
+
end
|
609
|
+
|
610
|
+
if attributes.has_key?(:'templateLocked')
|
611
|
+
self.template_locked = attributes[:'templateLocked']
|
612
|
+
end
|
613
|
+
|
614
|
+
if attributes.has_key?(:'templateLockedMetadata')
|
615
|
+
self.template_locked_metadata = attributes[:'templateLockedMetadata']
|
616
|
+
end
|
617
|
+
|
618
|
+
if attributes.has_key?(:'templateRequired')
|
619
|
+
self.template_required = attributes[:'templateRequired']
|
620
|
+
end
|
621
|
+
|
622
|
+
if attributes.has_key?(:'templateRequiredMetadata')
|
623
|
+
self.template_required_metadata = attributes[:'templateRequiredMetadata']
|
624
|
+
end
|
625
|
+
|
626
|
+
if attributes.has_key?(:'tooltip')
|
627
|
+
self.tooltip = attributes[:'tooltip']
|
628
|
+
end
|
629
|
+
|
630
|
+
if attributes.has_key?(:'toolTipMetadata')
|
631
|
+
self.tool_tip_metadata = attributes[:'toolTipMetadata']
|
632
|
+
end
|
633
|
+
|
634
|
+
if attributes.has_key?(:'width')
|
635
|
+
self.width = attributes[:'width']
|
636
|
+
end
|
637
|
+
|
638
|
+
if attributes.has_key?(:'widthMetadata')
|
639
|
+
self.width_metadata = attributes[:'widthMetadata']
|
640
|
+
end
|
641
|
+
|
642
|
+
if attributes.has_key?(:'xPosition')
|
643
|
+
self.x_position = attributes[:'xPosition']
|
644
|
+
end
|
645
|
+
|
646
|
+
if attributes.has_key?(:'xPositionMetadata')
|
647
|
+
self.x_position_metadata = attributes[:'xPositionMetadata']
|
648
|
+
end
|
649
|
+
|
650
|
+
if attributes.has_key?(:'yPosition')
|
651
|
+
self.y_position = attributes[:'yPosition']
|
652
|
+
end
|
653
|
+
|
654
|
+
if attributes.has_key?(:'yPositionMetadata')
|
655
|
+
self.y_position_metadata = attributes[:'yPositionMetadata']
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
660
|
+
# @return Array for valid properties with the reasons
|
661
|
+
def list_invalid_properties
|
662
|
+
invalid_properties = Array.new
|
663
|
+
invalid_properties
|
664
|
+
end
|
665
|
+
|
666
|
+
# Check to see if the all the properties in the model are valid
|
667
|
+
# @return true if the model is valid
|
668
|
+
def valid?
|
669
|
+
true
|
670
|
+
end
|
671
|
+
|
672
|
+
# Checks equality by comparing each attribute.
|
673
|
+
# @param [Object] Object to be compared
|
674
|
+
def ==(o)
|
675
|
+
return true if self.equal?(o)
|
676
|
+
self.class == o.class &&
|
677
|
+
anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
|
678
|
+
anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
|
679
|
+
anchor_case_sensitive == o.anchor_case_sensitive &&
|
680
|
+
anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
|
681
|
+
anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
|
682
|
+
anchor_horizontal_alignment_metadata == o.anchor_horizontal_alignment_metadata &&
|
683
|
+
anchor_ignore_if_not_present == o.anchor_ignore_if_not_present &&
|
684
|
+
anchor_ignore_if_not_present_metadata == o.anchor_ignore_if_not_present_metadata &&
|
685
|
+
anchor_match_whole_word == o.anchor_match_whole_word &&
|
686
|
+
anchor_match_whole_word_metadata == o.anchor_match_whole_word_metadata &&
|
687
|
+
anchor_string == o.anchor_string &&
|
688
|
+
anchor_string_metadata == o.anchor_string_metadata &&
|
689
|
+
anchor_tab_processor_version == o.anchor_tab_processor_version &&
|
690
|
+
anchor_tab_processor_version_metadata == o.anchor_tab_processor_version_metadata &&
|
691
|
+
anchor_units == o.anchor_units &&
|
692
|
+
anchor_units_metadata == o.anchor_units_metadata &&
|
693
|
+
anchor_x_offset == o.anchor_x_offset &&
|
694
|
+
anchor_x_offset_metadata == o.anchor_x_offset_metadata &&
|
695
|
+
anchor_y_offset == o.anchor_y_offset &&
|
696
|
+
anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
|
697
|
+
conditional_parent_label == o.conditional_parent_label &&
|
698
|
+
conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
|
699
|
+
conditional_parent_value == o.conditional_parent_value &&
|
700
|
+
conditional_parent_value_metadata == o.conditional_parent_value_metadata &&
|
701
|
+
custom_tab_id == o.custom_tab_id &&
|
702
|
+
custom_tab_id_metadata == o.custom_tab_id_metadata &&
|
703
|
+
document_id == o.document_id &&
|
704
|
+
document_id_metadata == o.document_id_metadata &&
|
705
|
+
error_details == o.error_details &&
|
706
|
+
form_order == o.form_order &&
|
707
|
+
form_order_metadata == o.form_order_metadata &&
|
708
|
+
form_page_label == o.form_page_label &&
|
709
|
+
form_page_label_metadata == o.form_page_label_metadata &&
|
710
|
+
form_page_number == o.form_page_number &&
|
711
|
+
form_page_number_metadata == o.form_page_number_metadata &&
|
712
|
+
height == o.height &&
|
713
|
+
height_metadata == o.height_metadata &&
|
714
|
+
locked == o.locked &&
|
715
|
+
locked_metadata == o.locked_metadata &&
|
716
|
+
merge_field == o.merge_field &&
|
717
|
+
merge_field_xml == o.merge_field_xml &&
|
718
|
+
page_number == o.page_number &&
|
719
|
+
page_number_metadata == o.page_number_metadata &&
|
720
|
+
recipient_id == o.recipient_id &&
|
721
|
+
recipient_id_guid == o.recipient_id_guid &&
|
722
|
+
recipient_id_guid_metadata == o.recipient_id_guid_metadata &&
|
723
|
+
recipient_id_metadata == o.recipient_id_metadata &&
|
724
|
+
required == o.required &&
|
725
|
+
required_metadata == o.required_metadata &&
|
726
|
+
smart_contract_information == o.smart_contract_information &&
|
727
|
+
status == o.status &&
|
728
|
+
status_metadata == o.status_metadata &&
|
729
|
+
tab_group_labels == o.tab_group_labels &&
|
730
|
+
tab_group_labels_metadata == o.tab_group_labels_metadata &&
|
731
|
+
tab_id == o.tab_id &&
|
732
|
+
tab_id_metadata == o.tab_id_metadata &&
|
733
|
+
tab_label_metadata == o.tab_label_metadata &&
|
734
|
+
tab_order == o.tab_order &&
|
735
|
+
tab_order_metadata == o.tab_order_metadata &&
|
736
|
+
tab_type == o.tab_type &&
|
737
|
+
tab_type_metadata == o.tab_type_metadata &&
|
738
|
+
template_locked == o.template_locked &&
|
739
|
+
template_locked_metadata == o.template_locked_metadata &&
|
740
|
+
template_required == o.template_required &&
|
741
|
+
template_required_metadata == o.template_required_metadata &&
|
742
|
+
tooltip == o.tooltip &&
|
743
|
+
tool_tip_metadata == o.tool_tip_metadata &&
|
744
|
+
width == o.width &&
|
745
|
+
width_metadata == o.width_metadata &&
|
746
|
+
x_position == o.x_position &&
|
747
|
+
x_position_metadata == o.x_position_metadata &&
|
748
|
+
y_position == o.y_position &&
|
749
|
+
y_position_metadata == o.y_position_metadata
|
750
|
+
end
|
751
|
+
|
752
|
+
# @see the `==` method
|
753
|
+
# @param [Object] Object to be compared
|
754
|
+
def eql?(o)
|
755
|
+
self == o
|
756
|
+
end
|
757
|
+
|
758
|
+
# Calculates hash code according to all attributes.
|
759
|
+
# @return [Fixnum] Hash code
|
760
|
+
def hash
|
761
|
+
[anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
762
|
+
end
|
763
|
+
|
764
|
+
# Builds the object from hash
|
765
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
766
|
+
# @return [Object] Returns the model itself
|
767
|
+
def build_from_hash(attributes)
|
768
|
+
return nil unless attributes.is_a?(Hash)
|
769
|
+
self.class.swagger_types.each_pair do |key, type|
|
770
|
+
if type =~ /\AArray<(.*)>/i
|
771
|
+
# check to ensure the input is an array given that the attribute
|
772
|
+
# is documented as an array but the input is not
|
773
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
774
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
775
|
+
end
|
776
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
777
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
778
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
779
|
+
end
|
780
|
+
|
781
|
+
self
|
782
|
+
end
|
783
|
+
|
784
|
+
# Deserializes the data based on type
|
785
|
+
# @param string type Data type
|
786
|
+
# @param string value Value to be deserialized
|
787
|
+
# @return [Object] Deserialized data
|
788
|
+
def _deserialize(type, value)
|
789
|
+
case type.to_sym
|
790
|
+
when :DateTime
|
791
|
+
DateTime.parse(value)
|
792
|
+
when :Date
|
793
|
+
Date.parse(value)
|
794
|
+
when :String
|
795
|
+
value.to_s
|
796
|
+
when :Integer
|
797
|
+
value.to_i
|
798
|
+
when :Float
|
799
|
+
value.to_f
|
800
|
+
when :BOOLEAN
|
801
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
802
|
+
true
|
803
|
+
else
|
804
|
+
false
|
805
|
+
end
|
806
|
+
when :Object
|
807
|
+
# generic object (usually a Hash), return directly
|
808
|
+
value
|
809
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
810
|
+
inner_type = Regexp.last_match[:inner_type]
|
811
|
+
value.map { |v| _deserialize(inner_type, v) }
|
812
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
813
|
+
k_type = Regexp.last_match[:k_type]
|
814
|
+
v_type = Regexp.last_match[:v_type]
|
815
|
+
{}.tap do |hash|
|
816
|
+
value.each do |k, v|
|
817
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
818
|
+
end
|
819
|
+
end
|
820
|
+
else # model
|
821
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
822
|
+
temp_model.build_from_hash(value)
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
# Returns the string representation of the object
|
827
|
+
# @return [String] String presentation of the object
|
828
|
+
def to_s
|
829
|
+
to_hash.to_s
|
830
|
+
end
|
831
|
+
|
832
|
+
# to_body is an alias to to_hash (backward compatibility)
|
833
|
+
# @return [Hash] Returns the object in the form of hash
|
834
|
+
def to_body
|
835
|
+
to_hash
|
836
|
+
end
|
837
|
+
|
838
|
+
# Returns the object in the form of hash
|
839
|
+
# @return [Hash] Returns the object in the form of hash
|
840
|
+
def to_hash
|
841
|
+
hash = {}
|
842
|
+
self.class.attribute_map.each_pair do |attr, param|
|
843
|
+
value = self.send(attr)
|
844
|
+
next if value.nil?
|
845
|
+
hash[param] = _to_hash(value)
|
846
|
+
end
|
847
|
+
hash
|
848
|
+
end
|
849
|
+
|
850
|
+
# Outputs non-array value in the form of hash
|
851
|
+
# For object, use to_hash. Otherwise, just return the value
|
852
|
+
# @param [Object] value Any valid value
|
853
|
+
# @return [Hash] Returns the value in the form of hash
|
854
|
+
def _to_hash(value)
|
855
|
+
if value.is_a?(Array)
|
856
|
+
value.compact.map { |v| _to_hash(v) }
|
857
|
+
elsif value.is_a?(Hash)
|
858
|
+
{}.tap do |hash|
|
859
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
860
|
+
end
|
861
|
+
elsif value.respond_to? :to_hash
|
862
|
+
value.to_hash
|
863
|
+
else
|
864
|
+
value
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
end
|
869
|
+
end
|