docusign_esign 3.5.0 → 3.6.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/docusign_esign-2.6.0.gem +0 -0
  4. data/docusign_esign-2.7.0.rc1.gem +0 -0
  5. data/docusign_esign-3.5.0.gem +0 -0
  6. data/lib/docusign_esign.rb +10 -0
  7. data/lib/docusign_esign/api/accounts_api.rb +556 -4
  8. data/lib/docusign_esign/api/envelopes_api.rb +56 -2
  9. data/lib/docusign_esign/models/account_settings_information.rb +20 -1
  10. data/lib/docusign_esign/models/account_signature.rb +497 -0
  11. data/lib/docusign_esign/models/account_signature_definition.rb +338 -0
  12. data/lib/docusign_esign/models/account_signatures_information.rb +187 -0
  13. data/lib/docusign_esign/models/correct_view_request.rb +14 -4
  14. data/lib/docusign_esign/models/in_person_signer.rb +11 -1
  15. data/lib/docusign_esign/models/notary_certificate.rb +869 -0
  16. data/lib/docusign_esign/models/notary_recipient.rb +1097 -0
  17. data/lib/docusign_esign/models/notary_seal.rb +983 -0
  18. data/lib/docusign_esign/models/recipients.rb +13 -1
  19. data/lib/docusign_esign/models/signature_group.rb +205 -0
  20. data/lib/docusign_esign/models/signature_group_def.rb +195 -0
  21. data/lib/docusign_esign/models/signature_user.rb +215 -0
  22. data/lib/docusign_esign/models/signature_user_def.rb +205 -0
  23. data/lib/docusign_esign/models/signer.rb +11 -1
  24. data/lib/docusign_esign/models/tabs.rb +25 -1
  25. data/lib/docusign_esign/models/template_recipients.rb +13 -1
  26. data/lib/docusign_esign/models/template_tabs.rb +25 -1
  27. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
  28. data/lib/docusign_esign/models/witness.rb +11 -1
  29. data/lib/docusign_esign/version.rb +1 -1
  30. data/tests/Gemfile.lock +1 -1
  31. metadata +17 -4
@@ -2278,6 +2278,60 @@ module DocuSign_eSign
2278
2278
  return data, status_code, headers
2279
2279
  end
2280
2280
 
2281
+ # Revokes the correction view URL to the Envelope UI
2282
+ #
2283
+ # @param account_id The external account number (int) or account ID Guid.
2284
+ # @param envelope_id The envelopeId Guid of the envelope being accessed.
2285
+ # @param correct_view_request (optional parameter)
2286
+ # @return [nil]
2287
+ def delete_envelope_correct_view(account_id, envelope_id, correct_view_request)
2288
+ delete_envelope_correct_view_with_http_info(account_id, envelope_id, correct_view_request)
2289
+ return nil
2290
+ end
2291
+
2292
+ # Revokes the correction view URL to the Envelope UI
2293
+ #
2294
+ # @param account_id The external account number (int) or account ID Guid.
2295
+ # @param envelope_id The envelopeId Guid of the envelope being accessed.
2296
+ # @param correct_view_request (optional parameter)
2297
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2298
+ def delete_envelope_correct_view_with_http_info(account_id, envelope_id, correct_view_request)
2299
+ if @api_client.config.debugging
2300
+ @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_envelope_correct_view ..."
2301
+ end
2302
+ # verify the required parameter 'account_id' is set
2303
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_envelope_correct_view" if account_id.nil?
2304
+ # verify the required parameter 'envelope_id' is set
2305
+ fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_envelope_correct_view" if envelope_id.nil?
2306
+ # resource path
2307
+ local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/correct".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2308
+
2309
+ # query parameters
2310
+ query_params = {}
2311
+
2312
+ # header parameters
2313
+ header_params = {}
2314
+ # HTTP header 'Accept' (if needed)
2315
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2316
+
2317
+ # form parameters
2318
+ form_params = {}
2319
+
2320
+ # http body (model)
2321
+ post_body = @api_client.object_to_http_body(correct_view_request)
2322
+ auth_names = []
2323
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2324
+ :header_params => header_params,
2325
+ :query_params => query_params,
2326
+ :form_params => form_params,
2327
+ :body => post_body,
2328
+ :auth_names => auth_names)
2329
+ if @api_client.config.debugging
2330
+ @api_client.config.logger.debug "API called: EnvelopesApi#delete_envelope_correct_view\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2331
+ end
2332
+ return data, status_code, headers
2333
+ end
2334
+
2281
2335
  # Delete envelope transfer rules for an account.
