dropbox-sign 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +23 -16
- data/VERSION +1 -1
- data/docs/AccountApi.md +33 -38
- data/docs/ApiAppApi.md +64 -64
- data/docs/BulkSendJobApi.md +21 -21
- data/docs/EmbeddedApi.md +22 -22
- data/docs/FaxApi.md +57 -55
- data/docs/FaxLineAddUserRequest.md +1 -1
- data/docs/FaxLineApi.md +74 -63
- data/docs/FaxLineCreateRequest.md +4 -4
- data/docs/FaxLineDeleteRequest.md +1 -1
- data/docs/FaxLineRemoveUserRequest.md +3 -3
- data/docs/FaxSendRequest.md +5 -5
- data/docs/OAuthApi.md +27 -15
- data/docs/ReportApi.md +14 -13
- data/docs/SignatureRequestApi.md +822 -311
- data/docs/SignatureRequestEditEmbeddedRequest.md +33 -0
- data/docs/SignatureRequestEditEmbeddedWithTemplateRequest.md +24 -0
- data/docs/SignatureRequestEditRequest.md +34 -0
- data/docs/SignatureRequestEditWithTemplateRequest.md +25 -0
- data/docs/TeamApi.md +84 -95
- data/docs/TemplateApi.md +210 -166
- data/docs/UnclaimedDraftApi.md +77 -91
- data/dropbox-sign.gemspec +1 -1
- data/examples/AccountCreateExample.rb +20 -0
- data/examples/AccountCreateOauthExample.rb +22 -0
- data/examples/AccountGetExample.rb +15 -0
- data/examples/AccountUpdateExample.rb +21 -0
- data/examples/AccountVerifyExample.rb +20 -0
- data/examples/ApiAppCreateExample.rb +37 -0
- data/examples/ApiAppDeleteExample.rb +15 -0
- data/examples/ApiAppGetExample.rb +17 -0
- data/examples/ApiAppListExample.rb +20 -0
- data/examples/ApiAppUpdateExample.rb +39 -0
- data/examples/BulkSendJobGetExample.rb +21 -0
- data/examples/BulkSendJobListExample.rb +20 -0
- data/examples/EmbeddedEditUrlExample.rb +27 -0
- data/examples/EmbeddedSignUrlExample.rb +17 -0
- data/examples/FaxDeleteExample.rb +14 -0
- data/examples/FaxFilesExample.rb +16 -0
- data/examples/FaxGetExample.rb +16 -0
- data/examples/FaxLineAddUserExample.rb +20 -0
- data/examples/FaxLineAreaCodeGetExample.rb +16 -0
- data/examples/FaxLineCreateExample.rb +20 -0
- data/examples/FaxLineDeleteExample.rb +17 -0
- data/examples/FaxLineGetExample.rb +16 -0
- data/examples/FaxLineListExample.rb +21 -0
- data/examples/FaxLineRemoveUserExample.rb +20 -0
- data/examples/FaxListExample.rb +19 -0
- data/examples/FaxSendExample.rb +28 -0
- data/examples/OauthTokenGenerateExample.rb +22 -0
- data/examples/OauthTokenRefreshExample.rb +19 -0
- data/examples/ReportCreateExample.rb +24 -0
- data/examples/SignatureRequestBulkCreateEmbeddedWithTemplateExample.rb +84 -0
- data/examples/SignatureRequestBulkSendWithTemplateExample.rb +84 -0
- data/examples/SignatureRequestCancelExample.rb +15 -0
- data/examples/SignatureRequestCreateEmbeddedExample.rb +55 -0
- data/examples/SignatureRequestCreateEmbeddedGroupedSignersExample.rb +81 -0
- data/examples/SignatureRequestCreateEmbeddedWithTemplateExample.rb +44 -0
- data/examples/SignatureRequestEditEmbeddedExample.rb +56 -0
- data/examples/SignatureRequestEditEmbeddedGroupedSignersExample.rb +82 -0
- data/examples/SignatureRequestEditEmbeddedWithTemplateExample.rb +45 -0
- data/examples/SignatureRequestEditExample.rb +66 -0
- data/examples/SignatureRequestEditGroupedSignersExample.rb +92 -0
- data/examples/SignatureRequestEditWithTemplateExample.rb +64 -0
- data/examples/SignatureRequestFilesAsDataUriExample.rb +17 -0
- data/examples/SignatureRequestFilesAsFileUrlExample.rb +20 -0
- data/examples/SignatureRequestFilesExample.rb +20 -0
- data/examples/SignatureRequestGetExample.rb +17 -0
- data/examples/SignatureRequestListExample.rb +22 -0
- data/examples/SignatureRequestReleaseHoldExample.rb +17 -0
- data/examples/SignatureRequestRemindExample.rb +21 -0
- data/examples/SignatureRequestRemoveExample.rb +14 -0
- data/examples/SignatureRequestSendExample.rb +65 -0
- data/examples/SignatureRequestSendGroupedSignersExample.rb +91 -0
- data/examples/SignatureRequestSendWithTemplateExample.rb +63 -0
- data/examples/SignatureRequestUpdateExample.rb +22 -0
- data/examples/TeamAddMemberAccountIdExample.rb +23 -0
- data/examples/TeamAddMemberExample.rb +23 -0
- data/examples/TeamCreateExample.rb +20 -0
- data/examples/TeamDeleteExample.rb +13 -0
- data/examples/TeamGetExample.rb +15 -0
- data/examples/TeamInfoExample.rb +19 -0
- data/examples/TeamInvitesExample.rb +15 -0
- data/examples/TeamMembersExample.rb +21 -0
- data/examples/TeamRemoveMemberAccountIdExample.rb +20 -0
- data/examples/TeamRemoveMemberExample.rb +21 -0
- data/examples/TeamSubTeamsExample.rb +21 -0
- data/examples/TeamUpdateExample.rb +20 -0
- data/examples/TemplateAddUserExample.rb +21 -0
- data/examples/TemplateCreateEmbeddedDraftExample.rb +62 -0
- data/examples/TemplateCreateEmbeddedDraftFormFieldGroupsExample.rb +108 -0
- data/examples/TemplateCreateEmbeddedDraftFormFieldRulesExample.rb +124 -0
- data/examples/TemplateCreateEmbeddedDraftFormFieldsPerDocumentExample.rb +96 -0
- data/examples/TemplateCreateExample.rb +96 -0
- data/examples/TemplateCreateFormFieldGroupsExample.rb +108 -0
- data/examples/TemplateCreateFormFieldRulesExample.rb +124 -0
- data/examples/TemplateCreateFormFieldsPerDocumentExample.rb +96 -0
- data/examples/TemplateDeleteExample.rb +15 -0
- data/examples/TemplateFilesAsDataUriExample.rb +17 -0
- data/examples/TemplateFilesAsFileUrlExample.rb +20 -0
- data/examples/TemplateFilesExample.rb +17 -0
- data/examples/TemplateGetExample.rb +17 -0
- data/examples/TemplateListExample.rb +22 -0
- data/examples/TemplateRemoveUserExample.rb +21 -0
- data/examples/TemplateUpdateFilesExample.rb +23 -0
- data/examples/UnclaimedDraftCreateEmbeddedExample.rb +25 -0
- data/examples/UnclaimedDraftCreateEmbeddedFormFieldGroupsExample.rb +71 -0
- data/examples/UnclaimedDraftCreateEmbeddedFormFieldRulesExample.rb +87 -0
- data/examples/UnclaimedDraftCreateEmbeddedFormFieldsPerDocumentExample.rb +59 -0
- data/examples/UnclaimedDraftCreateEmbeddedWithTemplateExample.rb +44 -0
- data/examples/UnclaimedDraftCreateExample.rb +34 -0
- data/examples/UnclaimedDraftCreateFormFieldGroupsExample.rb +70 -0
- data/examples/UnclaimedDraftCreateFormFieldRulesExample.rb +86 -0
- data/examples/UnclaimedDraftCreateFormFieldsPerDocumentExample.rb +58 -0
- data/examples/UnclaimedDraftEditAndResendExample.rb +22 -0
- data/lib/dropbox-sign/api/account_api.rb +1 -1
- data/lib/dropbox-sign/api/api_app_api.rb +1 -1
- data/lib/dropbox-sign/api/bulk_send_job_api.rb +1 -1
- data/lib/dropbox-sign/api/embedded_api.rb +1 -1
- data/lib/dropbox-sign/api/fax_api.rb +17 -17
- data/lib/dropbox-sign/api/fax_line_api.rb +23 -23
- data/lib/dropbox-sign/api/o_auth_api.rb +1 -1
- data/lib/dropbox-sign/api/report_api.rb +1 -1
- data/lib/dropbox-sign/api/signature_request_api.rb +461 -1
- data/lib/dropbox-sign/api/team_api.rb +1 -1
- data/lib/dropbox-sign/api/template_api.rb +1 -1
- data/lib/dropbox-sign/api/unclaimed_draft_api.rb +1 -1
- data/lib/dropbox-sign/api_client.rb +8 -9
- data/lib/dropbox-sign/api_error.rb +1 -1
- data/lib/dropbox-sign/configuration.rb +1 -1
- data/lib/dropbox-sign/event_callback_helper.rb +1 -1
- data/lib/dropbox-sign/models/account_create_request.rb +19 -3
- data/lib/dropbox-sign/models/account_create_response.rb +19 -3
- data/lib/dropbox-sign/models/account_get_response.rb +19 -3
- data/lib/dropbox-sign/models/account_response.rb +9 -3
- data/lib/dropbox-sign/models/account_response_quotas.rb +9 -3
- data/lib/dropbox-sign/models/account_response_usage.rb +9 -3
- data/lib/dropbox-sign/models/account_update_request.rb +9 -3
- data/lib/dropbox-sign/models/account_verify_request.rb +19 -3
- data/lib/dropbox-sign/models/account_verify_response.rb +9 -3
- data/lib/dropbox-sign/models/account_verify_response_account.rb +9 -3
- data/lib/dropbox-sign/models/api_app_create_request.rb +19 -3
- data/lib/dropbox-sign/models/api_app_get_response.rb +19 -3
- data/lib/dropbox-sign/models/api_app_list_response.rb +29 -3
- data/lib/dropbox-sign/models/api_app_response.rb +9 -3
- data/lib/dropbox-sign/models/api_app_response_o_auth.rb +9 -3
- data/lib/dropbox-sign/models/api_app_response_options.rb +9 -3
- data/lib/dropbox-sign/models/api_app_response_owner_account.rb +9 -3
- data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +9 -3
- data/lib/dropbox-sign/models/api_app_update_request.rb +9 -3
- data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +39 -3
- data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +9 -3
- data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +29 -3
- data/lib/dropbox-sign/models/bulk_send_job_response.rb +9 -3
- data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +19 -3
- data/lib/dropbox-sign/models/embedded_edit_url_request.rb +9 -3
- data/lib/dropbox-sign/models/embedded_edit_url_response.rb +19 -3
- data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +9 -3
- data/lib/dropbox-sign/models/embedded_sign_url_response.rb +19 -3
- data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +9 -3
- data/lib/dropbox-sign/models/error_response.rb +19 -3
- data/lib/dropbox-sign/models/error_response_error.rb +29 -3
- data/lib/dropbox-sign/models/event_callback_request.rb +19 -3
- data/lib/dropbox-sign/models/event_callback_request_event.rb +29 -3
- data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +9 -3
- data/lib/dropbox-sign/models/fax_get_response.rb +19 -3
- data/lib/dropbox-sign/models/fax_line_add_user_request.rb +20 -4
- data/lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb +1 -1
- data/lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb +1 -1
- data/lib/dropbox-sign/models/fax_line_area_code_get_response.rb +19 -3
- data/lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb +1 -1
- data/lib/dropbox-sign/models/fax_line_create_request.rb +23 -7
- data/lib/dropbox-sign/models/fax_line_delete_request.rb +20 -4
- data/lib/dropbox-sign/models/fax_line_list_response.rb +29 -3
- data/lib/dropbox-sign/models/fax_line_remove_user_request.rb +22 -6
- data/lib/dropbox-sign/models/fax_line_response.rb +19 -3
- data/lib/dropbox-sign/models/fax_line_response_fax_line.rb +9 -3
- data/lib/dropbox-sign/models/fax_list_response.rb +29 -3
- data/lib/dropbox-sign/models/fax_response.rb +89 -3
- data/lib/dropbox-sign/models/fax_response_transmission.rb +19 -3
- data/lib/dropbox-sign/models/fax_send_request.rb +24 -8
- data/lib/dropbox-sign/models/file_response.rb +29 -3
- data/lib/dropbox-sign/models/file_response_data_uri.rb +19 -3
- data/lib/dropbox-sign/models/list_info_response.rb +9 -3
- data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +59 -3
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +29 -3
- data/lib/dropbox-sign/models/o_auth_token_response.rb +9 -3
- data/lib/dropbox-sign/models/report_create_request.rb +29 -3
- data/lib/dropbox-sign/models/report_create_response.rb +19 -3
- data/lib/dropbox-sign/models/report_response.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +29 -3
- data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +39 -3
- data/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb +604 -0
- data/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb +521 -0
- data/lib/dropbox-sign/models/signature_request_edit_request.rb +600 -0
- data/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb +518 -0
- data/lib/dropbox-sign/models/signature_request_get_response.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_list_response.rb +29 -3
- data/lib/dropbox-sign/models/signature_request_remind_request.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_response.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_attachment.rb +49 -3
- data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +29 -3
- data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +19 -3
- data/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb +1 -1
- data/lib/dropbox-sign/models/signature_request_response_data_base.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb +1 -1
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_response_signatures.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_send_request.rb +9 -3
- data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +29 -3
- data/lib/dropbox-sign/models/signature_request_update_request.rb +19 -3
- data/lib/dropbox-sign/models/sub_attachment.rb +29 -3
- data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +9 -3
- data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +29 -3
- data/lib/dropbox-sign/models/sub_cc.rb +29 -3
- data/lib/dropbox-sign/models/sub_custom_field.rb +19 -3
- data/lib/dropbox-sign/models/sub_editor_options.rb +9 -3
- data/lib/dropbox-sign/models/sub_field_options.rb +9 -3
- data/lib/dropbox-sign/models/sub_form_field_group.rb +39 -3
- data/lib/dropbox-sign/models/sub_form_field_rule.rb +29 -3
- data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +99 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +29 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb +1 -1
- data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +39 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +39 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +19 -3
- data/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb +1 -1
- data/lib/dropbox-sign/models/sub_merge_field.rb +19 -3
- data/lib/dropbox-sign/models/sub_o_auth.rb +9 -3
- data/lib/dropbox-sign/models/sub_options.rb +9 -3
- data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +29 -3
- data/lib/dropbox-sign/models/sub_signature_request_signer.rb +29 -3
- data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +39 -3
- data/lib/dropbox-sign/models/sub_signing_options.rb +9 -3
- data/lib/dropbox-sign/models/sub_team_response.rb +9 -3
- data/lib/dropbox-sign/models/sub_template_role.rb +9 -3
- data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +29 -3
- data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +39 -3
- data/lib/dropbox-sign/models/sub_white_labeling_options.rb +9 -3
- data/lib/dropbox-sign/models/team_add_member_request.rb +9 -3
- data/lib/dropbox-sign/models/team_create_request.rb +9 -3
- data/lib/dropbox-sign/models/team_get_info_response.rb +19 -3
- data/lib/dropbox-sign/models/team_get_response.rb +19 -3
- data/lib/dropbox-sign/models/team_info_response.rb +9 -3
- data/lib/dropbox-sign/models/team_invite_response.rb +9 -3
- data/lib/dropbox-sign/models/team_invites_response.rb +19 -3
- data/lib/dropbox-sign/models/team_member_response.rb +9 -3
- data/lib/dropbox-sign/models/team_members_response.rb +29 -3
- data/lib/dropbox-sign/models/team_parent_response.rb +9 -3
- data/lib/dropbox-sign/models/team_remove_member_request.rb +9 -3
- data/lib/dropbox-sign/models/team_response.rb +9 -3
- data/lib/dropbox-sign/models/team_sub_teams_response.rb +29 -3
- data/lib/dropbox-sign/models/team_update_request.rb +9 -3
- data/lib/dropbox-sign/models/template_add_user_request.rb +9 -3
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +19 -3
- data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +19 -3
- data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +9 -3
- data/lib/dropbox-sign/models/template_create_request.rb +29 -3
- data/lib/dropbox-sign/models/template_create_response.rb +19 -3
- data/lib/dropbox-sign/models/template_create_response_template.rb +9 -3
- data/lib/dropbox-sign/models/template_edit_response.rb +19 -3
- data/lib/dropbox-sign/models/template_get_response.rb +19 -3
- data/lib/dropbox-sign/models/template_list_response.rb +29 -3
- data/lib/dropbox-sign/models/template_remove_user_request.rb +9 -3
- data/lib/dropbox-sign/models/template_response.rb +9 -3
- data/lib/dropbox-sign/models/template_response_account.rb +9 -3
- data/lib/dropbox-sign/models/template_response_account_quota.rb +9 -3
- data/lib/dropbox-sign/models/template_response_cc_role.rb +9 -3
- data/lib/dropbox-sign/models/template_response_document.rb +9 -3
- data/lib/dropbox-sign/models/template_response_document_custom_field_base.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +9 -3
- data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +9 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_base.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +29 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_form_field_text.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_base.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +19 -3
- data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +19 -3
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +9 -3
- data/lib/dropbox-sign/models/template_response_signer_role.rb +9 -3
- data/lib/dropbox-sign/models/template_update_files_request.rb +9 -3
- data/lib/dropbox-sign/models/template_update_files_response.rb +19 -3
- data/lib/dropbox-sign/models/template_update_files_response_template.rb +9 -3
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +29 -3
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +39 -3
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +9 -3
- data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +19 -3
- data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +19 -3
- data/lib/dropbox-sign/models/unclaimed_draft_response.rb +9 -3
- data/lib/dropbox-sign/models/warning_response.rb +29 -3
- data/lib/dropbox-sign/version.rb +2 -2
- data/lib/dropbox-sign.rb +5 -1
- data/openapi-config.yaml +4 -1
- data/openapi-sdk.yaml +3332 -2700
- data/run-build +1 -1
- data/spec/spec_helper.rb +1 -1
- data/templates/README.mustache +2 -2
- data/templates/api_client_typhoeus_partial.mustache +7 -8
- data/templates/api_doc.mustache +2 -2
- data/templates/configuration.mustache +1 -1
- data/templates/partial_model_generic.mustache +28 -6
- metadata +109 -82
- data/examples/AccountCreate.rb +0 -21
- data/examples/AccountGet.rb +0 -18
- data/examples/AccountUpdate.rb +0 -21
- data/examples/AccountVerify.rb +0 -21
- data/examples/ApiAppCreate.rb +0 -35
- data/examples/ApiAppDelete.rb +0 -20
- data/examples/ApiAppGet.rb +0 -20
- data/examples/ApiAppList.rb +0 -21
- data/examples/ApiAppUpdate.rb +0 -32
- data/examples/BulkSendJobGet.rb +0 -20
- data/examples/BulkSendJobList.rb +0 -21
- data/examples/EmbeddedEditUrl.rb +0 -24
- data/examples/EmbeddedSignUrl.rb +0 -20
- data/examples/FaxDelete.rb +0 -14
- data/examples/FaxFiles.rb +0 -17
- data/examples/FaxGet.rb +0 -17
- data/examples/FaxLineAddUser.rb +0 -19
- data/examples/FaxLineAreaCodeGet.rb +0 -15
- data/examples/FaxLineCreate.rb +0 -19
- data/examples/FaxLineDelete.rb +0 -17
- data/examples/FaxLineGet.rb +0 -15
- data/examples/FaxLineList.rb +0 -15
- data/examples/FaxLineRemoveUser.rb +0 -19
- data/examples/FaxList.rb +0 -18
- data/examples/FaxSend.rb +0 -25
- data/examples/OauthTokenGenerate.rb +0 -16
- data/examples/OauthTokenRefresh.rb +0 -13
- data/examples/ReportCreate.rb +0 -23
- data/examples/SignatureRequestBulkCreateEmbeddedWithTemplate.rb +0 -59
- data/examples/SignatureRequestBulkSendWithTemplate.rb +0 -58
- data/examples/SignatureRequestCancel.rb +0 -20
- data/examples/SignatureRequestCreateEmbedded.rb +0 -46
- data/examples/SignatureRequestCreateEmbeddedWithTemplate.rb +0 -39
- data/examples/SignatureRequestEdit.rb +0 -58
- data/examples/SignatureRequestEditEmbedded.rb +0 -48
- data/examples/SignatureRequestEditEmbeddedWithTemplate.rb +0 -41
- data/examples/SignatureRequestEditWithTemplate.rb +0 -52
- data/examples/SignatureRequestFiles.rb +0 -20
- data/examples/SignatureRequestFilesAsDataUri.rb +0 -20
- data/examples/SignatureRequestFilesAsFileUrl.rb +0 -20
- data/examples/SignatureRequestGet.rb +0 -20
- data/examples/SignatureRequestList.rb +0 -21
- data/examples/SignatureRequestReleaseHold.rb +0 -20
- data/examples/SignatureRequestRemind.rb +0 -23
- data/examples/SignatureRequestRemove.rb +0 -20
- data/examples/SignatureRequestSend.rb +0 -56
- data/examples/SignatureRequestSendWithTemplate.rb +0 -50
- data/examples/SignatureRequestUpdate.rb +0 -24
- data/examples/TeamAddMember.rb +0 -21
- data/examples/TeamCreate.rb +0 -21
- data/examples/TeamDelete.rb +0 -18
- data/examples/TeamGet.rb +0 -18
- data/examples/TeamInfo.rb +0 -18
- data/examples/TeamInvites.rb +0 -20
- data/examples/TeamMembers.rb +0 -20
- data/examples/TeamRemoveMember.rb +0 -22
- data/examples/TeamSubTeams.rb +0 -20
- data/examples/TeamUpdate.rb +0 -21
- data/examples/TemplateAddUser.rb +0 -23
- data/examples/TemplateCreate.rb +0 -49
- data/examples/TemplateCreateEmbeddedDraft.rb +0 -49
- data/examples/TemplateDelete.rb +0 -20
- data/examples/TemplateFiles.rb +0 -20
- data/examples/TemplateFilesAsDataUri.rb +0 -20
- data/examples/TemplateFilesAsFileUrl.rb +0 -20
- data/examples/TemplateGet.rb +0 -20
- data/examples/TemplateList.rb +0 -20
- data/examples/TemplateRemoveUser.rb +0 -23
- data/examples/TemplateUpdateFiles.rb +0 -23
- data/examples/UnclaimedDraftCreate.rb +0 -56
- data/examples/UnclaimedDraftCreateEmbedded.rb +0 -24
- data/examples/UnclaimedDraftCreateEmbeddedWithTemplate.rb +0 -35
- data/examples/UnclaimedDraftEditAndResend.rb +0 -24
- /data/examples/{EventCallback.rb → EventCallbackExample.rb} +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,9 +40,14 @@ module Dropbox::Sign
|
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
|
+
# Returns attribute mapping this model knows about, including the ones defined in its parent(s)
|
44
|
+
def self.acceptable_attribute_map
|
45
|
+
superclass.acceptable_attribute_map.merge(attribute_map)
|
46
|
+
end
|
47
|
+
|
43
48
|
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
44
49
|
def self.acceptable_attributes
|
45
|
-
|
50
|
+
acceptable_attribute_map.values
|
46
51
|
end
|
47
52
|
|
48
53
|
# Attribute type mapping.
|
@@ -93,9 +98,10 @@ module Dropbox::Sign
|
|
93
98
|
end
|
94
99
|
|
95
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
101
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
96
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
97
103
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentRadio`. Please check the name to make sure it's valid. List of attributes: " +
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentRadio`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
99
105
|
end
|
100
106
|
h[k.to_sym] = v
|
101
107
|
}
|
@@ -146,6 +152,36 @@ module Dropbox::Sign
|
|
146
152
|
true && super
|
147
153
|
end
|
148
154
|
|
155
|
+
# Custom attribute writer method with validation
|
156
|
+
# @param [Object] type Value to be assigned
|
157
|
+
def type=(type)
|
158
|
+
if type.nil?
|
159
|
+
fail ArgumentError, 'type cannot be nil'
|
160
|
+
end
|
161
|
+
|
162
|
+
@type = type
|
163
|
+
end
|
164
|
+
|
165
|
+
# Custom attribute writer method with validation
|
166
|
+
# @param [Object] group Value to be assigned
|
167
|
+
def group=(group)
|
168
|
+
if group.nil?
|
169
|
+
fail ArgumentError, 'group cannot be nil'
|
170
|
+
end
|
171
|
+
|
172
|
+
@group = group
|
173
|
+
end
|
174
|
+
|
175
|
+
# Custom attribute writer method with validation
|
176
|
+
# @param [Object] is_checked Value to be assigned
|
177
|
+
def is_checked=(is_checked)
|
178
|
+
if is_checked.nil?
|
179
|
+
fail ArgumentError, 'is_checked cannot be nil'
|
180
|
+
end
|
181
|
+
|
182
|
+
@is_checked = is_checked
|
183
|
+
end
|
184
|
+
|
149
185
|
# Checks equality by comparing each attribute.
|
150
186
|
# @param [Object] Object to be compared
|
151
187
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,9 +30,14 @@ module Dropbox::Sign
|
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
|
+
# Returns attribute mapping this model knows about, including the ones defined in its parent(s)
|
34
|
+
def self.acceptable_attribute_map
|
35
|
+
superclass.acceptable_attribute_map.merge(attribute_map)
|
36
|
+
end
|
37
|
+
|
33
38
|
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
34
39
|
def self.acceptable_attributes
|
35
|
-
|
40
|
+
acceptable_attribute_map.values
|
36
41
|
end
|
37
42
|
|
38
43
|
# Attribute type mapping.
|
@@ -81,9 +86,10 @@ module Dropbox::Sign
|
|
81
86
|
end
|
82
87
|
|
83
88
|
# check to see if the attribute exists and convert string to symbol for hash key
|
89
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
84
90
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
85
91
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
86
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentSignature`. Please check the name to make sure it's valid. List of attributes: " +
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentSignature`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
87
93
|
end
|
88
94
|
h[k.to_sym] = v
|
89
95
|
}
|
@@ -116,6 +122,16 @@ module Dropbox::Sign
|
|
116
122
|
true && super
|
117
123
|
end
|
118
124
|
|
125
|
+
# Custom attribute writer method with validation
|
126
|
+
# @param [Object] type Value to be assigned
|
127
|
+
def type=(type)
|
128
|
+
if type.nil?
|
129
|
+
fail ArgumentError, 'type cannot be nil'
|
130
|
+
end
|
131
|
+
|
132
|
+
@type = type
|
133
|
+
end
|
134
|
+
|
119
135
|
# Checks equality by comparing each attribute.
|
120
136
|
# @param [Object] Object to be compared
|
121
137
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -100,9 +100,14 @@ module Dropbox::Sign
|
|
100
100
|
}
|
101
101
|
end
|
102
102
|
|
103
|
+
# Returns attribute mapping this model knows about, including the ones defined in its parent(s)
|
104
|
+
def self.acceptable_attribute_map
|
105
|
+
superclass.acceptable_attribute_map.merge(attribute_map)
|
106
|
+
end
|
107
|
+
|
103
108
|
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
104
109
|
def self.acceptable_attributes
|
105
|
-
|
110
|
+
acceptable_attribute_map.values
|
106
111
|
end
|
107
112
|
|
108
113
|
# Attribute type mapping.
|
@@ -161,9 +166,10 @@ module Dropbox::Sign
|
|
161
166
|
end
|
162
167
|
|
163
168
|
# check to see if the attribute exists and convert string to symbol for hash key
|
169
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
164
170
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
165
171
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
166
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentText`. Please check the name to make sure it's valid. List of attributes: " +
|
172
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentText`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
167
173
|
end
|
168
174
|
h[k.to_sym] = v
|
169
175
|
}
|
@@ -242,6 +248,16 @@ module Dropbox::Sign
|
|
242
248
|
true && super
|
243
249
|
end
|
244
250
|
|
251
|
+
# Custom attribute writer method with validation
|
252
|
+
# @param [Object] type Value to be assigned
|
253
|
+
def type=(type)
|
254
|
+
if type.nil?
|
255
|
+
fail ArgumentError, 'type cannot be nil'
|
256
|
+
end
|
257
|
+
|
258
|
+
@type = type
|
259
|
+
end
|
260
|
+
|
245
261
|
# Custom attribute writer method checking allowed values (enum).
|
246
262
|
# @param [Object] validation_type Object to be assigned
|
247
263
|
def validation_type=(validation_type)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,9 +62,14 @@ module Dropbox::Sign
|
|
62
62
|
}
|
63
63
|
end
|
64
64
|
|
65
|
+
# Returns attribute mapping this model knows about, including the ones defined in its parent(s)
|
66
|
+
def self.acceptable_attribute_map
|
67
|
+
superclass.acceptable_attribute_map.merge(attribute_map)
|
68
|
+
end
|
69
|
+
|
65
70
|
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
66
71
|
def self.acceptable_attributes
|
67
|
-
|
72
|
+
acceptable_attribute_map.values
|
68
73
|
end
|
69
74
|
|
70
75
|
# Attribute type mapping.
|
@@ -115,9 +120,10 @@ module Dropbox::Sign
|
|
115
120
|
end
|
116
121
|
|
117
122
|
# check to see if the attribute exists and convert string to symbol for hash key
|
123
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
118
124
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
119
125
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
120
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentTextMerge`. Please check the name to make sure it's valid. List of attributes: " +
|
126
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubFormFieldsPerDocumentTextMerge`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
121
127
|
end
|
122
128
|
h[k.to_sym] = v
|
123
129
|
}
|
@@ -162,6 +168,16 @@ module Dropbox::Sign
|
|
162
168
|
true && super
|
163
169
|
end
|
164
170
|
|
171
|
+
# Custom attribute writer method with validation
|
172
|
+
# @param [Object] type Value to be assigned
|
173
|
+
def type=(type)
|
174
|
+
if type.nil?
|
175
|
+
fail ArgumentError, 'type cannot be nil'
|
176
|
+
end
|
177
|
+
|
178
|
+
@type = type
|
179
|
+
end
|
180
|
+
|
165
181
|
# Custom attribute writer method checking allowed values (enum).
|
166
182
|
# @param [Object] font_family Object to be assigned
|
167
183
|
def font_family=(font_family)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -56,9 +56,14 @@ module Dropbox::Sign
|
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
59
|
+
# Returns attribute mapping this model knows about
|
60
|
+
def self.acceptable_attribute_map
|
61
|
+
attribute_map
|
62
|
+
end
|
63
|
+
|
59
64
|
# Returns all the JSON keys this model knows about
|
60
65
|
def self.acceptable_attributes
|
61
|
-
|
66
|
+
acceptable_attribute_map.values
|
62
67
|
end
|
63
68
|
|
64
69
|
# Attribute type mapping.
|
@@ -108,9 +113,10 @@ module Dropbox::Sign
|
|
108
113
|
end
|
109
114
|
|
110
115
|
# check to see if the attribute exists and convert string to symbol for hash key
|
116
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
111
117
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
112
118
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
113
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubMergeField`. Please check the name to make sure it's valid. List of attributes: " +
|
119
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubMergeField`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
114
120
|
end
|
115
121
|
h[k.to_sym] = v
|
116
122
|
}
|
@@ -149,6 +155,16 @@ module Dropbox::Sign
|
|
149
155
|
true
|
150
156
|
end
|
151
157
|
|
158
|
+
# Custom attribute writer method with validation
|
159
|
+
# @param [Object] name Value to be assigned
|
160
|
+
def name=(name)
|
161
|
+
if name.nil?
|
162
|
+
fail ArgumentError, 'name cannot be nil'
|
163
|
+
end
|
164
|
+
|
165
|
+
@name = name
|
166
|
+
end
|
167
|
+
|
152
168
|
# Custom attribute writer method checking allowed values (enum).
|
153
169
|
# @param [Object] type Object to be assigned
|
154
170
|
def type=(type)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,9 +57,14 @@ module Dropbox::Sign
|
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
60
|
+
# Returns attribute mapping this model knows about
|
61
|
+
def self.acceptable_attribute_map
|
62
|
+
attribute_map
|
63
|
+
end
|
64
|
+
|
60
65
|
# Returns all the JSON keys this model knows about
|
61
66
|
def self.acceptable_attributes
|
62
|
-
|
67
|
+
acceptable_attribute_map.values
|
63
68
|
end
|
64
69
|
|
65
70
|
# Attribute type mapping.
|
@@ -109,9 +114,10 @@ module Dropbox::Sign
|
|
109
114
|
end
|
110
115
|
|
111
116
|
# check to see if the attribute exists and convert string to symbol for hash key
|
117
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
112
118
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
113
119
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
114
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubOAuth`. Please check the name to make sure it's valid. List of attributes: " +
|
120
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubOAuth`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
115
121
|
end
|
116
122
|
h[k.to_sym] = v
|
117
123
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,9 +30,14 @@ module Dropbox::Sign
|
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
|
+
# Returns attribute mapping this model knows about
|
34
|
+
def self.acceptable_attribute_map
|
35
|
+
attribute_map
|
36
|
+
end
|
37
|
+
|
33
38
|
# Returns all the JSON keys this model knows about
|
34
39
|
def self.acceptable_attributes
|
35
|
-
|
40
|
+
acceptable_attribute_map.values
|
36
41
|
end
|
37
42
|
|
38
43
|
# Attribute type mapping.
|
@@ -81,9 +86,10 @@ module Dropbox::Sign
|
|
81
86
|
end
|
82
87
|
|
83
88
|
# check to see if the attribute exists and convert string to symbol for hash key
|
89
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
84
90
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
85
91
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
86
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubOptions`. Please check the name to make sure it's valid. List of attributes: " +
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubOptions`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
87
93
|
end
|
88
94
|
h[k.to_sym] = v
|
89
95
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -39,9 +39,14 @@ module Dropbox::Sign
|
|
39
39
|
}
|
40
40
|
end
|
41
41
|
|
42
|
+
# Returns attribute mapping this model knows about
|
43
|
+
def self.acceptable_attribute_map
|
44
|
+
attribute_map
|
45
|
+
end
|
46
|
+
|
42
47
|
# Returns all the JSON keys this model knows about
|
43
48
|
def self.acceptable_attributes
|
44
|
-
|
49
|
+
acceptable_attribute_map.values
|
45
50
|
end
|
46
51
|
|
47
52
|
# Attribute type mapping.
|
@@ -93,9 +98,10 @@ module Dropbox::Sign
|
|
93
98
|
end
|
94
99
|
|
95
100
|
# check to see if the attribute exists and convert string to symbol for hash key
|
101
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
96
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
97
103
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
98
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestGroupedSigners`. Please check the name to make sure it's valid. List of attributes: " +
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestGroupedSigners`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
99
105
|
end
|
100
106
|
h[k.to_sym] = v
|
101
107
|
}
|
@@ -138,6 +144,26 @@ module Dropbox::Sign
|
|
138
144
|
true
|
139
145
|
end
|
140
146
|
|
147
|
+
# Custom attribute writer method with validation
|
148
|
+
# @param [Object] group Value to be assigned
|
149
|
+
def group=(group)
|
150
|
+
if group.nil?
|
151
|
+
fail ArgumentError, 'group cannot be nil'
|
152
|
+
end
|
153
|
+
|
154
|
+
@group = group
|
155
|
+
end
|
156
|
+
|
157
|
+
# Custom attribute writer method with validation
|
158
|
+
# @param [Object] signers Value to be assigned
|
159
|
+
def signers=(signers)
|
160
|
+
if signers.nil?
|
161
|
+
fail ArgumentError, 'signers cannot be nil'
|
162
|
+
end
|
163
|
+
|
164
|
+
@signers = signers
|
165
|
+
end
|
166
|
+
|
141
167
|
# Checks equality by comparing each attribute.
|
142
168
|
# @param [Object] Object to be compared
|
143
169
|
def ==(o)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -76,9 +76,14 @@ module Dropbox::Sign
|
|
76
76
|
}
|
77
77
|
end
|
78
78
|
|
79
|
+
# Returns attribute mapping this model knows about
|
80
|
+
def self.acceptable_attribute_map
|
81
|
+
attribute_map
|
82
|
+
end
|
83
|
+
|
79
84
|
# Returns all the JSON keys this model knows about
|
80
85
|
def self.acceptable_attributes
|
81
|
-
|
86
|
+
acceptable_attribute_map.values
|
82
87
|
end
|
83
88
|
|
84
89
|
# Attribute type mapping.
|
@@ -133,9 +138,10 @@ module Dropbox::Sign
|
|
133
138
|
end
|
134
139
|
|
135
140
|
# check to see if the attribute exists and convert string to symbol for hash key
|
141
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
136
142
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
137
143
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
138
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestSigner`. Please check the name to make sure it's valid. List of attributes: " +
|
144
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestSigner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
139
145
|
end
|
140
146
|
h[k.to_sym] = v
|
141
147
|
}
|
@@ -200,6 +206,26 @@ module Dropbox::Sign
|
|
200
206
|
true
|
201
207
|
end
|
202
208
|
|
209
|
+
# Custom attribute writer method with validation
|
210
|
+
# @param [Object] name Value to be assigned
|
211
|
+
def name=(name)
|
212
|
+
if name.nil?
|
213
|
+
fail ArgumentError, 'name cannot be nil'
|
214
|
+
end
|
215
|
+
|
216
|
+
@name = name
|
217
|
+
end
|
218
|
+
|
219
|
+
# Custom attribute writer method with validation
|
220
|
+
# @param [Object] email_address Value to be assigned
|
221
|
+
def email_address=(email_address)
|
222
|
+
if email_address.nil?
|
223
|
+
fail ArgumentError, 'email_address cannot be nil'
|
224
|
+
end
|
225
|
+
|
226
|
+
@email_address = email_address
|
227
|
+
end
|
228
|
+
|
203
229
|
# Custom attribute writer method with validation
|
204
230
|
# @param [Object] pin Value to be assigned
|
205
231
|
def pin=(pin)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -76,9 +76,14 @@ module Dropbox::Sign
|
|
76
76
|
}
|
77
77
|
end
|
78
78
|
|
79
|
+
# Returns attribute mapping this model knows about
|
80
|
+
def self.acceptable_attribute_map
|
81
|
+
attribute_map
|
82
|
+
end
|
83
|
+
|
79
84
|
# Returns all the JSON keys this model knows about
|
80
85
|
def self.acceptable_attributes
|
81
|
-
|
86
|
+
acceptable_attribute_map.values
|
82
87
|
end
|
83
88
|
|
84
89
|
# Attribute type mapping.
|
@@ -132,9 +137,10 @@ module Dropbox::Sign
|
|
132
137
|
end
|
133
138
|
|
134
139
|
# check to see if the attribute exists and convert string to symbol for hash key
|
140
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
135
141
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
136
142
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
137
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestTemplateSigner`. Please check the name to make sure it's valid. List of attributes: " +
|
143
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSignatureRequestTemplateSigner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
138
144
|
end
|
139
145
|
h[k.to_sym] = v
|
140
146
|
}
|
@@ -204,6 +210,36 @@ module Dropbox::Sign
|
|
204
210
|
true
|
205
211
|
end
|
206
212
|
|
213
|
+
# Custom attribute writer method with validation
|
214
|
+
# @param [Object] role Value to be assigned
|
215
|
+
def role=(role)
|
216
|
+
if role.nil?
|
217
|
+
fail ArgumentError, 'role cannot be nil'
|
218
|
+
end
|
219
|
+
|
220
|
+
@role = role
|
221
|
+
end
|
222
|
+
|
223
|
+
# Custom attribute writer method with validation
|
224
|
+
# @param [Object] name Value to be assigned
|
225
|
+
def name=(name)
|
226
|
+
if name.nil?
|
227
|
+
fail ArgumentError, 'name cannot be nil'
|
228
|
+
end
|
229
|
+
|
230
|
+
@name = name
|
231
|
+
end
|
232
|
+
|
233
|
+
# Custom attribute writer method with validation
|
234
|
+
# @param [Object] email_address Value to be assigned
|
235
|
+
def email_address=(email_address)
|
236
|
+
if email_address.nil?
|
237
|
+
fail ArgumentError, 'email_address cannot be nil'
|
238
|
+
end
|
239
|
+
|
240
|
+
@email_address = email_address
|
241
|
+
end
|
242
|
+
|
207
243
|
# Custom attribute writer method with validation
|
208
244
|
# @param [Object] pin Value to be assigned
|
209
245
|
def pin=(pin)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -72,9 +72,14 @@ module Dropbox::Sign
|
|
72
72
|
}
|
73
73
|
end
|
74
74
|
|
75
|
+
# Returns attribute mapping this model knows about
|
76
|
+
def self.acceptable_attribute_map
|
77
|
+
attribute_map
|
78
|
+
end
|
79
|
+
|
75
80
|
# Returns all the JSON keys this model knows about
|
76
81
|
def self.acceptable_attributes
|
77
|
-
|
82
|
+
acceptable_attribute_map.values
|
78
83
|
end
|
79
84
|
|
80
85
|
# Attribute type mapping.
|
@@ -127,9 +132,10 @@ module Dropbox::Sign
|
|
127
132
|
end
|
128
133
|
|
129
134
|
# check to see if the attribute exists and convert string to symbol for hash key
|
135
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
130
136
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
131
137
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
132
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSigningOptions`. Please check the name to make sure it's valid. List of attributes: " +
|
138
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubSigningOptions`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
133
139
|
end
|
134
140
|
h[k.to_sym] = v
|
135
141
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,9 +34,14 @@ module Dropbox::Sign
|
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
37
|
+
# Returns attribute mapping this model knows about
|
38
|
+
def self.acceptable_attribute_map
|
39
|
+
attribute_map
|
40
|
+
end
|
41
|
+
|
37
42
|
# Returns all the JSON keys this model knows about
|
38
43
|
def self.acceptable_attributes
|
39
|
-
|
44
|
+
acceptable_attribute_map.values
|
40
45
|
end
|
41
46
|
|
42
47
|
# Attribute type mapping.
|
@@ -86,9 +91,10 @@ module Dropbox::Sign
|
|
86
91
|
end
|
87
92
|
|
88
93
|
# check to see if the attribute exists and convert string to symbol for hash key
|
94
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
89
95
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
90
96
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
91
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubTeamResponse`. Please check the name to make sure it's valid. List of attributes: " +
|
97
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubTeamResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
92
98
|
end
|
93
99
|
h[k.to_sym] = v
|
94
100
|
}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -34,9 +34,14 @@ module Dropbox::Sign
|
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
37
|
+
# Returns attribute mapping this model knows about
|
38
|
+
def self.acceptable_attribute_map
|
39
|
+
attribute_map
|
40
|
+
end
|
41
|
+
|
37
42
|
# Returns all the JSON keys this model knows about
|
38
43
|
def self.acceptable_attributes
|
39
|
-
|
44
|
+
acceptable_attribute_map.values
|
40
45
|
end
|
41
46
|
|
42
47
|
# Attribute type mapping.
|
@@ -87,9 +92,10 @@ module Dropbox::Sign
|
|
87
92
|
end
|
88
93
|
|
89
94
|
# check to see if the attribute exists and convert string to symbol for hash key
|
95
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
90
96
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
91
97
|
if (!self.class.merged_attributes.key?(k.to_sym))
|
92
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubTemplateRole`. Please check the name to make sure it's valid. List of attributes: " +
|
98
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Dropbox::Sign::SubTemplateRole`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
93
99
|
end
|
94
100
|
h[k.to_sym] = v
|
95
101
|
}
|