docusign_esign 3.9.0.rc1 → 3.11.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/Gemfile.lock +23 -22
- data/docusign_esign-2.11.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +5 -26
- data/lib/docusign_esign/api/accounts_api.rb +0 -101
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +93 -0
- data/lib/docusign_esign/api/connect_api.rb +0 -196
- data/lib/docusign_esign/api/envelopes_api.rb +209 -1765
- data/lib/docusign_esign/api/trust_service_providers_api.rb +0 -232
- data/lib/docusign_esign/api/users_api.rb +45 -61
- data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
- data/lib/docusign_esign/models/account_settings_information.rb +58 -1
- data/lib/docusign_esign/models/account_ui_settings.rb +1 -11
- data/lib/docusign_esign/models/agent.rb +29 -1
- data/lib/docusign_esign/models/approve.rb +11 -1
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +11 -1
- data/lib/docusign_esign/models/carbon_copy.rb +29 -1
- data/lib/docusign_esign/models/certified_delivery.rb +29 -1
- data/lib/docusign_esign/models/checkbox.rb +11 -1
- data/lib/docusign_esign/models/comment_thread.rb +11 -1
- data/lib/docusign_esign/models/commission_county.rb +11 -1
- data/lib/docusign_esign/models/commission_expiration.rb +11 -1
- data/lib/docusign_esign/models/commission_number.rb +11 -1
- data/lib/docusign_esign/models/commission_state.rb +11 -1
- data/lib/docusign_esign/models/company.rb +11 -1
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +11 -1
- data/lib/docusign_esign/models/currency.rb +11 -1
- data/lib/docusign_esign/models/date.rb +11 -1
- data/lib/docusign_esign/models/date_signed.rb +11 -1
- data/lib/docusign_esign/models/decline.rb +11 -1
- data/lib/docusign_esign/models/draw.rb +11 -1
- data/lib/docusign_esign/models/editor.rb +29 -1
- data/lib/docusign_esign/models/email.rb +11 -1
- data/lib/docusign_esign/models/email_address.rb +11 -1
- data/lib/docusign_esign/models/envelope.rb +11 -1
- data/lib/docusign_esign/models/envelope_definition.rb +20 -1
- data/lib/docusign_esign/models/envelope_document.rb +11 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +2 -5
- data/lib/docusign_esign/models/envelope_form_data_prefill_form_data.rb +186 -0
- data/lib/docusign_esign/models/envelope_id.rb +11 -1
- data/lib/docusign_esign/models/envelope_summary.rb +21 -1
- data/lib/docusign_esign/models/envelope_template.rb +11 -1
- data/lib/docusign_esign/models/external_file.rb +21 -1
- data/lib/docusign_esign/models/first_name.rb +11 -1
- data/lib/docusign_esign/models/form_data_item.rb +11 -1
- data/lib/docusign_esign/models/formula_tab.rb +11 -1
- data/lib/docusign_esign/models/full_name.rb +11 -1
- data/lib/docusign_esign/models/in_person_signer.rb +11 -1
- data/lib/docusign_esign/models/initial_here.rb +21 -1
- data/lib/docusign_esign/models/intermediary.rb +29 -1
- data/lib/docusign_esign/models/last_name.rb +11 -1
- data/lib/docusign_esign/models/list.rb +11 -1
- data/lib/docusign_esign/models/notarize.rb +11 -1
- data/lib/docusign_esign/models/notary_host.rb +11 -1
- data/lib/docusign_esign/models/notary_recipient.rb +29 -1
- data/lib/docusign_esign/models/notary_seal.rb +11 -1
- data/lib/docusign_esign/models/note.rb +11 -1
- data/lib/docusign_esign/models/number.rb +11 -1
- data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
- data/lib/docusign_esign/models/phone_number.rb +11 -1
- data/lib/docusign_esign/models/poly_line_overlay.rb +11 -1
- data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
- data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
- data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
- data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
- data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_get.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +161 -1
- data/lib/docusign_esign/models/seal_sign.rb +11 -1
- data/lib/docusign_esign/models/sender_company.rb +1011 -0
- data/lib/docusign_esign/models/sender_name.rb +1011 -0
- data/lib/docusign_esign/models/sign_here.rb +21 -1
- data/lib/docusign_esign/models/signer.rb +29 -1
- data/lib/docusign_esign/models/signer_attachment.rb +21 -1
- data/lib/docusign_esign/models/smart_section.rb +11 -1
- data/lib/docusign_esign/models/ssn.rb +11 -1
- data/lib/docusign_esign/models/tab_group.rb +11 -1
- data/lib/docusign_esign/models/tabs.rb +1 -1
- data/lib/docusign_esign/models/template_tabs.rb +1 -1
- data/lib/docusign_esign/models/text.rb +11 -1
- data/lib/docusign_esign/models/title.rb +11 -1
- data/lib/docusign_esign/models/view.rb +11 -1
- data/lib/docusign_esign/models/witness.rb +29 -1
- data/lib/docusign_esign/models/zip.rb +11 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +6 -6
- data/tests/spec/unit_tests_using_jwt_spec.rb +58 -0
- metadata +8 -2
@@ -36,6 +36,9 @@ module DocuSign_eSign
|
|
36
36
|
#
|
37
37
|
attr_accessor :auto_navigation
|
38
38
|
|
39
|
+
#
|
40
|
+
attr_accessor :auto_responded_reason
|
41
|
+
|
39
42
|
# Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.
|
40
43
|
attr_accessor :bulk_recipients_uri
|
41
44
|
|
@@ -164,6 +167,10 @@ module DocuSign_eSign
|
|
164
167
|
|
165
168
|
attr_accessor :phone_authentication
|
166
169
|
|
170
|
+
attr_accessor :phone_number
|
171
|
+
|
172
|
+
attr_accessor :phone_number_metadata
|
173
|
+
|
167
174
|
attr_accessor :proof_file
|
168
175
|
|
169
176
|
# Reserved:
|
@@ -276,6 +283,7 @@ module DocuSign_eSign
|
|
276
283
|
:'agent_can_edit_name' => :'agentCanEditName',
|
277
284
|
:'allow_system_override_for_locked_recipient' => :'allowSystemOverrideForLockedRecipient',
|
278
285
|
:'auto_navigation' => :'autoNavigation',
|
286
|
+
:'auto_responded_reason' => :'autoRespondedReason',
|
279
287
|
:'bulk_recipients_uri' => :'bulkRecipientsUri',
|
280
288
|
:'can_sign_offline' => :'canSignOffline',
|
281
289
|
:'client_user_id' => :'clientUserId',
|
@@ -324,6 +332,8 @@ module DocuSign_eSign
|
|
324
332
|
:'note_metadata' => :'noteMetadata',
|
325
333
|
:'offline_attributes' => :'offlineAttributes',
|
326
334
|
:'phone_authentication' => :'phoneAuthentication',
|
335
|
+
:'phone_number' => :'phoneNumber',
|
336
|
+
:'phone_number_metadata' => :'phoneNumberMetadata',
|
327
337
|
:'proof_file' => :'proofFile',
|
328
338
|
:'recipient_attachments' => :'recipientAttachments',
|
329
339
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
@@ -375,6 +385,7 @@ module DocuSign_eSign
|
|
375
385
|
:'agent_can_edit_name' => :'String',
|
376
386
|
:'allow_system_override_for_locked_recipient' => :'String',
|
377
387
|
:'auto_navigation' => :'String',
|
388
|
+
:'auto_responded_reason' => :'String',
|
378
389
|
:'bulk_recipients_uri' => :'String',
|
379
390
|
:'can_sign_offline' => :'String',
|
380
391
|
:'client_user_id' => :'String',
|
@@ -423,6 +434,8 @@ module DocuSign_eSign
|
|
423
434
|
:'note_metadata' => :'PropertyMetadata',
|
424
435
|
:'offline_attributes' => :'OfflineAttributes',
|
425
436
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
437
|
+
:'phone_number' => :'RecipientPhoneNumber',
|
438
|
+
:'phone_number_metadata' => :'PropertyMetadata',
|
426
439
|
:'proof_file' => :'RecipientProofFile',
|
427
440
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
428
441
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
@@ -505,6 +518,10 @@ module DocuSign_eSign
|
|
505
518
|
self.auto_navigation = attributes[:'autoNavigation']
|
506
519
|
end
|
507
520
|
|
521
|
+
if attributes.has_key?(:'autoRespondedReason')
|
522
|
+
self.auto_responded_reason = attributes[:'autoRespondedReason']
|
523
|
+
end
|
524
|
+
|
508
525
|
if attributes.has_key?(:'bulkRecipientsUri')
|
509
526
|
self.bulk_recipients_uri = attributes[:'bulkRecipientsUri']
|
510
527
|
end
|
@@ -705,6 +722,14 @@ module DocuSign_eSign
|
|
705
722
|
self.phone_authentication = attributes[:'phoneAuthentication']
|
706
723
|
end
|
707
724
|
|
725
|
+
if attributes.has_key?(:'phoneNumber')
|
726
|
+
self.phone_number = attributes[:'phoneNumber']
|
727
|
+
end
|
728
|
+
|
729
|
+
if attributes.has_key?(:'phoneNumberMetadata')
|
730
|
+
self.phone_number_metadata = attributes[:'phoneNumberMetadata']
|
731
|
+
end
|
732
|
+
|
708
733
|
if attributes.has_key?(:'proofFile')
|
709
734
|
self.proof_file = attributes[:'proofFile']
|
710
735
|
end
|
@@ -890,6 +915,7 @@ module DocuSign_eSign
|
|
890
915
|
agent_can_edit_name == o.agent_can_edit_name &&
|
891
916
|
allow_system_override_for_locked_recipient == o.allow_system_override_for_locked_recipient &&
|
892
917
|
auto_navigation == o.auto_navigation &&
|
918
|
+
auto_responded_reason == o.auto_responded_reason &&
|
893
919
|
bulk_recipients_uri == o.bulk_recipients_uri &&
|
894
920
|
can_sign_offline == o.can_sign_offline &&
|
895
921
|
client_user_id == o.client_user_id &&
|
@@ -938,6 +964,8 @@ module DocuSign_eSign
|
|
938
964
|
note_metadata == o.note_metadata &&
|
939
965
|
offline_attributes == o.offline_attributes &&
|
940
966
|
phone_authentication == o.phone_authentication &&
|
967
|
+
phone_number == o.phone_number &&
|
968
|
+
phone_number_metadata == o.phone_number_metadata &&
|
941
969
|
proof_file == o.proof_file &&
|
942
970
|
recipient_attachments == o.recipient_attachments &&
|
943
971
|
recipient_authentication_status == o.recipient_authentication_status &&
|
@@ -986,7 +1014,7 @@ module DocuSign_eSign
|
|
986
1014
|
# Calculates hash code according to all attributes.
|
987
1015
|
# @return [Fixnum] Hash code
|
988
1016
|
def hash
|
989
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, bulk_recipients_uri, 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, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
1017
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, 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, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number, phone_number_metadata, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
990
1018
|
end
|
991
1019
|
|
992
1020
|
# Builds the object from hash
|
@@ -137,6 +137,9 @@ module DocuSign_eSign
|
|
137
137
|
|
138
138
|
attr_accessor :smart_contract_information
|
139
139
|
|
140
|
+
#
|
141
|
+
attr_accessor :source
|
142
|
+
|
140
143
|
# 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.
|
141
144
|
attr_accessor :status
|
142
145
|
|
@@ -250,6 +253,7 @@ module DocuSign_eSign
|
|
250
253
|
:'scale_value' => :'scaleValue',
|
251
254
|
:'scale_value_metadata' => :'scaleValueMetadata',
|
252
255
|
:'smart_contract_information' => :'smartContractInformation',
|
256
|
+
:'source' => :'source',
|
253
257
|
:'status' => :'status',
|
254
258
|
:'status_metadata' => :'statusMetadata',
|
255
259
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -330,6 +334,7 @@ module DocuSign_eSign
|
|
330
334
|
:'scale_value' => :'String',
|
331
335
|
:'scale_value_metadata' => :'PropertyMetadata',
|
332
336
|
:'smart_contract_information' => :'SmartContractInformation',
|
337
|
+
:'source' => :'String',
|
333
338
|
:'status' => :'String',
|
334
339
|
:'status_metadata' => :'PropertyMetadata',
|
335
340
|
:'tab_group_labels' => :'Array<String>',
|
@@ -565,6 +570,10 @@ module DocuSign_eSign
|
|
565
570
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
566
571
|
end
|
567
572
|
|
573
|
+
if attributes.has_key?(:'source')
|
574
|
+
self.source = attributes[:'source']
|
575
|
+
end
|
576
|
+
|
568
577
|
if attributes.has_key?(:'status')
|
569
578
|
self.status = attributes[:'status']
|
570
579
|
end
|
@@ -732,6 +741,7 @@ module DocuSign_eSign
|
|
732
741
|
scale_value == o.scale_value &&
|
733
742
|
scale_value_metadata == o.scale_value_metadata &&
|
734
743
|
smart_contract_information == o.smart_contract_information &&
|
744
|
+
source == o.source &&
|
735
745
|
status == o.status &&
|
736
746
|
status_metadata == o.status_metadata &&
|
737
747
|
tab_group_labels == o.tab_group_labels &&
|
@@ -767,7 +777,7 @@ module DocuSign_eSign
|
|
767
777
|
# Calculates hash code according to all attributes.
|
768
778
|
# @return [Fixnum] Hash code
|
769
779
|
def hash
|
770
|
-
[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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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
|
780
|
+
[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, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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
|
771
781
|
end
|
772
782
|
|
773
783
|
# Builds the object from hash
|
@@ -164,6 +164,9 @@ module DocuSign_eSign
|
|
164
164
|
|
165
165
|
attr_accessor :smart_contract_information
|
166
166
|
|
167
|
+
#
|
168
|
+
attr_accessor :source
|
169
|
+
|
167
170
|
# 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.
|
168
171
|
attr_accessor :status
|
169
172
|
|
@@ -298,6 +301,7 @@ module DocuSign_eSign
|
|
298
301
|
:'shared' => :'shared',
|
299
302
|
:'shared_metadata' => :'sharedMetadata',
|
300
303
|
:'smart_contract_information' => :'smartContractInformation',
|
304
|
+
:'source' => :'source',
|
301
305
|
:'status' => :'status',
|
302
306
|
:'status_metadata' => :'statusMetadata',
|
303
307
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -393,6 +397,7 @@ module DocuSign_eSign
|
|
393
397
|
:'shared' => :'String',
|
394
398
|
:'shared_metadata' => :'PropertyMetadata',
|
395
399
|
:'smart_contract_information' => :'SmartContractInformation',
|
400
|
+
:'source' => :'String',
|
396
401
|
:'status' => :'String',
|
397
402
|
:'status_metadata' => :'PropertyMetadata',
|
398
403
|
:'tab_group_labels' => :'Array<String>',
|
@@ -676,6 +681,10 @@ module DocuSign_eSign
|
|
676
681
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
677
682
|
end
|
678
683
|
|
684
|
+
if attributes.has_key?(:'source')
|
685
|
+
self.source = attributes[:'source']
|
686
|
+
end
|
687
|
+
|
679
688
|
if attributes.has_key?(:'status')
|
680
689
|
self.status = attributes[:'status']
|
681
690
|
end
|
@@ -870,6 +879,7 @@ module DocuSign_eSign
|
|
870
879
|
shared == o.shared &&
|
871
880
|
shared_metadata == o.shared_metadata &&
|
872
881
|
smart_contract_information == o.smart_contract_information &&
|
882
|
+
source == o.source &&
|
873
883
|
status == o.status &&
|
874
884
|
status_metadata == o.status_metadata &&
|
875
885
|
tab_group_labels == o.tab_group_labels &&
|
@@ -909,7 +919,7 @@ module DocuSign_eSign
|
|
909
919
|
# Calculates hash code according to all attributes.
|
910
920
|
# @return [Fixnum] Hash code
|
911
921
|
def hash
|
912
|
-
[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, bold, bold_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, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, shared, shared_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
922
|
+
[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, bold, bold_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, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, merge_field, merge_field_xml, name, name_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, shared, shared_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
913
923
|
end
|
914
924
|
|
915
925
|
# Builds the object from hash
|
@@ -219,6 +219,9 @@ module DocuSign_eSign
|
|
219
219
|
|
220
220
|
attr_accessor :smart_contract_information
|
221
221
|
|
222
|
+
#
|
223
|
+
attr_accessor :source
|
224
|
+
|
222
225
|
# 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.
|
223
226
|
attr_accessor :status
|
224
227
|
|
@@ -385,6 +388,7 @@ module DocuSign_eSign
|
|
385
388
|
:'shared' => :'shared',
|
386
389
|
:'shared_metadata' => :'sharedMetadata',
|
387
390
|
:'smart_contract_information' => :'smartContractInformation',
|
391
|
+
:'source' => :'source',
|
388
392
|
:'status' => :'status',
|
389
393
|
:'status_metadata' => :'statusMetadata',
|
390
394
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -506,6 +510,7 @@ module DocuSign_eSign
|
|
506
510
|
:'shared' => :'String',
|
507
511
|
:'shared_metadata' => :'PropertyMetadata',
|
508
512
|
:'smart_contract_information' => :'SmartContractInformation',
|
513
|
+
:'source' => :'String',
|
509
514
|
:'status' => :'String',
|
510
515
|
:'status_metadata' => :'PropertyMetadata',
|
511
516
|
:'tab_group_labels' => :'Array<String>',
|
@@ -881,6 +886,10 @@ module DocuSign_eSign
|
|
881
886
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
882
887
|
end
|
883
888
|
|
889
|
+
if attributes.has_key?(:'source')
|
890
|
+
self.source = attributes[:'source']
|
891
|
+
end
|
892
|
+
|
884
893
|
if attributes.has_key?(:'status')
|
885
894
|
self.status = attributes[:'status']
|
886
895
|
end
|
@@ -1113,6 +1122,7 @@ module DocuSign_eSign
|
|
1113
1122
|
shared == o.shared &&
|
1114
1123
|
shared_metadata == o.shared_metadata &&
|
1115
1124
|
smart_contract_information == o.smart_contract_information &&
|
1125
|
+
source == o.source &&
|
1116
1126
|
status == o.status &&
|
1117
1127
|
status_metadata == o.status_metadata &&
|
1118
1128
|
tab_group_labels == o.tab_group_labels &&
|
@@ -1156,7 +1166,7 @@ module DocuSign_eSign
|
|
1156
1166
|
# Calculates hash code according to all attributes.
|
1157
1167
|
# @return [Fixnum] Hash code
|
1158
1168
|
def hash
|
1159
|
-
[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, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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, underline, underline_metadata, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1169
|
+
[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, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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, underline, underline_metadata, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1160
1170
|
end
|
1161
1171
|
|
1162
1172
|
# Builds the object from hash
|
@@ -13,6 +13,9 @@ require 'date'
|
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
15
|
class PaymentMethodWithOptions
|
16
|
+
#
|
17
|
+
attr_accessor :supported_currencies
|
18
|
+
|
16
19
|
#
|
17
20
|
attr_accessor :supported_options
|
18
21
|
|
@@ -22,6 +25,7 @@ module DocuSign_eSign
|
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
28
|
+
:'supported_currencies' => :'supportedCurrencies',
|
25
29
|
:'supported_options' => :'supportedOptions',
|
26
30
|
:'type' => :'type'
|
27
31
|
}
|
@@ -30,6 +34,7 @@ module DocuSign_eSign
|
|
30
34
|
# Attribute type mapping.
|
31
35
|
def self.swagger_types
|
32
36
|
{
|
37
|
+
:'supported_currencies' => :'Array<String>',
|
33
38
|
:'supported_options' => :'Array<String>',
|
34
39
|
:'type' => :'String'
|
35
40
|
}
|
@@ -43,6 +48,12 @@ module DocuSign_eSign
|
|
43
48
|
# convert string to symbol for hash key
|
44
49
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
50
|
|
51
|
+
if attributes.has_key?(:'supportedCurrencies')
|
52
|
+
if (value = attributes[:'supportedCurrencies']).is_a?(Array)
|
53
|
+
self.supported_currencies = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
46
57
|
if attributes.has_key?(:'supportedOptions')
|
47
58
|
if (value = attributes[:'supportedOptions']).is_a?(Array)
|
48
59
|
self.supported_options = value
|
@@ -72,6 +83,7 @@ module DocuSign_eSign
|
|
72
83
|
def ==(o)
|
73
84
|
return true if self.equal?(o)
|
74
85
|
self.class == o.class &&
|
86
|
+
supported_currencies == o.supported_currencies &&
|
75
87
|
supported_options == o.supported_options &&
|
76
88
|
type == o.type
|
77
89
|
end
|
@@ -85,7 +97,7 @@ module DocuSign_eSign
|
|
85
97
|
# Calculates hash code according to all attributes.
|
86
98
|
# @return [Fixnum] Hash code
|
87
99
|
def hash
|
88
|
-
[supported_options, type].hash
|
100
|
+
[supported_currencies, supported_options, type].hash
|
89
101
|
end
|
90
102
|
|
91
103
|
# Builds the object from hash
|
@@ -189,6 +189,9 @@ module DocuSign_eSign
|
|
189
189
|
|
190
190
|
attr_accessor :smart_contract_information
|
191
191
|
|
192
|
+
#
|
193
|
+
attr_accessor :source
|
194
|
+
|
192
195
|
# 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.
|
193
196
|
attr_accessor :status
|
194
197
|
|
@@ -333,6 +336,7 @@ module DocuSign_eSign
|
|
333
336
|
:'required' => :'required',
|
334
337
|
:'required_metadata' => :'requiredMetadata',
|
335
338
|
:'smart_contract_information' => :'smartContractInformation',
|
339
|
+
:'source' => :'source',
|
336
340
|
:'status' => :'status',
|
337
341
|
:'status_metadata' => :'statusMetadata',
|
338
342
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -438,6 +442,7 @@ module DocuSign_eSign
|
|
438
442
|
:'required' => :'String',
|
439
443
|
:'required_metadata' => :'PropertyMetadata',
|
440
444
|
:'smart_contract_information' => :'SmartContractInformation',
|
445
|
+
:'source' => :'String',
|
441
446
|
:'status' => :'String',
|
442
447
|
:'status_metadata' => :'PropertyMetadata',
|
443
448
|
:'tab_group_labels' => :'Array<String>',
|
@@ -761,6 +766,10 @@ module DocuSign_eSign
|
|
761
766
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
762
767
|
end
|
763
768
|
|
769
|
+
if attributes.has_key?(:'source')
|
770
|
+
self.source = attributes[:'source']
|
771
|
+
end
|
772
|
+
|
764
773
|
if attributes.has_key?(:'status')
|
765
774
|
self.status = attributes[:'status']
|
766
775
|
end
|
@@ -965,6 +974,7 @@ module DocuSign_eSign
|
|
965
974
|
required == o.required &&
|
966
975
|
required_metadata == o.required_metadata &&
|
967
976
|
smart_contract_information == o.smart_contract_information &&
|
977
|
+
source == o.source &&
|
968
978
|
status == o.status &&
|
969
979
|
status_metadata == o.status_metadata &&
|
970
980
|
tab_group_labels == o.tab_group_labels &&
|
@@ -1004,7 +1014,7 @@ module DocuSign_eSign
|
|
1004
1014
|
# Calculates hash code according to all attributes.
|
1005
1015
|
# @return [Fixnum] Hash code
|
1006
1016
|
def hash
|
1007
|
-
[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, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, 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, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1017
|
+
[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, bold, bold_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1008
1018
|
end
|
1009
1019
|
|
1010
1020
|
# Builds the object from hash
|
@@ -147,6 +147,9 @@ module DocuSign_eSign
|
|
147
147
|
|
148
148
|
attr_accessor :smart_contract_information
|
149
149
|
|
150
|
+
#
|
151
|
+
attr_accessor :source
|
152
|
+
|
150
153
|
# 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.
|
151
154
|
attr_accessor :status
|
152
155
|
|
@@ -262,6 +265,7 @@ module DocuSign_eSign
|
|
262
265
|
:'shared' => :'shared',
|
263
266
|
:'shared_metadata' => :'sharedMetadata',
|
264
267
|
:'smart_contract_information' => :'smartContractInformation',
|
268
|
+
:'source' => :'source',
|
265
269
|
:'status' => :'status',
|
266
270
|
:'status_metadata' => :'statusMetadata',
|
267
271
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -345,6 +349,7 @@ module DocuSign_eSign
|
|
345
349
|
:'shared' => :'String',
|
346
350
|
:'shared_metadata' => :'PropertyMetadata',
|
347
351
|
:'smart_contract_information' => :'SmartContractInformation',
|
352
|
+
:'source' => :'String',
|
348
353
|
:'status' => :'String',
|
349
354
|
:'status_metadata' => :'PropertyMetadata',
|
350
355
|
:'tab_group_labels' => :'Array<String>',
|
@@ -597,6 +602,10 @@ module DocuSign_eSign
|
|
597
602
|
self.smart_contract_information = attributes[:'smartContractInformation']
|
598
603
|
end
|
599
604
|
|
605
|
+
if attributes.has_key?(:'source')
|
606
|
+
self.source = attributes[:'source']
|
607
|
+
end
|
608
|
+
|
600
609
|
if attributes.has_key?(:'status')
|
601
610
|
self.status = attributes[:'status']
|
602
611
|
end
|
@@ -764,6 +773,7 @@ module DocuSign_eSign
|
|
764
773
|
shared == o.shared &&
|
765
774
|
shared_metadata == o.shared_metadata &&
|
766
775
|
smart_contract_information == o.smart_contract_information &&
|
776
|
+
source == o.source &&
|
767
777
|
status == o.status &&
|
768
778
|
status_metadata == o.status_metadata &&
|
769
779
|
tab_group_labels == o.tab_group_labels &&
|
@@ -798,7 +808,7 @@ module DocuSign_eSign
|
|
798
808
|
# Calculates hash code according to all attributes.
|
799
809
|
# @return [Fixnum] Hash code
|
800
810
|
def hash
|
801
|
-
[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, graphics_context, height, height_metadata, locked, locked_metadata, merge_field, merge_field_xml, overlay_type, overlay_type_metadata, page_number, page_number_metadata, poly_lines, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, shared, shared_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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
|
811
|
+
[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, graphics_context, height, height_metadata, locked, locked_metadata, merge_field, merge_field_xml, overlay_type, overlay_type_metadata, page_number, page_number_metadata, poly_lines, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, shared, shared_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, 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
|
802
812
|
end
|
803
813
|
|
804
814
|
# Builds the object from hash
|
@@ -0,0 +1,216 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.1
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_eSign
|
15
|
+
class PrefillFormData
|
16
|
+
#
|
17
|
+
attr_accessor :form_data
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :sender_email
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :sender_name
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :sender_user_id
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'form_data' => :'formData',
|
32
|
+
:'sender_email' => :'senderEmail',
|
33
|
+
:'sender_name' => :'senderName',
|
34
|
+
:'sender_user_id' => :'senderUserId'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
:'form_data' => :'Array<FormDataItem>',
|
42
|
+
:'sender_email' => :'String',
|
43
|
+
:'sender_name' => :'String',
|
44
|
+
:'sender_user_id' => :'String'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
return unless attributes.is_a?(Hash)
|
52
|
+
|
53
|
+
# convert string to symbol for hash key
|
54
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
55
|
+
|
56
|
+
if attributes.has_key?(:'formData')
|
57
|
+
if (value = attributes[:'formData']).is_a?(Array)
|
58
|
+
self.form_data = value
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'senderEmail')
|
63
|
+
self.sender_email = attributes[:'senderEmail']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'senderName')
|
67
|
+
self.sender_name = attributes[:'senderName']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'senderUserId')
|
71
|
+
self.sender_user_id = attributes[:'senderUserId']
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
76
|
+
# @return Array for valid properties with the reasons
|
77
|
+
def list_invalid_properties
|
78
|
+
invalid_properties = Array.new
|
79
|
+
invalid_properties
|
80
|
+
end
|
81
|
+
|
82
|
+
# Check to see if the all the properties in the model are valid
|
83
|
+
# @return true if the model is valid
|
84
|
+
def valid?
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
form_data == o.form_data &&
|
94
|
+
sender_email == o.sender_email &&
|
95
|
+
sender_name == o.sender_name &&
|
96
|
+
sender_user_id == o.sender_user_id
|
97
|
+
end
|
98
|
+
|
99
|
+
# @see the `==` method
|
100
|
+
# @param [Object] Object to be compared
|
101
|
+
def eql?(o)
|
102
|
+
self == o
|
103
|
+
end
|
104
|
+
|
105
|
+
# Calculates hash code according to all attributes.
|
106
|
+
# @return [Fixnum] Hash code
|
107
|
+
def hash
|
108
|
+
[form_data, sender_email, sender_name, sender_user_id].hash
|
109
|
+
end
|
110
|
+
|
111
|
+
# Builds the object from hash
|
112
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
113
|
+
# @return [Object] Returns the model itself
|
114
|
+
def build_from_hash(attributes)
|
115
|
+
return nil unless attributes.is_a?(Hash)
|
116
|
+
self.class.swagger_types.each_pair do |key, type|
|
117
|
+
if type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
121
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
122
|
+
end
|
123
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
124
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
125
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
126
|
+
end
|
127
|
+
|
128
|
+
self
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def _deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :DateTime
|
138
|
+
DateTime.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :BOOLEAN
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
169
|
+
temp_model.build_from_hash(value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the string representation of the object
|
174
|
+
# @return [String] String presentation of the object
|
175
|
+
def to_s
|
176
|
+
to_hash.to_s
|
177
|
+
end
|
178
|
+
|
179
|
+
# to_body is an alias to to_hash (backward compatibility)
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_body
|
182
|
+
to_hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns the object in the form of hash
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_hash
|
188
|
+
hash = {}
|
189
|
+
self.class.attribute_map.each_pair do |attr, param|
|
190
|
+
value = self.send(attr)
|
191
|
+
next if value.nil?
|
192
|
+
hash[param] = _to_hash(value)
|
193
|
+
end
|
194
|
+
hash
|
195
|
+
end
|
196
|
+
|
197
|
+
# Outputs non-array value in the form of hash
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
199
|
+
# @param [Object] value Any valid value
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
201
|
+
def _to_hash(value)
|
202
|
+
if value.is_a?(Array)
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
204
|
+
elsif value.is_a?(Hash)
|
205
|
+
{}.tap do |hash|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
207
|
+
end
|
208
|
+
elsif value.respond_to? :to_hash
|
209
|
+
value.to_hash
|
210
|
+
else
|
211
|
+
value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
216
|
+
end
|