2282
2336
  #
2283
2337
  # @param account_id The external account number (int) or account ID Guid.
@@ -2943,7 +2997,7 @@ module DocuSign_eSign
2943
2997
  # Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
2944
2998
  # @param account_id The external account number (int) or account ID Guid.
2945
2999
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
2946
- # @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
3000
+ # @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
2947
3001
  # @param recipient_id The ID of the recipient being accessed.
2948
3002
  # @param DocuSign_eSign::GetConsumerDisclosureOptions Options for modifying the behavior of the function.
2949
3003
  # @return [ConsumerDisclosure]
@@ -2956,7 +3010,7 @@ module DocuSign_eSign
2956
3010
  # Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
2957
3011
  # @param account_id The external account number (int) or account ID Guid.
2958
3012
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
2959
- # @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
3013
+ # @param lang_code The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
2960
3014
  # @param recipient_id The ID of the recipient being accessed.
2961
3015
  # @param DocuSign_eSign::GetConsumerDisclosureOptions Options for modifying the behavior of the function.
2962
3016
  # @return [Array<(ConsumerDisclosure, Fixnum, Hash)>] ConsumerDisclosure data, response status code and response headers
@@ -22,6 +22,11 @@ module DocuSign_eSign
22
22
 
23
23
  attr_accessor :account_date_time_format_metadata
24
24
 
25
+ #
26
+ attr_accessor :account_default_language
27
+
28
+ attr_accessor :account_default_language_metadata
29
+
25
30
  #
26
31
  attr_accessor :account_name
27
32
 
@@ -1312,6 +1317,8 @@ module DocuSign_eSign
1312
1317
  :'access_code_format' => :'accessCodeFormat',
1313
1318
  :'account_date_time_format' => :'accountDateTimeFormat',
1314
1319
  :'account_date_time_format_metadata' => :'accountDateTimeFormatMetadata',
1320
+ :'account_default_language' => :'accountDefaultLanguage',
1321
+ :'account_default_language_metadata' => :'accountDefaultLanguageMetadata',
1315
1322
  :'account_name' => :'accountName',
1316
1323
  :'account_name_metadata' => :'accountNameMetadata',
1317
1324
  :'account_notification' => :'accountNotification',
@@ -1833,6 +1840,8 @@ module DocuSign_eSign
1833
1840
  :'access_code_format' => :'AccessCodeFormat',
1834
1841
  :'account_date_time_format' => :'String',
1835
1842
  :'account_date_time_format_metadata' => :'SettingsMetadata',
1843
+ :'account_default_language' => :'String',
1844
+ :'account_default_language_metadata' => :'SettingsMetadata',
1836
1845
  :'account_name' => :'String',
1837
1846
  :'account_name_metadata' => :'SettingsMetadata',
1838
1847
  :'account_notification' => :'AccountNotification',
@@ -2368,6 +2377,14 @@ module DocuSign_eSign
2368
2377
  self.account_date_time_format_metadata = attributes[:'accountDateTimeFormatMetadata']
2369
2378
  end
2370
2379
 
