diff --git a/.gitignore b/.gitignore index ebd198d..4bb4c91 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,5 @@ build/ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc +.openapi-generator vendor diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES deleted file mode 100644 index 2ff1424..0000000 --- a/.openapi-generator/FILES +++ /dev/null @@ -1,405 +0,0 @@ -.gitignore -.gitlab-ci.yml -.rspec -.rubocop.yml -.travis.yml -Gemfile -README.md -Rakefile -VERSION -docs/AccountApi.md -docs/AccountCreateRequest.md -docs/AccountCreateResponse.md -docs/AccountGetResponse.md -docs/AccountResponse.md -docs/AccountResponseQuotas.md -docs/AccountResponseUsage.md -docs/AccountUpdateRequest.md -docs/AccountVerifyRequest.md -docs/AccountVerifyResponse.md -docs/AccountVerifyResponseAccount.md -docs/ApiAppApi.md -docs/ApiAppCreateRequest.md -docs/ApiAppGetResponse.md -docs/ApiAppListResponse.md -docs/ApiAppResponse.md -docs/ApiAppResponseOAuth.md -docs/ApiAppResponseOptions.md -docs/ApiAppResponseOwnerAccount.md -docs/ApiAppResponseWhiteLabelingOptions.md -docs/ApiAppUpdateRequest.md -docs/BulkSendJobApi.md -docs/BulkSendJobGetResponse.md -docs/BulkSendJobGetResponseSignatureRequests.md -docs/BulkSendJobListResponse.md -docs/BulkSendJobResponse.md -docs/BulkSendJobSendResponse.md -docs/EmbeddedApi.md -docs/EmbeddedEditUrlRequest.md -docs/EmbeddedEditUrlResponse.md -docs/EmbeddedEditUrlResponseEmbedded.md -docs/EmbeddedSignUrlResponse.md -docs/EmbeddedSignUrlResponseEmbedded.md -docs/ErrorResponse.md -docs/ErrorResponseError.md -docs/EventCallbackRequest.md -docs/EventCallbackRequestEvent.md -docs/EventCallbackRequestEventMetadata.md -docs/FaxLineAddUserRequest.md -docs/FaxLineApi.md -docs/FaxLineAreaCodeGetCountryEnum.md -docs/FaxLineAreaCodeGetProvinceEnum.md -docs/FaxLineAreaCodeGetResponse.md -docs/FaxLineAreaCodeGetStateEnum.md -docs/FaxLineCreateRequest.md -docs/FaxLineDeleteRequest.md -docs/FaxLineListResponse.md -docs/FaxLineRemoveUserRequest.md -docs/FaxLineResponse.md -docs/FaxLineResponseFaxLine.md -docs/FileResponse.md -docs/FileResponseDataUri.md -docs/ListInfoResponse.md -docs/OAuthApi.md -docs/OAuthTokenGenerateRequest.md -docs/OAuthTokenRefreshRequest.md -docs/OAuthTokenResponse.md -docs/ReportApi.md -docs/ReportCreateRequest.md -docs/ReportCreateResponse.md -docs/ReportResponse.md -docs/SignatureRequestApi.md -docs/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.md -docs/SignatureRequestBulkSendWithTemplateRequest.md -docs/SignatureRequestCreateEmbeddedRequest.md -docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md -docs/SignatureRequestGetResponse.md -docs/SignatureRequestListResponse.md -docs/SignatureRequestRemindRequest.md -docs/SignatureRequestResponse.md -docs/SignatureRequestResponseAttachment.md -docs/SignatureRequestResponseCustomFieldBase.md -docs/SignatureRequestResponseCustomFieldCheckbox.md -docs/SignatureRequestResponseCustomFieldText.md -docs/SignatureRequestResponseCustomFieldTypeEnum.md -docs/SignatureRequestResponseDataBase.md -docs/SignatureRequestResponseDataTypeEnum.md -docs/SignatureRequestResponseDataValueCheckbox.md -docs/SignatureRequestResponseDataValueCheckboxMerge.md -docs/SignatureRequestResponseDataValueDateSigned.md -docs/SignatureRequestResponseDataValueDropdown.md -docs/SignatureRequestResponseDataValueInitials.md -docs/SignatureRequestResponseDataValueRadio.md -docs/SignatureRequestResponseDataValueSignature.md -docs/SignatureRequestResponseDataValueText.md -docs/SignatureRequestResponseDataValueTextMerge.md -docs/SignatureRequestResponseSignatures.md -docs/SignatureRequestSendRequest.md -docs/SignatureRequestSendWithTemplateRequest.md -docs/SignatureRequestUpdateRequest.md -docs/SubAttachment.md -docs/SubBulkSignerList.md -docs/SubBulkSignerListCustomField.md -docs/SubCC.md -docs/SubCustomField.md -docs/SubEditorOptions.md -docs/SubFieldOptions.md -docs/SubFormFieldGroup.md -docs/SubFormFieldRule.md -docs/SubFormFieldRuleAction.md -docs/SubFormFieldRuleTrigger.md -docs/SubFormFieldsPerDocumentBase.md -docs/SubFormFieldsPerDocumentCheckbox.md -docs/SubFormFieldsPerDocumentCheckboxMerge.md -docs/SubFormFieldsPerDocumentDateSigned.md -docs/SubFormFieldsPerDocumentDropdown.md -docs/SubFormFieldsPerDocumentFontEnum.md -docs/SubFormFieldsPerDocumentHyperlink.md -docs/SubFormFieldsPerDocumentInitials.md -docs/SubFormFieldsPerDocumentRadio.md -docs/SubFormFieldsPerDocumentSignature.md -docs/SubFormFieldsPerDocumentText.md -docs/SubFormFieldsPerDocumentTextMerge.md -docs/SubFormFieldsPerDocumentTypeEnum.md -docs/SubMergeField.md -docs/SubOAuth.md -docs/SubOptions.md -docs/SubSignatureRequestGroupedSigners.md -docs/SubSignatureRequestSigner.md -docs/SubSignatureRequestTemplateSigner.md -docs/SubSigningOptions.md -docs/SubTeamResponse.md -docs/SubTemplateRole.md -docs/SubUnclaimedDraftSigner.md -docs/SubUnclaimedDraftTemplateSigner.md -docs/SubWhiteLabelingOptions.md -docs/TeamAddMemberRequest.md -docs/TeamApi.md -docs/TeamCreateRequest.md -docs/TeamGetInfoResponse.md -docs/TeamGetResponse.md -docs/TeamInfoResponse.md -docs/TeamInviteResponse.md -docs/TeamInvitesResponse.md -docs/TeamMemberResponse.md -docs/TeamMembersResponse.md -docs/TeamParentResponse.md -docs/TeamRemoveMemberRequest.md -docs/TeamResponse.md -docs/TeamSubTeamsResponse.md -docs/TeamUpdateRequest.md -docs/TemplateAddUserRequest.md -docs/TemplateApi.md -docs/TemplateCreateEmbeddedDraftRequest.md -docs/TemplateCreateEmbeddedDraftResponse.md -docs/TemplateCreateEmbeddedDraftResponseTemplate.md -docs/TemplateCreateRequest.md -docs/TemplateCreateResponse.md -docs/TemplateCreateResponseTemplate.md -docs/TemplateEditResponse.md -docs/TemplateGetResponse.md -docs/TemplateListResponse.md -docs/TemplateRemoveUserRequest.md -docs/TemplateResponse.md -docs/TemplateResponseAccount.md -docs/TemplateResponseAccountQuota.md -docs/TemplateResponseCCRole.md -docs/TemplateResponseDocument.md -docs/TemplateResponseDocumentCustomFieldBase.md -docs/TemplateResponseDocumentCustomFieldCheckbox.md -docs/TemplateResponseDocumentCustomFieldText.md -docs/TemplateResponseDocumentFieldGroup.md -docs/TemplateResponseDocumentFieldGroupRule.md -docs/TemplateResponseDocumentFormFieldBase.md -docs/TemplateResponseDocumentFormFieldCheckbox.md -docs/TemplateResponseDocumentFormFieldDateSigned.md -docs/TemplateResponseDocumentFormFieldDropdown.md -docs/TemplateResponseDocumentFormFieldHyperlink.md -docs/TemplateResponseDocumentFormFieldInitials.md -docs/TemplateResponseDocumentFormFieldRadio.md -docs/TemplateResponseDocumentFormFieldSignature.md -docs/TemplateResponseDocumentFormFieldText.md -docs/TemplateResponseDocumentStaticFieldBase.md -docs/TemplateResponseDocumentStaticFieldCheckbox.md -docs/TemplateResponseDocumentStaticFieldDateSigned.md -docs/TemplateResponseDocumentStaticFieldDropdown.md -docs/TemplateResponseDocumentStaticFieldHyperlink.md -docs/TemplateResponseDocumentStaticFieldInitials.md -docs/TemplateResponseDocumentStaticFieldRadio.md -docs/TemplateResponseDocumentStaticFieldSignature.md -docs/TemplateResponseDocumentStaticFieldText.md -docs/TemplateResponseFieldAvgTextLength.md -docs/TemplateResponseSignerRole.md -docs/TemplateUpdateFilesRequest.md -docs/TemplateUpdateFilesResponse.md -docs/TemplateUpdateFilesResponseTemplate.md -docs/UnclaimedDraftApi.md -docs/UnclaimedDraftCreateEmbeddedRequest.md -docs/UnclaimedDraftCreateEmbeddedWithTemplateRequest.md -docs/UnclaimedDraftCreateRequest.md -docs/UnclaimedDraftCreateResponse.md -docs/UnclaimedDraftEditAndResendRequest.md -docs/UnclaimedDraftResponse.md -docs/WarningResponse.md -dropbox-sign.gemspec -lib/dropbox-sign.rb -lib/dropbox-sign/api/account_api.rb -lib/dropbox-sign/api/api_app_api.rb -lib/dropbox-sign/api/bulk_send_job_api.rb -lib/dropbox-sign/api/embedded_api.rb -lib/dropbox-sign/api/fax_line_api.rb -lib/dropbox-sign/api/o_auth_api.rb -lib/dropbox-sign/api/report_api.rb -lib/dropbox-sign/api/signature_request_api.rb -lib/dropbox-sign/api/team_api.rb -lib/dropbox-sign/api/template_api.rb -lib/dropbox-sign/api/unclaimed_draft_api.rb -lib/dropbox-sign/api_client.rb -lib/dropbox-sign/api_error.rb -lib/dropbox-sign/configuration.rb -lib/dropbox-sign/event_callback_helper.rb -lib/dropbox-sign/models/account_create_request.rb -lib/dropbox-sign/models/account_create_response.rb -lib/dropbox-sign/models/account_get_response.rb -lib/dropbox-sign/models/account_response.rb -lib/dropbox-sign/models/account_response_quotas.rb -lib/dropbox-sign/models/account_response_usage.rb -lib/dropbox-sign/models/account_update_request.rb -lib/dropbox-sign/models/account_verify_request.rb -lib/dropbox-sign/models/account_verify_response.rb -lib/dropbox-sign/models/account_verify_response_account.rb -lib/dropbox-sign/models/api_app_create_request.rb -lib/dropbox-sign/models/api_app_get_response.rb -lib/dropbox-sign/models/api_app_list_response.rb -lib/dropbox-sign/models/api_app_response.rb -lib/dropbox-sign/models/api_app_response_o_auth.rb -lib/dropbox-sign/models/api_app_response_options.rb -lib/dropbox-sign/models/api_app_response_owner_account.rb -lib/dropbox-sign/models/api_app_response_white_labeling_options.rb -lib/dropbox-sign/models/api_app_update_request.rb -lib/dropbox-sign/models/bulk_send_job_get_response.rb -lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb -lib/dropbox-sign/models/bulk_send_job_list_response.rb -lib/dropbox-sign/models/bulk_send_job_response.rb -lib/dropbox-sign/models/bulk_send_job_send_response.rb -lib/dropbox-sign/models/embedded_edit_url_request.rb -lib/dropbox-sign/models/embedded_edit_url_response.rb -lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb -lib/dropbox-sign/models/embedded_sign_url_response.rb -lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb -lib/dropbox-sign/models/error_response.rb -lib/dropbox-sign/models/error_response_error.rb -lib/dropbox-sign/models/event_callback_request.rb -lib/dropbox-sign/models/event_callback_request_event.rb -lib/dropbox-sign/models/event_callback_request_event_metadata.rb -lib/dropbox-sign/models/fax_line_add_user_request.rb -lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb -lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb -lib/dropbox-sign/models/fax_line_area_code_get_response.rb -lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb -lib/dropbox-sign/models/fax_line_create_request.rb -lib/dropbox-sign/models/fax_line_delete_request.rb -lib/dropbox-sign/models/fax_line_list_response.rb -lib/dropbox-sign/models/fax_line_remove_user_request.rb -lib/dropbox-sign/models/fax_line_response.rb -lib/dropbox-sign/models/fax_line_response_fax_line.rb -lib/dropbox-sign/models/file_response.rb -lib/dropbox-sign/models/file_response_data_uri.rb -lib/dropbox-sign/models/list_info_response.rb -lib/dropbox-sign/models/o_auth_token_generate_request.rb -lib/dropbox-sign/models/o_auth_token_refresh_request.rb -lib/dropbox-sign/models/o_auth_token_response.rb -lib/dropbox-sign/models/report_create_request.rb -lib/dropbox-sign/models/report_create_response.rb -lib/dropbox-sign/models/report_response.rb -lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb -lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb -lib/dropbox-sign/models/signature_request_create_embedded_request.rb -lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb -lib/dropbox-sign/models/signature_request_get_response.rb -lib/dropbox-sign/models/signature_request_list_response.rb -lib/dropbox-sign/models/signature_request_remind_request.rb -lib/dropbox-sign/models/signature_request_response.rb -lib/dropbox-sign/models/signature_request_response_attachment.rb -lib/dropbox-sign/models/signature_request_response_custom_field_base.rb -lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb -lib/dropbox-sign/models/signature_request_response_custom_field_text.rb -lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb -lib/dropbox-sign/models/signature_request_response_data_base.rb -lib/dropbox-sign/models/signature_request_response_data_type_enum.rb -lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb -lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb -lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb -lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb -lib/dropbox-sign/models/signature_request_response_data_value_initials.rb -lib/dropbox-sign/models/signature_request_response_data_value_radio.rb -lib/dropbox-sign/models/signature_request_response_data_value_signature.rb -lib/dropbox-sign/models/signature_request_response_data_value_text.rb -lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb -lib/dropbox-sign/models/signature_request_response_signatures.rb -lib/dropbox-sign/models/signature_request_send_request.rb -lib/dropbox-sign/models/signature_request_send_with_template_request.rb -lib/dropbox-sign/models/signature_request_update_request.rb -lib/dropbox-sign/models/sub_attachment.rb -lib/dropbox-sign/models/sub_bulk_signer_list.rb -lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb -lib/dropbox-sign/models/sub_cc.rb -lib/dropbox-sign/models/sub_custom_field.rb -lib/dropbox-sign/models/sub_editor_options.rb -lib/dropbox-sign/models/sub_field_options.rb -lib/dropbox-sign/models/sub_form_field_group.rb -lib/dropbox-sign/models/sub_form_field_rule.rb -lib/dropbox-sign/models/sub_form_field_rule_action.rb -lib/dropbox-sign/models/sub_form_field_rule_trigger.rb -lib/dropbox-sign/models/sub_form_fields_per_document_base.rb -lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb -lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb -lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb -lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb -lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb -lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb -lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb -lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb -lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb -lib/dropbox-sign/models/sub_form_fields_per_document_text.rb -lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb -lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb -lib/dropbox-sign/models/sub_merge_field.rb -lib/dropbox-sign/models/sub_o_auth.rb -lib/dropbox-sign/models/sub_options.rb -lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb -lib/dropbox-sign/models/sub_signature_request_signer.rb -lib/dropbox-sign/models/sub_signature_request_template_signer.rb -lib/dropbox-sign/models/sub_signing_options.rb -lib/dropbox-sign/models/sub_team_response.rb -lib/dropbox-sign/models/sub_template_role.rb -lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb -lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb -lib/dropbox-sign/models/sub_white_labeling_options.rb -lib/dropbox-sign/models/team_add_member_request.rb -lib/dropbox-sign/models/team_create_request.rb -lib/dropbox-sign/models/team_get_info_response.rb -lib/dropbox-sign/models/team_get_response.rb -lib/dropbox-sign/models/team_info_response.rb -lib/dropbox-sign/models/team_invite_response.rb -lib/dropbox-sign/models/team_invites_response.rb -lib/dropbox-sign/models/team_member_response.rb -lib/dropbox-sign/models/team_members_response.rb -lib/dropbox-sign/models/team_parent_response.rb -lib/dropbox-sign/models/team_remove_member_request.rb -lib/dropbox-sign/models/team_response.rb -lib/dropbox-sign/models/team_sub_teams_response.rb -lib/dropbox-sign/models/team_update_request.rb -lib/dropbox-sign/models/template_add_user_request.rb -lib/dropbox-sign/models/template_create_embedded_draft_request.rb -lib/dropbox-sign/models/template_create_embedded_draft_response.rb -lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb -lib/dropbox-sign/models/template_create_request.rb -lib/dropbox-sign/models/template_create_response.rb -lib/dropbox-sign/models/template_create_response_template.rb -lib/dropbox-sign/models/template_edit_response.rb -lib/dropbox-sign/models/template_get_response.rb -lib/dropbox-sign/models/template_list_response.rb -lib/dropbox-sign/models/template_remove_user_request.rb -lib/dropbox-sign/models/template_response.rb -lib/dropbox-sign/models/template_response_account.rb -lib/dropbox-sign/models/template_response_account_quota.rb -lib/dropbox-sign/models/template_response_cc_role.rb -lib/dropbox-sign/models/template_response_document.rb -lib/dropbox-sign/models/template_response_document_custom_field_base.rb -lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_custom_field_text.rb -lib/dropbox-sign/models/template_response_document_field_group.rb -lib/dropbox-sign/models/template_response_document_field_group_rule.rb -lib/dropbox-sign/models/template_response_document_form_field_base.rb -lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb -lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb -lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb -lib/dropbox-sign/models/template_response_document_form_field_initials.rb -lib/dropbox-sign/models/template_response_document_form_field_radio.rb -lib/dropbox-sign/models/template_response_document_form_field_signature.rb -lib/dropbox-sign/models/template_response_document_form_field_text.rb -lib/dropbox-sign/models/template_response_document_static_field_base.rb -lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb -lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb -lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb -lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb -lib/dropbox-sign/models/template_response_document_static_field_initials.rb -lib/dropbox-sign/models/template_response_document_static_field_radio.rb -lib/dropbox-sign/models/template_response_document_static_field_signature.rb -lib/dropbox-sign/models/template_response_document_static_field_text.rb -lib/dropbox-sign/models/template_response_field_avg_text_length.rb -lib/dropbox-sign/models/template_response_signer_role.rb -lib/dropbox-sign/models/template_update_files_request.rb -lib/dropbox-sign/models/template_update_files_response.rb -lib/dropbox-sign/models/template_update_files_response_template.rb -lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_request.rb -lib/dropbox-sign/models/unclaimed_draft_create_response.rb -lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb -lib/dropbox-sign/models/unclaimed_draft_response.rb -lib/dropbox-sign/models/warning_response.rb -lib/dropbox-sign/version.rb -spec/spec_helper.rb diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION deleted file mode 100644 index 09a6d30..0000000 --- a/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.8.0 diff --git a/.travis.yml b/.travis.yml index 02b599b..1153d92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - bundle install --path vendor/bundle - bundle exec rspec - gem build dropbox-sign.gemspec - - gem install ./dropbox-sign-1.6.0.gem + - gem install ./dropbox-sign-1.6.1.gem diff --git a/Gemfile b/Gemfile index d68dd91..8cbcc87 100644 --- a/Gemfile +++ b/Gemfile @@ -5,6 +5,6 @@ gemspec group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' - gem 'rubocop', '~> 0.66.0' + gem 'rubocop', '~> 1.66', require: false gem 'json_spec', '~> 1.1.5' end diff --git a/Gemfile.lock b/Gemfile.lock index e1e3a45..a8c88a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dropbox-sign (1.6.0) + dropbox-sign (1.6.1) typhoeus (~> 1.0, >= 1.0.1) GEM @@ -17,14 +17,15 @@ GEM ffi (1.17.0-arm64-darwin) ffi (1.17.0-x86_64-darwin) ffi (1.17.0-x86_64-linux-gnu) - jaro_winkler (1.5.6) + json (2.7.2) json_spec (1.1.5) multi_json (~> 1.0) rspec (>= 2.0, < 4.0) + language_server-protocol (3.17.0.3) method_source (1.1.0) multi_json (1.15.0) parallel (1.26.3) - parser (3.3.4.2) + parser (3.3.5.0) ast (~> 2.4.1) racc pry (0.14.2) @@ -33,11 +34,10 @@ GEM pry-byebug (3.10.1) byebug (~> 11.0) pry (>= 0.13, < 0.15) - psych (5.1.2) - stringio racc (1.8.1) rainbow (3.1.1) rake (13.0.6) + regexp_parser (2.9.2) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -51,19 +51,22 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (0.66.0) - jaro_winkler (~> 1.5.1) + rubocop (1.66.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 2.5, != 2.5.1.1) - psych (>= 3.1.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 2.4, < 3.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 1.6) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.32.3) + parser (>= 3.3.1.0) ruby-progressbar (1.13.0) - stringio (3.1.1) typhoeus (1.4.1) ethon (>= 0.9.0) - unicode-display_width (1.5.0) + unicode-display_width (2.5.0) PLATFORMS aarch64-linux @@ -78,7 +81,7 @@ DEPENDENCIES pry-byebug rake (~> 13.0.1) rspec (~> 3.6, >= 3.6.0) - rubocop (~> 0.66.0) + rubocop (~> 1.66) BUNDLED WITH 2.3.26 diff --git a/LICENSE b/LICENSE index 4025343..ef7ea60 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3f13310..717025e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ directory that corresponds to the file you want updated. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.6.0 +- Package version: 1.6.1 - Generator version: 7.8.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen @@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec Then install the gem locally: ```shell -gem install ./dropbox-sign-1.6.0.gem +gem install ./dropbox-sign-1.6.1.gem ``` -(for development, run `gem install --dev ./dropbox-sign-1.6.0.gem` to install the development dependencies) +(for development, run `gem install --dev ./dropbox-sign-1.6.1.gem` to install the development dependencies) Finally add this to the Gemfile: - gem 'dropbox-sign', '~> 1.6.0' + gem 'dropbox-sign', '~> 1.6.1' ### Install from Git diff --git a/VERSION b/VERSION index dc1e644..9c6d629 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.0 +1.6.1 diff --git a/docs/BulkSendJobApi.md b/docs/BulkSendJobApi.md index f59a98b..bb42dd6 100644 --- a/docs/BulkSendJobApi.md +++ b/docs/BulkSendJobApi.md @@ -109,7 +109,7 @@ page = 1 page_size = 20 begin - result = bulk_send_job_api.bulk_send_job_list({page: page, page_size: page_size}) + result = bulk_send_job_api.bulk_send_job_list({ page: page, page_size: page_size }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/docs/SignatureRequestApi.md b/docs/SignatureRequestApi.md index 6079af7..7bc3482 100644 --- a/docs/SignatureRequestApi.md +++ b/docs/SignatureRequestApi.md @@ -821,7 +821,7 @@ account_id = null page = 1 begin - result = signature_request_api.signature_request_list({account_id: account_id, page: page}) + result = signature_request_api.signature_request_list({ account_id: account_id, page: page }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/docs/TeamApi.md b/docs/TeamApi.md index 6e8d5c7..8464914 100644 --- a/docs/TeamApi.md +++ b/docs/TeamApi.md @@ -395,7 +395,7 @@ team_api = Dropbox::Sign::TeamApi.new email_address = "user@dropboxsign.com" begin - result = team_api.team_invites({email_address: email_address}) + result = team_api.team_invites({ email_address: email_address }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/docs/TemplateApi.md b/docs/TemplateApi.md index 921b0a6..3e9361b 100644 --- a/docs/TemplateApi.md +++ b/docs/TemplateApi.md @@ -683,7 +683,7 @@ template_api = Dropbox::Sign::TemplateApi.new account_id = "f57db65d3f933b5316d398057a36176831451a35" begin - result = template_api.template_list({account_id: account_id}) + result = template_api.template_list({ account_id: account_id }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/examples/BulkSendJobList.rb b/examples/BulkSendJobList.rb index 6097884..cb64c5d 100644 --- a/examples/BulkSendJobList.rb +++ b/examples/BulkSendJobList.rb @@ -14,7 +14,7 @@ page_size = 20 begin - result = bulk_send_job_api.bulk_send_job_list({page: page, page_size: page_size}) + result = bulk_send_job_api.bulk_send_job_list({ page: page, page_size: page_size }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/examples/SignatureRequestList.rb b/examples/SignatureRequestList.rb index f874f52..30a4c49 100644 --- a/examples/SignatureRequestList.rb +++ b/examples/SignatureRequestList.rb @@ -14,7 +14,7 @@ page = 1 begin - result = signature_request_api.signature_request_list({account_id: account_id, page: page}) + result = signature_request_api.signature_request_list({ account_id: account_id, page: page }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/examples/TeamInvites.rb b/examples/TeamInvites.rb index 9909402..7294ea4 100644 --- a/examples/TeamInvites.rb +++ b/examples/TeamInvites.rb @@ -13,7 +13,7 @@ email_address = "user@dropboxsign.com" begin - result = team_api.team_invites({email_address: email_address}) + result = team_api.team_invites({ email_address: email_address }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/examples/TemplateList.rb b/examples/TemplateList.rb index 2c2aeb1..e0006c7 100644 --- a/examples/TemplateList.rb +++ b/examples/TemplateList.rb @@ -13,7 +13,7 @@ account_id = "f57db65d3f933b5316d398057a36176831451a35" begin - result = template_api.template_list({account_id: account_id}) + result = template_api.template_list({ account_id: account_id }) p result rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" diff --git a/lib/dropbox-sign/api/account_api.rb b/lib/dropbox-sign/api/account_api.rb index 0354c00..35934cb 100644 --- a/lib/dropbox-sign/api/account_api.rb +++ b/lib/dropbox-sign/api/account_api.rb @@ -58,7 +58,7 @@ def account_create_with_http_info(account_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -261,7 +261,7 @@ def account_update_with_http_info(account_update_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -370,7 +370,7 @@ def account_verify_with_http_info(account_verify_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/api_app_api.rb b/lib/dropbox-sign/api/api_app_api.rb index 0fdc9a6..7b0c42e 100644 --- a/lib/dropbox-sign/api/api_app_api.rb +++ b/lib/dropbox-sign/api/api_app_api.rb @@ -58,7 +58,7 @@ def api_app_create_with_http_info(api_app_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -428,7 +428,7 @@ def api_app_update_with_http_info(client_id, api_app_update_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/embedded_api.rb b/lib/dropbox-sign/api/embedded_api.rb index 1dc0198..3b25c76 100644 --- a/lib/dropbox-sign/api/embedded_api.rb +++ b/lib/dropbox-sign/api/embedded_api.rb @@ -64,7 +64,7 @@ def embedded_edit_url_with_http_info(template_id, embedded_edit_url_request, opt # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/fax_line_api.rb b/lib/dropbox-sign/api/fax_line_api.rb index 67815a0..7adb326 100644 --- a/lib/dropbox-sign/api/fax_line_api.rb +++ b/lib/dropbox-sign/api/fax_line_api.rb @@ -58,7 +58,7 @@ def fax_line_add_user_with_http_info(fax_line_add_user_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -284,7 +284,7 @@ def fax_line_create_with_http_info(fax_line_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -393,7 +393,7 @@ def fax_line_delete_with_http_info(fax_line_delete_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -670,7 +670,7 @@ def fax_line_remove_user_with_http_info(fax_line_remove_user_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/o_auth_api.rb b/lib/dropbox-sign/api/o_auth_api.rb index 11c31ce..eb0c677 100644 --- a/lib/dropbox-sign/api/o_auth_api.rb +++ b/lib/dropbox-sign/api/o_auth_api.rb @@ -58,7 +58,7 @@ def oauth_token_generate_with_http_info(o_auth_token_generate_request, opts = {} # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -153,7 +153,7 @@ def oauth_token_refresh_with_http_info(o_auth_token_refresh_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/report_api.rb b/lib/dropbox-sign/api/report_api.rb index 25b642d..a48beb3 100644 --- a/lib/dropbox-sign/api/report_api.rb +++ b/lib/dropbox-sign/api/report_api.rb @@ -58,7 +58,7 @@ def report_create_with_http_info(report_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/signature_request_api.rb b/lib/dropbox-sign/api/signature_request_api.rb index 8003ba2..4389409 100644 --- a/lib/dropbox-sign/api/signature_request_api.rb +++ b/lib/dropbox-sign/api/signature_request_api.rb @@ -58,7 +58,7 @@ def signature_request_bulk_create_embedded_with_template_with_http_info(signatur # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -167,7 +167,7 @@ def signature_request_bulk_send_with_template_with_http_info(signature_request_b # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -343,7 +343,7 @@ def signature_request_create_embedded_with_http_info(signature_request_create_em # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -452,7 +452,7 @@ def signature_request_create_embedded_with_template_with_http_info(signature_req # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -1147,7 +1147,7 @@ def signature_request_remind_with_http_info(signature_request_id, signature_requ # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -1323,7 +1323,7 @@ def signature_request_send_with_http_info(signature_request_send_request, opts = # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -1432,7 +1432,7 @@ def signature_request_send_with_template_with_http_info(signature_request_send_w # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -1547,7 +1547,7 @@ def signature_request_update_with_http_info(signature_request_id, signature_requ # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/team_api.rb b/lib/dropbox-sign/api/team_api.rb index ac7fe95..010f36f 100644 --- a/lib/dropbox-sign/api/team_api.rb +++ b/lib/dropbox-sign/api/team_api.rb @@ -61,7 +61,7 @@ def team_add_member_with_http_info(team_add_member_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -170,7 +170,7 @@ def team_create_with_http_info(team_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -718,7 +718,7 @@ def team_remove_member_with_http_info(team_remove_member_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -935,7 +935,7 @@ def team_update_with_http_info(team_update_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/template_api.rb b/lib/dropbox-sign/api/template_api.rb index 7a30eca..445ee2b 100644 --- a/lib/dropbox-sign/api/template_api.rb +++ b/lib/dropbox-sign/api/template_api.rb @@ -64,7 +64,7 @@ def template_add_user_with_http_info(template_id, template_add_user_request, opt # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -173,7 +173,7 @@ def template_create_with_http_info(template_create_request, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -282,7 +282,7 @@ def template_create_embedded_draft_with_http_info(template_create_embedded_draft # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -958,7 +958,7 @@ def template_remove_user_with_http_info(template_id, template_remove_user_reques # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -1073,7 +1073,7 @@ def template_update_files_with_http_info(template_id, template_update_files_requ # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/api/unclaimed_draft_api.rb b/lib/dropbox-sign/api/unclaimed_draft_api.rb index f54f8cb..cb497d5 100644 --- a/lib/dropbox-sign/api/unclaimed_draft_api.rb +++ b/lib/dropbox-sign/api/unclaimed_draft_api.rb @@ -58,7 +58,7 @@ def unclaimed_draft_create_with_http_info(unclaimed_draft_create_request, opts = # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -167,7 +167,7 @@ def unclaimed_draft_create_embedded_with_http_info(unclaimed_draft_create_embedd # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -276,7 +276,7 @@ def unclaimed_draft_create_embedded_with_template_with_http_info(unclaimed_draft # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} @@ -391,7 +391,7 @@ def unclaimed_draft_edit_and_resend_with_http_info(signature_request_id, unclaim # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end post_body = {} diff --git a/lib/dropbox-sign/configuration.rb b/lib/dropbox-sign/configuration.rb index b730f09..4e1c70b 100644 --- a/lib/dropbox-sign/configuration.rb +++ b/lib/dropbox-sign/configuration.rb @@ -245,7 +245,7 @@ def basic_auth_token end # Returns Auth Settings hash for api client. - def auth_settings() + def auth_settings result = {} if basic_auth_token result['api_key'] = { @@ -264,7 +264,7 @@ def auth_settings() value: "Bearer #{access_token}" } end - return result + result end # Returns an array of Server setting @@ -327,7 +327,5 @@ def server_url(index, variables = {}, servers = nil) url end - - end end diff --git a/lib/dropbox-sign/event_callback_helper.rb b/lib/dropbox-sign/event_callback_helper.rb index 50730c4..4da3093 100644 --- a/lib/dropbox-sign/event_callback_helper.rb +++ b/lib/dropbox-sign/event_callback_helper.rb @@ -33,7 +33,7 @@ def self.is_valid(api_key, event_callback) "#{event_callback.event.event_time}#{event_callback.event.event_type}", ) - return event_callback.event.event_hash === hash + event_callback.event.event_hash === hash end # Identifies the callback type, one of "account_callback" or "app_callback". @@ -48,7 +48,7 @@ def self.get_callback_type(event_callback) return EVENT_TYPE_ACCOUNT_CALLBACK end - return EVENT_TYPE_APP_CALLBACK + EVENT_TYPE_APP_CALLBACK end end end diff --git a/lib/dropbox-sign/models/account_create_request.rb b/lib/dropbox-sign/models/account_create_request.rb index d297686..c1f094e 100644 --- a/lib/dropbox-sign/models/account_create_request.rb +++ b/lib/dropbox-sign/models/account_create_request.rb @@ -84,7 +84,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountCreateRequest" ) || AccountCreateRequest.new @@ -280,7 +280,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_create_response.rb b/lib/dropbox-sign/models/account_create_response.rb index ce46c34..65e9521 100644 --- a/lib/dropbox-sign/models/account_create_response.rb +++ b/lib/dropbox-sign/models/account_create_response.rb @@ -76,7 +76,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountCreateResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountCreateResponse" ) || AccountCreateResponse.new @@ -269,7 +269,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_get_response.rb b/lib/dropbox-sign/models/account_get_response.rb index 66a4f1f..855d8c6 100644 --- a/lib/dropbox-sign/models/account_get_response.rb +++ b/lib/dropbox-sign/models/account_get_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountGetResponse" ) || AccountGetResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_response.rb b/lib/dropbox-sign/models/account_response.rb index f0b103c..1ab6a5d 100644 --- a/lib/dropbox-sign/models/account_response.rb +++ b/lib/dropbox-sign/models/account_response.rb @@ -128,7 +128,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountResponse" ) || AccountResponse.new @@ -354,7 +354,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_response_quotas.rb b/lib/dropbox-sign/models/account_response_quotas.rb index 3cdfba5..03ac489 100644 --- a/lib/dropbox-sign/models/account_response_quotas.rb +++ b/lib/dropbox-sign/models/account_response_quotas.rb @@ -103,7 +103,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountResponseQuotas] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountResponseQuotas" ) || AccountResponseQuotas.new @@ -304,7 +304,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_response_usage.rb b/lib/dropbox-sign/models/account_response_usage.rb index fb00091..3eb5187 100644 --- a/lib/dropbox-sign/models/account_response_usage.rb +++ b/lib/dropbox-sign/models/account_response_usage.rb @@ -68,7 +68,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountResponseUsage] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountResponseUsage" ) || AccountResponseUsage.new @@ -244,7 +244,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_update_request.rb b/lib/dropbox-sign/models/account_update_request.rb index 5ad8392..a24f6a4 100644 --- a/lib/dropbox-sign/models/account_update_request.rb +++ b/lib/dropbox-sign/models/account_update_request.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountUpdateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountUpdateRequest" ) || AccountUpdateRequest.new @@ -265,7 +265,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_verify_request.rb b/lib/dropbox-sign/models/account_verify_request.rb index ebe2196..1b93ec7 100644 --- a/lib/dropbox-sign/models/account_verify_request.rb +++ b/lib/dropbox-sign/models/account_verify_request.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountVerifyRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountVerifyRequest" ) || AccountVerifyRequest.new @@ -247,7 +247,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_verify_response.rb b/lib/dropbox-sign/models/account_verify_response.rb index cf7d982..7f6b6e1 100644 --- a/lib/dropbox-sign/models/account_verify_response.rb +++ b/lib/dropbox-sign/models/account_verify_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountVerifyResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountVerifyResponse" ) || AccountVerifyResponse.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/account_verify_response_account.rb b/lib/dropbox-sign/models/account_verify_response_account.rb index c98b7bf..2ea7c80 100644 --- a/lib/dropbox-sign/models/account_verify_response_account.rb +++ b/lib/dropbox-sign/models/account_verify_response_account.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [AccountVerifyResponseAccount] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "AccountVerifyResponseAccount" ) || AccountVerifyResponseAccount.new @@ -242,7 +242,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_create_request.rb b/lib/dropbox-sign/models/api_app_create_request.rb index c11b8d8..37e542e 100644 --- a/lib/dropbox-sign/models/api_app_create_request.rb +++ b/lib/dropbox-sign/models/api_app_create_request.rb @@ -99,7 +99,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppCreateRequest" ) || ApiAppCreateRequest.new @@ -344,7 +344,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_get_response.rb b/lib/dropbox-sign/models/api_app_get_response.rb index e8d7972..5befd74 100644 --- a/lib/dropbox-sign/models/api_app_get_response.rb +++ b/lib/dropbox-sign/models/api_app_get_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppGetResponse" ) || ApiAppGetResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_list_response.rb b/lib/dropbox-sign/models/api_app_list_response.rb index 7021333..7247d48 100644 --- a/lib/dropbox-sign/models/api_app_list_response.rb +++ b/lib/dropbox-sign/models/api_app_list_response.rb @@ -77,7 +77,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppListResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppListResponse" ) || ApiAppListResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_response.rb b/lib/dropbox-sign/models/api_app_response.rb index 727d4fb..2f7923e 100644 --- a/lib/dropbox-sign/models/api_app_response.rb +++ b/lib/dropbox-sign/models/api_app_response.rb @@ -121,7 +121,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppResponse" ) || ApiAppResponse.new @@ -344,7 +344,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_response_o_auth.rb b/lib/dropbox-sign/models/api_app_response_o_auth.rb index 86e81f9..c17650a 100644 --- a/lib/dropbox-sign/models/api_app_response_o_auth.rb +++ b/lib/dropbox-sign/models/api_app_response_o_auth.rb @@ -85,7 +85,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppResponseOAuth] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppResponseOAuth" ) || ApiAppResponseOAuth.new @@ -278,7 +278,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_response_options.rb b/lib/dropbox-sign/models/api_app_response_options.rb index 223ce31..8e7742a 100644 --- a/lib/dropbox-sign/models/api_app_response_options.rb +++ b/lib/dropbox-sign/models/api_app_response_options.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppResponseOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppResponseOptions" ) || ApiAppResponseOptions.new @@ -243,7 +243,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_response_owner_account.rb b/lib/dropbox-sign/models/api_app_response_owner_account.rb index f7627ec..50abb33 100644 --- a/lib/dropbox-sign/models/api_app_response_owner_account.rb +++ b/lib/dropbox-sign/models/api_app_response_owner_account.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppResponseOwnerAccount] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppResponseOwnerAccount" ) || ApiAppResponseOwnerAccount.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb b/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb index 141de8b..99f0227 100644 --- a/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +++ b/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb @@ -131,7 +131,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppResponseWhiteLabelingOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppResponseWhiteLabelingOptions" ) || ApiAppResponseWhiteLabelingOptions.new @@ -372,7 +372,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/api_app_update_request.rb b/lib/dropbox-sign/models/api_app_update_request.rb index 6d25746..0c526d7 100644 --- a/lib/dropbox-sign/models/api_app_update_request.rb +++ b/lib/dropbox-sign/models/api_app_update_request.rb @@ -99,7 +99,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ApiAppUpdateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ApiAppUpdateRequest" ) || ApiAppUpdateRequest.new @@ -322,7 +322,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/bulk_send_job_get_response.rb b/lib/dropbox-sign/models/bulk_send_job_get_response.rb index 71c2b1a..bd14dd0 100644 --- a/lib/dropbox-sign/models/bulk_send_job_get_response.rb +++ b/lib/dropbox-sign/models/bulk_send_job_get_response.rb @@ -82,7 +82,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [BulkSendJobGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "BulkSendJobGetResponse" ) || BulkSendJobGetResponse.new @@ -292,7 +292,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb b/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb index 489013c..8c20176 100644 --- a/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +++ b/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb @@ -220,7 +220,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [BulkSendJobGetResponseSignatureRequests] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "BulkSendJobGetResponseSignatureRequests" ) || BulkSendJobGetResponseSignatureRequests.new @@ -530,7 +530,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/bulk_send_job_list_response.rb b/lib/dropbox-sign/models/bulk_send_job_list_response.rb index 4a1a906..4c9b808 100644 --- a/lib/dropbox-sign/models/bulk_send_job_list_response.rb +++ b/lib/dropbox-sign/models/bulk_send_job_list_response.rb @@ -77,7 +77,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [BulkSendJobListResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "BulkSendJobListResponse" ) || BulkSendJobListResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/bulk_send_job_response.rb b/lib/dropbox-sign/models/bulk_send_job_response.rb index 7373d6f..b84d927 100644 --- a/lib/dropbox-sign/models/bulk_send_job_response.rb +++ b/lib/dropbox-sign/models/bulk_send_job_response.rb @@ -86,7 +86,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [BulkSendJobResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "BulkSendJobResponse" ) || BulkSendJobResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/bulk_send_job_send_response.rb b/lib/dropbox-sign/models/bulk_send_job_send_response.rb index ddc24be..f870982 100644 --- a/lib/dropbox-sign/models/bulk_send_job_send_response.rb +++ b/lib/dropbox-sign/models/bulk_send_job_send_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [BulkSendJobSendResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "BulkSendJobSendResponse" ) || BulkSendJobSendResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/embedded_edit_url_request.rb b/lib/dropbox-sign/models/embedded_edit_url_request.rb index 48891c1..1f65e41 100644 --- a/lib/dropbox-sign/models/embedded_edit_url_request.rb +++ b/lib/dropbox-sign/models/embedded_edit_url_request.rb @@ -119,7 +119,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EmbeddedEditUrlRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EmbeddedEditUrlRequest" ) || EmbeddedEditUrlRequest.new @@ -358,7 +358,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/embedded_edit_url_response.rb b/lib/dropbox-sign/models/embedded_edit_url_response.rb index 6445633..0ce2e61 100644 --- a/lib/dropbox-sign/models/embedded_edit_url_response.rb +++ b/lib/dropbox-sign/models/embedded_edit_url_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EmbeddedEditUrlResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EmbeddedEditUrlResponse" ) || EmbeddedEditUrlResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb b/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb index 5045efc..2c72d8b 100644 --- a/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +++ b/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EmbeddedEditUrlResponseEmbedded] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EmbeddedEditUrlResponseEmbedded" ) || EmbeddedEditUrlResponseEmbedded.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/embedded_sign_url_response.rb b/lib/dropbox-sign/models/embedded_sign_url_response.rb index 532683c..7d91360 100644 --- a/lib/dropbox-sign/models/embedded_sign_url_response.rb +++ b/lib/dropbox-sign/models/embedded_sign_url_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EmbeddedSignUrlResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EmbeddedSignUrlResponse" ) || EmbeddedSignUrlResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb b/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb index a9cda82..15d0f13 100644 --- a/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +++ b/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EmbeddedSignUrlResponseEmbedded] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EmbeddedSignUrlResponseEmbedded" ) || EmbeddedSignUrlResponseEmbedded.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/error_response.rb b/lib/dropbox-sign/models/error_response.rb index 07eba4e..c2d3987 100644 --- a/lib/dropbox-sign/models/error_response.rb +++ b/lib/dropbox-sign/models/error_response.rb @@ -65,7 +65,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ErrorResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ErrorResponse" ) || ErrorResponse.new @@ -246,7 +246,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/error_response_error.rb b/lib/dropbox-sign/models/error_response_error.rb index 0339a4e..21b2abf 100644 --- a/lib/dropbox-sign/models/error_response_error.rb +++ b/lib/dropbox-sign/models/error_response_error.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ErrorResponseError] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ErrorResponseError" ) || ErrorResponseError.new @@ -275,7 +275,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/event_callback_request.rb b/lib/dropbox-sign/models/event_callback_request.rb index 8d29b49..b9e7182 100644 --- a/lib/dropbox-sign/models/event_callback_request.rb +++ b/lib/dropbox-sign/models/event_callback_request.rb @@ -80,7 +80,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EventCallbackRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EventCallbackRequest" ) || EventCallbackRequest.new @@ -276,7 +276,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/event_callback_request_event.rb b/lib/dropbox-sign/models/event_callback_request_event.rb index f8a9a1a..5ce3dee 100644 --- a/lib/dropbox-sign/models/event_callback_request_event.rb +++ b/lib/dropbox-sign/models/event_callback_request_event.rb @@ -106,7 +106,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EventCallbackRequestEvent] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EventCallbackRequestEvent" ) || EventCallbackRequestEvent.new @@ -324,7 +324,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/event_callback_request_event_metadata.rb b/lib/dropbox-sign/models/event_callback_request_event_metadata.rb index 3ae44dc..02c8d4c 100644 --- a/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +++ b/lib/dropbox-sign/models/event_callback_request_event_metadata.rb @@ -89,7 +89,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [EventCallbackRequestEventMetadata] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "EventCallbackRequestEventMetadata" ) || EventCallbackRequestEventMetadata.new @@ -280,7 +280,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_add_user_request.rb b/lib/dropbox-sign/models/fax_line_add_user_request.rb index 0bed0cc..d2b04a3 100644 --- a/lib/dropbox-sign/models/fax_line_add_user_request.rb +++ b/lib/dropbox-sign/models/fax_line_add_user_request.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineAddUserRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineAddUserRequest" ) || FaxLineAddUserRequest.new @@ -269,7 +269,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_area_code_get_response.rb b/lib/dropbox-sign/models/fax_line_area_code_get_response.rb index bcfd8b6..a724596 100644 --- a/lib/dropbox-sign/models/fax_line_area_code_get_response.rb +++ b/lib/dropbox-sign/models/fax_line_area_code_get_response.rb @@ -65,7 +65,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineAreaCodeGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineAreaCodeGetResponse" ) || FaxLineAreaCodeGetResponse.new @@ -248,7 +248,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_create_request.rb b/lib/dropbox-sign/models/fax_line_create_request.rb index 261e3bd..16f9ebd 100644 --- a/lib/dropbox-sign/models/fax_line_create_request.rb +++ b/lib/dropbox-sign/models/fax_line_create_request.rb @@ -106,7 +106,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineCreateRequest" ) || FaxLineCreateRequest.new @@ -319,7 +319,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_delete_request.rb b/lib/dropbox-sign/models/fax_line_delete_request.rb index 632b2cb..cdb344e 100644 --- a/lib/dropbox-sign/models/fax_line_delete_request.rb +++ b/lib/dropbox-sign/models/fax_line_delete_request.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineDeleteRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineDeleteRequest" ) || FaxLineDeleteRequest.new @@ -247,7 +247,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_list_response.rb b/lib/dropbox-sign/models/fax_line_list_response.rb index 5aac0f5..1aa8562 100644 --- a/lib/dropbox-sign/models/fax_line_list_response.rb +++ b/lib/dropbox-sign/models/fax_line_list_response.rb @@ -75,7 +75,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineListResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineListResponse" ) || FaxLineListResponse.new @@ -273,7 +273,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_remove_user_request.rb b/lib/dropbox-sign/models/fax_line_remove_user_request.rb index b2b0a6c..3908c50 100644 --- a/lib/dropbox-sign/models/fax_line_remove_user_request.rb +++ b/lib/dropbox-sign/models/fax_line_remove_user_request.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineRemoveUserRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineRemoveUserRequest" ) || FaxLineRemoveUserRequest.new @@ -269,7 +269,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_response.rb b/lib/dropbox-sign/models/fax_line_response.rb index 491b618..bf80e66 100644 --- a/lib/dropbox-sign/models/fax_line_response.rb +++ b/lib/dropbox-sign/models/fax_line_response.rb @@ -70,7 +70,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineResponse" ) || FaxLineResponse.new @@ -256,7 +256,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/fax_line_response_fax_line.rb b/lib/dropbox-sign/models/fax_line_response_fax_line.rb index 2d39e7f..02d7797 100644 --- a/lib/dropbox-sign/models/fax_line_response_fax_line.rb +++ b/lib/dropbox-sign/models/fax_line_response_fax_line.rb @@ -83,7 +83,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FaxLineResponseFaxLine] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FaxLineResponseFaxLine" ) || FaxLineResponseFaxLine.new @@ -276,7 +276,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/file_response.rb b/lib/dropbox-sign/models/file_response.rb index 6a2deff..7ec6b55 100644 --- a/lib/dropbox-sign/models/file_response.rb +++ b/lib/dropbox-sign/models/file_response.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FileResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FileResponse" ) || FileResponse.new @@ -263,7 +263,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/file_response_data_uri.rb b/lib/dropbox-sign/models/file_response_data_uri.rb index d35727b..aa5b6cb 100644 --- a/lib/dropbox-sign/models/file_response_data_uri.rb +++ b/lib/dropbox-sign/models/file_response_data_uri.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [FileResponseDataUri] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "FileResponseDataUri" ) || FileResponseDataUri.new @@ -247,7 +247,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/list_info_response.rb b/lib/dropbox-sign/models/list_info_response.rb index 17768f9..6e39e1b 100644 --- a/lib/dropbox-sign/models/list_info_response.rb +++ b/lib/dropbox-sign/models/list_info_response.rb @@ -86,7 +86,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ListInfoResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ListInfoResponse" ) || ListInfoResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/o_auth_token_generate_request.rb b/lib/dropbox-sign/models/o_auth_token_generate_request.rb index d835479..81b9dd7 100644 --- a/lib/dropbox-sign/models/o_auth_token_generate_request.rb +++ b/lib/dropbox-sign/models/o_auth_token_generate_request.rb @@ -90,7 +90,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [OAuthTokenGenerateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "OAuthTokenGenerateRequest" ) || OAuthTokenGenerateRequest.new @@ -313,7 +313,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/o_auth_token_refresh_request.rb b/lib/dropbox-sign/models/o_auth_token_refresh_request.rb index 737180e..7628e0b 100644 --- a/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +++ b/lib/dropbox-sign/models/o_auth_token_refresh_request.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [OAuthTokenRefreshRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "OAuthTokenRefreshRequest" ) || OAuthTokenRefreshRequest.new @@ -265,7 +265,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/o_auth_token_response.rb b/lib/dropbox-sign/models/o_auth_token_response.rb index 5acda2f..ffcad89 100644 --- a/lib/dropbox-sign/models/o_auth_token_response.rb +++ b/lib/dropbox-sign/models/o_auth_token_response.rb @@ -87,7 +87,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [OAuthTokenResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "OAuthTokenResponse" ) || OAuthTokenResponse.new @@ -283,7 +283,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/report_create_request.rb b/lib/dropbox-sign/models/report_create_request.rb index 95b86e1..1381314 100644 --- a/lib/dropbox-sign/models/report_create_request.rb +++ b/lib/dropbox-sign/models/report_create_request.rb @@ -100,7 +100,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ReportCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ReportCreateRequest" ) || ReportCreateRequest.new @@ -313,7 +313,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/report_create_response.rb b/lib/dropbox-sign/models/report_create_response.rb index 5ff6010..b166b95 100644 --- a/lib/dropbox-sign/models/report_create_response.rb +++ b/lib/dropbox-sign/models/report_create_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ReportCreateResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ReportCreateResponse" ) || ReportCreateResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/report_response.rb b/lib/dropbox-sign/models/report_response.rb index a794086..ba3ab99 100644 --- a/lib/dropbox-sign/models/report_response.rb +++ b/lib/dropbox-sign/models/report_response.rb @@ -107,7 +107,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [ReportResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ReportResponse" ) || ReportResponse.new @@ -300,7 +300,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb b/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb index 3e2e153..6735166 100644 --- a/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +++ b/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb @@ -138,7 +138,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestBulkCreateEmbeddedWithTemplateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestBulkCreateEmbeddedWithTemplateRequest" ) || SignatureRequestBulkCreateEmbeddedWithTemplateRequest.new @@ -449,7 +449,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb b/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb index 894d2b0..9f6c449 100644 --- a/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +++ b/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb @@ -138,7 +138,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestBulkSendWithTemplateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestBulkSendWithTemplateRequest" ) || SignatureRequestBulkSendWithTemplateRequest.new @@ -444,7 +444,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_create_embedded_request.rb b/lib/dropbox-sign/models/signature_request_create_embedded_request.rb index f5d87ca..bdc9e94 100644 --- a/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +++ b/lib/dropbox-sign/models/signature_request_create_embedded_request.rb @@ -203,7 +203,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestCreateEmbeddedRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestCreateEmbeddedRequest" ) || SignatureRequestCreateEmbeddedRequest.new @@ -584,7 +584,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb b/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb index 3238f8b..4246670 100644 --- a/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +++ b/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb @@ -149,7 +149,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestCreateEmbeddedWithTemplateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestCreateEmbeddedWithTemplateRequest" ) || SignatureRequestCreateEmbeddedWithTemplateRequest.new @@ -481,7 +481,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_get_response.rb b/lib/dropbox-sign/models/signature_request_get_response.rb index 51cabcc..04ca8fe 100644 --- a/lib/dropbox-sign/models/signature_request_get_response.rb +++ b/lib/dropbox-sign/models/signature_request_get_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestGetResponse" ) || SignatureRequestGetResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_list_response.rb b/lib/dropbox-sign/models/signature_request_list_response.rb index 0d365cc..187e12b 100644 --- a/lib/dropbox-sign/models/signature_request_list_response.rb +++ b/lib/dropbox-sign/models/signature_request_list_response.rb @@ -77,7 +77,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestListResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestListResponse" ) || SignatureRequestListResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_remind_request.rb b/lib/dropbox-sign/models/signature_request_remind_request.rb index eb20a87..677d410 100644 --- a/lib/dropbox-sign/models/signature_request_remind_request.rb +++ b/lib/dropbox-sign/models/signature_request_remind_request.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestRemindRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestRemindRequest" ) || SignatureRequestRemindRequest.new @@ -258,7 +258,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response.rb b/lib/dropbox-sign/models/signature_request_response.rb index 2d4a9b2..4419ad2 100644 --- a/lib/dropbox-sign/models/signature_request_response.rb +++ b/lib/dropbox-sign/models/signature_request_response.rb @@ -222,7 +222,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponse" ) || SignatureRequestResponse.new @@ -532,7 +532,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_attachment.rb b/lib/dropbox-sign/models/signature_request_response_attachment.rb index 2d4e6c4..9629909 100644 --- a/lib/dropbox-sign/models/signature_request_response_attachment.rb +++ b/lib/dropbox-sign/models/signature_request_response_attachment.rb @@ -99,7 +99,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseAttachment] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseAttachment" ) || SignatureRequestResponseAttachment.new @@ -320,7 +320,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb b/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb index 4694488..d041f55 100644 --- a/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +++ b/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb @@ -102,7 +102,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::SignatureRequestResponseCustomFieldText" end - return nil + nil end # Initializes the object @@ -312,7 +312,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb b/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb index 71a9680..531891f 100644 --- a/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +++ b/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseCustomFieldCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseCustomFieldCheckbox" ) || SignatureRequestResponseCustomFieldCheckbox.new @@ -265,7 +265,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb b/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb index 47169c9..9899bd0 100644 --- a/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +++ b/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseCustomFieldText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseCustomFieldText" ) || SignatureRequestResponseCustomFieldText.new @@ -265,7 +265,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_base.rb b/lib/dropbox-sign/models/signature_request_response_data_base.rb index 492c3a4..08d0a18 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_base.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_base.rb @@ -122,7 +122,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::SignatureRequestResponseDataValueTextMerge" end - return nil + nil end # Initializes the object @@ -322,7 +322,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb b/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb index aed0125..ccc30ca 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueCheckbox" ) || SignatureRequestResponseDataValueCheckbox.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb b/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb index 605e3a7..df3714a 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueCheckboxMerge] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueCheckboxMerge" ) || SignatureRequestResponseDataValueCheckboxMerge.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb b/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb index dfd5b1d..35b5722 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueDateSigned] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueDateSigned" ) || SignatureRequestResponseDataValueDateSigned.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb b/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb index fc0db09..56d6149 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueDropdown] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueDropdown" ) || SignatureRequestResponseDataValueDropdown.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb b/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb index 9a13903..0193241 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueInitials] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueInitials" ) || SignatureRequestResponseDataValueInitials.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb b/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb index ddfcd8b..87aa469 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueRadio] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueRadio" ) || SignatureRequestResponseDataValueRadio.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb b/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb index 7831d4b..253aa85 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueSignature] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueSignature" ) || SignatureRequestResponseDataValueSignature.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_text.rb b/lib/dropbox-sign/models/signature_request_response_data_value_text.rb index 31829b4..86fda70 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_text.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueText" ) || SignatureRequestResponseDataValueText.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb b/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb index 0d69a1e..fe39d64 100644 --- a/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +++ b/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseDataValueTextMerge] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseDataValueTextMerge" ) || SignatureRequestResponseDataValueTextMerge.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_response_signatures.rb b/lib/dropbox-sign/models/signature_request_response_signatures.rb index 9588867..1e29927 100644 --- a/lib/dropbox-sign/models/signature_request_response_signatures.rb +++ b/lib/dropbox-sign/models/signature_request_response_signatures.rb @@ -190,7 +190,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestResponseSignatures] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestResponseSignatures" ) || SignatureRequestResponseSignatures.new @@ -456,7 +456,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_send_request.rb b/lib/dropbox-sign/models/signature_request_send_request.rb index 189a0aa..c11fb51 100644 --- a/lib/dropbox-sign/models/signature_request_send_request.rb +++ b/lib/dropbox-sign/models/signature_request_send_request.rb @@ -215,7 +215,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestSendRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestSendRequest" ) || SignatureRequestSendRequest.new @@ -603,7 +603,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_send_with_template_request.rb b/lib/dropbox-sign/models/signature_request_send_with_template_request.rb index c0b1c6e..b626cee 100644 --- a/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +++ b/lib/dropbox-sign/models/signature_request_send_with_template_request.rb @@ -162,7 +162,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestSendWithTemplateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestSendWithTemplateRequest" ) || SignatureRequestSendWithTemplateRequest.new @@ -501,7 +501,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/signature_request_update_request.rb b/lib/dropbox-sign/models/signature_request_update_request.rb index 773b705..1b65aa5 100644 --- a/lib/dropbox-sign/models/signature_request_update_request.rb +++ b/lib/dropbox-sign/models/signature_request_update_request.rb @@ -85,7 +85,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SignatureRequestUpdateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SignatureRequestUpdateRequest" ) || SignatureRequestUpdateRequest.new @@ -281,7 +281,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_attachment.rb b/lib/dropbox-sign/models/sub_attachment.rb index 1f4d6db..dfc7a33 100644 --- a/lib/dropbox-sign/models/sub_attachment.rb +++ b/lib/dropbox-sign/models/sub_attachment.rb @@ -84,7 +84,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubAttachment] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubAttachment" ) || SubAttachment.new @@ -287,7 +287,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_bulk_signer_list.rb b/lib/dropbox-sign/models/sub_bulk_signer_list.rb index d1049ea..ecc48bd 100644 --- a/lib/dropbox-sign/models/sub_bulk_signer_list.rb +++ b/lib/dropbox-sign/models/sub_bulk_signer_list.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubBulkSignerList] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubBulkSignerList" ) || SubBulkSignerList.new @@ -257,7 +257,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb b/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb index 9cda420..e9f81d3 100644 --- a/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +++ b/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubBulkSignerListCustomField] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubBulkSignerListCustomField" ) || SubBulkSignerListCustomField.new @@ -263,7 +263,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_cc.rb b/lib/dropbox-sign/models/sub_cc.rb index aff7610..7136623 100644 --- a/lib/dropbox-sign/models/sub_cc.rb +++ b/lib/dropbox-sign/models/sub_cc.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubCC] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubCC" ) || SubCC.new @@ -263,7 +263,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_custom_field.rb b/lib/dropbox-sign/models/sub_custom_field.rb index 65a95e7..f5ad1f6 100644 --- a/lib/dropbox-sign/models/sub_custom_field.rb +++ b/lib/dropbox-sign/models/sub_custom_field.rb @@ -85,7 +85,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubCustomField] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubCustomField" ) || SubCustomField.new @@ -283,7 +283,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_editor_options.rb b/lib/dropbox-sign/models/sub_editor_options.rb index 28f8522..182a921 100644 --- a/lib/dropbox-sign/models/sub_editor_options.rb +++ b/lib/dropbox-sign/models/sub_editor_options.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubEditorOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubEditorOptions" ) || SubEditorOptions.new @@ -258,7 +258,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_field_options.rb b/lib/dropbox-sign/models/sub_field_options.rb index 6c76569..993ced3 100644 --- a/lib/dropbox-sign/models/sub_field_options.rb +++ b/lib/dropbox-sign/models/sub_field_options.rb @@ -89,7 +89,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFieldOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFieldOptions" ) || SubFieldOptions.new @@ -282,7 +282,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_field_group.rb b/lib/dropbox-sign/models/sub_form_field_group.rb index 5f5a738..0917901 100644 --- a/lib/dropbox-sign/models/sub_form_field_group.rb +++ b/lib/dropbox-sign/models/sub_form_field_group.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldGroup] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldGroup" ) || SubFormFieldGroup.new @@ -279,7 +279,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_field_rule.rb b/lib/dropbox-sign/models/sub_form_field_rule.rb index 1090465..6eb04a2 100644 --- a/lib/dropbox-sign/models/sub_form_field_rule.rb +++ b/lib/dropbox-sign/models/sub_form_field_rule.rb @@ -84,7 +84,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldRule] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldRule" ) || SubFormFieldRule.new @@ -346,7 +346,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_field_rule_action.rb b/lib/dropbox-sign/models/sub_form_field_rule_action.rb index 4ebaabc..8b524a1 100644 --- a/lib/dropbox-sign/models/sub_form_field_rule_action.rb +++ b/lib/dropbox-sign/models/sub_form_field_rule_action.rb @@ -105,7 +105,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldRuleAction] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldRuleAction" ) || SubFormFieldRuleAction.new @@ -318,7 +318,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb b/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb index 4bfc6d5..9ef68ce 100644 --- a/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +++ b/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb @@ -106,7 +106,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldRuleTrigger] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldRuleTrigger" ) || SubFormFieldRuleTrigger.new @@ -321,7 +321,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb index 9b8a0fb..e429727 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb @@ -162,7 +162,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::SubFormFieldsPerDocumentTextMerge" end - return nil + nil end # Initializes the object @@ -437,7 +437,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb index 5423979..74968ed 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentCheckbox" ) || SubFormFieldsPerDocumentCheckbox.new @@ -281,7 +281,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb index f9e3c28..0c8dc92 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentCheckboxMerge] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentCheckboxMerge" ) || SubFormFieldsPerDocumentCheckboxMerge.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb index f9c9e0f..85e37c7 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb @@ -101,7 +101,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentDateSigned] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentDateSigned" ) || SubFormFieldsPerDocumentDateSigned.new @@ -312,7 +312,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb index 873e3cb..51d8244 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb @@ -113,7 +113,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentDropdown] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentDropdown" ) || SubFormFieldsPerDocumentDropdown.new @@ -359,7 +359,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb index 886cd7a..0cb2bf4 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb @@ -113,7 +113,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentHyperlink] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentHyperlink" ) || SubFormFieldsPerDocumentHyperlink.new @@ -344,7 +344,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb index 266bc1f..0433390 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentInitials] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentInitials" ) || SubFormFieldsPerDocumentInitials.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb index 4bcf2c2..5436051 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentRadio] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentRadio" ) || SubFormFieldsPerDocumentRadio.new @@ -286,7 +286,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb index 7d82ef2..a8a737b 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentSignature] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentSignature" ) || SubFormFieldsPerDocumentSignature.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb index bfda46a..35fc716 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb @@ -147,7 +147,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentText" ) || SubFormFieldsPerDocumentText.new @@ -410,7 +410,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb b/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb index 42a4192..2f62a81 100644 --- a/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +++ b/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb @@ -101,7 +101,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubFormFieldsPerDocumentTextMerge] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubFormFieldsPerDocumentTextMerge" ) || SubFormFieldsPerDocumentTextMerge.new @@ -312,7 +312,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_merge_field.rb b/lib/dropbox-sign/models/sub_merge_field.rb index 2d2cbe4..08f4041 100644 --- a/lib/dropbox-sign/models/sub_merge_field.rb +++ b/lib/dropbox-sign/models/sub_merge_field.rb @@ -94,7 +94,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubMergeField] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubMergeField" ) || SubMergeField.new @@ -297,7 +297,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_o_auth.rb b/lib/dropbox-sign/models/sub_o_auth.rb index 11c8c60..2297282 100644 --- a/lib/dropbox-sign/models/sub_o_auth.rb +++ b/lib/dropbox-sign/models/sub_o_auth.rb @@ -95,7 +95,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubOAuth] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubOAuth" ) || SubOAuth.new @@ -278,7 +278,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_options.rb b/lib/dropbox-sign/models/sub_options.rb index f8263c6..6c4c07b 100644 --- a/lib/dropbox-sign/models/sub_options.rb +++ b/lib/dropbox-sign/models/sub_options.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubOptions" ) || SubOptions.new @@ -245,7 +245,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb b/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb index 8c6338b..70cf632 100644 --- a/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +++ b/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubSignatureRequestGroupedSigners] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubSignatureRequestGroupedSigners" ) || SubSignatureRequestGroupedSigners.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_signature_request_signer.rb b/lib/dropbox-sign/models/sub_signature_request_signer.rb index 002b9c5..8fe9ddb 100644 --- a/lib/dropbox-sign/models/sub_signature_request_signer.rb +++ b/lib/dropbox-sign/models/sub_signature_request_signer.rb @@ -119,7 +119,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubSignatureRequestSigner] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubSignatureRequestSigner" ) || SubSignatureRequestSigner.new @@ -366,7 +366,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_signature_request_template_signer.rb b/lib/dropbox-sign/models/sub_signature_request_template_signer.rb index a238d51..f30ec34 100644 --- a/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +++ b/lib/dropbox-sign/models/sub_signature_request_template_signer.rb @@ -118,7 +118,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubSignatureRequestTemplateSigner] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubSignatureRequestTemplateSigner" ) || SubSignatureRequestTemplateSigner.new @@ -370,7 +370,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_signing_options.rb b/lib/dropbox-sign/models/sub_signing_options.rb index bc0a3ca..0ccca5b 100644 --- a/lib/dropbox-sign/models/sub_signing_options.rb +++ b/lib/dropbox-sign/models/sub_signing_options.rb @@ -113,7 +113,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubSigningOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubSigningOptions" ) || SubSigningOptions.new @@ -334,7 +334,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_team_response.rb b/lib/dropbox-sign/models/sub_team_response.rb index 6ef8fc9..9b4d9d1 100644 --- a/lib/dropbox-sign/models/sub_team_response.rb +++ b/lib/dropbox-sign/models/sub_team_response.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubTeamResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubTeamResponse" ) || SubTeamResponse.new @@ -253,7 +253,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_template_role.rb b/lib/dropbox-sign/models/sub_template_role.rb index f0ccab9..f0943c0 100644 --- a/lib/dropbox-sign/models/sub_template_role.rb +++ b/lib/dropbox-sign/models/sub_template_role.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubTemplateRole] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubTemplateRole" ) || SubTemplateRole.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb b/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb index f593c47..653a0fd 100644 --- a/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +++ b/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb @@ -79,7 +79,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubUnclaimedDraftSigner] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubUnclaimedDraftSigner" ) || SubUnclaimedDraftSigner.new @@ -275,7 +275,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb b/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb index a58474a..449e2ec 100644 --- a/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +++ b/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubUnclaimedDraftTemplateSigner] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubUnclaimedDraftTemplateSigner" ) || SubUnclaimedDraftTemplateSigner.new @@ -279,7 +279,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/sub_white_labeling_options.rb b/lib/dropbox-sign/models/sub_white_labeling_options.rb index b601240..023a552 100644 --- a/lib/dropbox-sign/models/sub_white_labeling_options.rb +++ b/lib/dropbox-sign/models/sub_white_labeling_options.rb @@ -159,7 +159,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [SubWhiteLabelingOptions] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "SubWhiteLabelingOptions" ) || SubWhiteLabelingOptions.new @@ -445,7 +445,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_add_member_request.rb b/lib/dropbox-sign/models/team_add_member_request.rb index 7a53848..8758475 100644 --- a/lib/dropbox-sign/models/team_add_member_request.rb +++ b/lib/dropbox-sign/models/team_add_member_request.rb @@ -100,7 +100,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamAddMemberRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamAddMemberRequest" ) || TeamAddMemberRequest.new @@ -298,7 +298,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_create_request.rb b/lib/dropbox-sign/models/team_create_request.rb index 1ec4c2f..9d68d49 100644 --- a/lib/dropbox-sign/models/team_create_request.rb +++ b/lib/dropbox-sign/models/team_create_request.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamCreateRequest" ) || TeamCreateRequest.new @@ -244,7 +244,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_get_info_response.rb b/lib/dropbox-sign/models/team_get_info_response.rb index 130dd8a..e7bc851 100644 --- a/lib/dropbox-sign/models/team_get_info_response.rb +++ b/lib/dropbox-sign/models/team_get_info_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamGetInfoResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamGetInfoResponse" ) || TeamGetInfoResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_get_response.rb b/lib/dropbox-sign/models/team_get_response.rb index f844f06..ed276ee 100644 --- a/lib/dropbox-sign/models/team_get_response.rb +++ b/lib/dropbox-sign/models/team_get_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamGetResponse" ) || TeamGetResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_info_response.rb b/lib/dropbox-sign/models/team_info_response.rb index 095ecf8..9c7ca02 100644 --- a/lib/dropbox-sign/models/team_info_response.rb +++ b/lib/dropbox-sign/models/team_info_response.rb @@ -90,7 +90,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamInfoResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamInfoResponse" ) || TeamInfoResponse.new @@ -286,7 +286,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_invite_response.rb b/lib/dropbox-sign/models/team_invite_response.rb index 2d8187b..9da55fa 100644 --- a/lib/dropbox-sign/models/team_invite_response.rb +++ b/lib/dropbox-sign/models/team_invite_response.rb @@ -96,7 +96,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamInviteResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamInviteResponse" ) || TeamInviteResponse.new @@ -297,7 +297,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_invites_response.rb b/lib/dropbox-sign/models/team_invites_response.rb index 7625af4..7b061bb 100644 --- a/lib/dropbox-sign/models/team_invites_response.rb +++ b/lib/dropbox-sign/models/team_invites_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamInvitesResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamInvitesResponse" ) || TeamInvitesResponse.new @@ -261,7 +261,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_member_response.rb b/lib/dropbox-sign/models/team_member_response.rb index 7308392..8e58d7f 100644 --- a/lib/dropbox-sign/models/team_member_response.rb +++ b/lib/dropbox-sign/models/team_member_response.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamMemberResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamMemberResponse" ) || TeamMemberResponse.new @@ -264,7 +264,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_members_response.rb b/lib/dropbox-sign/models/team_members_response.rb index 6635222..0fb211d 100644 --- a/lib/dropbox-sign/models/team_members_response.rb +++ b/lib/dropbox-sign/models/team_members_response.rb @@ -76,7 +76,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamMembersResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamMembersResponse" ) || TeamMembersResponse.new @@ -276,7 +276,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_parent_response.rb b/lib/dropbox-sign/models/team_parent_response.rb index c1fde18..7f0d8ae 100644 --- a/lib/dropbox-sign/models/team_parent_response.rb +++ b/lib/dropbox-sign/models/team_parent_response.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamParentResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamParentResponse" ) || TeamParentResponse.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_remove_member_request.rb b/lib/dropbox-sign/models/team_remove_member_request.rb index 38564ba..d910378 100644 --- a/lib/dropbox-sign/models/team_remove_member_request.rb +++ b/lib/dropbox-sign/models/team_remove_member_request.rb @@ -112,7 +112,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamRemoveMemberRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamRemoveMemberRequest" ) || TeamRemoveMemberRequest.new @@ -320,7 +320,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_response.rb b/lib/dropbox-sign/models/team_response.rb index 68974df..b336247 100644 --- a/lib/dropbox-sign/models/team_response.rb +++ b/lib/dropbox-sign/models/team_response.rb @@ -84,7 +84,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamResponse" ) || TeamResponse.new @@ -281,7 +281,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_sub_teams_response.rb b/lib/dropbox-sign/models/team_sub_teams_response.rb index 8228d58..904da23 100644 --- a/lib/dropbox-sign/models/team_sub_teams_response.rb +++ b/lib/dropbox-sign/models/team_sub_teams_response.rb @@ -76,7 +76,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamSubTeamsResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamSubTeamsResponse" ) || TeamSubTeamsResponse.new @@ -276,7 +276,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/team_update_request.rb b/lib/dropbox-sign/models/team_update_request.rb index 9757623..7b952aa 100644 --- a/lib/dropbox-sign/models/team_update_request.rb +++ b/lib/dropbox-sign/models/team_update_request.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TeamUpdateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TeamUpdateRequest" ) || TeamUpdateRequest.new @@ -242,7 +242,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_add_user_request.rb b/lib/dropbox-sign/models/template_add_user_request.rb index 9d31bf4..23999d5 100644 --- a/lib/dropbox-sign/models/template_add_user_request.rb +++ b/lib/dropbox-sign/models/template_add_user_request.rb @@ -78,7 +78,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateAddUserRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateAddUserRequest" ) || TemplateAddUserRequest.new @@ -266,7 +266,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_embedded_draft_request.rb b/lib/dropbox-sign/models/template_create_embedded_draft_request.rb index 768dbd5..aa9e07e 100644 --- a/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +++ b/lib/dropbox-sign/models/template_create_embedded_draft_request.rb @@ -208,7 +208,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateEmbeddedDraftRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateEmbeddedDraftRequest" ) || TemplateCreateEmbeddedDraftRequest.new @@ -583,7 +583,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_embedded_draft_response.rb b/lib/dropbox-sign/models/template_create_embedded_draft_response.rb index d492723..7886993 100644 --- a/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +++ b/lib/dropbox-sign/models/template_create_embedded_draft_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateEmbeddedDraftResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateEmbeddedDraftResponse" ) || TemplateCreateEmbeddedDraftResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb b/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb index 840c72a..a8eeafb 100644 --- a/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +++ b/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb @@ -85,7 +85,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateEmbeddedDraftResponseTemplate] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateEmbeddedDraftResponseTemplate" ) || TemplateCreateEmbeddedDraftResponseTemplate.new @@ -278,7 +278,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_request.rb b/lib/dropbox-sign/models/template_create_request.rb index 7e2937c..e94e608 100644 --- a/lib/dropbox-sign/models/template_create_request.rb +++ b/lib/dropbox-sign/models/template_create_request.rb @@ -167,7 +167,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateRequest" ) || TemplateCreateRequest.new @@ -500,7 +500,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_response.rb b/lib/dropbox-sign/models/template_create_response.rb index 4b238ca..dd084e0 100644 --- a/lib/dropbox-sign/models/template_create_response.rb +++ b/lib/dropbox-sign/models/template_create_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateResponse" ) || TemplateCreateResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_create_response_template.rb b/lib/dropbox-sign/models/template_create_response_template.rb index 863dd24..91e0dc5 100644 --- a/lib/dropbox-sign/models/template_create_response_template.rb +++ b/lib/dropbox-sign/models/template_create_response_template.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateCreateResponseTemplate] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateCreateResponseTemplate" ) || TemplateCreateResponseTemplate.new @@ -243,7 +243,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_edit_response.rb b/lib/dropbox-sign/models/template_edit_response.rb index 9a11cbf..b2f589e 100644 --- a/lib/dropbox-sign/models/template_edit_response.rb +++ b/lib/dropbox-sign/models/template_edit_response.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateEditResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateEditResponse" ) || TemplateEditResponse.new @@ -247,7 +247,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_get_response.rb b/lib/dropbox-sign/models/template_get_response.rb index 00c7c6f..3ff1bcd 100644 --- a/lib/dropbox-sign/models/template_get_response.rb +++ b/lib/dropbox-sign/models/template_get_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateGetResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateGetResponse" ) || TemplateGetResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_list_response.rb b/lib/dropbox-sign/models/template_list_response.rb index fc60e73..9b7025c 100644 --- a/lib/dropbox-sign/models/template_list_response.rb +++ b/lib/dropbox-sign/models/template_list_response.rb @@ -77,7 +77,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateListResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateListResponse" ) || TemplateListResponse.new @@ -277,7 +277,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_remove_user_request.rb b/lib/dropbox-sign/models/template_remove_user_request.rb index 1fadb79..88a35a5 100644 --- a/lib/dropbox-sign/models/template_remove_user_request.rb +++ b/lib/dropbox-sign/models/template_remove_user_request.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateRemoveUserRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateRemoveUserRequest" ) || TemplateRemoveUserRequest.new @@ -253,7 +253,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response.rb b/lib/dropbox-sign/models/template_response.rb index 0846cd1..7d14e8a 100644 --- a/lib/dropbox-sign/models/template_response.rb +++ b/lib/dropbox-sign/models/template_response.rb @@ -158,7 +158,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponse" ) || TemplateResponse.new @@ -416,7 +416,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_account.rb b/lib/dropbox-sign/models/template_response_account.rb index 9b40044..c401203 100644 --- a/lib/dropbox-sign/models/template_response_account.rb +++ b/lib/dropbox-sign/models/template_response_account.rb @@ -95,7 +95,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseAccount] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseAccount" ) || TemplateResponseAccount.new @@ -296,7 +296,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_account_quota.rb b/lib/dropbox-sign/models/template_response_account_quota.rb index 3994627..4e46afa 100644 --- a/lib/dropbox-sign/models/template_response_account_quota.rb +++ b/lib/dropbox-sign/models/template_response_account_quota.rb @@ -85,7 +85,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseAccountQuota] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseAccountQuota" ) || TemplateResponseAccountQuota.new @@ -276,7 +276,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_cc_role.rb b/lib/dropbox-sign/models/template_response_cc_role.rb index 641a388..7b73e8d 100644 --- a/lib/dropbox-sign/models/template_response_cc_role.rb +++ b/lib/dropbox-sign/models/template_response_cc_role.rb @@ -66,7 +66,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseCCRole] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseCCRole" ) || TemplateResponseCCRole.new @@ -242,7 +242,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document.rb b/lib/dropbox-sign/models/template_response_document.rb index e5cad9e..6d23cb3 100644 --- a/lib/dropbox-sign/models/template_response_document.rb +++ b/lib/dropbox-sign/models/template_response_document.rb @@ -97,7 +97,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocument] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocument" ) || TemplateResponseDocument.new @@ -306,7 +306,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_custom_field_base.rb b/lib/dropbox-sign/models/template_response_document_custom_field_base.rb index 34dedc1..a80739b 100644 --- a/lib/dropbox-sign/models/template_response_document_custom_field_base.rb +++ b/lib/dropbox-sign/models/template_response_document_custom_field_base.rb @@ -133,7 +133,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::TemplateResponseDocumentCustomFieldText" end - return nil + nil end # Initializes the object @@ -363,7 +363,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb b/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb index 0f03a44..7379fc4 100644 --- a/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +++ b/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentCustomFieldCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentCustomFieldCheckbox" ) || TemplateResponseDocumentCustomFieldCheckbox.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_custom_field_text.rb b/lib/dropbox-sign/models/template_response_document_custom_field_text.rb index 7c3a08f..653b131 100644 --- a/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +++ b/lib/dropbox-sign/models/template_response_document_custom_field_text.rb @@ -90,7 +90,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentCustomFieldText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentCustomFieldText" ) || TemplateResponseDocumentCustomFieldText.new @@ -297,7 +297,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_field_group.rb b/lib/dropbox-sign/models/template_response_document_field_group.rb index 0a73d27..ce2389e 100644 --- a/lib/dropbox-sign/models/template_response_document_field_group.rb +++ b/lib/dropbox-sign/models/template_response_document_field_group.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFieldGroup] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFieldGroup" ) || TemplateResponseDocumentFieldGroup.new @@ -252,7 +252,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_field_group_rule.rb b/lib/dropbox-sign/models/template_response_document_field_group_rule.rb index 6471f6e..5b0d3ec 100644 --- a/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +++ b/lib/dropbox-sign/models/template_response_document_field_group_rule.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFieldGroupRule] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFieldGroupRule" ) || TemplateResponseDocumentFieldGroupRule.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_base.rb b/lib/dropbox-sign/models/template_response_document_form_field_base.rb index ebb61a4..f991755 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_base.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_base.rb @@ -150,7 +150,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::TemplateResponseDocumentFormFieldText" end - return nil + nil end # Initializes the object @@ -380,7 +380,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb b/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb index 21e81c2..c888138 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldCheckbox" ) || TemplateResponseDocumentFormFieldCheckbox.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb b/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb index 9157ba6..94ec5f6 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldDateSigned] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldDateSigned" ) || TemplateResponseDocumentFormFieldDateSigned.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb b/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb index b2f4a97..0291303 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldDropdown] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldDropdown" ) || TemplateResponseDocumentFormFieldDropdown.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb b/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb index 6ef91fb..7c8992f 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb @@ -90,7 +90,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldHyperlink] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldHyperlink" ) || TemplateResponseDocumentFormFieldHyperlink.new @@ -297,7 +297,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_initials.rb b/lib/dropbox-sign/models/template_response_document_form_field_initials.rb index 479d127..70f5ed5 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_initials.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldInitials] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldInitials" ) || TemplateResponseDocumentFormFieldInitials.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_radio.rb b/lib/dropbox-sign/models/template_response_document_form_field_radio.rb index 983d0dc..2412dc9 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_radio.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldRadio] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldRadio" ) || TemplateResponseDocumentFormFieldRadio.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_signature.rb b/lib/dropbox-sign/models/template_response_document_form_field_signature.rb index 5474593..49fdbbb 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_signature.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldSignature] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldSignature" ) || TemplateResponseDocumentFormFieldSignature.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_form_field_text.rb b/lib/dropbox-sign/models/template_response_document_form_field_text.rb index bc4dba1..6a11d8a 100644 --- a/lib/dropbox-sign/models/template_response_document_form_field_text.rb +++ b/lib/dropbox-sign/models/template_response_document_form_field_text.rb @@ -119,7 +119,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentFormFieldText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentFormFieldText" ) || TemplateResponseDocumentFormFieldText.new @@ -343,7 +343,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_base.rb b/lib/dropbox-sign/models/template_response_document_static_field_base.rb index b2581cf..a2d9622 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_base.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_base.rb @@ -150,7 +150,7 @@ def self.discriminator_class_name(value) return "Dropbox::Sign::TemplateResponseDocumentStaticFieldText" end - return nil + nil end # Initializes the object @@ -382,7 +382,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb b/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb index e0ea2ca..741e8b7 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldCheckbox] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldCheckbox" ) || TemplateResponseDocumentStaticFieldCheckbox.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb b/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb index ac22994..9c02d01 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldDateSigned] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldDateSigned" ) || TemplateResponseDocumentStaticFieldDateSigned.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb b/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb index d14e31c..e1fb958 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldDropdown] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldDropdown" ) || TemplateResponseDocumentStaticFieldDropdown.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb b/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb index 412d232..9e82dc9 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldHyperlink] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldHyperlink" ) || TemplateResponseDocumentStaticFieldHyperlink.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_initials.rb b/lib/dropbox-sign/models/template_response_document_static_field_initials.rb index 4b64b3a..77be2c3 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_initials.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldInitials] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldInitials" ) || TemplateResponseDocumentStaticFieldInitials.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_radio.rb b/lib/dropbox-sign/models/template_response_document_static_field_radio.rb index 761dd4e..501ad89 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_radio.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldRadio] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldRadio" ) || TemplateResponseDocumentStaticFieldRadio.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_signature.rb b/lib/dropbox-sign/models/template_response_document_static_field_signature.rb index ba3825f..c3ff4ac 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_signature.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldSignature] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldSignature" ) || TemplateResponseDocumentStaticFieldSignature.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_document_static_field_text.rb b/lib/dropbox-sign/models/template_response_document_static_field_text.rb index a216f15..0cf46c5 100644 --- a/lib/dropbox-sign/models/template_response_document_static_field_text.rb +++ b/lib/dropbox-sign/models/template_response_document_static_field_text.rb @@ -67,7 +67,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseDocumentStaticFieldText] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseDocumentStaticFieldText" ) || TemplateResponseDocumentStaticFieldText.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_field_avg_text_length.rb b/lib/dropbox-sign/models/template_response_field_avg_text_length.rb index d82e85e..a85e2c3 100644 --- a/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +++ b/lib/dropbox-sign/models/template_response_field_avg_text_length.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseFieldAvgTextLength] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseFieldAvgTextLength" ) || TemplateResponseFieldAvgTextLength.new @@ -254,7 +254,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_response_signer_role.rb b/lib/dropbox-sign/models/template_response_signer_role.rb index e30aa48..2866072 100644 --- a/lib/dropbox-sign/models/template_response_signer_role.rb +++ b/lib/dropbox-sign/models/template_response_signer_role.rb @@ -72,7 +72,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateResponseSignerRole] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateResponseSignerRole" ) || TemplateResponseSignerRole.new @@ -253,7 +253,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_update_files_request.rb b/lib/dropbox-sign/models/template_update_files_request.rb index ee795bc..1e26f24 100644 --- a/lib/dropbox-sign/models/template_update_files_request.rb +++ b/lib/dropbox-sign/models/template_update_files_request.rb @@ -96,7 +96,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateUpdateFilesRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateUpdateFilesRequest" ) || TemplateUpdateFilesRequest.new @@ -333,7 +333,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_update_files_response.rb b/lib/dropbox-sign/models/template_update_files_response.rb index 67d30f2..290c3ae 100644 --- a/lib/dropbox-sign/models/template_update_files_response.rb +++ b/lib/dropbox-sign/models/template_update_files_response.rb @@ -65,7 +65,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateUpdateFilesResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateUpdateFilesResponse" ) || TemplateUpdateFilesResponse.new @@ -246,7 +246,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/template_update_files_response_template.rb b/lib/dropbox-sign/models/template_update_files_response_template.rb index f2a30ad..97280f3 100644 --- a/lib/dropbox-sign/models/template_update_files_response_template.rb +++ b/lib/dropbox-sign/models/template_update_files_response_template.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [TemplateUpdateFilesResponseTemplate] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "TemplateUpdateFilesResponseTemplate" ) || TemplateUpdateFilesResponseTemplate.new @@ -256,7 +256,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb index 1c5dea7..53ae4fb 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb @@ -297,7 +297,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftCreateEmbeddedRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftCreateEmbeddedRequest" ) || UnclaimedDraftCreateEmbeddedRequest.new @@ -756,7 +756,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb index 6314e76..770b649 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb @@ -237,7 +237,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftCreateEmbeddedWithTemplateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftCreateEmbeddedWithTemplateRequest" ) || UnclaimedDraftCreateEmbeddedWithTemplateRequest.new @@ -664,7 +664,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_create_request.rb b/lib/dropbox-sign/models/unclaimed_draft_create_request.rb index 289b71b..b39bab7 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_request.rb @@ -226,7 +226,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftCreateRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftCreateRequest" ) || UnclaimedDraftCreateRequest.new @@ -602,7 +602,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_create_response.rb b/lib/dropbox-sign/models/unclaimed_draft_create_response.rb index 792586b..7b93bed 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_response.rb @@ -71,7 +71,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftCreateResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftCreateResponse" ) || UnclaimedDraftCreateResponse.new @@ -259,7 +259,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb b/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb index 9059dd3..30efe7d 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb @@ -107,7 +107,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftEditAndResendRequest] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftEditAndResendRequest" ) || UnclaimedDraftEditAndResendRequest.new @@ -327,7 +327,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/unclaimed_draft_response.rb b/lib/dropbox-sign/models/unclaimed_draft_response.rb index 3e1b226..b777dac 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_response.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_response.rb @@ -101,7 +101,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [UnclaimedDraftResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "UnclaimedDraftResponse" ) || UnclaimedDraftResponse.new @@ -302,7 +302,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/models/warning_response.rb b/lib/dropbox-sign/models/warning_response.rb index 0869a0a..efe4d77 100644 --- a/lib/dropbox-sign/models/warning_response.rb +++ b/lib/dropbox-sign/models/warning_response.rb @@ -73,7 +73,7 @@ def self.merged_nullable # @param [Object] data Data to be converted # @return [WarningResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "WarningResponse" ) || WarningResponse.new @@ -264,7 +264,5 @@ def _to_hash(value, include_nil = true) value end end - end - end diff --git a/lib/dropbox-sign/version.rb b/lib/dropbox-sign/version.rb index a83009c..412da42 100644 --- a/lib/dropbox-sign/version.rb +++ b/lib/dropbox-sign/version.rb @@ -14,5 +14,5 @@ module Dropbox end module Dropbox::Sign - VERSION = '1.6.0' + VERSION = '1.6.1' end diff --git a/openapi-config.yaml b/openapi-config.yaml index 9e32e81..74b05f8 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -9,17 +9,21 @@ additionalProperties: gemName: dropbox-sign gemRequiredRubyVersion: '>= 2.7' moduleName: "Dropbox::Sign" - gemVersion: 1.6.0 + gemVersion: 1.6.1 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true gitUserId: hellosign gitRepoId: dropbox-sign-ruby useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - event_callback_helper.mustache: + dropbox-event_callback_helper.mustache: templateType: SupportingFiles destinationFilename: lib/dropbox-sign/event_callback_helper.rb - VERSION-root.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION globalProperties: diff --git a/run-build b/run-build index eb99122..bf772d8 100755 --- a/run-build +++ b/run-build @@ -15,6 +15,12 @@ docker run --rm \ -t "/local/templates" \ -o "/local/" +printf "Install Ruby dependencies ...\n" +bash "${DIR}/bin/ruby" bundle + +printf "Formatting code ...\n" +bash "${DIR}/bin/ruby" bundle exec rubocop --autocorrect-all --display-only-fail-level-offenses lib spec examples + printf "\nInstalling composer dependencies ...\n" mkdir -p "${DIR}/vendor" bash "${DIR}/bin/php" composer install @@ -23,9 +29,6 @@ printf "\n" printf "Adding examples to Docs ...\n" bash "${DIR}/bin/php" ./bin/generate-examples.php -printf "Install Ruby dependencies ...\n" -bash "${DIR}/bin/ruby" bundle - printf "Replacing strings ...\n" docker run --rm \ -v "${DIR}:${WORKING_DIR}" \ diff --git a/spec/api/bulk_send_job_api_spec.rb b/spec/api/bulk_send_job_api_spec.rb index 3ef0158..e56187c 100644 --- a/spec/api/bulk_send_job_api_spec.rb +++ b/spec/api/bulk_send_job_api_spec.rb @@ -43,7 +43,7 @@ set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::BulkSendJobListResponse.init(response_data) - result = api.bulk_send_job_list({ :page => page, :page_size => page_size}) + result = api.bulk_send_job_list({ :page => page, :page_size => page_size }) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) diff --git a/spec/api/signature_request_api_spec.rb b/spec/api/signature_request_api_spec.rb index f148260..88c0826 100644 --- a/spec/api/signature_request_api_spec.rb +++ b/spec/api/signature_request_api_spec.rb @@ -104,7 +104,7 @@ set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::FileResponse.init(response_data) - result = api.signature_request_files_as_file_url(signature_request_id,{}) + result = api.signature_request_files_as_file_url(signature_request_id, {}) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) @@ -134,7 +134,7 @@ set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::SignatureRequestListResponse.init(response_data) - result = api.signature_request_list({:account_id => account_id}) + result = api.signature_request_list({ :account_id => account_id }) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) diff --git a/spec/api/template_api_spec.rb b/spec/api/template_api_spec.rb index 76c234e..58b8d3e 100644 --- a/spec/api/template_api_spec.rb +++ b/spec/api/template_api_spec.rb @@ -99,7 +99,7 @@ set_expected_response(200, JSON.dump(response_data)) expected = Dropbox::Sign::TemplateListResponse.init(response_data) - result = api.template_list({:account_id => account_id}) + result = api.template_list({ :account_id => account_id }) expect(result.class.to_s).to eq("Dropbox::Sign::#{response_class}") expect(result.to_json).to be_json_eql(JSON.dump(expected)) diff --git a/templates/Gemfile.mustache b/templates/Gemfile.mustache index 9e92ba5..c1f2501 100644 --- a/templates/Gemfile.mustache +++ b/templates/Gemfile.mustache @@ -5,8 +5,11 @@ gemspec group :development, :test do gem 'rake', '~> 13.0.1' gem 'pry-byebug' +{{^useCustomTemplateCode}} gem 'rubocop', '~> 0.66.0' +{{/useCustomTemplateCode}} {{#useCustomTemplateCode}} + gem 'rubocop', '~> 1.66', require: false gem 'json_spec', '~> 1.1.5' {{/useCustomTemplateCode}} end diff --git a/templates/dropbox-LICENSE.mustache b/templates/dropbox-LICENSE.mustache new file mode 100644 index 0000000..22039a6 --- /dev/null +++ b/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/VERSION-root.mustache b/templates/dropbox-VERSION.mustache similarity index 100% rename from templates/VERSION-root.mustache rename to templates/dropbox-VERSION.mustache diff --git a/templates/event_callback_helper.mustache b/templates/dropbox-event_callback_helper.mustache similarity index 100% rename from templates/event_callback_helper.mustache rename to templates/dropbox-event_callback_helper.mustache diff --git a/templates/gitignore.mustache b/templates/gitignore.mustache index a97a94f..8c1d4ee 100644 --- a/templates/gitignore.mustache +++ b/templates/gitignore.mustache @@ -39,5 +39,6 @@ build/ .rvmrc {{#useCustomTemplateCode}} +.openapi-generator vendor {{/useCustomTemplateCode}}