docusign_esign 3.7.0.rc1 → 3.8.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -9
- data/docusign_esign-2.8.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +29 -1
- data/lib/docusign_esign/api/accounts_api.rb +65 -8
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +22 -298
- data/lib/docusign_esign/api/connect_api.rb +196 -0
- data/lib/docusign_esign/api/envelopes_api.rb +1502 -78
- data/lib/docusign_esign/api/groups_api.rb +9 -9
- data/lib/docusign_esign/api/trust_service_providers_api.rb +232 -0
- data/lib/docusign_esign/api/users_api.rb +52 -0
- data/lib/docusign_esign/models/account_billing_plan.rb +11 -1
- data/lib/docusign_esign/models/account_information.rb +34 -4
- data/lib/docusign_esign/models/account_settings_information.rb +134 -1
- data/lib/docusign_esign/models/account_ui_settings.rb +20 -1
- data/lib/docusign_esign/models/bulk_send_batch_request.rb +184 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +21 -1
- data/lib/docusign_esign/models/complete_sign_hash_response.rb +7 -11
- data/lib/docusign_esign/models/complete_sign_request.rb +7 -11
- data/lib/docusign_esign/models/credential.rb +7 -11
- data/lib/docusign_esign/models/display_appliance_account.rb +224 -0
- data/lib/docusign_esign/models/display_appliance_info.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_pdf.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +174 -0
- data/lib/docusign_esign/models/document.rb +11 -1
- data/lib/docusign_esign/models/document_security_store.rb +7 -11
- data/lib/docusign_esign/models/document_update_info.rb +7 -11
- data/lib/docusign_esign/models/envelope_form_data.rb +13 -1
- data/lib/docusign_esign/models/external_claim.rb +7 -11
- data/lib/docusign_esign/models/group_brands.rb +207 -0
- data/lib/docusign_esign/models/payment_details.rb +10 -1
- data/lib/docusign_esign/models/payment_signer_values.rb +184 -0
- data/lib/docusign_esign/models/prefill_tabs.rb +222 -0
- data/lib/docusign_esign/models/revision.rb +7 -11
- data/lib/docusign_esign/models/seal.rb +8 -12
- data/lib/docusign_esign/models/sender.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_document.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_session_info_response.rb +7 -11
- data/lib/docusign_esign/models/sign_session_info_request.rb +7 -11
- data/lib/docusign_esign/models/signature_data_info.rb +7 -11
- data/lib/docusign_esign/models/signature_properties.rb +7 -11
- data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
- data/lib/docusign_esign/models/tabs.rb +10 -1
- data/lib/docusign_esign/models/template_tabs.rb +10 -1
- data/lib/docusign_esign/models/time_stamp_field.rb +7 -11
- data/lib/docusign_esign/models/tsp_health_check_request.rb +7 -11
- data/lib/docusign_esign/models/tsp_health_check_status_description.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_request.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_response.rb +7 -11
- data/lib/docusign_esign/models/user.rb +7 -11
- data/lib/docusign_esign/models/user_info_response.rb +7 -11
- data/lib/docusign_esign/models/user_information.rb +11 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +9 -5
- metadata +11 -2
@@ -191,6 +191,16 @@ module DocuSign_eSign
|
|
191
191
|
|
192
192
|
attr_accessor :allow_idv_level1_metadata
|
193
193
|
|
194
|
+
#
|
195
|
+
attr_accessor :allow_idv_level2
|
196
|
+
|
197
|
+
attr_accessor :allow_idv_level2_metadata
|
198
|
+
|
199
|
+
#
|
200
|
+
attr_accessor :allow_idv_level3
|
201
|
+
|
202
|
+
attr_accessor :allow_idv_level3_metadata
|
203
|
+
|
194
204
|
#
|
195
205
|
attr_accessor :allow_idv_platform
|
196
206
|
|
@@ -281,6 +291,11 @@ module DocuSign_eSign
|
|
281
291
|
|
282
292
|
attr_accessor :allow_private_signing_groups_metadata
|
283
293
|
|
294
|
+
#
|
295
|
+
attr_accessor :allow_recipient_connect
|
296
|
+
|
297
|
+
attr_accessor :allow_recipient_connect_metadata
|
298
|
+
|
284
299
|
#
|
285
300
|
attr_accessor :allow_reminders
|
286
301
|
|
@@ -361,6 +376,11 @@ module DocuSign_eSign
|
|
361
376
|
|
362
377
|
attr_accessor :allow_signing_groups_metadata
|
363
378
|
|
379
|
+
#
|
380
|
+
attr_accessor :allow_signing_insights
|
381
|
+
|
382
|
+
attr_accessor :allow_signing_insights_metadata
|
383
|
+
|
364
384
|
#
|
365
385
|
attr_accessor :allow_signing_radio_deselect
|
366
386
|
|
@@ -517,6 +537,11 @@ module DocuSign_eSign
|
|
517
537
|
|
518
538
|
attr_accessor :data_population_scope_metadata
|
519
539
|
|
540
|
+
#
|
541
|
+
attr_accessor :disable_auto_template_matching
|
542
|
+
|
543
|
+
attr_accessor :disable_auto_template_matching_metadata
|
544
|
+
|
520
545
|
#
|
521
546
|
attr_accessor :disable_mobile_app
|
522
547
|
|
@@ -657,6 +682,11 @@ module DocuSign_eSign
|
|
657
682
|
|
658
683
|
attr_accessor :enable_envelope_stamping_by_ds_admin_metadata
|
659
684
|
|
685
|
+
#
|
686
|
+
attr_accessor :enable_esign_communities
|
687
|
+
|
688
|
+
attr_accessor :enable_esign_communities_metadata
|
689
|
+
|
660
690
|
#
|
661
691
|
attr_accessor :enable_in_browser_editor
|
662
692
|
|
@@ -707,6 +737,11 @@ module DocuSign_eSign
|
|
707
737
|
|
708
738
|
attr_accessor :enable_scheduled_release_metadata
|
709
739
|
|
740
|
+
#
|
741
|
+
attr_accessor :enable_search
|
742
|
+
|
743
|
+
attr_accessor :enable_search_metadata
|
744
|
+
|
710
745
|
#
|
711
746
|
attr_accessor :enable_search_ui
|
712
747
|
|
@@ -1399,6 +1434,10 @@ module DocuSign_eSign
|
|
1399
1434
|
:'allow_external_signature_pad_metadata' => :'allowExternalSignaturePadMetadata',
|
1400
1435
|
:'allow_idv_level1' => :'allowIDVLevel1',
|
1401
1436
|
:'allow_idv_level1_metadata' => :'allowIDVLevel1Metadata',
|
1437
|
+
:'allow_idv_level2' => :'allowIDVLevel2',
|
1438
|
+
:'allow_idv_level2_metadata' => :'allowIDVLevel2Metadata',
|
1439
|
+
:'allow_idv_level3' => :'allowIDVLevel3',
|
1440
|
+
:'allow_idv_level3_metadata' => :'allowIDVLevel3Metadata',
|
1402
1441
|
:'allow_idv_platform' => :'allowIDVPlatform',
|
1403
1442
|
:'allow_idv_platform_metadata' => :'allowIDVPlatformMetadata',
|
1404
1443
|
:'allow_in_person' => :'allowInPerson',
|
@@ -1435,6 +1474,8 @@ module DocuSign_eSign
|
|
1435
1474
|
:'allow_phone_auth_override_metadata' => :'allowPhoneAuthOverrideMetadata',
|
1436
1475
|
:'allow_private_signing_groups' => :'allowPrivateSigningGroups',
|
1437
1476
|
:'allow_private_signing_groups_metadata' => :'allowPrivateSigningGroupsMetadata',
|
1477
|
+
:'allow_recipient_connect' => :'allowRecipientConnect',
|
1478
|
+
:'allow_recipient_connect_metadata' => :'allowRecipientConnectMetadata',
|
1438
1479
|
:'allow_reminders' => :'allowReminders',
|
1439
1480
|
:'allow_reminders_metadata' => :'allowRemindersMetadata',
|
1440
1481
|
:'allow_remote_notary' => :'allowRemoteNotary',
|
@@ -1467,6 +1508,8 @@ module DocuSign_eSign
|
|
1467
1508
|
:'allow_signing_extensions_metadata' => :'allowSigningExtensionsMetadata',
|
1468
1509
|
:'allow_signing_groups' => :'allowSigningGroups',
|
1469
1510
|
:'allow_signing_groups_metadata' => :'allowSigningGroupsMetadata',
|
1511
|
+
:'allow_signing_insights' => :'allowSigningInsights',
|
1512
|
+
:'allow_signing_insights_metadata' => :'allowSigningInsightsMetadata',
|
1470
1513
|
:'allow_signing_radio_deselect' => :'allowSigningRadioDeselect',
|
1471
1514
|
:'allow_signing_radio_deselect_metadata' => :'allowSigningRadioDeselectMetadata',
|
1472
1515
|
:'allow_sign_now' => :'allowSignNow',
|
@@ -1529,6 +1572,8 @@ module DocuSign_eSign
|
|
1529
1572
|
:'convert_pdf_fields_metadata' => :'convertPdfFieldsMetadata',
|
1530
1573
|
:'data_population_scope' => :'dataPopulationScope',
|
1531
1574
|
:'data_population_scope_metadata' => :'dataPopulationScopeMetadata',
|
1575
|
+
:'disable_auto_template_matching' => :'disableAutoTemplateMatching',
|
1576
|
+
:'disable_auto_template_matching_metadata' => :'disableAutoTemplateMatchingMetadata',
|
1532
1577
|
:'disable_mobile_app' => :'disableMobileApp',
|
1533
1578
|
:'disable_mobile_app_metadata' => :'disableMobileAppMetadata',
|
1534
1579
|
:'disable_mobile_push_notifications' => :'disableMobilePushNotifications',
|
@@ -1585,6 +1630,8 @@ module DocuSign_eSign
|
|
1585
1630
|
:'enable_envelope_stamping_by_account_admin_metadata' => :'enableEnvelopeStampingByAccountAdminMetadata',
|
1586
1631
|
:'enable_envelope_stamping_by_ds_admin' => :'enableEnvelopeStampingByDSAdmin',
|
1587
1632
|
:'enable_envelope_stamping_by_ds_admin_metadata' => :'enableEnvelopeStampingByDSAdminMetadata',
|
1633
|
+
:'enable_esign_communities' => :'enableEsignCommunities',
|
1634
|
+
:'enable_esign_communities_metadata' => :'enableEsignCommunitiesMetadata',
|
1588
1635
|
:'enable_in_browser_editor' => :'enableInBrowserEditor',
|
1589
1636
|
:'enable_in_browser_editor_metadata' => :'enableInBrowserEditorMetadata',
|
1590
1637
|
:'enable_payment_processing' => :'enablePaymentProcessing',
|
@@ -1605,6 +1652,8 @@ module DocuSign_eSign
|
|
1605
1652
|
:'enable_responsive_signing_metadata' => :'enableResponsiveSigningMetadata',
|
1606
1653
|
:'enable_scheduled_release' => :'enableScheduledRelease',
|
1607
1654
|
:'enable_scheduled_release_metadata' => :'enableScheduledReleaseMetadata',
|
1655
|
+
:'enable_search' => :'enableSearch',
|
1656
|
+
:'enable_search_metadata' => :'enableSearchMetadata',
|
1608
1657
|
:'enable_search_ui' => :'enableSearchUI',
|
1609
1658
|
:'enable_search_ui_metadata' => :'enableSearchUIMetadata',
|
1610
1659
|
:'enable_sending_tags_font_settings' => :'enableSendingTagsFontSettings',
|
@@ -1928,6 +1977,10 @@ module DocuSign_eSign
|
|
1928
1977
|
:'allow_external_signature_pad_metadata' => :'SettingsMetadata',
|
1929
1978
|
:'allow_idv_level1' => :'String',
|
1930
1979
|
:'allow_idv_level1_metadata' => :'SettingsMetadata',
|
1980
|
+
:'allow_idv_level2' => :'String',
|
1981
|
+
:'allow_idv_level2_metadata' => :'SettingsMetadata',
|
1982
|
+
:'allow_idv_level3' => :'String',
|
1983
|
+
:'allow_idv_level3_metadata' => :'SettingsMetadata',
|
1931
1984
|
:'allow_idv_platform' => :'String',
|
1932
1985
|
:'allow_idv_platform_metadata' => :'SettingsMetadata',
|
1933
1986
|
:'allow_in_person' => :'String',
|
@@ -1964,6 +2017,8 @@ module DocuSign_eSign
|
|
1964
2017
|
:'allow_phone_auth_override_metadata' => :'SettingsMetadata',
|
1965
2018
|
:'allow_private_signing_groups' => :'String',
|
1966
2019
|
:'allow_private_signing_groups_metadata' => :'SettingsMetadata',
|
2020
|
+
:'allow_recipient_connect' => :'String',
|
2021
|
+
:'allow_recipient_connect_metadata' => :'SettingsMetadata',
|
1967
2022
|
:'allow_reminders' => :'String',
|
1968
2023
|
:'allow_reminders_metadata' => :'SettingsMetadata',
|
1969
2024
|
:'allow_remote_notary' => :'String',
|
@@ -1996,6 +2051,8 @@ module DocuSign_eSign
|
|
1996
2051
|
:'allow_signing_extensions_metadata' => :'SettingsMetadata',
|
1997
2052
|
:'allow_signing_groups' => :'String',
|
1998
2053
|
:'allow_signing_groups_metadata' => :'SettingsMetadata',
|
2054
|
+
:'allow_signing_insights' => :'String',
|
2055
|
+
:'allow_signing_insights_metadata' => :'SettingsMetadata',
|
1999
2056
|
:'allow_signing_radio_deselect' => :'String',
|
2000
2057
|
:'allow_signing_radio_deselect_metadata' => :'SettingsMetadata',
|
2001
2058
|
:'allow_sign_now' => :'String',
|
@@ -2058,6 +2115,8 @@ module DocuSign_eSign
|
|
2058
2115
|
:'convert_pdf_fields_metadata' => :'SettingsMetadata',
|
2059
2116
|
:'data_population_scope' => :'String',
|
2060
2117
|
:'data_population_scope_metadata' => :'SettingsMetadata',
|
2118
|
+
:'disable_auto_template_matching' => :'String',
|
2119
|
+
:'disable_auto_template_matching_metadata' => :'SettingsMetadata',
|
2061
2120
|
:'disable_mobile_app' => :'String',
|
2062
2121
|
:'disable_mobile_app_metadata' => :'SettingsMetadata',
|
2063
2122
|
:'disable_mobile_push_notifications' => :'String',
|
@@ -2114,6 +2173,8 @@ module DocuSign_eSign
|
|
2114
2173
|
:'enable_envelope_stamping_by_account_admin_metadata' => :'SettingsMetadata',
|
2115
2174
|
:'enable_envelope_stamping_by_ds_admin' => :'String',
|
2116
2175
|
:'enable_envelope_stamping_by_ds_admin_metadata' => :'SettingsMetadata',
|
2176
|
+
:'enable_esign_communities' => :'String',
|
2177
|
+
:'enable_esign_communities_metadata' => :'SettingsMetadata',
|
2117
2178
|
:'enable_in_browser_editor' => :'String',
|
2118
2179
|
:'enable_in_browser_editor_metadata' => :'SettingsMetadata',
|
2119
2180
|
:'enable_payment_processing' => :'String',
|
@@ -2134,6 +2195,8 @@ module DocuSign_eSign
|
|
2134
2195
|
:'enable_responsive_signing_metadata' => :'SettingsMetadata',
|
2135
2196
|
:'enable_scheduled_release' => :'String',
|
2136
2197
|
:'enable_scheduled_release_metadata' => :'SettingsMetadata',
|
2198
|
+
:'enable_search' => :'String',
|
2199
|
+
:'enable_search_metadata' => :'SettingsMetadata',
|
2137
2200
|
:'enable_search_ui' => :'String',
|
2138
2201
|
:'enable_search_ui_metadata' => :'SettingsMetadata',
|
2139
2202
|
:'enable_sending_tags_font_settings' => :'String',
|
@@ -2675,6 +2738,22 @@ module DocuSign_eSign
|
|
2675
2738
|
self.allow_idv_level1_metadata = attributes[:'allowIDVLevel1Metadata']
|
2676
2739
|
end
|
2677
2740
|
|
2741
|
+
if attributes.has_key?(:'allowIDVLevel2')
|
2742
|
+
self.allow_idv_level2 = attributes[:'allowIDVLevel2']
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
if attributes.has_key?(:'allowIDVLevel2Metadata')
|
2746
|
+
self.allow_idv_level2_metadata = attributes[:'allowIDVLevel2Metadata']
|
2747
|
+
end
|
2748
|
+
|
2749
|
+
if attributes.has_key?(:'allowIDVLevel3')
|
2750
|
+
self.allow_idv_level3 = attributes[:'allowIDVLevel3']
|
2751
|
+
end
|
2752
|
+
|
2753
|
+
if attributes.has_key?(:'allowIDVLevel3Metadata')
|
2754
|
+
self.allow_idv_level3_metadata = attributes[:'allowIDVLevel3Metadata']
|
2755
|
+
end
|
2756
|
+
|
2678
2757
|
if attributes.has_key?(:'allowIDVPlatform')
|
2679
2758
|
self.allow_idv_platform = attributes[:'allowIDVPlatform']
|
2680
2759
|
end
|
@@ -2819,6 +2898,14 @@ module DocuSign_eSign
|
|
2819
2898
|
self.allow_private_signing_groups_metadata = attributes[:'allowPrivateSigningGroupsMetadata']
|
2820
2899
|
end
|
2821
2900
|
|
2901
|
+
if attributes.has_key?(:'allowRecipientConnect')
|
2902
|
+
self.allow_recipient_connect = attributes[:'allowRecipientConnect']
|
2903
|
+
end
|
2904
|
+
|
2905
|
+
if attributes.has_key?(:'allowRecipientConnectMetadata')
|
2906
|
+
self.allow_recipient_connect_metadata = attributes[:'allowRecipientConnectMetadata']
|
2907
|
+
end
|
2908
|
+
|
2822
2909
|
if attributes.has_key?(:'allowReminders')
|
2823
2910
|
self.allow_reminders = attributes[:'allowReminders']
|
2824
2911
|
end
|
@@ -2947,6 +3034,14 @@ module DocuSign_eSign
|
|
2947
3034
|
self.allow_signing_groups_metadata = attributes[:'allowSigningGroupsMetadata']
|
2948
3035
|
end
|
2949
3036
|
|
3037
|
+
if attributes.has_key?(:'allowSigningInsights')
|
3038
|
+
self.allow_signing_insights = attributes[:'allowSigningInsights']
|
3039
|
+
end
|
3040
|
+
|
3041
|
+
if attributes.has_key?(:'allowSigningInsightsMetadata')
|
3042
|
+
self.allow_signing_insights_metadata = attributes[:'allowSigningInsightsMetadata']
|
3043
|
+
end
|
3044
|
+
|
2950
3045
|
if attributes.has_key?(:'allowSigningRadioDeselect')
|
2951
3046
|
self.allow_signing_radio_deselect = attributes[:'allowSigningRadioDeselect']
|
2952
3047
|
end
|
@@ -3195,6 +3290,14 @@ module DocuSign_eSign
|
|
3195
3290
|
self.data_population_scope_metadata = attributes[:'dataPopulationScopeMetadata']
|
3196
3291
|
end
|
3197
3292
|
|
3293
|
+
if attributes.has_key?(:'disableAutoTemplateMatching')
|
3294
|
+
self.disable_auto_template_matching = attributes[:'disableAutoTemplateMatching']
|
3295
|
+
end
|
3296
|
+
|
3297
|
+
if attributes.has_key?(:'disableAutoTemplateMatchingMetadata')
|
3298
|
+
self.disable_auto_template_matching_metadata = attributes[:'disableAutoTemplateMatchingMetadata']
|
3299
|
+
end
|
3300
|
+
|
3198
3301
|
if attributes.has_key?(:'disableMobileApp')
|
3199
3302
|
self.disable_mobile_app = attributes[:'disableMobileApp']
|
3200
3303
|
end
|
@@ -3419,6 +3522,14 @@ module DocuSign_eSign
|
|
3419
3522
|
self.enable_envelope_stamping_by_ds_admin_metadata = attributes[:'enableEnvelopeStampingByDSAdminMetadata']
|
3420
3523
|
end
|
3421
3524
|
|
3525
|
+
if attributes.has_key?(:'enableEsignCommunities')
|
3526
|
+
self.enable_esign_communities = attributes[:'enableEsignCommunities']
|
3527
|
+
end
|
3528
|
+
|
3529
|
+
if attributes.has_key?(:'enableEsignCommunitiesMetadata')
|
3530
|
+
self.enable_esign_communities_metadata = attributes[:'enableEsignCommunitiesMetadata']
|
3531
|
+
end
|
3532
|
+
|
3422
3533
|
if attributes.has_key?(:'enableInBrowserEditor')
|
3423
3534
|
self.enable_in_browser_editor = attributes[:'enableInBrowserEditor']
|
3424
3535
|
end
|
@@ -3499,6 +3610,14 @@ module DocuSign_eSign
|
|
3499
3610
|
self.enable_scheduled_release_metadata = attributes[:'enableScheduledReleaseMetadata']
|
3500
3611
|
end
|
3501
3612
|
|
3613
|
+
if attributes.has_key?(:'enableSearch')
|
3614
|
+
self.enable_search = attributes[:'enableSearch']
|
3615
|
+
end
|
3616
|
+
|
3617
|
+
if attributes.has_key?(:'enableSearchMetadata')
|
3618
|
+
self.enable_search_metadata = attributes[:'enableSearchMetadata']
|
3619
|
+
end
|
3620
|
+
|
3502
3621
|
if attributes.has_key?(:'enableSearchUI')
|
3503
3622
|
self.enable_search_ui = attributes[:'enableSearchUI']
|
3504
3623
|
end
|
@@ -4579,6 +4698,10 @@ module DocuSign_eSign
|
|
4579
4698
|
allow_external_signature_pad_metadata == o.allow_external_signature_pad_metadata &&
|
4580
4699
|
allow_idv_level1 == o.allow_idv_level1 &&
|
4581
4700
|
allow_idv_level1_metadata == o.allow_idv_level1_metadata &&
|
4701
|
+
allow_idv_level2 == o.allow_idv_level2 &&
|
4702
|
+
allow_idv_level2_metadata == o.allow_idv_level2_metadata &&
|
4703
|
+
allow_idv_level3 == o.allow_idv_level3 &&
|
4704
|
+
allow_idv_level3_metadata == o.allow_idv_level3_metadata &&
|
4582
4705
|
allow_idv_platform == o.allow_idv_platform &&
|
4583
4706
|
allow_idv_platform_metadata == o.allow_idv_platform_metadata &&
|
4584
4707
|
allow_in_person == o.allow_in_person &&
|
@@ -4615,6 +4738,8 @@ module DocuSign_eSign
|
|
4615
4738
|
allow_phone_auth_override_metadata == o.allow_phone_auth_override_metadata &&
|
4616
4739
|
allow_private_signing_groups == o.allow_private_signing_groups &&
|
4617
4740
|
allow_private_signing_groups_metadata == o.allow_private_signing_groups_metadata &&
|
4741
|
+
allow_recipient_connect == o.allow_recipient_connect &&
|
4742
|
+
allow_recipient_connect_metadata == o.allow_recipient_connect_metadata &&
|
4618
4743
|
allow_reminders == o.allow_reminders &&
|
4619
4744
|
allow_reminders_metadata == o.allow_reminders_metadata &&
|
4620
4745
|
allow_remote_notary == o.allow_remote_notary &&
|
@@ -4647,6 +4772,8 @@ module DocuSign_eSign
|
|
4647
4772
|
allow_signing_extensions_metadata == o.allow_signing_extensions_metadata &&
|
4648
4773
|
allow_signing_groups == o.allow_signing_groups &&
|
4649
4774
|
allow_signing_groups_metadata == o.allow_signing_groups_metadata &&
|
4775
|
+
allow_signing_insights == o.allow_signing_insights &&
|
4776
|
+
allow_signing_insights_metadata == o.allow_signing_insights_metadata &&
|
4650
4777
|
allow_signing_radio_deselect == o.allow_signing_radio_deselect &&
|
4651
4778
|
allow_signing_radio_deselect_metadata == o.allow_signing_radio_deselect_metadata &&
|
4652
4779
|
allow_sign_now == o.allow_sign_now &&
|
@@ -4709,6 +4836,8 @@ module DocuSign_eSign
|
|
4709
4836
|
convert_pdf_fields_metadata == o.convert_pdf_fields_metadata &&
|
4710
4837
|
data_population_scope == o.data_population_scope &&
|
4711
4838
|
data_population_scope_metadata == o.data_population_scope_metadata &&
|
4839
|
+
disable_auto_template_matching == o.disable_auto_template_matching &&
|
4840
|
+
disable_auto_template_matching_metadata == o.disable_auto_template_matching_metadata &&
|
4712
4841
|
disable_mobile_app == o.disable_mobile_app &&
|
4713
4842
|
disable_mobile_app_metadata == o.disable_mobile_app_metadata &&
|
4714
4843
|
disable_mobile_push_notifications == o.disable_mobile_push_notifications &&
|
@@ -4765,6 +4894,8 @@ module DocuSign_eSign
|
|
4765
4894
|
enable_envelope_stamping_by_account_admin_metadata == o.enable_envelope_stamping_by_account_admin_metadata &&
|
4766
4895
|
enable_envelope_stamping_by_ds_admin == o.enable_envelope_stamping_by_ds_admin &&
|
4767
4896
|
enable_envelope_stamping_by_ds_admin_metadata == o.enable_envelope_stamping_by_ds_admin_metadata &&
|
4897
|
+
enable_esign_communities == o.enable_esign_communities &&
|
4898
|
+
enable_esign_communities_metadata == o.enable_esign_communities_metadata &&
|
4768
4899
|
enable_in_browser_editor == o.enable_in_browser_editor &&
|
4769
4900
|
enable_in_browser_editor_metadata == o.enable_in_browser_editor_metadata &&
|
4770
4901
|
enable_payment_processing == o.enable_payment_processing &&
|
@@ -4785,6 +4916,8 @@ module DocuSign_eSign
|
|
4785
4916
|
enable_responsive_signing_metadata == o.enable_responsive_signing_metadata &&
|
4786
4917
|
enable_scheduled_release == o.enable_scheduled_release &&
|
4787
4918
|
enable_scheduled_release_metadata == o.enable_scheduled_release_metadata &&
|
4919
|
+
enable_search == o.enable_search &&
|
4920
|
+
enable_search_metadata == o.enable_search_metadata &&
|
4788
4921
|
enable_search_ui == o.enable_search_ui &&
|
4789
4922
|
enable_search_ui_metadata == o.enable_search_ui_metadata &&
|
4790
4923
|
enable_sending_tags_font_settings == o.enable_sending_tags_font_settings &&
|
@@ -5042,7 +5175,7 @@ module DocuSign_eSign
|
|
5042
5175
|
# Calculates hash code according to all attributes.
|
5043
5176
|
# @return [Fixnum] Hash code
|
5044
5177
|
def hash
|
5045
|
-
[access_code_format, account_date_time_format, account_date_time_format_metadata, account_default_language, account_default_language_metadata, account_name, account_name_metadata, account_notification, account_ui_settings, adopt_sig_config, adopt_sig_config_metadata, advanced_correct, advanced_correct_metadata, allow_access_code_format, allow_access_code_format_metadata, allow_account_management_granular, allow_account_management_granular_metadata, allow_account_member_name_change, allow_account_member_name_change_metadata, allow_advanced_recipient_routing_conditional, allow_advanced_recipient_routing_conditional_metadata, allow_agent_name_email_edit, allow_agent_name_email_edit_metadata, allow_agreement_actions, allow_agreement_actions_metadata, allow_auto_nav_settings, allow_auto_nav_settings_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_send, allow_bulk_send_metadata, allow_cd_withdraw, allow_cd_withdraw_metadata, allow_connect_http_listener_configs, allow_connect_send_finish_later, allow_connect_send_finish_later_metadata, allow_connect_unified_payload_ui, allow_consumer_disclosure_override, allow_consumer_disclosure_override_metadata, allow_data_download, allow_data_download_metadata, allow_document_disclosures, allow_document_disclosures_metadata, allow_documents_on_signed_envelopes, allow_documents_on_signed_envelopes_metadata, allow_document_visibility, allow_document_visibility_metadata, allow_e_hanko_stamps, allow_e_hanko_stamps_metadata, allow_e_note_e_original, allow_e_note_e_original_metadata, allow_envelope_correct, allow_envelope_correct_metadata, allow_envelope_custody_transfer, allow_envelope_custody_transfer_metadata, allow_envelope_custom_fields, allow_envelope_custom_fields_metadata, allow_envelope_publish_reporting, allow_envelope_publish_reporting_metadata, allow_envelope_reporting, allow_envelope_reporting_metadata, allow_expression, allow_expression_metadata, allow_express_signer_certificate, allow_express_signer_certificate_metadata, allow_extended_sending_resource_file, allow_extended_sending_resource_file_metadata, allow_external_signature_pad, allow_external_signature_pad_metadata, allow_idv_level1, allow_idv_level1_metadata, allow_idv_platform, allow_idv_platform_metadata, allow_in_person, allow_in_person_metadata, allow_managed_stamps, allow_managed_stamps_metadata, allow_markup, allow_markup_metadata, allow_member_time_zone, allow_member_time_zone_metadata, allow_merge_fields, allow_merge_fields_metadata, allow_multiple_brand_profiles, allow_multiple_brand_profiles_metadata, allow_multiple_signer_attachments, allow_multiple_signer_attachments_metadata, allow_non_us_phone_auth, allow_non_us_phone_auth_metadata, allow_ocr_of_envelope_documents, allow_ocr_of_envelope_documents_metadata, allow_offline_signing, allow_offline_signing_metadata, allow_open_trust_signer_certificate, allow_open_trust_signer_certificate_metadata, allow_organizations, allow_organizations_metadata, allow_payment_processing, allow_payment_processing_metadata, allow_personal_signer_certificate, allow_personal_signer_certificate_metadata, allow_phone_authentication, allow_phone_authentication_metadata, allow_phone_auth_override, allow_phone_auth_override_metadata, allow_private_signing_groups, allow_private_signing_groups_metadata, allow_reminders, allow_reminders_metadata, allow_remote_notary, allow_remote_notary_metadata, allow_resource_file_branding, allow_resource_file_branding_metadata, allow_safe_bio_pharma_signer_certificate, allow_safe_bio_pharma_signer_certificate_metadata, allow_security_appliance, allow_security_appliance_metadata, allow_send_to_certified_delivery, allow_send_to_certified_delivery_metadata, allow_send_to_intermediary, allow_send_to_intermediary_metadata, allow_server_templates, allow_server_templates_metadata, allow_set_embedded_recipient_start_url, allow_set_embedded_recipient_start_url_metadata, allow_shared_tabs, allow_shared_tabs_metadata, allow_signature_stamps, allow_signature_stamps_metadata, allow_sign_document_from_home_page, allow_sign_document_from_home_page_metadata, allow_signer_reassign, allow_signer_reassign_metadata, allow_signer_reassign_override, allow_signer_reassign_override_metadata, allow_signing_extensions, allow_signing_extensions_metadata, allow_signing_groups, allow_signing_groups_metadata, allow_signing_radio_deselect, allow_signing_radio_deselect_metadata, allow_sign_now, allow_sign_now_metadata, allow_sms_delivery, allow_sms_delivery_metadata, allow_social_id_login, allow_social_id_login_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_users_to_access_directory, allow_users_to_access_directory_metadata, allow_value_insights, allow_value_insights_metadata, anchor_population_scope, anchor_population_scope_metadata, anchor_tag_versioned_placement_enabled, anchor_tag_versioned_placement_metadata_enabled, attach_completed_envelope, attach_completed_envelope_metadata, authentication_check, authentication_check_metadata, auto_nav_rule, auto_nav_rule_metadata, auto_provision_signer_account, auto_provision_signer_account_metadata, bcc_email_archive, bcc_email_archive_metadata, beta_switch_configuration, beta_switch_configuration_metadata, billing_address, billing_address_metadata, bulk_send, bulk_send_max_copies_in_batch, bulk_send_max_unprocessed_envelopes_count, bulk_send_metadata, can_self_brand_send, can_self_brand_send_metadata, can_self_brand_sign, can_self_brand_sign_metadata, can_use_salesforce_o_auth, can_use_salesforce_o_auth_metadata, capture_voice_recording, capture_voice_recording_metadata, cfr_use_wide_image, cfr_use_wide_image_metadata, check_for_multiple_admins_on_account, check_for_multiple_admins_on_account_metadata, chrome_signature_enabled, chrome_signature_enabled_metadata, comment_email_show_message_text, comment_email_show_message_text_metadata, comments_allow_envelope_override, comments_allow_envelope_override_metadata, conditional_fields_enabled, conditional_fields_enabled_metadata, consumer_disclosure_frequency, consumer_disclosure_frequency_metadata, convert_pdf_fields, convert_pdf_fields_metadata, data_population_scope, data_population_scope_metadata, disable_mobile_app, disable_mobile_app_metadata, disable_mobile_push_notifications, disable_mobile_push_notifications_metadata, disable_mobile_sending, disable_mobile_sending_metadata, disable_multiple_sessions, disable_multiple_sessions_metadata, disable_purge_notifications_for_sender_metadata, disable_signer_cert_view, disable_signer_cert_view_metadata, disable_signer_history_view, disable_signer_history_view_metadata, disable_style_signature, disable_style_signature_metadata, disable_upload_signature, disable_upload_signature_metadata, disable_user_sharing, disable_user_sharing_metadata, display_beta_switch, display_beta_switch_metadata, document_conversion_restrictions, document_conversion_restrictions_metadata, document_retention, document_retention_metadata, document_retention_purge_tabs, document_visibility, document_visibility_metadata, email_template_version, email_template_version_metadata, enable_access_code_generator, enable_access_code_generator_metadata, enable_advanced_payments, enable_advanced_payments_metadata, enable_advanced_power_forms, enable_advanced_power_forms_metadata, enable_agreement_actions_for_clm, enable_agreement_actions_for_clm_metadata, enable_agreement_actions_for_e_sign, enable_agreement_actions_for_e_sign_metadata, enable_auto_nav, enable_auto_nav_metadata, enable_calculated_fields, enable_calculated_fields_metadata, enable_clickwraps, enable_clickwraps_metadata, enable_comments_history_download_in_signing, enable_comments_history_download_in_signing_metadata, enable_customer_satisfaction_metric_tracking, enable_customer_satisfaction_metric_tracking_metadata, enable_ds_pro, enable_ds_pro_metadata, enable_envelope_stamping_by_account_admin, enable_envelope_stamping_by_account_admin_metadata, enable_envelope_stamping_by_ds_admin, enable_envelope_stamping_by_ds_admin_metadata, enable_in_browser_editor, enable_in_browser_editor_metadata, enable_payment_processing, enable_payment_processing_metadata, enable_power_form, enable_power_form_direct, enable_power_form_direct_metadata, enable_power_form_metadata, enable_recipient_domain_validation, enable_recipient_domain_validation_metadata, enable_report_links, enable_report_links_metadata, enable_require_sign_on_paper, enable_require_sign_on_paper_metadata, enable_reserved_domain, enable_reserved_domain_metadata, enable_responsive_signing, enable_responsive_signing_metadata, enable_scheduled_release, enable_scheduled_release_metadata, enable_search_ui, enable_search_ui_metadata, enable_sending_tags_font_settings, enable_sending_tags_font_settings_metadata, enable_send_to_agent, enable_send_to_agent_metadata, enable_send_to_intermediary, enable_send_to_intermediary_metadata, enable_send_to_manage, enable_send_to_manage_metadata, enable_sequential_signing_api, enable_sequential_signing_api_metadata, enable_sequential_signing_ui, enable_sequential_signing_ui_metadata, enable_signer_attachments, enable_signer_attachments_metadata, enable_signing_extension_comments, enable_signing_extension_comments_metadata, enable_signing_extension_conversations, enable_signing_extension_conversations_metadata, enable_signing_order_settings_for_account, enable_signing_order_settings_for_account_metadata, enable_sign_on_paper, enable_sign_on_paper_metadata, enable_sign_on_paper_override, enable_sign_on_paper_override_metadata, enable_sign_with_notary, enable_sign_with_notary_metadata, enable_smart_contracts, enable_smart_contracts_metadata, enable_sms_authentication, enable_sms_authentication_metadata, enable_social_id_login, enable_social_id_login_metadata, enable_strike_through, enable_strike_through_metadata, enable_transaction_point, enable_transaction_point_metadata, enable_vaulting, enable_vaulting_metadata, enable_witnessing, enable_witnessing_metadata, enforce_template_name_uniqueness, enforce_template_name_uniqueness_metadata, envelope_integration_allowed, envelope_integration_allowed_metadata, envelope_integration_enabled, envelope_integration_enabled_metadata, envelope_stamping_default_value, envelope_stamping_default_value_metadata, express_send, express_send_allow_tabs, express_send_allow_tabs_metadata, express_send_metadata, external_document_sources, external_signature_pad_type, external_signature_pad_type_metadata, fax_out_enabled, fax_out_enabled_metadata, guided_forms_html_allowed, guided_forms_html_allowed_metadata, hide_account_address_in_co_c, hide_account_address_in_co_c_metadata, hide_pricing, hide_pricing_metadata, id_check_configurations, id_check_expire, id_check_expire_days, id_check_expire_days_metadata, id_check_expire_metadata, id_check_expire_minutes, id_check_expire_minutes_metadata, id_check_required, id_check_required_metadata, identity_verification, identity_verification_metadata, ignore_error_if_anchor_tab_not_found, ignore_error_if_anchor_tab_not_found_metadata_enabled, in_person_id_check_question, in_person_id_check_question_metadata, in_person_signing_enabled, in_person_signing_enabled_metadata, in_session_enabled, in_session_enabled_metadata, in_session_suppress_emails, in_session_suppress_emails_metadata, maximum_signing_groups, maximum_signing_groups_metadata, maximum_users_per_signing_group, maximum_users_per_signing_group_metadata, max_number_of_custom_stamps, mobile_session_timeout, mobile_session_timeout_metadata, number_of_active_custom_stamps, opt_in_mobile_signing_v02, opt_in_mobile_signing_v02_metadata, opt_out_auto_nav_text_and_tab_color_updates, opt_out_auto_nav_text_and_tab_color_updates_metadata, opt_out_new_platform_seal, opt_out_new_platform_seal_platform_metadata, phone_auth_recipient_may_provide_phone_number, phone_auth_recipient_may_provide_phone_number_metadata, pki_sign_downloaded_pdf_docs, pki_sign_downloaded_pdf_docs_metadata, recipients_can_sign_offline, recipients_can_sign_offline_metadata, recipient_signing_auto_navigation_control, recipient_signing_auto_navigation_control_metadata, require21_cf_rpt11_compliance, require21_cf_rpt11_compliance_metadata, require_decline_reason, require_decline_reason_metadata, require_external_user_management, require_external_user_management_metadata, require_signer_certificate_type, require_signer_certificate_type_metadata, rsa_verid_account_name, rsa_verid_password, rsa_verid_ruleset, rsa_verid_user_id, self_signed_recipient_email_document, self_signed_recipient_email_document_metadata, self_signed_recipient_email_document_user_override, self_signed_recipient_email_document_user_override_metadata, sender_can_sign_in_each_location, sender_can_sign_in_each_location_metadata, sender_must_authenticate_signing, sender_must_authenticate_signing_metadata, sending_tags_font_color, sending_tags_font_color_metadata, sending_tags_font_name, sending_tags_font_name_metadata, sending_tags_font_size, sending_tags_font_size_metadata, send_to_certified_delivery_enabled, send_to_certified_delivery_enabled_metadata, session_timeout, session_timeout_metadata, set_recip_email_lang, set_recip_email_lang_metadata, set_recip_sign_lang, set_recip_sign_lang_metadata, shared_template_folders, shared_template_folders_metadata, show_complete_dialog_in_embedded_session, show_complete_dialog_in_embedded_session_metadata, show_conditional_routing_on_send, show_conditional_routing_on_send_metadata, show_initial_conditional_fields, show_initial_conditional_fields_metadata, show_localized_watermarks, show_localized_watermarks_metadata, show_tutorials, show_tutorials_metadata, signature_providers, signature_providers_metadata, sign_date_format, sign_date_format_metadata, signer_attach_certificate_to_envelope_pdf, signer_attach_certificate_to_envelope_pdf_metadata, signer_attach_concat, signer_attach_concat_metadata, signer_can_create_account, signer_can_create_account_metadata, signer_can_sign_on_mobile, signer_can_sign_on_mobile_metadata, signer_in_session_use_envelope_complete_email, signer_in_session_use_envelope_complete_email_metadata, signer_login_requirements, signer_login_requirements_metadata, signer_must_have_account, signer_must_have_account_metadata, signer_must_login_to_sign, signer_must_login_to_sign_metadata, signer_show_secure_field_initial_values, signer_show_secure_field_initial_values_metadata, signing_session_timeout, signing_session_timeout_metadata, signing_ui_version, signing_ui_version_metadata, sign_time_format, sign_time_format_metadata, sign_time_show_am_pm, sign_time_show_am_pm_metadata, simplified_sending_enabled, simplified_sending_enabled_metadata, single_sign_on_enabled, single_sign_on_enabled_metadata, skip_auth_completed_envelopes, skip_auth_completed_envelopes_metadata, social_id_recip_auth, social_id_recip_auth_metadata, specify_document_visibility, specify_document_visibility_metadata, start_in_advanced_correct, start_in_advanced_correct_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, suppress_certificate_enforcement, suppress_certificate_enforcement_metadata, tab_account_settings, timezone_offset_api, timezone_offset_api_metadata, timezone_offset_ui, timezone_offset_ui_metadata, universal_signature_opt_in, use_account_level_email, use_account_level_email_metadata, use_consumer_disclosure, use_consumer_disclosure_metadata, use_consumer_disclosure_within_account, use_consumer_disclosure_within_account_metadata, use_derived_keys, use_derived_keys_metadata, use_docu_sign_express_signer_certificate, use_docu_sign_express_signer_certificate_metadata, use_multi_app_groups_data, use_multi_app_groups_data_metadata, use_new_blob_for_pdf, use_new_blob_for_pdf_metadata, use_safe_signer_certificates, use_safe_signer_certificates_metadata, uses_api, uses_api_metadata, use_signature_provider_platform, use_signature_provider_platform_metadata, validations_allowed, validations_allowed_metadata, validations_brand, validations_brand_metadata, validations_cadence, validations_cadence_metadata, validations_enabled, validations_enabled_metadata, validations_report, validations_report_metadata, water_mark_enabled, water_mark_enabled_metadata, write_reminder_to_envelope_history, write_reminder_to_envelope_history_metadata, wurfl_min_allowable_screen_size, wurfl_min_allowable_screen_size_metadata].hash
|
5178
|
+
[access_code_format, account_date_time_format, account_date_time_format_metadata, account_default_language, account_default_language_metadata, account_name, account_name_metadata, account_notification, account_ui_settings, adopt_sig_config, adopt_sig_config_metadata, advanced_correct, advanced_correct_metadata, allow_access_code_format, allow_access_code_format_metadata, allow_account_management_granular, allow_account_management_granular_metadata, allow_account_member_name_change, allow_account_member_name_change_metadata, allow_advanced_recipient_routing_conditional, allow_advanced_recipient_routing_conditional_metadata, allow_agent_name_email_edit, allow_agent_name_email_edit_metadata, allow_agreement_actions, allow_agreement_actions_metadata, allow_auto_nav_settings, allow_auto_nav_settings_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_send, allow_bulk_send_metadata, allow_cd_withdraw, allow_cd_withdraw_metadata, allow_connect_http_listener_configs, allow_connect_send_finish_later, allow_connect_send_finish_later_metadata, allow_connect_unified_payload_ui, allow_consumer_disclosure_override, allow_consumer_disclosure_override_metadata, allow_data_download, allow_data_download_metadata, allow_document_disclosures, allow_document_disclosures_metadata, allow_documents_on_signed_envelopes, allow_documents_on_signed_envelopes_metadata, allow_document_visibility, allow_document_visibility_metadata, allow_e_hanko_stamps, allow_e_hanko_stamps_metadata, allow_e_note_e_original, allow_e_note_e_original_metadata, allow_envelope_correct, allow_envelope_correct_metadata, allow_envelope_custody_transfer, allow_envelope_custody_transfer_metadata, allow_envelope_custom_fields, allow_envelope_custom_fields_metadata, allow_envelope_publish_reporting, allow_envelope_publish_reporting_metadata, allow_envelope_reporting, allow_envelope_reporting_metadata, allow_expression, allow_expression_metadata, allow_express_signer_certificate, allow_express_signer_certificate_metadata, allow_extended_sending_resource_file, allow_extended_sending_resource_file_metadata, allow_external_signature_pad, allow_external_signature_pad_metadata, allow_idv_level1, allow_idv_level1_metadata, allow_idv_level2, allow_idv_level2_metadata, allow_idv_level3, allow_idv_level3_metadata, allow_idv_platform, allow_idv_platform_metadata, allow_in_person, allow_in_person_metadata, allow_managed_stamps, allow_managed_stamps_metadata, allow_markup, allow_markup_metadata, allow_member_time_zone, allow_member_time_zone_metadata, allow_merge_fields, allow_merge_fields_metadata, allow_multiple_brand_profiles, allow_multiple_brand_profiles_metadata, allow_multiple_signer_attachments, allow_multiple_signer_attachments_metadata, allow_non_us_phone_auth, allow_non_us_phone_auth_metadata, allow_ocr_of_envelope_documents, allow_ocr_of_envelope_documents_metadata, allow_offline_signing, allow_offline_signing_metadata, allow_open_trust_signer_certificate, allow_open_trust_signer_certificate_metadata, allow_organizations, allow_organizations_metadata, allow_payment_processing, allow_payment_processing_metadata, allow_personal_signer_certificate, allow_personal_signer_certificate_metadata, allow_phone_authentication, allow_phone_authentication_metadata, allow_phone_auth_override, allow_phone_auth_override_metadata, allow_private_signing_groups, allow_private_signing_groups_metadata, allow_recipient_connect, allow_recipient_connect_metadata, allow_reminders, allow_reminders_metadata, allow_remote_notary, allow_remote_notary_metadata, allow_resource_file_branding, allow_resource_file_branding_metadata, allow_safe_bio_pharma_signer_certificate, allow_safe_bio_pharma_signer_certificate_metadata, allow_security_appliance, allow_security_appliance_metadata, allow_send_to_certified_delivery, allow_send_to_certified_delivery_metadata, allow_send_to_intermediary, allow_send_to_intermediary_metadata, allow_server_templates, allow_server_templates_metadata, allow_set_embedded_recipient_start_url, allow_set_embedded_recipient_start_url_metadata, allow_shared_tabs, allow_shared_tabs_metadata, allow_signature_stamps, allow_signature_stamps_metadata, allow_sign_document_from_home_page, allow_sign_document_from_home_page_metadata, allow_signer_reassign, allow_signer_reassign_metadata, allow_signer_reassign_override, allow_signer_reassign_override_metadata, allow_signing_extensions, allow_signing_extensions_metadata, allow_signing_groups, allow_signing_groups_metadata, allow_signing_insights, allow_signing_insights_metadata, allow_signing_radio_deselect, allow_signing_radio_deselect_metadata, allow_sign_now, allow_sign_now_metadata, allow_sms_delivery, allow_sms_delivery_metadata, allow_social_id_login, allow_social_id_login_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_users_to_access_directory, allow_users_to_access_directory_metadata, allow_value_insights, allow_value_insights_metadata, anchor_population_scope, anchor_population_scope_metadata, anchor_tag_versioned_placement_enabled, anchor_tag_versioned_placement_metadata_enabled, attach_completed_envelope, attach_completed_envelope_metadata, authentication_check, authentication_check_metadata, auto_nav_rule, auto_nav_rule_metadata, auto_provision_signer_account, auto_provision_signer_account_metadata, bcc_email_archive, bcc_email_archive_metadata, beta_switch_configuration, beta_switch_configuration_metadata, billing_address, billing_address_metadata, bulk_send, bulk_send_max_copies_in_batch, bulk_send_max_unprocessed_envelopes_count, bulk_send_metadata, can_self_brand_send, can_self_brand_send_metadata, can_self_brand_sign, can_self_brand_sign_metadata, can_use_salesforce_o_auth, can_use_salesforce_o_auth_metadata, capture_voice_recording, capture_voice_recording_metadata, cfr_use_wide_image, cfr_use_wide_image_metadata, check_for_multiple_admins_on_account, check_for_multiple_admins_on_account_metadata, chrome_signature_enabled, chrome_signature_enabled_metadata, comment_email_show_message_text, comment_email_show_message_text_metadata, comments_allow_envelope_override, comments_allow_envelope_override_metadata, conditional_fields_enabled, conditional_fields_enabled_metadata, consumer_disclosure_frequency, consumer_disclosure_frequency_metadata, convert_pdf_fields, convert_pdf_fields_metadata, data_population_scope, data_population_scope_metadata, disable_auto_template_matching, disable_auto_template_matching_metadata, disable_mobile_app, disable_mobile_app_metadata, disable_mobile_push_notifications, disable_mobile_push_notifications_metadata, disable_mobile_sending, disable_mobile_sending_metadata, disable_multiple_sessions, disable_multiple_sessions_metadata, disable_purge_notifications_for_sender_metadata, disable_signer_cert_view, disable_signer_cert_view_metadata, disable_signer_history_view, disable_signer_history_view_metadata, disable_style_signature, disable_style_signature_metadata, disable_upload_signature, disable_upload_signature_metadata, disable_user_sharing, disable_user_sharing_metadata, display_beta_switch, display_beta_switch_metadata, document_conversion_restrictions, document_conversion_restrictions_metadata, document_retention, document_retention_metadata, document_retention_purge_tabs, document_visibility, document_visibility_metadata, email_template_version, email_template_version_metadata, enable_access_code_generator, enable_access_code_generator_metadata, enable_advanced_payments, enable_advanced_payments_metadata, enable_advanced_power_forms, enable_advanced_power_forms_metadata, enable_agreement_actions_for_clm, enable_agreement_actions_for_clm_metadata, enable_agreement_actions_for_e_sign, enable_agreement_actions_for_e_sign_metadata, enable_auto_nav, enable_auto_nav_metadata, enable_calculated_fields, enable_calculated_fields_metadata, enable_clickwraps, enable_clickwraps_metadata, enable_comments_history_download_in_signing, enable_comments_history_download_in_signing_metadata, enable_customer_satisfaction_metric_tracking, enable_customer_satisfaction_metric_tracking_metadata, enable_ds_pro, enable_ds_pro_metadata, enable_envelope_stamping_by_account_admin, enable_envelope_stamping_by_account_admin_metadata, enable_envelope_stamping_by_ds_admin, enable_envelope_stamping_by_ds_admin_metadata, enable_esign_communities, enable_esign_communities_metadata, enable_in_browser_editor, enable_in_browser_editor_metadata, enable_payment_processing, enable_payment_processing_metadata, enable_power_form, enable_power_form_direct, enable_power_form_direct_metadata, enable_power_form_metadata, enable_recipient_domain_validation, enable_recipient_domain_validation_metadata, enable_report_links, enable_report_links_metadata, enable_require_sign_on_paper, enable_require_sign_on_paper_metadata, enable_reserved_domain, enable_reserved_domain_metadata, enable_responsive_signing, enable_responsive_signing_metadata, enable_scheduled_release, enable_scheduled_release_metadata, enable_search, enable_search_metadata, enable_search_ui, enable_search_ui_metadata, enable_sending_tags_font_settings, enable_sending_tags_font_settings_metadata, enable_send_to_agent, enable_send_to_agent_metadata, enable_send_to_intermediary, enable_send_to_intermediary_metadata, enable_send_to_manage, enable_send_to_manage_metadata, enable_sequential_signing_api, enable_sequential_signing_api_metadata, enable_sequential_signing_ui, enable_sequential_signing_ui_metadata, enable_signer_attachments, enable_signer_attachments_metadata, enable_signing_extension_comments, enable_signing_extension_comments_metadata, enable_signing_extension_conversations, enable_signing_extension_conversations_metadata, enable_signing_order_settings_for_account, enable_signing_order_settings_for_account_metadata, enable_sign_on_paper, enable_sign_on_paper_metadata, enable_sign_on_paper_override, enable_sign_on_paper_override_metadata, enable_sign_with_notary, enable_sign_with_notary_metadata, enable_smart_contracts, enable_smart_contracts_metadata, enable_sms_authentication, enable_sms_authentication_metadata, enable_social_id_login, enable_social_id_login_metadata, enable_strike_through, enable_strike_through_metadata, enable_transaction_point, enable_transaction_point_metadata, enable_vaulting, enable_vaulting_metadata, enable_witnessing, enable_witnessing_metadata, enforce_template_name_uniqueness, enforce_template_name_uniqueness_metadata, envelope_integration_allowed, envelope_integration_allowed_metadata, envelope_integration_enabled, envelope_integration_enabled_metadata, envelope_stamping_default_value, envelope_stamping_default_value_metadata, express_send, express_send_allow_tabs, express_send_allow_tabs_metadata, express_send_metadata, external_document_sources, external_signature_pad_type, external_signature_pad_type_metadata, fax_out_enabled, fax_out_enabled_metadata, guided_forms_html_allowed, guided_forms_html_allowed_metadata, hide_account_address_in_co_c, hide_account_address_in_co_c_metadata, hide_pricing, hide_pricing_metadata, id_check_configurations, id_check_expire, id_check_expire_days, id_check_expire_days_metadata, id_check_expire_metadata, id_check_expire_minutes, id_check_expire_minutes_metadata, id_check_required, id_check_required_metadata, identity_verification, identity_verification_metadata, ignore_error_if_anchor_tab_not_found, ignore_error_if_anchor_tab_not_found_metadata_enabled, in_person_id_check_question, in_person_id_check_question_metadata, in_person_signing_enabled, in_person_signing_enabled_metadata, in_session_enabled, in_session_enabled_metadata, in_session_suppress_emails, in_session_suppress_emails_metadata, maximum_signing_groups, maximum_signing_groups_metadata, maximum_users_per_signing_group, maximum_users_per_signing_group_metadata, max_number_of_custom_stamps, mobile_session_timeout, mobile_session_timeout_metadata, number_of_active_custom_stamps, opt_in_mobile_signing_v02, opt_in_mobile_signing_v02_metadata, opt_out_auto_nav_text_and_tab_color_updates, opt_out_auto_nav_text_and_tab_color_updates_metadata, opt_out_new_platform_seal, opt_out_new_platform_seal_platform_metadata, phone_auth_recipient_may_provide_phone_number, phone_auth_recipient_may_provide_phone_number_metadata, pki_sign_downloaded_pdf_docs, pki_sign_downloaded_pdf_docs_metadata, recipients_can_sign_offline, recipients_can_sign_offline_metadata, recipient_signing_auto_navigation_control, recipient_signing_auto_navigation_control_metadata, require21_cf_rpt11_compliance, require21_cf_rpt11_compliance_metadata, require_decline_reason, require_decline_reason_metadata, require_external_user_management, require_external_user_management_metadata, require_signer_certificate_type, require_signer_certificate_type_metadata, rsa_verid_account_name, rsa_verid_password, rsa_verid_ruleset, rsa_verid_user_id, self_signed_recipient_email_document, self_signed_recipient_email_document_metadata, self_signed_recipient_email_document_user_override, self_signed_recipient_email_document_user_override_metadata, sender_can_sign_in_each_location, sender_can_sign_in_each_location_metadata, sender_must_authenticate_signing, sender_must_authenticate_signing_metadata, sending_tags_font_color, sending_tags_font_color_metadata, sending_tags_font_name, sending_tags_font_name_metadata, sending_tags_font_size, sending_tags_font_size_metadata, send_to_certified_delivery_enabled, send_to_certified_delivery_enabled_metadata, session_timeout, session_timeout_metadata, set_recip_email_lang, set_recip_email_lang_metadata, set_recip_sign_lang, set_recip_sign_lang_metadata, shared_template_folders, shared_template_folders_metadata, show_complete_dialog_in_embedded_session, show_complete_dialog_in_embedded_session_metadata, show_conditional_routing_on_send, show_conditional_routing_on_send_metadata, show_initial_conditional_fields, show_initial_conditional_fields_metadata, show_localized_watermarks, show_localized_watermarks_metadata, show_tutorials, show_tutorials_metadata, signature_providers, signature_providers_metadata, sign_date_format, sign_date_format_metadata, signer_attach_certificate_to_envelope_pdf, signer_attach_certificate_to_envelope_pdf_metadata, signer_attach_concat, signer_attach_concat_metadata, signer_can_create_account, signer_can_create_account_metadata, signer_can_sign_on_mobile, signer_can_sign_on_mobile_metadata, signer_in_session_use_envelope_complete_email, signer_in_session_use_envelope_complete_email_metadata, signer_login_requirements, signer_login_requirements_metadata, signer_must_have_account, signer_must_have_account_metadata, signer_must_login_to_sign, signer_must_login_to_sign_metadata, signer_show_secure_field_initial_values, signer_show_secure_field_initial_values_metadata, signing_session_timeout, signing_session_timeout_metadata, signing_ui_version, signing_ui_version_metadata, sign_time_format, sign_time_format_metadata, sign_time_show_am_pm, sign_time_show_am_pm_metadata, simplified_sending_enabled, simplified_sending_enabled_metadata, single_sign_on_enabled, single_sign_on_enabled_metadata, skip_auth_completed_envelopes, skip_auth_completed_envelopes_metadata, social_id_recip_auth, social_id_recip_auth_metadata, specify_document_visibility, specify_document_visibility_metadata, start_in_advanced_correct, start_in_advanced_correct_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, suppress_certificate_enforcement, suppress_certificate_enforcement_metadata, tab_account_settings, timezone_offset_api, timezone_offset_api_metadata, timezone_offset_ui, timezone_offset_ui_metadata, universal_signature_opt_in, use_account_level_email, use_account_level_email_metadata, use_consumer_disclosure, use_consumer_disclosure_metadata, use_consumer_disclosure_within_account, use_consumer_disclosure_within_account_metadata, use_derived_keys, use_derived_keys_metadata, use_docu_sign_express_signer_certificate, use_docu_sign_express_signer_certificate_metadata, use_multi_app_groups_data, use_multi_app_groups_data_metadata, use_new_blob_for_pdf, use_new_blob_for_pdf_metadata, use_safe_signer_certificates, use_safe_signer_certificates_metadata, uses_api, uses_api_metadata, use_signature_provider_platform, use_signature_provider_platform_metadata, validations_allowed, validations_allowed_metadata, validations_brand, validations_brand_metadata, validations_cadence, validations_cadence_metadata, validations_enabled, validations_enabled_metadata, validations_report, validations_report_metadata, water_mark_enabled, water_mark_enabled_metadata, write_reminder_to_envelope_history, write_reminder_to_envelope_history_metadata, wurfl_min_allowable_screen_size, wurfl_min_allowable_screen_size_metadata].hash
|
5046
5179
|
end
|
5047
5180
|
|
5048
5181
|
# Builds the object from hash
|
@@ -37,6 +37,11 @@ module DocuSign_eSign
|
|
37
37
|
|
38
38
|
attr_accessor :enable_envelope_copy_with_data_metadata
|
39
39
|
|
40
|
+
#
|
41
|
+
attr_accessor :enable_legacy_homepage_link
|
42
|
+
|
43
|
+
attr_accessor :enable_legacy_homepage_link_metadata
|
44
|
+
|
40
45
|
#
|
41
46
|
attr_accessor :hide_send_an_envelope
|
42
47
|
|
@@ -85,6 +90,8 @@ module DocuSign_eSign
|
|
85
90
|
:'enable_easy_sign_template_upload_metadata' => :'enableEasySignTemplateUploadMetadata',
|
86
91
|
:'enable_envelope_copy_with_data' => :'enableEnvelopeCopyWithData',
|
87
92
|
:'enable_envelope_copy_with_data_metadata' => :'enableEnvelopeCopyWithDataMetadata',
|
93
|
+
:'enable_legacy_homepage_link' => :'enableLegacyHomepageLink',
|
94
|
+
:'enable_legacy_homepage_link_metadata' => :'enableLegacyHomepageLinkMetadata',
|
88
95
|
:'hide_send_an_envelope' => :'hideSendAnEnvelope',
|
89
96
|
:'hide_send_an_envelope_metadata' => :'hideSendAnEnvelopeMetadata',
|
90
97
|
:'hide_use_a_template' => :'hideUseATemplate',
|
@@ -115,6 +122,8 @@ module DocuSign_eSign
|
|
115
122
|
:'enable_easy_sign_template_upload_metadata' => :'SettingsMetadata',
|
116
123
|
:'enable_envelope_copy_with_data' => :'String',
|
117
124
|
:'enable_envelope_copy_with_data_metadata' => :'SettingsMetadata',
|
125
|
+
:'enable_legacy_homepage_link' => :'String',
|
126
|
+
:'enable_legacy_homepage_link_metadata' => :'SettingsMetadata',
|
118
127
|
:'hide_send_an_envelope' => :'String',
|
119
128
|
:'hide_send_an_envelope_metadata' => :'SettingsMetadata',
|
120
129
|
:'hide_use_a_template' => :'String',
|
@@ -180,6 +189,14 @@ module DocuSign_eSign
|
|
180
189
|
self.enable_envelope_copy_with_data_metadata = attributes[:'enableEnvelopeCopyWithDataMetadata']
|
181
190
|
end
|
182
191
|
|
192
|
+
if attributes.has_key?(:'enableLegacyHomepageLink')
|
193
|
+
self.enable_legacy_homepage_link = attributes[:'enableLegacyHomepageLink']
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes.has_key?(:'enableLegacyHomepageLinkMetadata')
|
197
|
+
self.enable_legacy_homepage_link_metadata = attributes[:'enableLegacyHomepageLinkMetadata']
|
198
|
+
end
|
199
|
+
|
183
200
|
if attributes.has_key?(:'hideSendAnEnvelope')
|
184
201
|
self.hide_send_an_envelope = attributes[:'hideSendAnEnvelope']
|
185
202
|
end
|
@@ -265,6 +282,8 @@ module DocuSign_eSign
|
|
265
282
|
enable_easy_sign_template_upload_metadata == o.enable_easy_sign_template_upload_metadata &&
|
266
283
|
enable_envelope_copy_with_data == o.enable_envelope_copy_with_data &&
|
267
284
|
enable_envelope_copy_with_data_metadata == o.enable_envelope_copy_with_data_metadata &&
|
285
|
+
enable_legacy_homepage_link == o.enable_legacy_homepage_link &&
|
286
|
+
enable_legacy_homepage_link_metadata == o.enable_legacy_homepage_link_metadata &&
|
268
287
|
hide_send_an_envelope == o.hide_send_an_envelope &&
|
269
288
|
hide_send_an_envelope_metadata == o.hide_send_an_envelope_metadata &&
|
270
289
|
hide_use_a_template == o.hide_use_a_template &&
|
@@ -290,7 +309,7 @@ module DocuSign_eSign
|
|
290
309
|
# Calculates hash code according to all attributes.
|
291
310
|
# @return [Fixnum] Hash code
|
292
311
|
def hash
|
293
|
-
[admin_message, ask_an_admin, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
|
312
|
+
[admin_message, ask_an_admin, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, enable_legacy_homepage_link, enable_legacy_homepage_link_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
|
294
313
|
end
|
295
314
|
|
296
315
|
# Builds the object from hash
|
@@ -0,0 +1,184 @@
|
|
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 BulkSendBatchRequest
|
16
|
+
#
|
17
|
+
attr_accessor :batch_name
|
18
|
+
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
+
def self.attribute_map
|
21
|
+
{
|
22
|
+
:'batch_name' => :'batchName'
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
# Attribute type mapping.
|
27
|
+
def self.swagger_types
|
28
|
+
{
|
29
|
+
:'batch_name' => :'String'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Initializes the object
|
34
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
35
|
+
def initialize(attributes = {})
|
36
|
+
return unless attributes.is_a?(Hash)
|
37
|
+
|
38
|
+
# convert string to symbol for hash key
|
39
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
|
+
|
41
|
+
if attributes.has_key?(:'batchName')
|
42
|
+
self.batch_name = attributes[:'batchName']
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
47
|
+
# @return Array for valid properties with the reasons
|
48
|
+
def list_invalid_properties
|
49
|
+
invalid_properties = Array.new
|
50
|
+
invalid_properties
|
51
|
+
end
|
52
|
+
|
53
|
+
# Check to see if the all the properties in the model are valid
|
54
|
+
# @return true if the model is valid
|
55
|
+
def valid?
|
56
|
+
true
|
57
|
+
end
|
58
|
+
|
59
|
+
# Checks equality by comparing each attribute.
|
60
|
+
# @param [Object] Object to be compared
|
61
|
+
def ==(o)
|
62
|
+
return true if self.equal?(o)
|
63
|
+
self.class == o.class &&
|
64
|
+
batch_name == o.batch_name
|
65
|
+
end
|
66
|
+
|
67
|
+
# @see the `==` method
|
68
|
+
# @param [Object] Object to be compared
|
69
|
+
def eql?(o)
|
70
|
+
self == o
|
71
|
+
end
|
72
|
+
|
73
|
+
# Calculates hash code according to all attributes.
|
74
|
+
# @return [Fixnum] Hash code
|
75
|
+
def hash
|
76
|
+
[batch_name].hash
|
77
|
+
end
|
78
|
+
|
79
|
+
# Builds the object from hash
|
80
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
81
|
+
# @return [Object] Returns the model itself
|
82
|
+
def build_from_hash(attributes)
|
83
|
+
return nil unless attributes.is_a?(Hash)
|
84
|
+
self.class.swagger_types.each_pair do |key, type|
|
85
|
+
if type =~ /\AArray<(.*)>/i
|
86
|
+
# check to ensure the input is an array given that the attribute
|
87
|
+
# is documented as an array but the input is not
|
88
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
89
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
90
|
+
end
|
91
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
92
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
93
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
94
|
+
end
|
95
|
+
|
96
|
+
self
|
97
|
+
end
|
98
|
+
|
99
|
+
# Deserializes the data based on type
|
100
|
+
# @param string type Data type
|
101
|
+
# @param string value Value to be deserialized
|
102
|
+
# @return [Object] Deserialized data
|
103
|
+
def _deserialize(type, value)
|
104
|
+
case type.to_sym
|
105
|
+
when :DateTime
|
106
|
+
DateTime.parse(value)
|
107
|
+
when :Date
|
108
|
+
Date.parse(value)
|
109
|
+
when :String
|
110
|
+
value.to_s
|
111
|
+
when :Integer
|
112
|
+
value.to_i
|
113
|
+
when :Float
|
114
|
+
value.to_f
|
115
|
+
when :BOOLEAN
|
116
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
117
|
+
true
|
118
|
+
else
|
119
|
+
false
|
120
|
+
end
|
121
|
+
when :Object
|
122
|
+
# generic object (usually a Hash), return directly
|
123
|
+
value
|
124
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
125
|
+
inner_type = Regexp.last_match[:inner_type]
|
126
|
+
value.map { |v| _deserialize(inner_type, v) }
|
127
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
128
|
+
k_type = Regexp.last_match[:k_type]
|
129
|
+
v_type = Regexp.last_match[:v_type]
|
130
|
+
{}.tap do |hash|
|
131
|
+
value.each do |k, v|
|
132
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
else # model
|
136
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
137
|
+
temp_model.build_from_hash(value)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Returns the string representation of the object
|
142
|
+
# @return [String] String presentation of the object
|
143
|
+
def to_s
|
144
|
+
to_hash.to_s
|
145
|
+
end
|
146
|
+
|
147
|
+
# to_body is an alias to to_hash (backward compatibility)
|
148
|
+
# @return [Hash] Returns the object in the form of hash
|
149
|
+
def to_body
|
150
|
+
to_hash
|
151
|
+
end
|
152
|
+
|
153
|
+
# Returns the object in the form of hash
|
154
|
+
# @return [Hash] Returns the object in the form of hash
|
155
|
+
def to_hash
|
156
|
+
hash = {}
|
157
|
+
self.class.attribute_map.each_pair do |attr, param|
|
158
|
+
value = self.send(attr)
|
159
|
+
next if value.nil?
|
160
|
+
hash[param] = _to_hash(value)
|
161
|
+
end
|
162
|
+
hash
|
163
|
+
end
|
164
|
+
|
165
|
+
# Outputs non-array value in the form of hash
|
166
|
+
# For object, use to_hash. Otherwise, just return the value
|
167
|
+
# @param [Object] value Any valid value
|
168
|
+
# @return [Hash] Returns the value in the form of hash
|
169
|
+
def _to_hash(value)
|
170
|
+
if value.is_a?(Array)
|
171
|
+
value.compact.map { |v| _to_hash(v) }
|
172
|
+
elsif value.is_a?(Hash)
|
173
|
+
{}.tap do |hash|
|
174
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
175
|
+
end
|
176
|
+
elsif value.respond_to? :to_hash
|
177
|
+
value.to_hash
|
178
|
+
else
|
179
|
+
value
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
end
|
184
|
+
end
|