2380
+ if attributes.has_key?(:'accountDefaultLanguage')
2381
+ self.account_default_language = attributes[:'accountDefaultLanguage']
2382
+ end
2383
+
2384
+ if attributes.has_key?(:'accountDefaultLanguageMetadata')
2385
+ self.account_default_language_metadata = attributes[:'accountDefaultLanguageMetadata']
2386
+ end
2387
+
2371
2388
  if attributes.has_key?(:'accountName')
2372
2389
  self.account_name = attributes[:'accountName']
2373
2390
  end
@@ -4444,6 +4461,8 @@ module DocuSign_eSign
4444
4461
  access_code_format == o.access_code_format &&
4445
4462
  account_date_time_format == o.account_date_time_format &&
4446
4463
  account_date_time_format_metadata == o.account_date_time_format_metadata &&
4464
+ account_default_language == o.account_default_language &&
4465
+ account_default_language_metadata == o.account_default_language_metadata &&
4447
4466
  account_name == o.account_name &&
4448
4467
  account_name_metadata == o.account_name_metadata &&
4449
4468
  account_notification == o.account_notification &&
@@ -4967,7 +4986,7 @@ module DocuSign_eSign
4967
4986
  # Calculates hash code according to all attributes.
4968
4987
  # @return [Fixnum] Hash code
4969
4988
  def hash
4970
- [access_code_format, account_date_time_format, account_date_time_format_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_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_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
4989
+ [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_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_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
4971
4990
  end
4972
4991
 
4973
4992
  # Builds the object from hash
@@ -0,0 +1,497 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module DocuSign_eSign
16
+ class AccountSignature
17
+ #
18
+ attr_accessor :adopted_date_time
19
+
20
+ # Indicates the date and time the item was created.
21
+ attr_accessor :created_date_time
22
+
23
+ #
24
+ attr_accessor :custom_field
25
+
26
+ attr_accessor :date_stamp_properties
27
+
28
+ #
29
+ attr_accessor :disallow_user_resize_stamp
30
+
31
+ attr_accessor :error_details
32
+
33
+ #
34
+ attr_accessor :external_id
35
+
36
+ #
37
+ attr_accessor :image_base64
38
+
39
+ #
40
+ attr_accessor :image_type
41
+
42
+ #
43
+ attr_accessor :initials150_image_id
44
+
45
+ # Contains the URI for an endpoint that you can use to retrieve the initials image.
46
+ attr_accessor :initials_image_uri
47
+
48
+ #
49
+ attr_accessor :is_default
50
+
51
+ # The date and time the item was last modified.
52
+ attr_accessor :last_modified_date_time
53
+
54
+ #
55
+ attr_accessor :nrds_id
56
+
57
+ #
58
+ attr_accessor :nrds_last_name
59
+
60
+ #
61
+ attr_accessor :nrds_status
62
+
63
+ #
64
+ attr_accessor :phonetic_name
65
+
66
+ #
67
+ attr_accessor :signature150_image_id
68
+
69
+ #
70
+ attr_accessor :signature_font
71
+
72
+ #
73
+ attr_accessor :signature_groups
74
+
75
+ # Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID.
76
+ attr_accessor :signature_id
77
+
78
+ # Contains the URI for an endpoint that you can use to retrieve the signature image.
79
+ attr_accessor :signature_image_uri
80
+
81
+ #
82
+ attr_accessor :signature_initials
83
+
84
+ # Specifies the user signature name.
85
+ attr_accessor :signature_name
86
+
87
+ #
88
+ attr_accessor :signature_rights
89
+
90
+ #
91
+ attr_accessor :signature_type
92
+
93
+ #
94
+ attr_accessor :signature_users
95
+
96
+ #
97
+ attr_accessor :stamp_format
98
+
99
+ #
100
+ attr_accessor :stamp_image_uri
101
+
102
+ #
103
+ attr_accessor :stamp_size_mm
104
+
105
+ #
106
+ attr_accessor :stamp_type
107
+
108
+ # 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.
109
+ attr_accessor :status
110
+
111
+ # Attribute mapping from ruby-style variable name to JSON key.
112
+ def self.attribute_map
113
+ {
114
+ :'adopted_date_time' => :'adoptedDateTime',
115
+ :'created_date_time' => :'createdDateTime',
116
+ :'custom_field' => :'customField',
117
+ :'date_stamp_properties' => :'dateStampProperties',
118
+ :'disallow_user_resize_stamp' => :'disallowUserResizeStamp',
119
+ :'error_details' => :'errorDetails',
120
+ :'external_id' => :'externalID',
121
+ :'image_base64' => :'imageBase64',
122
+ :'image_type' => :'imageType',
123
+ :'initials150_image_id' => :'initials150ImageId',
124
+ :'initials_image_uri' => :'initialsImageUri',
125
+ :'is_default' => :'isDefault',
126
+ :'last_modified_date_time' => :'lastModifiedDateTime',
127
+ :'nrds_id' => :'nrdsId',
128
+ :'nrds_last_name' => :'nrdsLastName',
129
+ :'nrds_status' => :'nrdsStatus',
130
+ :'phonetic_name' => :'phoneticName',
131
+ :'signature150_image_id' => :'signature150ImageId',
132
+ :'signature_font' => :'signatureFont',
133
+ :'signature_groups' => :'signatureGroups',
134
+ :'signature_id' => :'signatureId',
135
+ :'signature_image_uri' => :'signatureImageUri',
136
+ :'signature_initials' => :'signatureInitials',
137
+ :'signature_name' => :'signatureName',
138
+ :'signature_rights' => :'signatureRights',
139
+ :'signature_type' => :'signatureType',
140
+ :'signature_users' => :'signatureUsers',
141
+ :'stamp_format' => :'stampFormat',
142
+ :'stamp_image_uri' => :'stampImageUri',
143
+ :'stamp_size_mm' => :'stampSizeMM',
144
+ :'stamp_type' => :'stampType',
145
+ :'status' => :'status'
146
+ }
147
+ end
148
+
149
+ # Attribute type mapping.
150
+ def self.swagger_types
151
+ {
152
+ :'adopted_date_time' => :'String',
153
+ :'created_date_time' => :'String',
154
+ :'custom_field' => :'String',
155
+ :'date_stamp_properties' => :'DateStampProperties',
156
+ :'disallow_user_resize_stamp' => :'String',
157
+ :'error_details' => :'ErrorDetails',
158
+ :'external_id' => :'String',
159
+ :'image_base64' => :'String',
160
+ :'image_type' => :'String',
161
+ :'initials150_image_id' => :'String',
162
+ :'initials_image_uri' => :'String',
163
+ :'is_default' => :'String',
164
+ :'last_modified_date_time' => :'String',
165
+ :'nrds_id' => :'String',
166
+ :'nrds_last_name' => :'String',
167
+ :'nrds_status' => :'String',
168
+ :'phonetic_name' => :'String',
169
+ :'signature150_image_id' => :'String',
170
+ :'signature_font' => :'String',
171
+ :'signature_groups' => :'Array<SignatureGroup>',
172
+ :'signature_id' => :'String',
173
+ :'signature_image_uri' => :'String',
174
+ :'signature_initials' => :'String',
175
+ :'signature_name' => :'String',
176
+ :'signature_rights' => :'String',
177
+ :'signature_type' => :'String',
178
+ :'signature_users' => :'Array<SignatureUser>',
179
+ :'stamp_format' => :'String',
180
+ :'stamp_image_uri' => :'String',
181
+ :'stamp_size_mm' => :'String',
182
+ :'stamp_type' => :'String',
183
+ :'status' => :'String'
184
+ }
185
+ end
186
+
187
+ # Initializes the object
188
+ # @param [Hash] attributes Model attributes in the form of hash
189
+ def initialize(attributes = {})
190
+ return unless attributes.is_a?(Hash)
191
+
192
+ # convert string to symbol for hash key
193
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
194
+
195
+ if attributes.has_key?(:'adoptedDateTime')
196
+ self.adopted_date_time = attributes[:'adoptedDateTime']
197
+ end
198
+
199
+ if attributes.has_key?(:'createdDateTime')
200
+ self.created_date_time = attributes[:'createdDateTime']
201
+ end
202
+
203
+ if attributes.has_key?(:'customField')
204
+ self.custom_field = attributes[:'customField']
205
+ end
206
+
207
+ if attributes.has_key?(:'dateStampProperties')
208
+ self.date_stamp_properties = attributes[:'dateStampProperties']
209
+ end
210
+
211
+ if attributes.has_key?(:'disallowUserResizeStamp')
212
+ self.disallow_user_resize_stamp = attributes[:'disallowUserResizeStamp']
213
+ end
214
+
215
+ if attributes.has_key?(:'errorDetails')
216
+ self.error_details = attributes[:'errorDetails']
217
+ end
218
+
219
+ if attributes.has_key?(:'externalID')
220
+ self.external_id = attributes[:'externalID']
221
+ end
222
+
223
+ if attributes.has_key?(:'imageBase64')
224
+ self.image_base64 = attributes[:'imageBase64']
225
+ end
226
+
227
+ if attributes.has_key?(:'imageType')
228
+ self.image_type = attributes[:'imageType']
229
+ end
230
+
231
+ if attributes.has_key?(:'initials150ImageId')
232
+ self.initials150_image_id = attributes[:'initials150ImageId']
233
+ end
234
+
235
+ if attributes.has_key?(:'initialsImageUri')
236
+ self.initials_image_uri = attributes[:'initialsImageUri']
237
+ end
238
+
239
+ if attributes.has_key?(:'isDefault')
240
+ self.is_default = attributes[:'isDefault']
241
+ end
242
+
243
+ if attributes.has_key?(:'lastModifiedDateTime')
244
+ self.last_modified_date_time = attributes[:'lastModifiedDateTime']
245
+ end
246
+
247
+ if attributes.has_key?(:'nrdsId')
248
+ self.nrds_id = attributes[:'nrdsId']
249
+ end
250
+
251
+ if attributes.has_key?(:'nrdsLastName')
252
+ self.nrds_last_name = attributes[:'nrdsLastName']
253
+ end
254
+
255
+ if attributes.has_key?(:'nrdsStatus')
256
+ self.nrds_status = attributes[:'nrdsStatus']
257
+ end
258
+
259
+ if attributes.has_key?(:'phoneticName')
260
+ self.phonetic_name = attributes[:'phoneticName']
261
+ end
262
+
263
+ if attributes.has_key?(:'signature150ImageId')
264
+ self.signature150_image_id = attributes[:'signature150ImageId']
265
+ end
266
+
267
+ if attributes.has_key?(:'signatureFont')
268
+ self.signature_font = attributes[:'signatureFont']
269
+ end
270
+
271
+ if attributes.has_key?(:'signatureGroups')
272
+ if (value = attributes[:'signatureGroups']).is_a?(Array)
273
+ self.signature_groups = value
274
+ end
275
+ end
276
+
277
+ if attributes.has_key?(:'signatureId')
278
+ self.signature_id = attributes[:'signatureId']
279
+ end
280
+
281
+ if attributes.has_key?(:'signatureImageUri')
282
+ self.signature_image_uri = attributes[:'signatureImageUri']
283
+ end
284
+
285
+ if attributes.has_key?(:'signatureInitials')
286
+ self.signature_initials = attributes[:'signatureInitials']
287
+ end
288
+
289
+ if attributes.has_key?(:'signatureName')
290
+ self.signature_name = attributes[:'signatureName']
291
+ end
292
+
293
+ if attributes.has_key?(:'signatureRights')
294
+ self.signature_rights = attributes[:'signatureRights']
295
+ end
296
+
297
+ if attributes.has_key?(:'signatureType')
298
+ self.signature_type = attributes[:'signatureType']
299
+ end
300
+
301
+ if attributes.has_key?(:'signatureUsers')
302
+ if (value = attributes[:'signatureUsers']).is_a?(Array)
303
+ self.signature_users = value
304
+ end
305
+ end
306
+
307
+ if attributes.has_key?(:'stampFormat')
308
+ self.stamp_format = attributes[:'stampFormat']
309
+ end
310
+
311
+ if attributes.has_key?(:'stampImageUri')
312
+ self.stamp_image_uri = attributes[:'stampImageUri']
313
+ end
314
+
315
+ if attributes.has_key?(:'stampSizeMM')
316
+ self.stamp_size_mm = attributes[:'stampSizeMM']
317
+ end
318
+
319
+ if attributes.has_key?(:'stampType')
320
+ self.stamp_type = attributes[:'stampType']
321
+ end
322
+
323
+ if attributes.has_key?(:'status')
324
+ self.status = attributes[:'status']
325
+ end
326
+ end
327
+
328
+ # Show invalid properties with the reasons. Usually used together with valid?
329
+ # @return Array for valid properties with the reasons
330
+ def list_invalid_properties
331
+ invalid_properties = Array.new
332
+ invalid_properties
333
+ end
334
+
335
+ # Check to see if the all the properties in the model are valid
336
+ # @return true if the model is valid
337
+ def valid?
338
+ true
339
+ end
340
+
341
+ # Checks equality by comparing each attribute.
342
+ # @param [Object] Object to be compared
343
+ def ==(o)
344
+ return true if self.equal?(o)
345
+ self.class == o.class &&
346
+ adopted_date_time == o.adopted_date_time &&
347
+ created_date_time == o.created_date_time &&
348
+ custom_field == o.custom_field &&
349
+ date_stamp_properties == o.date_stamp_properties &&
350
+ disallow_user_resize_stamp == o.disallow_user_resize_stamp &&
351
+ error_details == o.error_details &&
352
+ external_id == o.external_id &&
353
+ image_base64 == o.image_base64 &&
354
+ image_type == o.image_type &&
355
+ initials150_image_id == o.initials150_image_id &&
356
+ initials_image_uri == o.initials_image_uri &&
357
+ is_default == o.is_default &&
358
+ last_modified_date_time == o.last_modified_date_time &&
359
+ nrds_id == o.nrds_id &&
360
+ nrds_last_name == o.nrds_last_name &&
361
+ nrds_status == o.nrds_status &&
362
+ phonetic_name == o.phonetic_name &&
363
+ signature150_image_id == o.signature150_image_id &&
364
+ signature_font == o.signature_font &&
365
+ signature_groups == o.signature_groups &&
366
+ signature_id == o.signature_id &&
367
+ signature_image_uri == o.signature_image_uri &&
368
+ signature_initials == o.signature_initials &&
369
+ signature_name == o.signature_name &&
370
+ signature_rights == o.signature_rights &&
371
+ signature_type == o.signature_type &&
372
+ signature_users == o.signature_users &&
373
+ stamp_format == o.stamp_format &&
374
+ stamp_image_uri == o.stamp_image_uri &&
375
+ stamp_size_mm == o.stamp_size_mm &&
376
+ stamp_type == o.stamp_type &&
377
+ status == o.status
378
+ end
379
+
380
+ # @see the `==` method
381
+ # @param [Object] Object to be compared
382
+ def eql?(o)
383
+ self == o
384
+ end
385
+
386
+ # Calculates hash code according to all attributes.
387
+ # @return [Fixnum] Hash code
388
+ def hash
389
+ [adopted_date_time, created_date_time, custom_field, date_stamp_properties, disallow_user_resize_stamp, error_details, external_id, image_base64, image_type, initials150_image_id, initials_image_uri, is_default, last_modified_date_time, nrds_id, nrds_last_name, nrds_status, phonetic_name, signature150_image_id, signature_font, signature_groups, signature_id, signature_image_uri, signature_initials, signature_name, signature_rights, signature_type, signature_users, stamp_format, stamp_image_uri, stamp_size_mm, stamp_type, status].hash
390
+ end
391
+
392
+ # Builds the object from hash
393
+ # @param [Hash] attributes Model attributes in the form of hash
394
+ # @return [Object] Returns the model itself
395
+ def build_from_hash(attributes)
396
+ return nil unless attributes.is_a?(Hash)
397
+ self.class.swagger_types.each_pair do |key, type|
398
+ if type =~ /\AArray<(.*)>/i
399
+ # check to ensure the input is an array given that the attribute
400
+ # is documented as an array but the input is not
401
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
402
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
403
+ end
404
+ elsif !attributes[self.class.attribute_map[key]].nil?
405
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
406
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
407
+ end
408
+
409
+ self
410
+ end
411
+
412
+ # Deserializes the data based on type
413
+ # @param string type Data type
414
+ # @param string value Value to be deserialized
415
+ # @return [Object] Deserialized data
416
+ def _deserialize(type, value)
417
+ case type.to_sym
418
+ when :DateTime
419
+ DateTime.parse(value)
420
+ when :Date
421
+ Date.parse(value)
422
+ when :String
423
+ value.to_s
424
+ when :Integer
425
+ value.to_i
426
+ when :Float
427
+ value.to_f
428
+ when :BOOLEAN
429
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
430
+ true
431
+ else
432
+ false
433
+ end
434
+ when :Object
435
+ # generic object (usually a Hash), return directly
436
+ value
437
+ when /\AArray<(?<inner_type>.+)>\z/
438
+ inner_type = Regexp.last_match[:inner_type]
439
+ value.map { |v| _deserialize(inner_type, v) }
440
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
441
+ k_type = Regexp.last_match[:k_type]
442
+ v_type = Regexp.last_match[:v_type]
443
+ {}.tap do |hash|
444
+ value.each do |k, v|
445
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
446
+ end
447
+ end
448
+ else # model
449
+ temp_model = DocuSign_eSign.const_get(type).new
450
+ temp_model.build_from_hash(value)
451
+ end
452
+ end
453
+
454
+ # Returns the string representation of the object
455
+ # @return [String] String presentation of the object
456
+ def to_s
457
+ to_hash.to_s
458
+ end
459
+
460
+ # to_body is an alias to to_hash (backward compatibility)
461
+ # @return [Hash] Returns the object in the form of hash
462
+ def to_body
463
+ to_hash
464
+ end
465
+
466
+ # Returns the object in the form of hash
467
+ # @return [Hash] Returns the object in the form of hash
468
+ def to_hash
469
+ hash = {}
470
+ self.class.attribute_map.each_pair do |attr, param|
471
+ value = self.send(attr)
472
+ next if value.nil?
473
+ hash[param] = _to_hash(value)
474
+ end
475
+ hash
476
+ end
477
+
478
+ # Outputs non-array value in the form of hash
479
+ # For object, use to_hash. Otherwise, just return the value
480
+ # @param [Object] value Any valid value
481
+ # @return [Hash] Returns the value in the form of hash
482
+ def _to_hash(value)
483
+ if value.is_a?(Array)
484
+ value.compact.map { |v| _to_hash(v) }
485
+ elsif value.is_a?(Hash)
486
+ {}.tap do |hash|
487
+ value.each { |k, v| hash[k] = _to_hash(v) }
488
+ end
489
+ elsif value.respond_to? :to_hash
490
+ value.to_hash
491
+ else
492
+ value
493
+ end
494
+ end
495
+
496
+ end
497
+ end