From 276d6e1c976e3ce80dbd7ed49aa2247d83636a63 Mon Sep 17 00:00:00 2001 From: Grzegorz Biernacki Date: Tue, 13 Oct 2026 09:52:30 +0200 Subject: [PATCH] Upgrade Ruby generator to 7.26.0 --- sdks/ruby/.rubocop.yml | 2 +- sdks/ruby/README.md | 2 +- sdks/ruby/dropbox-sign.gemspec | 2 +- sdks/ruby/lib/dropbox-sign.rb | 3 +- sdks/ruby/lib/dropbox-sign/api/account_api.rb | 2 +- sdks/ruby/lib/dropbox-sign/api/api_app_api.rb | 8 +- .../lib/dropbox-sign/api/bulk_send_job_api.rb | 4 +- .../ruby/lib/dropbox-sign/api/document_api.rb | 2 +- .../ruby/lib/dropbox-sign/api/embedded_api.rb | 6 +- sdks/ruby/lib/dropbox-sign/api/fax_api.rb | 8 +- .../ruby/lib/dropbox-sign/api/fax_line_api.rb | 2 +- sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb | 2 +- sdks/ruby/lib/dropbox-sign/api/report_api.rb | 2 +- .../dropbox-sign/api/signature_request_api.rb | 28 +++--- sdks/ruby/lib/dropbox-sign/api/team_api.rb | 6 +- .../ruby/lib/dropbox-sign/api/template_api.rb | 18 ++-- .../dropbox-sign/api/unclaimed_draft_api.rb | 4 +- sdks/ruby/lib/dropbox-sign/api_client.rb | 8 +- sdks/ruby/lib/dropbox-sign/api_error.rb | 2 +- sdks/ruby/lib/dropbox-sign/api_model_base.rb | 88 ++++++++++++++++++ sdks/ruby/lib/dropbox-sign/configuration.rb | 2 +- .../lib/dropbox-sign/event_callback_helper.rb | 2 +- .../models/account_create_request.rb | 26 +++--- .../models/account_create_response.rb | 26 +++--- .../models/account_get_response.rb | 26 +++--- .../dropbox-sign/models/account_response.rb | 26 +++--- .../models/account_response_quotas.rb | 26 +++--- .../models/account_response_settings.rb | 26 +++--- .../models/account_response_usage.rb | 26 +++--- .../models/account_update_request.rb | 26 +++--- .../models/account_verify_request.rb | 26 +++--- .../models/account_verify_response.rb | 26 +++--- .../models/account_verify_response_account.rb | 26 +++--- .../models/api_app_create_request.rb | 26 +++--- .../models/api_app_get_response.rb | 26 +++--- .../models/api_app_list_response.rb | 26 +++--- .../dropbox-sign/models/api_app_response.rb | 26 +++--- .../models/api_app_response_o_auth.rb | 26 +++--- .../models/api_app_response_options.rb | 26 +++--- .../models/api_app_response_owner_account.rb | 26 +++--- ...api_app_response_white_labeling_options.rb | 26 +++--- .../models/api_app_update_request.rb | 26 +++--- .../models/bulk_send_job_get_response.rb | 26 +++--- ...end_job_get_response_signature_requests.rb | 26 +++--- .../models/bulk_send_job_list_response.rb | 26 +++--- .../models/bulk_send_job_response.rb | 26 +++--- .../models/bulk_send_job_send_response.rb | 26 +++--- .../document_field_detection_request.rb | 26 +++--- .../document_field_detection_response.rb | 26 +++--- ...eld_detection_response_detection_result.rb | 30 +++---- .../models/embedded_edit_url_request.rb | 26 +++--- .../models/embedded_edit_url_response.rb | 26 +++--- .../embedded_edit_url_response_embedded.rb | 26 +++--- .../models/embedded_sign_url_response.rb | 26 +++--- .../embedded_sign_url_response_embedded.rb | 26 +++--- .../lib/dropbox-sign/models/error_response.rb | 26 +++--- .../models/error_response_error.rb | 26 +++--- .../models/event_callback_request.rb | 26 +++--- .../models/event_callback_request_event.rb | 26 +++--- .../event_callback_request_event_metadata.rb | 26 +++--- .../dropbox-sign/models/fax_get_response.rb | 26 +++--- .../models/fax_line_add_user_request.rb | 26 +++--- .../fax_line_area_code_get_country_enum.rb | 2 +- .../fax_line_area_code_get_province_enum.rb | 2 +- .../models/fax_line_area_code_get_response.rb | 26 +++--- .../fax_line_area_code_get_state_enum.rb | 2 +- .../models/fax_line_create_request.rb | 26 +++--- .../models/fax_line_delete_request.rb | 26 +++--- .../models/fax_line_list_response.rb | 26 +++--- .../models/fax_line_remove_user_request.rb | 26 +++--- .../dropbox-sign/models/fax_line_response.rb | 26 +++--- .../models/fax_line_response_fax_line.rb | 26 +++--- .../dropbox-sign/models/fax_list_response.rb | 26 +++--- .../lib/dropbox-sign/models/fax_response.rb | 26 +++--- .../models/fax_response_transmission.rb | 26 +++--- .../dropbox-sign/models/fax_send_request.rb | 26 +++--- .../lib/dropbox-sign/models/file_response.rb | 26 +++--- .../models/file_response_data_uri.rb | 26 +++--- .../dropbox-sign/models/list_info_response.rb | 26 +++--- .../models/o_auth_token_generate_request.rb | 26 +++--- .../models/o_auth_token_refresh_request.rb | 26 +++--- .../models/o_auth_token_response.rb | 26 +++--- .../models/report_create_request.rb | 26 +++--- .../models/report_create_response.rb | 26 +++--- .../dropbox-sign/models/report_response.rb | 26 +++--- ...k_create_embedded_with_template_request.rb | 26 +++--- ...request_bulk_send_with_template_request.rb | 26 +++--- ...gnature_request_create_embedded_request.rb | 26 +++--- ...t_create_embedded_with_template_request.rb | 26 +++--- ...signature_request_edit_embedded_request.rb | 26 +++--- ...est_edit_embedded_with_template_request.rb | 26 +++--- .../models/signature_request_edit_request.rb | 26 +++--- ...ture_request_edit_with_template_request.rb | 26 +++--- .../models/signature_request_get_response.rb | 26 +++--- .../models/signature_request_list_response.rb | 26 +++--- .../signature_request_remind_request.rb | 26 +++--- .../models/signature_request_response.rb | 26 +++--- .../signature_request_response_attachment.rb | 26 +++--- ...ture_request_response_custom_field_base.rb | 26 +++--- ..._request_response_custom_field_checkbox.rb | 24 +++-- ...ture_request_response_custom_field_text.rb | 24 +++-- ...request_response_custom_field_type_enum.rb | 2 +- .../signature_request_response_data_base.rb | 26 +++--- ...gnature_request_response_data_type_enum.rb | 2 +- ...re_request_response_data_value_checkbox.rb | 24 +++-- ...uest_response_data_value_checkbox_merge.rb | 24 +++-- ...request_response_data_value_date_signed.rb | 24 +++-- ...re_request_response_data_value_dropdown.rb | 24 +++-- ...re_request_response_data_value_initials.rb | 24 +++-- ...ature_request_response_data_value_radio.rb | 24 +++-- ...e_request_response_data_value_signature.rb | 24 +++-- ...nature_request_response_data_value_text.rb | 24 +++-- ..._request_response_data_value_text_merge.rb | 24 +++-- .../signature_request_response_signatures.rb | 26 +++--- .../models/signature_request_send_request.rb | 26 +++--- ...ture_request_send_with_template_request.rb | 26 +++--- .../signature_request_update_request.rb | 26 +++--- .../lib/dropbox-sign/models/sub_attachment.rb | 26 +++--- .../models/sub_bulk_signer_list.rb | 26 +++--- .../sub_bulk_signer_list_custom_field.rb | 26 +++--- sdks/ruby/lib/dropbox-sign/models/sub_cc.rb | 26 +++--- .../dropbox-sign/models/sub_custom_field.rb | 26 +++--- .../dropbox-sign/models/sub_editor_options.rb | 26 +++--- .../dropbox-sign/models/sub_field_options.rb | 26 +++--- .../models/sub_form_field_group.rb | 26 +++--- .../models/sub_form_field_rule.rb | 26 +++--- .../models/sub_form_field_rule_action.rb | 26 +++--- .../models/sub_form_field_rule_trigger.rb | 26 +++--- .../sub_form_fields_per_document_base.rb | 26 +++--- .../sub_form_fields_per_document_checkbox.rb | 24 +++-- ...form_fields_per_document_checkbox_merge.rb | 24 +++-- ...ub_form_fields_per_document_date_signed.rb | 24 +++-- .../sub_form_fields_per_document_dropdown.rb | 24 +++-- .../sub_form_fields_per_document_font_enum.rb | 2 +- .../sub_form_fields_per_document_hyperlink.rb | 24 +++-- .../sub_form_fields_per_document_initials.rb | 24 +++-- .../sub_form_fields_per_document_radio.rb | 24 +++-- .../sub_form_fields_per_document_signature.rb | 24 +++-- .../sub_form_fields_per_document_text.rb | 24 +++-- ...sub_form_fields_per_document_text_merge.rb | 24 +++-- .../sub_form_fields_per_document_type_enum.rb | 2 +- .../dropbox-sign/models/sub_merge_field.rb | 26 +++--- .../lib/dropbox-sign/models/sub_o_auth.rb | 26 +++--- .../lib/dropbox-sign/models/sub_options.rb | 26 +++--- .../sub_signature_request_grouped_signers.rb | 26 +++--- .../models/sub_signature_request_signer.rb | 30 +++---- .../sub_signature_request_template_signer.rb | 30 +++---- .../models/sub_signing_options.rb | 26 +++--- .../dropbox-sign/models/sub_team_response.rb | 26 +++--- .../dropbox-sign/models/sub_template_role.rb | 26 +++--- .../models/sub_unclaimed_draft_signer.rb | 26 +++--- .../sub_unclaimed_draft_template_signer.rb | 26 +++--- .../models/sub_white_labeling_options.rb | 26 +++--- .../models/team_add_member_request.rb | 26 +++--- .../models/team_create_request.rb | 26 +++--- .../models/team_get_info_response.rb | 26 +++--- .../dropbox-sign/models/team_get_response.rb | 26 +++--- .../dropbox-sign/models/team_info_response.rb | 26 +++--- .../models/team_invite_response.rb | 26 +++--- .../models/team_invites_response.rb | 26 +++--- .../models/team_member_response.rb | 26 +++--- .../models/team_members_response.rb | 26 +++--- .../models/team_parent_response.rb | 26 +++--- .../models/team_remove_member_request.rb | 26 +++--- .../lib/dropbox-sign/models/team_response.rb | 26 +++--- .../models/team_sub_teams_response.rb | 26 +++--- .../models/team_update_request.rb | 26 +++--- .../models/template_add_user_request.rb | 26 +++--- .../template_create_embedded_draft_request.rb | 26 +++--- ...template_create_embedded_draft_response.rb | 26 +++--- ...create_embedded_draft_response_template.rb | 26 +++--- .../models/template_create_request.rb | 26 +++--- .../models/template_create_response.rb | 26 +++--- .../template_create_response_template.rb | 26 +++--- .../models/template_get_response.rb | 26 +++--- .../models/template_list_response.rb | 26 +++--- .../models/template_remove_user_request.rb | 26 +++--- .../dropbox-sign/models/template_response.rb | 26 +++--- .../models/template_response_account.rb | 26 +++--- .../models/template_response_account_quota.rb | 26 +++--- .../models/template_response_cc_role.rb | 26 +++--- .../models/template_response_document.rb | 26 +++--- ...ate_response_document_custom_field_base.rb | 26 +++--- ...response_document_custom_field_checkbox.rb | 24 +++-- ...ate_response_document_custom_field_text.rb | 24 +++-- .../template_response_document_field_group.rb | 26 +++--- ...late_response_document_field_group_rule.rb | 26 +++--- ...plate_response_document_form_field_base.rb | 26 +++--- ...e_response_document_form_field_checkbox.rb | 24 +++-- ...esponse_document_form_field_date_signed.rb | 24 +++-- ...e_response_document_form_field_dropdown.rb | 24 +++-- ..._response_document_form_field_hyperlink.rb | 24 +++-- ...e_response_document_form_field_initials.rb | 24 +++-- ...late_response_document_form_field_radio.rb | 24 +++-- ..._response_document_form_field_signature.rb | 24 +++-- ...plate_response_document_form_field_text.rb | 24 +++-- ...ate_response_document_static_field_base.rb | 26 +++--- ...response_document_static_field_checkbox.rb | 24 +++-- ...ponse_document_static_field_date_signed.rb | 24 +++-- ...response_document_static_field_dropdown.rb | 24 +++-- ...esponse_document_static_field_hyperlink.rb | 24 +++-- ...response_document_static_field_initials.rb | 24 +++-- ...te_response_document_static_field_radio.rb | 24 +++-- ...esponse_document_static_field_signature.rb | 24 +++-- ...ate_response_document_static_field_text.rb | 24 +++-- ...template_response_field_avg_text_length.rb | 26 +++--- .../models/template_response_signer_role.rb | 26 +++--- .../models/template_update_files_request.rb | 26 +++--- .../models/template_update_files_response.rb | 26 +++--- ...template_update_files_response_template.rb | 26 +++--- ...unclaimed_draft_create_embedded_request.rb | 26 +++--- ...t_create_embedded_with_template_request.rb | 26 +++--- .../models/unclaimed_draft_create_request.rb | 26 +++--- .../models/unclaimed_draft_create_response.rb | 26 +++--- ...unclaimed_draft_edit_and_resend_request.rb | 26 +++--- .../models/unclaimed_draft_response.rb | 26 +++--- .../dropbox-sign/models/warning_response.rb | 26 +++--- sdks/ruby/lib/dropbox-sign/version.rb | 2 +- sdks/ruby/run-build | 4 +- sdks/ruby/spec/spec_helper.rb | 2 +- sdks/ruby/templates/api.mustache | 47 +++++++++- sdks/ruby/templates/api_client.mustache | 12 ++- sdks/ruby/templates/api_error.mustache | 1 + sdks/ruby/templates/api_test.mustache | 1 + sdks/ruby/templates/base_object.mustache | 89 +++++-------------- sdks/ruby/templates/configuration.mustache | 4 + .../dropbox-event_callback_helper.mustache | 1 + sdks/ruby/templates/gem.mustache | 2 + sdks/ruby/templates/gemspec.mustache | 1 + sdks/ruby/templates/model.mustache | 5 ++ sdks/ruby/templates/model_doc.mustache | 2 + sdks/ruby/templates/model_test.mustache | 3 +- .../templates/partial_anyof_module.mustache | 5 +- .../partial_model_enum_class.mustache | 5 ++ .../templates/partial_model_generic.mustache | 43 ++++++--- .../templates/partial_oneof_module.mustache | 5 +- sdks/ruby/templates/rubocop.mustache | 2 +- sdks/ruby/templates/spec_helper.mustache | 1 + sdks/ruby/templates/version.mustache | 1 + 239 files changed, 2523 insertions(+), 2754 deletions(-) create mode 100644 sdks/ruby/lib/dropbox-sign/api_model_base.rb diff --git a/sdks/ruby/.rubocop.yml b/sdks/ruby/.rubocop.yml index d32b2b1cd..3401cf2d0 100644 --- a/sdks/ruby/.rubocop.yml +++ b/sdks/ruby/.rubocop.yml @@ -1,7 +1,7 @@ # This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license) # Automatically generated by OpenAPI Generator (https://openapi-generator.tech) AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true diff --git a/sdks/ruby/README.md b/sdks/ruby/README.md index 206a50a34..fcd320b15 100644 --- a/sdks/ruby/README.md +++ b/sdks/ruby/README.md @@ -26,7 +26,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g - API version: 3.0.0 - Package version: 1.11-dev -- Generator version: 7.12.0 +- Generator version: 7.26.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen ## Installation diff --git a/sdks/ruby/dropbox-sign.gemspec b/sdks/ruby/dropbox-sign.gemspec index 1c683c9a0..eda32c088 100755 --- a/sdks/ruby/dropbox-sign.gemspec +++ b/sdks/ruby/dropbox-sign.gemspec @@ -8,7 +8,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign.rb b/sdks/ruby/lib/dropbox-sign.rb index e83c59754..600e631ea 100644 --- a/sdks/ruby/lib/dropbox-sign.rb +++ b/sdks/ruby/lib/dropbox-sign.rb @@ -6,13 +6,14 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end # Common files require 'dropbox-sign/api_client' require 'dropbox-sign/api_error' +require 'dropbox-sign/api_model_base' require 'dropbox-sign/version' require 'dropbox-sign/configuration' diff --git a/sdks/ruby/lib/dropbox-sign/api/account_api.rb b/sdks/ruby/lib/dropbox-sign/api/account_api.rb index 873531b58..92d43cfb9 100644 --- a/sdks/ruby/lib/dropbox-sign/api/account_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/account_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api/api_app_api.rb b/sdks/ruby/lib/dropbox-sign/api/api_app_api.rb index 0ec145b5a..24ea76884 100644 --- a/sdks/ruby/lib/dropbox-sign/api/api_app_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/api_app_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -160,7 +160,7 @@ def api_app_delete_with_http_info(client_id, opts = {}) fail ArgumentError, "Missing the required parameter 'client_id' when calling ApiAppApi.api_app_delete" end # resource path - local_var_path = '/api_app/{client_id}'.sub('{' + 'client_id' + '}', CGI.escape(client_id.to_s)) + local_var_path = '/api_app/{client_id}'.sub('{client_id}', CGI.escape(client_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -230,7 +230,7 @@ def api_app_get_with_http_info(client_id, opts = {}) fail ArgumentError, "Missing the required parameter 'client_id' when calling ApiAppApi.api_app_get" end # resource path - local_var_path = '/api_app/{client_id}'.sub('{' + 'client_id' + '}', CGI.escape(client_id.to_s)) + local_var_path = '/api_app/{client_id}'.sub('{client_id}', CGI.escape(client_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -430,7 +430,7 @@ def api_app_update_with_http_info(client_id, api_app_update_request, opts = {}) fail ArgumentError, "Missing the required parameter 'api_app_update_request' when calling ApiAppApi.api_app_update" end # resource path - local_var_path = '/api_app/{client_id}'.sub('{' + 'client_id' + '}', CGI.escape(client_id.to_s)) + local_var_path = '/api_app/{client_id}'.sub('{client_id}', CGI.escape(client_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/bulk_send_job_api.rb b/sdks/ruby/lib/dropbox-sign/api/bulk_send_job_api.rb index 10dcdfe2d..63cb01b0c 100644 --- a/sdks/ruby/lib/dropbox-sign/api/bulk_send_job_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/bulk_send_job_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -52,7 +52,7 @@ def bulk_send_job_get_with_http_info(bulk_send_job_id, opts = {}) fail ArgumentError, "Missing the required parameter 'bulk_send_job_id' when calling BulkSendJobApi.bulk_send_job_get" end # resource path - local_var_path = '/bulk_send_job/{bulk_send_job_id}'.sub('{' + 'bulk_send_job_id' + '}', CGI.escape(bulk_send_job_id.to_s)) + local_var_path = '/bulk_send_job/{bulk_send_job_id}'.sub('{bulk_send_job_id}', CGI.escape(bulk_send_job_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/document_api.rb b/sdks/ruby/lib/dropbox-sign/api/document_api.rb index 84322c7e2..87a9f6f68 100644 --- a/sdks/ruby/lib/dropbox-sign/api/document_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/document_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api/embedded_api.rb b/sdks/ruby/lib/dropbox-sign/api/embedded_api.rb index e5c021909..6e24e32f9 100644 --- a/sdks/ruby/lib/dropbox-sign/api/embedded_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/embedded_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -54,7 +54,7 @@ def embedded_edit_url_with_http_info(template_id, embedded_edit_url_request, opt fail ArgumentError, "Missing the required parameter 'embedded_edit_url_request' when calling EmbeddedApi.embedded_edit_url" end # resource path - local_var_path = '/embedded/edit_url/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/embedded/edit_url/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -166,7 +166,7 @@ def embedded_sign_url_with_http_info(signature_id, opts = {}) fail ArgumentError, "Missing the required parameter 'signature_id' when calling EmbeddedApi.embedded_sign_url" end # resource path - local_var_path = '/embedded/sign_url/{signature_id}'.sub('{' + 'signature_id' + '}', CGI.escape(signature_id.to_s)) + local_var_path = '/embedded/sign_url/{signature_id}'.sub('{signature_id}', CGI.escape(signature_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/fax_api.rb b/sdks/ruby/lib/dropbox-sign/api/fax_api.rb index 04d04eb8c..e1d0fa955 100644 --- a/sdks/ruby/lib/dropbox-sign/api/fax_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/fax_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -48,7 +48,7 @@ def fax_delete_with_http_info(fax_id, opts = {}) fail ArgumentError, "Missing the required parameter 'fax_id' when calling FaxApi.fax_delete" end # resource path - local_var_path = '/fax/{fax_id}'.sub('{' + 'fax_id' + '}', CGI.escape(fax_id.to_s)) + local_var_path = '/fax/{fax_id}'.sub('{fax_id}', CGI.escape(fax_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -118,7 +118,7 @@ def fax_files_with_http_info(fax_id, opts = {}) fail ArgumentError, "Missing the required parameter 'fax_id' when calling FaxApi.fax_files" end # resource path - local_var_path = '/fax/files/{fax_id}'.sub('{' + 'fax_id' + '}', CGI.escape(fax_id.to_s)) + local_var_path = '/fax/files/{fax_id}'.sub('{fax_id}', CGI.escape(fax_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -215,7 +215,7 @@ def fax_get_with_http_info(fax_id, opts = {}) fail ArgumentError, "Missing the required parameter 'fax_id' when calling FaxApi.fax_get" end # resource path - local_var_path = '/fax/{fax_id}'.sub('{' + 'fax_id' + '}', CGI.escape(fax_id.to_s)) + local_var_path = '/fax/{fax_id}'.sub('{fax_id}', CGI.escape(fax_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/fax_line_api.rb b/sdks/ruby/lib/dropbox-sign/api/fax_line_api.rb index 232aaa736..1580b5310 100644 --- a/sdks/ruby/lib/dropbox-sign/api/fax_line_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/fax_line_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb b/sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb index 6c37c6ce6..8d61344f3 100644 --- a/sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/o_auth_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api/report_api.rb b/sdks/ruby/lib/dropbox-sign/api/report_api.rb index a6e414821..df70c1205 100644 --- a/sdks/ruby/lib/dropbox-sign/api/report_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/report_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb b/sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb index 84294f5b2..13c090b54 100644 --- a/sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/signature_request_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -272,7 +272,7 @@ def signature_request_cancel_with_http_info(signature_request_id, opts = {}) fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_cancel" end # resource path - local_var_path = '/signature_request/cancel/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/cancel/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -572,7 +572,7 @@ def signature_request_edit_with_http_info(signature_request_id, signature_reques fail ArgumentError, "Missing the required parameter 'signature_request_edit_request' when calling SignatureRequestApi.signature_request_edit" end # resource path - local_var_path = '/signature_request/edit/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/edit/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -690,7 +690,7 @@ def signature_request_edit_embedded_with_http_info(signature_request_id, signatu fail ArgumentError, "Missing the required parameter 'signature_request_edit_embedded_request' when calling SignatureRequestApi.signature_request_edit_embedded" end # resource path - local_var_path = '/signature_request/edit_embedded/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/edit_embedded/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -808,7 +808,7 @@ def signature_request_edit_embedded_with_template_with_http_info(signature_reque fail ArgumentError, "Missing the required parameter 'signature_request_edit_embedded_with_template_request' when calling SignatureRequestApi.signature_request_edit_embedded_with_template" end # resource path - local_var_path = '/signature_request/edit_embedded_with_template/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/edit_embedded_with_template/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -926,7 +926,7 @@ def signature_request_edit_with_template_with_http_info(signature_request_id, si fail ArgumentError, "Missing the required parameter 'signature_request_edit_with_template_request' when calling SignatureRequestApi.signature_request_edit_with_template" end # resource path - local_var_path = '/signature_request/edit_with_template/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/edit_with_template/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1044,7 +1044,7 @@ def signature_request_files_with_http_info(signature_request_id, opts = {}) fail ArgumentError, "invalid value for \"file_type\", must be one of #{allowable_values}" end # resource path - local_var_path = '/signature_request/files/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/files/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1142,7 +1142,7 @@ def signature_request_files_as_data_uri_with_http_info(signature_request_id, opt fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_files_as_data_uri" end # resource path - local_var_path = '/signature_request/files_as_data_uri/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/files_as_data_uri/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1241,7 +1241,7 @@ def signature_request_files_as_file_url_with_http_info(signature_request_id, opt fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_files_as_file_url" end # resource path - local_var_path = '/signature_request/files_as_file_url/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/files_as_file_url/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1339,7 +1339,7 @@ def signature_request_get_with_http_info(signature_request_id, opts = {}) fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_get" end # resource path - local_var_path = '/signature_request/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1539,7 +1539,7 @@ def signature_request_release_hold_with_http_info(signature_request_id, opts = { fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_release_hold" end # resource path - local_var_path = '/signature_request/release_hold/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/release_hold/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1642,7 +1642,7 @@ def signature_request_remind_with_http_info(signature_request_id, signature_requ fail ArgumentError, "Missing the required parameter 'signature_request_remind_request' when calling SignatureRequestApi.signature_request_remind" end # resource path - local_var_path = '/signature_request/remind/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/remind/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1754,7 +1754,7 @@ def signature_request_remove_with_http_info(signature_request_id, opts = {}) fail ArgumentError, "Missing the required parameter 'signature_request_id' when calling SignatureRequestApi.signature_request_remove" end # resource path - local_var_path = '/signature_request/remove/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/remove/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -2054,7 +2054,7 @@ def signature_request_update_with_http_info(signature_request_id, signature_requ fail ArgumentError, "Missing the required parameter 'signature_request_update_request' when calling SignatureRequestApi.signature_request_update" end # resource path - local_var_path = '/signature_request/update/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/signature_request/update/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/team_api.rb b/sdks/ruby/lib/dropbox-sign/api/team_api.rb index bafc56226..64a7dbe69 100644 --- a/sdks/ruby/lib/dropbox-sign/api/team_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/team_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -630,7 +630,7 @@ def team_members_with_http_info(team_id, opts = {}) end # resource path - local_var_path = '/team/members/{team_id}'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s)) + local_var_path = '/team/members/{team_id}'.sub('{team_id}', CGI.escape(team_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -853,7 +853,7 @@ def team_sub_teams_with_http_info(team_id, opts = {}) end # resource path - local_var_path = '/team/sub_teams/{team_id}'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s)) + local_var_path = '/team/sub_teams/{team_id}'.sub('{team_id}', CGI.escape(team_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/template_api.rb b/sdks/ruby/lib/dropbox-sign/api/template_api.rb index e88070145..bb68223c7 100644 --- a/sdks/ruby/lib/dropbox-sign/api/template_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/template_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -54,7 +54,7 @@ def template_add_user_with_http_info(template_id, template_add_user_request, opt fail ArgumentError, "Missing the required parameter 'template_add_user_request' when calling TemplateApi.template_add_user" end # resource path - local_var_path = '/template/add_user/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/add_user/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -390,7 +390,7 @@ def template_delete_with_http_info(template_id, opts = {}) fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateApi.template_delete" end # resource path - local_var_path = '/template/delete/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/delete/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -466,7 +466,7 @@ def template_files_with_http_info(template_id, opts = {}) fail ArgumentError, "invalid value for \"file_type\", must be one of #{allowable_values}" end # resource path - local_var_path = '/template/files/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/files/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -564,7 +564,7 @@ def template_files_as_data_uri_with_http_info(template_id, opts = {}) fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateApi.template_files_as_data_uri" end # resource path - local_var_path = '/template/files_as_data_uri/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/files_as_data_uri/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -663,7 +663,7 @@ def template_files_as_file_url_with_http_info(template_id, opts = {}) fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateApi.template_files_as_file_url" end # resource path - local_var_path = '/template/files_as_file_url/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/files_as_file_url/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -761,7 +761,7 @@ def template_get_with_http_info(template_id, opts = {}) fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateApi.template_get" end # resource path - local_var_path = '/template/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -975,7 +975,7 @@ def template_remove_user_with_http_info(template_id, template_remove_user_reques fail ArgumentError, "Missing the required parameter 'template_remove_user_request' when calling TemplateApi.template_remove_user" end # resource path - local_var_path = '/template/remove_user/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/remove_user/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} @@ -1093,7 +1093,7 @@ def template_update_files_with_http_info(template_id, template_update_files_requ fail ArgumentError, "Missing the required parameter 'template_update_files_request' when calling TemplateApi.template_update_files" end # resource path - local_var_path = '/template/update_files/{template_id}'.sub('{' + 'template_id' + '}', CGI.escape(template_id.to_s)) + local_var_path = '/template/update_files/{template_id}'.sub('{template_id}', CGI.escape(template_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api/unclaimed_draft_api.rb b/sdks/ruby/lib/dropbox-sign/api/unclaimed_draft_api.rb index 27f4e10ab..d06f7fc90 100644 --- a/sdks/ruby/lib/dropbox-sign/api/unclaimed_draft_api.rb +++ b/sdks/ruby/lib/dropbox-sign/api/unclaimed_draft_api.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -390,7 +390,7 @@ def unclaimed_draft_edit_and_resend_with_http_info(signature_request_id, unclaim fail ArgumentError, "Missing the required parameter 'unclaimed_draft_edit_and_resend_request' when calling UnclaimedDraftApi.unclaimed_draft_edit_and_resend" end # resource path - local_var_path = '/unclaimed_draft/edit_and_resend/{signature_request_id}'.sub('{' + 'signature_request_id' + '}', CGI.escape(signature_request_id.to_s)) + local_var_path = '/unclaimed_draft/edit_and_resend/{signature_request_id}'.sub('{signature_request_id}', CGI.escape(signature_request_id.to_s)) # query parameters query_params = opts[:query_params] || {} diff --git a/sdks/ruby/lib/dropbox-sign/api_client.rb b/sdks/ruby/lib/dropbox-sign/api_client.rb index bd7e7367e..f36eab348 100644 --- a/sdks/ruby/lib/dropbox-sign/api_client.rb +++ b/sdks/ruby/lib/dropbox-sign/api_client.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -297,7 +297,11 @@ def convert_to_type(data, return_type) end else klass = Dropbox::Sign.const_get(return_type) - klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data) + if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) + klass.build(data) + else + klass.build_from_hash(data) + end end end diff --git a/sdks/ruby/lib/dropbox-sign/api_error.rb b/sdks/ruby/lib/dropbox-sign/api_error.rb index 687815089..8225b3b09 100644 --- a/sdks/ruby/lib/dropbox-sign/api_error.rb +++ b/sdks/ruby/lib/dropbox-sign/api_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/api_model_base.rb b/sdks/ruby/lib/dropbox-sign/api_model_base.rb new file mode 100644 index 000000000..28cacfaff --- /dev/null +++ b/sdks/ruby/lib/dropbox-sign/api_model_base.rb @@ -0,0 +1,88 @@ +=begin +#Dropbox Sign API + +#Dropbox Sign v3 API + +The version of the OpenAPI document: 3.0.0 +Contact: apisupport@hellosign.com +Generated by: https://openapi-generator.tech +Generator version: 7.26.0 + +=end + +module Dropbox::Sign + class ApiModelBase + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Dropbox::Sign.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + end +end diff --git a/sdks/ruby/lib/dropbox-sign/configuration.rb b/sdks/ruby/lib/dropbox-sign/configuration.rb index 425753050..2536ca54d 100644 --- a/sdks/ruby/lib/dropbox-sign/configuration.rb +++ b/sdks/ruby/lib/dropbox-sign/configuration.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/event_callback_helper.rb b/sdks/ruby/lib/dropbox-sign/event_callback_helper.rb index d11354bbf..187f96ae4 100644 --- a/sdks/ruby/lib/dropbox-sign/event_callback_helper.rb +++ b/sdks/ruby/lib/dropbox-sign/event_callback_helper.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/account_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/account_create_request.rb index 1553f08f7..55a00b2bc 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountCreateRequest + class AccountCreateRequest < ApiModelBase # The email address which will be associated with the new Account. # @return [String] attr_accessor :email_address @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -250,18 +260,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_create_response.rb b/sdks/ruby/lib/dropbox-sign/models/account_create_response.rb index 868cd74b8..db3505a2c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_create_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_create_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountCreateResponse + class AccountCreateResponse < ApiModelBase # @return [AccountResponse] attr_accessor :account @@ -62,6 +62,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -239,18 +249,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/account_get_response.rb index cf00b1be9..25d3f4b93 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountGetResponse + class AccountGetResponse < ApiModelBase # @return [AccountResponse] attr_accessor :account @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_response.rb b/sdks/ruby/lib/dropbox-sign/models/account_response.rb index d9ccec82e..f0473fc39 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountResponse + class AccountResponse < ApiModelBase # The ID of the Account # @return [String] attr_accessor :account_id @@ -119,6 +119,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -324,18 +334,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_response_quotas.rb b/sdks/ruby/lib/dropbox-sign/models/account_response_quotas.rb index 8fab66aeb..506fa1545 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_response_quotas.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_response_quotas.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Details concerning remaining monthly quotas. - class AccountResponseQuotas + class AccountResponseQuotas < ApiModelBase # API signature requests remaining. # @return [Integer, nil] attr_accessor :api_signature_requests_left @@ -89,6 +89,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -264,18 +274,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_response_settings.rb b/sdks/ruby/lib/dropbox-sign/models/account_response_settings.rb index 5710c3ac8..57451fe7c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_response_settings.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_response_settings.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Subset of configured settings - class AccountResponseSettings + class AccountResponseSettings < ApiModelBase # Returns `true` if _Custom access codes_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). # @return [Boolean] attr_accessor :signer_access_codes @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -225,18 +235,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_response_usage.rb b/sdks/ruby/lib/dropbox-sign/models/account_response_usage.rb index a888f45e6..6e73b1b8f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_response_usage.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_response_usage.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Details concerning monthly usage - class AccountResponseUsage + class AccountResponseUsage < ApiModelBase # Number of fax pages sent # @return [Integer, nil] attr_accessor :fax_pages_sent @@ -54,6 +54,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -204,18 +214,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_update_request.rb b/sdks/ruby/lib/dropbox-sign/models/account_update_request.rb index 9da8f564c..090fa4371 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_update_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_update_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountUpdateRequest + class AccountUpdateRequest < ApiModelBase # The ID of the Account # @return [String, nil] attr_accessor :account_id @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -225,18 +235,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_verify_request.rb b/sdks/ruby/lib/dropbox-sign/models/account_verify_request.rb index 5df848894..b5283e2e6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_verify_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_verify_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountVerifyRequest + class AccountVerifyRequest < ApiModelBase # Email address to run the verification for. # @return [String] attr_accessor :email_address @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -217,18 +227,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_verify_response.rb b/sdks/ruby/lib/dropbox-sign/models/account_verify_response.rb index 9cb98eef7..714977faa 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_verify_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_verify_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountVerifyResponse + class AccountVerifyResponse < ApiModelBase # @return [AccountVerifyResponseAccount] attr_accessor :account @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/account_verify_response_account.rb b/sdks/ruby/lib/dropbox-sign/models/account_verify_response_account.rb index a4f225ef0..048ca980b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/account_verify_response_account.rb +++ b/sdks/ruby/lib/dropbox-sign/models/account_verify_response_account.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class AccountVerifyResponseAccount + class AccountVerifyResponseAccount < ApiModelBase # The email address associated with the Account. # @return [String] attr_accessor :email_address @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -202,18 +212,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_create_request.rb index c9cf7bf08..cfb938f37 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ApiAppCreateRequest + class ApiAppCreateRequest < ApiModelBase # The domain names the ApiApp will be associated with. # @return [Array] attr_accessor :domains @@ -85,6 +85,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -314,18 +324,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_get_response.rb index 2b22f7b64..0457d5ba0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ApiAppGetResponse + class ApiAppGetResponse < ApiModelBase # @return [ApiAppResponse] attr_accessor :api_app @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_list_response.rb index 5d034c11b..89b93c96e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ApiAppListResponse + class ApiAppListResponse < ApiModelBase # Contains information about API Apps. # @return [Array] attr_accessor :api_apps @@ -63,6 +63,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_response.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_response.rb index 17c9da0b3..3759f224e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about an API App. - class ApiAppResponse + class ApiAppResponse < ApiModelBase # The app's callback URL (for events) # @return [String, nil] attr_accessor :callback_url @@ -107,6 +107,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -304,18 +314,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_response_o_auth.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_response_o_auth.rb index d96568182..ef8c2e99a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_response_o_auth.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_response_o_auth.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An object describing the app's OAuth properties, or null if OAuth is not configured for the app. - class ApiAppResponseOAuth + class ApiAppResponseOAuth < ApiModelBase # The app's OAuth callback URL. # @return [String] attr_accessor :callback_url @@ -72,6 +72,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -239,18 +249,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_response_options.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_response_options.rb index ba9838751..ad2f0c689 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_response_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_response_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An object with options that override account settings. - class ApiAppResponseOptions + class ApiAppResponseOptions < ApiModelBase # Boolean denoting if signers can \"Insert Everywhere\" in one click while signing a document # @return [Boolean] attr_accessor :can_insert_everywhere @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -203,18 +213,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_response_owner_account.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_response_owner_account.rb index 495c770f9..9a1a7b247 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_response_owner_account.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_response_owner_account.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An object describing the app's owner - class ApiAppResponseOwnerAccount + class ApiAppResponseOwnerAccount < ApiModelBase # The owner account's ID # @return [String] attr_accessor :account_id @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb index d1990e632..7a9a6ca07 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An object with options to customize the app's signer page - class ApiAppResponseWhiteLabelingOptions + class ApiAppResponseWhiteLabelingOptions < ApiModelBase # @return [String] attr_accessor :header_background_color @@ -117,6 +117,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -332,18 +342,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/api_app_update_request.rb b/sdks/ruby/lib/dropbox-sign/models/api_app_update_request.rb index 4e04ba155..ffbd62f3e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/api_app_update_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/api_app_update_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ApiAppUpdateRequest + class ApiAppUpdateRequest < ApiModelBase # The URL at which the API App should receive event callbacks. # @return [String] attr_accessor :callback_url @@ -85,6 +85,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -282,18 +292,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response.rb index 113311e4d..b118531be 100644 --- a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class BulkSendJobGetResponse + class BulkSendJobGetResponse < ApiModelBase # @return [BulkSendJobResponse] attr_accessor :bulk_send_job @@ -68,6 +68,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -282,18 +292,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb index 603f9e568..4da1a27c4 100644 --- a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +++ b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class BulkSendJobGetResponseSignatureRequests + class BulkSendJobGetResponseSignatureRequests < ApiModelBase # Whether this is a test signature request. Test requests have no legal value. Defaults to `false`. # @return [Boolean] attr_accessor :test_mode @@ -207,6 +207,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -493,18 +503,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_list_response.rb index 0f04a4ec3..11d8affa0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class BulkSendJobListResponse + class BulkSendJobListResponse < ApiModelBase # Contains a list of BulkSendJobs that the API caller has access to. # @return [Array] attr_accessor :bulk_send_jobs @@ -63,6 +63,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_response.rb b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_response.rb index cba78bfbe..342b1e5df 100644 --- a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about the BulkSendJob such as when it was created and how many signature requests are queued. - class BulkSendJobResponse + class BulkSendJobResponse < ApiModelBase # The id of the BulkSendJob. # @return [String, nil] attr_accessor :bulk_send_job_id @@ -72,6 +72,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -237,18 +247,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_send_response.rb b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_send_response.rb index 27e6921af..7781d70ae 100644 --- a/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_send_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/bulk_send_job_send_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class BulkSendJobSendResponse + class BulkSendJobSendResponse < ApiModelBase # @return [BulkSendJobResponse] attr_accessor :bulk_send_job @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_request.rb b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_request.rb index 8104b45b4..48f8274a5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class DocumentFieldDetectionRequest + class DocumentFieldDetectionRequest < ApiModelBase # The field detection method to use. Set to `annotations` to detect PDF form annotations or `text_tags` to detect Dropbox Sign text tags. # @return [String] attr_accessor :detection_mode @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -267,18 +277,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response.rb b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response.rb index 42413c076..387b97b2a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class DocumentFieldDetectionResponse + class DocumentFieldDetectionResponse < ApiModelBase # @return [DocumentFieldDetectionResponseDetectionResult] attr_accessor :detection_result @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response_detection_result.rb b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response_detection_result.rb index 71f380b00..9f1dc0829 100644 --- a/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response_detection_result.rb +++ b/sdks/ruby/lib/dropbox-sign/models/document_field_detection_response_detection_result.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class DocumentFieldDetectionResponseDetectionResult + class DocumentFieldDetectionResponseDetectionResult < ApiModelBase # The SHA-256 hash of the analyzed document. # @return [String] attr_accessor :document_hash @@ -106,6 +106,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -211,7 +221,7 @@ def list_invalid_properties end if @document_hash.to_s.length < 64 - invalid_properties.push('invalid value for "document_hash", the character length must be great than or equal to 64.') + invalid_properties.push('invalid value for "document_hash", the character length must be greater than or equal to 64.') end if @detection_mode.nil? @@ -287,7 +297,7 @@ def document_hash=(document_hash) end if document_hash.to_s.length < 64 - fail ArgumentError, 'invalid value for "document_hash", the character length must be great than or equal to 64.' + fail ArgumentError, 'invalid value for "document_hash", the character length must be greater than or equal to 64.' end @document_hash = document_hash @@ -486,18 +496,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_request.rb b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_request.rb index d192c0da3..411aaea64 100644 --- a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class EmbeddedEditUrlRequest + class EmbeddedEditUrlRequest < ApiModelBase # This allows the requester to enable/disable to add or change CC roles when editing the template. # @return [Boolean] attr_accessor :allow_edit_ccs @@ -105,6 +105,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -318,18 +328,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response.rb b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response.rb index 34a94f0af..6c8bc7cef 100644 --- a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class EmbeddedEditUrlResponse + class EmbeddedEditUrlResponse < ApiModelBase # @return [EmbeddedEditUrlResponseEmbedded] attr_accessor :embedded @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb index 552543b33..ab5bedb60 100644 --- a/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +++ b/sdks/ruby/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An embedded template object. - class EmbeddedEditUrlResponseEmbedded + class EmbeddedEditUrlResponseEmbedded < ApiModelBase # A template url that can be opened in an iFrame. # @return [String] attr_accessor :edit_url @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response.rb b/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response.rb index ac6fcd23f..61ee64fe3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class EmbeddedSignUrlResponse + class EmbeddedSignUrlResponse < ApiModelBase # @return [EmbeddedSignUrlResponseEmbedded] attr_accessor :embedded @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb b/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb index a6770f325..e708473c3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +++ b/sdks/ruby/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An object that contains necessary information to set up embedded signing. - class EmbeddedSignUrlResponseEmbedded + class EmbeddedSignUrlResponseEmbedded < ApiModelBase # A signature url that can be opened in an iFrame. # @return [String] attr_accessor :sign_url @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/error_response.rb b/sdks/ruby/lib/dropbox-sign/models/error_response.rb index 6bc8b7241..886faf7e2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/error_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/error_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ErrorResponse + class ErrorResponse < ApiModelBase # @return [ErrorResponseError] attr_accessor :error @@ -51,6 +51,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -216,18 +226,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb b/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb index baf8d72d1..d5f5d146c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb +++ b/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about an error that occurred. - class ErrorResponseError + class ErrorResponseError < ApiModelBase # Message describing an error. # @return [String] attr_accessor :error_msg @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -255,18 +265,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/event_callback_request.rb b/sdks/ruby/lib/dropbox-sign/models/event_callback_request.rb index cfd29dac4..5fb0ae9b2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/event_callback_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/event_callback_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class EventCallbackRequest + class EventCallbackRequest < ApiModelBase # @return [EventCallbackRequestEvent] attr_accessor :event @@ -66,6 +66,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -246,18 +256,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event.rb b/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event.rb index 80fb4e50e..718892e0b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event.rb +++ b/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Basic information about the event that occurred. - class EventCallbackRequestEvent + class EventCallbackRequestEvent < ApiModelBase # Time the event was created (using Unix time). # @return [String] attr_accessor :event_time @@ -92,6 +92,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -304,18 +314,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event_metadata.rb b/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event_metadata.rb index a21984fd3..899efb0a2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +++ b/sdks/ruby/lib/dropbox-sign/models/event_callback_request_event_metadata.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Specific metadata about the event. - class EventCallbackRequestEventMetadata + class EventCallbackRequestEventMetadata < ApiModelBase # Signature ID for a specific signer. Applicable to `signature_request_signed` and `signature_request_viewed` events. # @return [String, nil] attr_accessor :related_signature_id @@ -75,6 +75,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -240,18 +250,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_get_response.rb index 20ed3843a..caf2d09c0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxGetResponse + class FaxGetResponse < ApiModelBase # @return [FaxResponse] attr_accessor :fax @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_add_user_request.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_add_user_request.rb index a3d436996..b336d9aa1 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_add_user_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_add_user_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineAddUserRequest + class FaxLineAddUserRequest < ApiModelBase # The Fax Line number # @return [String] attr_accessor :number @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -239,18 +249,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb index bfe3e2259..1b80470d6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_country_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb index c699981ee..2a1b4ab2a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_province_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_response.rb index 695a0efb8..dcf0de2a6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineAreaCodeGetResponse + class FaxLineAreaCodeGetResponse < ApiModelBase # @return [Array] attr_accessor :area_codes @@ -51,6 +51,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -218,18 +228,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb index ddd707a61..6c2058189 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_area_code_get_state_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_create_request.rb index b014d9291..0b9ec0542 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineCreateRequest + class FaxLineCreateRequest < ApiModelBase # Area code of the new Fax Line # @return [Integer] attr_accessor :area_code @@ -92,6 +92,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -289,18 +299,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_delete_request.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_delete_request.rb index e49240b5f..34ccf85ce 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_delete_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_delete_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineDeleteRequest + class FaxLineDeleteRequest < ApiModelBase # The Fax Line number # @return [String] attr_accessor :number @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -217,18 +227,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_list_response.rb index 0fe478f46..24db4e7cd 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineListResponse + class FaxLineListResponse < ApiModelBase # @return [ListInfoResponse] attr_accessor :list_info @@ -61,6 +61,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -253,18 +263,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_remove_user_request.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_remove_user_request.rb index a90792266..99cc5fb53 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_remove_user_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_remove_user_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineRemoveUserRequest + class FaxLineRemoveUserRequest < ApiModelBase # The Fax Line number # @return [String] attr_accessor :number @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -239,18 +249,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_response.rb index d495cac99..e934fccb8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineResponse + class FaxLineResponse < ApiModelBase # @return [FaxLineResponseFaxLine] attr_accessor :fax_line @@ -56,6 +56,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -226,18 +236,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_line_response_fax_line.rb b/sdks/ruby/lib/dropbox-sign/models/fax_line_response_fax_line.rb index 6ca439559..787847adb 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_line_response_fax_line.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_line_response_fax_line.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxLineResponseFaxLine + class FaxLineResponseFaxLine < ApiModelBase # Number # @return [String] attr_accessor :number @@ -69,6 +69,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_list_response.rb index 22e8befed..cd35c75a4 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxListResponse + class FaxListResponse < ApiModelBase # @return [Array] attr_accessor :faxes @@ -56,6 +56,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -243,18 +253,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_response.rb b/sdks/ruby/lib/dropbox-sign/models/fax_response.rb index 50c3d9e11..f4afb1a71 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxResponse + class FaxResponse < ApiModelBase # Fax ID # @return [String] attr_accessor :fax_id @@ -121,6 +121,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -467,18 +477,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_response_transmission.rb b/sdks/ruby/lib/dropbox-sign/models/fax_response_transmission.rb index f10e053a0..2f81570a4 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_response_transmission.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_response_transmission.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxResponseTransmission + class FaxResponseTransmission < ApiModelBase # Fax Transmission Recipient # @return [String] attr_accessor :recipient @@ -86,6 +86,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -278,18 +288,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/fax_send_request.rb b/sdks/ruby/lib/dropbox-sign/models/fax_send_request.rb index e1fba417c..178800316 100644 --- a/sdks/ruby/lib/dropbox-sign/models/fax_send_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/fax_send_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FaxSendRequest + class FaxSendRequest < ApiModelBase # Recipient of the fax Can be a phone number in E.164 format or email address # @return [String] attr_accessor :recipient @@ -100,6 +100,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -311,18 +321,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/file_response.rb b/sdks/ruby/lib/dropbox-sign/models/file_response.rb index 5d4ed8cad..7dfab860a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/file_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/file_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FileResponse + class FileResponse < ApiModelBase # URL to the file. # @return [String] attr_accessor :file_url @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -243,18 +253,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/file_response_data_uri.rb b/sdks/ruby/lib/dropbox-sign/models/file_response_data_uri.rb index 5db69e37c..733fc065e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/file_response_data_uri.rb +++ b/sdks/ruby/lib/dropbox-sign/models/file_response_data_uri.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class FileResponseDataUri + class FileResponseDataUri < ApiModelBase # File as base64 encoded string. # @return [String] attr_accessor :data_uri @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -217,18 +227,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/list_info_response.rb b/sdks/ruby/lib/dropbox-sign/models/list_info_response.rb index 6063b2666..c70130a28 100644 --- a/sdks/ruby/lib/dropbox-sign/models/list_info_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/list_info_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains pagination information about the data returned. - class ListInfoResponse + class ListInfoResponse < ApiModelBase # Total number of pages available. # @return [Integer] attr_accessor :num_pages @@ -72,6 +72,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -237,18 +247,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_generate_request.rb b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_generate_request.rb index b7825d75b..0da260083 100644 --- a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_generate_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_generate_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class OAuthTokenGenerateRequest + class OAuthTokenGenerateRequest < ApiModelBase # The client id of the app requesting authorization. # @return [String] attr_accessor :client_id @@ -76,6 +76,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -323,18 +333,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_refresh_request.rb b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_refresh_request.rb index 9fafd8e61..96e6d3d84 100644 --- a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_refresh_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class OAuthTokenRefreshRequest + class OAuthTokenRefreshRequest < ApiModelBase # When refreshing an existing token use `refresh_token`. # @return [String] attr_accessor :grant_type @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -267,18 +277,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_response.rb b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_response.rb index 1e35f0cc2..76e517eed 100644 --- a/sdks/ruby/lib/dropbox-sign/models/o_auth_token_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/o_auth_token_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class OAuthTokenResponse + class OAuthTokenResponse < ApiModelBase # @return [String] attr_accessor :access_token @@ -73,6 +73,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -243,18 +253,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/report_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/report_create_request.rb index 9db74f5af..2e403b28e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/report_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/report_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ReportCreateRequest + class ReportCreateRequest < ApiModelBase # The (inclusive) end date for the report data in `MM/DD/YYYY` format. # @return [String] attr_accessor :end_date @@ -86,6 +86,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -293,18 +303,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/report_create_response.rb b/sdks/ruby/lib/dropbox-sign/models/report_create_response.rb index b65383f7b..b4d65834b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/report_create_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/report_create_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class ReportCreateResponse + class ReportCreateResponse < ApiModelBase # @return [ReportResponse] attr_accessor :report @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/report_response.rb b/sdks/ruby/lib/dropbox-sign/models/report_response.rb index 0cf3b7604..80db7261a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/report_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/report_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about the report request. - class ReportResponse + class ReportResponse < ApiModelBase # A message indicating the requested operation's success # @return [String] attr_accessor :success @@ -93,6 +93,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -260,18 +270,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb index d3f3e4b76..d83a2d989 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestBulkCreateEmbeddedWithTemplateRequest + class SignatureRequestBulkCreateEmbeddedWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -131,6 +131,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -441,18 +451,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb index b4d9c432e..357f75d92 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestBulkSendWithTemplateRequest + class SignatureRequestBulkSendWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -131,6 +131,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -426,18 +436,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb index d6f857ba4..520db7910 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestCreateEmbeddedRequest + class SignatureRequestCreateEmbeddedRequest < ApiModelBase # Client id of the app you're using to create this embedded signature request. Used for security purposes. # @return [String] attr_accessor :client_id @@ -195,6 +195,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -567,18 +577,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb index 4a80f909e..19eb0a0e0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestCreateEmbeddedWithTemplateRequest + class SignatureRequestCreateEmbeddedWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -142,6 +142,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -483,18 +493,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb index 7fc162d16..47ca66d6c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestEditEmbeddedRequest + class SignatureRequestEditEmbeddedRequest < ApiModelBase # Client id of the app you're using to create this embedded signature request. Used for security purposes. # @return [String] attr_accessor :client_id @@ -195,6 +195,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -567,18 +577,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb index 8bc7d63dc..949256e96 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestEditEmbeddedWithTemplateRequest + class SignatureRequestEditEmbeddedWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -135,6 +135,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -471,18 +481,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb index 43d7f12bf..53b354173 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestEditRequest + class SignatureRequestEditRequest < ApiModelBase # Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. # @return [Array] attr_accessor :files @@ -201,6 +201,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -563,18 +573,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb index d20fef4a0..76183a232 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # - class SignatureRequestEditWithTemplateRequest + class SignatureRequestEditWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -142,6 +142,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -468,18 +478,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_get_response.rb index f3195ac50..666cd329c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestGetResponse + class SignatureRequestGetResponse < ApiModelBase # @return [SignatureRequestResponse] attr_accessor :signature_request @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_list_response.rb index 48897f6ca..2bb7852d3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestListResponse + class SignatureRequestListResponse < ApiModelBase # Contains information about signature requests. # @return [Array] attr_accessor :signature_requests @@ -63,6 +63,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_remind_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_remind_request.rb index 5ba02f4e0..f3780145c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_remind_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_remind_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestRemindRequest + class SignatureRequestRemindRequest < ApiModelBase # The email address of the signer to send a reminder to. # @return [String] attr_accessor :email_address @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -228,18 +238,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response.rb index e8bd41887..eec181451 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about a signature request. - class SignatureRequestResponse + class SignatureRequestResponse < ApiModelBase # Whether this is a test signature request. Test requests have no legal value. Defaults to `false`. # @return [Boolean] attr_accessor :test_mode @@ -209,6 +209,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -495,18 +505,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_attachment.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_attachment.rb index 7fb408b25..3639bd043 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_attachment.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_attachment.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Signer attachments. - class SignatureRequestResponseAttachment + class SignatureRequestResponseAttachment < ApiModelBase # The unique ID for this attachment. # @return [String] attr_accessor :id @@ -85,6 +85,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -320,18 +330,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb index bbf68fb59..0e1e89ae1 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of Custom Field objects containing the name and type of each custom field. * Text Field uses `SignatureRequestResponseCustomFieldText` * Checkbox Field uses `SignatureRequestResponseCustomFieldCheckbox` - class SignatureRequestResponseCustomFieldBase + class SignatureRequestResponseCustomFieldBase < ApiModelBase # The type of this Custom Field. Only 'text' and 'checkbox' are currently supported. # @return [String] attr_accessor :type @@ -78,6 +78,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -293,18 +303,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb index c29f4bb15..ec0c3556a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -235,18 +245,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb index 5af516683..4f6ac645d 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -235,18 +245,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb index 1175c8ade..af44b0c50 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_base.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_base.rb index 929022017..f640af50c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of form field objects containing the name, value, and type of each textbox or checkmark field filled in by the signers. - class SignatureRequestResponseDataBase + class SignatureRequestResponseDataBase < ApiModelBase # The unique ID for this field. # @return [String] attr_accessor :api_id @@ -76,6 +76,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -282,18 +292,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb index 36f46f60a..22cf98749 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb index 620a25b84..bb265ee08 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb index 8c51b79fc..55ba8328a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb index 27eb89df1..94709da3e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb index a8c8890fd..b1b34dc57 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb index b3828e4c4..dff05ed1c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -231,18 +241,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb index da06fdd08..de8879cc7 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb index 1d24ea005..e79029c8c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -231,18 +241,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text.rb index 60ea7d9ed..4b8e3e0e6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb index e78f7d275..a649038d2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -219,18 +229,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_signatures.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_signatures.rb index 99602a22f..ef37d0920 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_response_signatures.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_response_signatures.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of signature objects, 1 for each signer. - class SignatureRequestResponseSignatures + class SignatureRequestResponseSignatures < ApiModelBase # Signature identifier. # @return [String] attr_accessor :signature_id @@ -176,6 +176,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -416,18 +426,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb index dd3ad81d6..44e5c4a3f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestSendRequest + class SignatureRequestSendRequest < ApiModelBase # Use `files[]` to indicate the uploaded file(s) to send for signature. This endpoint requires either **files** or **file_urls[]**, but not both. # @return [Array] attr_accessor :files @@ -207,6 +207,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -576,18 +586,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_with_template_request.rb index 48ffcc0a7..557761870 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # - class SignatureRequestSendWithTemplateRequest + class SignatureRequestSendWithTemplateRequest < ApiModelBase # Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used. # @return [Array] attr_accessor :template_ids @@ -155,6 +155,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -493,18 +503,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_update_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_update_request.rb index d43b67520..b632c8100 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_update_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_update_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SignatureRequestUpdateRequest + class SignatureRequestUpdateRequest < ApiModelBase # The signature ID for the recipient. # @return [String] attr_accessor :signature_id @@ -71,6 +71,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -251,18 +261,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_attachment.rb b/sdks/ruby/lib/dropbox-sign/models/sub_attachment.rb index cf6c3d5fe..68ae673d2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_attachment.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_attachment.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubAttachment + class SubAttachment < ApiModelBase # The name of attachment. # @return [String] attr_accessor :name @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -267,18 +277,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list.rb b/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list.rb index 80085f38d..76c3bf494 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubBulkSignerList + class SubBulkSignerList < ApiModelBase # An array of custom field values. # @return [Array] attr_accessor :custom_fields @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -217,18 +227,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb b/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb index 627232bbd..e9d6e9419 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubBulkSignerListCustomField + class SubBulkSignerListCustomField < ApiModelBase # The name of the custom field. Must be the field's `name` or `api_id`. # @return [String] attr_accessor :name @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -243,18 +253,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_cc.rb b/sdks/ruby/lib/dropbox-sign/models/sub_cc.rb index 5d2222754..77fff08ff 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_cc.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_cc.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubCC + class SubCC < ApiModelBase # Must match an existing CC role in chosen Template(s). Multiple CC recipients cannot share the same CC role. # @return [String] attr_accessor :role @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -243,18 +253,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_custom_field.rb b/sdks/ruby/lib/dropbox-sign/models/sub_custom_field.rb index 81ef208a5..3bc205bb8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_custom_field.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_custom_field.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests. Pre-filled data can be used with \"send-once\" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call. For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. - class SubCustomField + class SubCustomField < ApiModelBase # The name of a custom field. When working with pre-filled data, the custom field's name must have a matching merge field name or the field will remain empty on the document during signing. # @return [String] attr_accessor :name @@ -71,6 +71,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -253,18 +263,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_editor_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_editor_options.rb index eb4d6b8c4..2012dfc94 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_editor_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_editor_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # This allows the requester to specify editor options when a preparing a document - class SubEditorOptions + class SubEditorOptions < ApiModelBase # Allows requesters to edit the list of signers # @return [Boolean] attr_accessor :allow_edit_signers @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -218,18 +228,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_field_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_field_options.rb index a46e325f7..cb36eebbe 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_field_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_field_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # This allows the requester to specify field options for a signature request. - class SubFieldOptions + class SubFieldOptions < ApiModelBase # Allows requester to specify the date format (see list of allowed [formats](/api/reference/constants/#date-formats)) **NOTE:** Only available for Premium and higher. # @return [String] attr_accessor :date_format @@ -75,6 +75,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -242,18 +252,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_group.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_group.rb index f927fa003..b22f125ef 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_group.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_group.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubFormFieldGroup + class SubFormFieldGroup < ApiModelBase # ID of group. Use this to reference a specific group from the `group` value in `form_fields_per_document`. # @return [String] attr_accessor :group_id @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -269,18 +279,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule.rb index 30537351a..35fc8d6a9 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubFormFieldRule + class SubFormFieldRule < ApiModelBase # Must be unique across all defined rules. # @return [String] attr_accessor :id @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -326,18 +336,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_action.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_action.rb index ba51d113c..7ccaaf051 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_action.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_action.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubFormFieldRuleAction + class SubFormFieldRuleAction < ApiModelBase # `true` to hide the target field when rule is satisfied, otherwise `false`. # @return [Boolean] attr_accessor :hidden @@ -91,6 +91,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -288,18 +298,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb index 26180cab0..e03d301e4 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubFormFieldRuleTrigger + class SubFormFieldRuleTrigger < ApiModelBase # Must reference the `api_id` of an existing field defined within `form_fields_per_document`. Trigger and action fields and groups must belong to the same signer. # @return [String] attr_accessor :id @@ -92,6 +92,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -291,18 +301,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb index ee41c08a0..193ca3b09 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` - class SubFormFieldsPerDocumentBase + class SubFormFieldsPerDocumentBase < ApiModelBase # Represents the integer index of the `file` or `file_url` document the field should be attached to. # @return [Integer] attr_accessor :document_index @@ -113,6 +113,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -487,18 +497,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb index d93171a74..0d875cff5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -261,18 +271,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb index 53f934b69..319f7198d 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb index b6f9c3f22..0fd23aca3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -87,6 +87,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -282,18 +292,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb index 159d43170..5934845fe 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -99,6 +99,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -329,18 +339,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb index 8e689b5a2..17f543e16 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb index 7a733dae2..46ff176e2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -99,6 +99,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -334,18 +344,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb index fa5af10c0..2dab968e5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb index 428646734..547f1b907 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -276,18 +286,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb index 1ac7c6750..f3cdd8500 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb index 167b7f0b5..724cefed8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -133,6 +133,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -380,18 +390,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb index edab85f0c..c4cd948b1 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -87,6 +87,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -282,18 +292,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb index b1a119fab..70cd3c15f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_merge_field.rb b/sdks/ruby/lib/dropbox-sign/models/sub_merge_field.rb index b894cf9e8..111b5c3cb 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_merge_field.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_merge_field.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubMergeField + class SubMergeField < ApiModelBase # The name of the merge field. Must be unique. # @return [String] attr_accessor :name @@ -80,6 +80,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -267,18 +277,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_o_auth.rb b/sdks/ruby/lib/dropbox-sign/models/sub_o_auth.rb index ca6b55bf2..b31d0132e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_o_auth.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_o_auth.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # OAuth related parameters. - class SubOAuth + class SubOAuth < ApiModelBase # The callback URL to be used for OAuth flows. (Required if `oauth[scopes]` is provided) # @return [String] attr_accessor :callback_url @@ -81,6 +81,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -238,18 +248,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_options.rb index a2f2df245..a6985177b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Additional options supported by API App. - class SubOptions + class SubOptions < ApiModelBase # Determines if signers can use \"Insert Everywhere\" when signing a document. # @return [Boolean] attr_accessor :can_insert_everywhere @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -205,18 +215,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb index 23615d577..987006cff 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubSignatureRequestGroupedSigners + class SubSignatureRequestGroupedSigners < ApiModelBase # The name of the group. # @return [String] attr_accessor :group @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_signer.rb b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_signer.rb index 2a4eaed72..d45514cb8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_signer.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_signer.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubSignatureRequestSigner + class SubSignatureRequestSigner < ApiModelBase # The name of the signer. # @return [String] attr_accessor :name @@ -105,6 +105,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -188,7 +198,7 @@ def list_invalid_properties end if !@pin.nil? && @pin.to_s.length < 4 - invalid_properties.push('invalid value for "pin", the character length must be great than or equal to 4.') + invalid_properties.push('invalid value for "pin", the character length must be greater than or equal to 4.') end invalid_properties @@ -234,7 +244,7 @@ def pin=(pin) end if pin.to_s.length < 4 - fail ArgumentError, 'invalid value for "pin", the character length must be great than or equal to 4.' + fail ArgumentError, 'invalid value for "pin", the character length must be greater than or equal to 4.' end @pin = pin @@ -346,18 +356,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_template_signer.rb b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_template_signer.rb index eb52b71ba..f3555401a 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_signature_request_template_signer.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubSignatureRequestTemplateSigner + class SubSignatureRequestTemplateSigner < ApiModelBase # Must match an existing role in chosen Template(s). It's case-sensitive. # @return [String] attr_accessor :role @@ -104,6 +104,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -191,7 +201,7 @@ def list_invalid_properties end if !@pin.nil? && @pin.to_s.length < 4 - invalid_properties.push('invalid value for "pin", the character length must be great than or equal to 4.') + invalid_properties.push('invalid value for "pin", the character length must be greater than or equal to 4.') end invalid_properties @@ -248,7 +258,7 @@ def pin=(pin) end if pin.to_s.length < 4 - fail ArgumentError, 'invalid value for "pin", the character length must be great than or equal to 4.' + fail ArgumentError, 'invalid value for "pin", the character length must be greater than or equal to 4.' end @pin = pin @@ -360,18 +370,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb index 7d0969ded..6db26dd99 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too. - class SubSigningOptions + class SubSigningOptions < ApiModelBase # The default type shown (limited to the listed types) # @return [String] attr_accessor :default_type @@ -105,6 +105,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -307,18 +317,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_team_response.rb b/sdks/ruby/lib/dropbox-sign/models/sub_team_response.rb index 7ee4be8fc..fc7ff6dc1 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_team_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_team_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubTeamResponse + class SubTeamResponse < ApiModelBase # The id of a team # @return [String] attr_accessor :team_id @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -213,18 +223,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_template_role.rb b/sdks/ruby/lib/dropbox-sign/models/sub_template_role.rb index ff16168ac..ec70316a5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_template_role.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_template_role.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubTemplateRole + class SubTemplateRole < ApiModelBase # The role name of the signer that will be displayed when the template is used to create a signature request. # @return [String] attr_accessor :name @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb b/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb index f77ddb142..1e763dd7f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubUnclaimedDraftSigner + class SubUnclaimedDraftSigner < ApiModelBase # The email address of the signer. # @return [String] attr_accessor :email_address @@ -65,6 +65,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -255,18 +265,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb b/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb index 61fe5d8c5..51c42f4a8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class SubUnclaimedDraftTemplateSigner + class SubUnclaimedDraftTemplateSigner < ApiModelBase # Must match an existing role in chosen Template(s). # @return [String] attr_accessor :role @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -269,18 +279,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_white_labeling_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_white_labeling_options.rb index 0878b3d71..66a9736e0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/sub_white_labeling_options.rb +++ b/sdks/ruby/lib/dropbox-sign/models/sub_white_labeling_options.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of elements and values serialized to a string, to be used to customize the app's signer page. (Only applies to some API plans) Take a look at our [white labeling guide](https://developers.hellosign.com/api/reference/premium-branding/) to learn more. - class SubWhiteLabelingOptions + class SubWhiteLabelingOptions < ApiModelBase # @return [String] attr_accessor :header_background_color @@ -145,6 +145,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -405,18 +415,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_add_member_request.rb b/sdks/ruby/lib/dropbox-sign/models/team_add_member_request.rb index 57dde8ec9..2b54cb8da 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_add_member_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_add_member_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamAddMemberRequest + class TeamAddMemberRequest < ApiModelBase # `account_id` or `email_address` is required. If both are provided, the account id prevails. Account id of the user to invite to your Team. # @return [String] attr_accessor :account_id @@ -86,6 +86,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -258,18 +268,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/team_create_request.rb index 3c1e69f5b..d6e09728f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamCreateRequest + class TeamCreateRequest < ApiModelBase # The name of your Team. # @return [String] attr_accessor :name @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -204,18 +214,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_get_info_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_get_info_response.rb index 6dda33ae5..0d44bbf82 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_get_info_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_get_info_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamGetInfoResponse + class TeamGetInfoResponse < ApiModelBase # @return [TeamInfoResponse] attr_accessor :team @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_get_response.rb index 50c0ac70e..3e07b63bc 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamGetResponse + class TeamGetResponse < ApiModelBase # @return [TeamResponse] attr_accessor :team @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_info_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_info_response.rb index 5231ddfe8..aa6604884 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_info_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_info_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamInfoResponse + class TeamInfoResponse < ApiModelBase # The id of a team # @return [String] attr_accessor :team_id @@ -76,6 +76,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -246,18 +256,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_invite_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_invite_response.rb index 9cb01aa88..bb2367b85 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_invite_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_invite_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamInviteResponse + class TeamInviteResponse < ApiModelBase # Email address of the user invited to this team. # @return [String] attr_accessor :email_address @@ -82,6 +82,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_invites_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_invites_response.rb index 44b5e95e1..b9c56800e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_invites_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_invites_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamInvitesResponse + class TeamInvitesResponse < ApiModelBase # Contains a list of team invites and their roles. # @return [Array] attr_accessor :team_invites @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -231,18 +241,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_member_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_member_response.rb index 91e1c742d..b3d6296b5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_member_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_member_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamMemberResponse + class TeamMemberResponse < ApiModelBase # Account id of the team member. # @return [String] attr_accessor :account_id @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_members_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_members_response.rb index 924745091..bb806c4b1 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_members_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_members_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamMembersResponse + class TeamMembersResponse < ApiModelBase # Contains a list of team members and their roles for a specific team. # @return [Array] attr_accessor :team_members @@ -62,6 +62,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -256,18 +266,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_parent_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_parent_response.rb index 48cf5f159..9d3dc1a5b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_parent_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_parent_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Information about the parent team if a team has one, set to `null` otherwise. - class TeamParentResponse + class TeamParentResponse < ApiModelBase # The id of a team # @return [String] attr_accessor :team_id @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_remove_member_request.rb b/sdks/ruby/lib/dropbox-sign/models/team_remove_member_request.rb index 0b725e483..4e7159ff7 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_remove_member_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_remove_member_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamRemoveMemberRequest + class TeamRemoveMemberRequest < ApiModelBase # **account_id** or **email_address** is required. If both are provided, the account id prevails. Account id to remove from your Team. # @return [String] attr_accessor :account_id @@ -98,6 +98,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -280,18 +290,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_response.rb index c239735dd..d599314bd 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about your team and its members - class TeamResponse + class TeamResponse < ApiModelBase # The name of your Team # @return [String] attr_accessor :name @@ -70,6 +70,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -241,18 +251,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_sub_teams_response.rb b/sdks/ruby/lib/dropbox-sign/models/team_sub_teams_response.rb index 5f5a612ac..3fd3742fa 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_sub_teams_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_sub_teams_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamSubTeamsResponse + class TeamSubTeamsResponse < ApiModelBase # Contains a list with sub teams. # @return [Array] attr_accessor :sub_teams @@ -62,6 +62,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -256,18 +266,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/team_update_request.rb b/sdks/ruby/lib/dropbox-sign/models/team_update_request.rb index 030ebd056..62d729086 100644 --- a/sdks/ruby/lib/dropbox-sign/models/team_update_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/team_update_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TeamUpdateRequest + class TeamUpdateRequest < ApiModelBase # The name of your Team. # @return [String] attr_accessor :name @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -202,18 +212,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_add_user_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_add_user_request.rb index bb392182f..24c5d1f17 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_add_user_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_add_user_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateAddUserRequest + class TemplateAddUserRequest < ApiModelBase # The id of the Account to give access to the Template. **NOTE:** The account id prevails if email address is also provided. # @return [String] attr_accessor :account_id @@ -64,6 +64,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -226,18 +236,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb index a846072e1..68e469c88 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateCreateEmbeddedDraftRequest + class TemplateCreateEmbeddedDraftRequest < ApiModelBase # Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. # @return [String] attr_accessor :client_id @@ -200,6 +200,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -566,18 +576,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response.rb index 540a70012..b82498505 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateCreateEmbeddedDraftResponse + class TemplateCreateEmbeddedDraftResponse < ApiModelBase # @return [TemplateCreateEmbeddedDraftResponseTemplate] attr_accessor :template @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb index 354ad0df0..27f003656 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Template object with parameters: `template_id`, `edit_url`, `expires_at`. - class TemplateCreateEmbeddedDraftResponseTemplate + class TemplateCreateEmbeddedDraftResponseTemplate < ApiModelBase # The id of the Template. # @return [String] attr_accessor :template_id @@ -71,6 +71,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -238,18 +248,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb index 8b3d47022..01b5bbd9e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateCreateRequest + class TemplateCreateRequest < ApiModelBase # The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).) **NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types. * Text Field use `SubFormFieldsPerDocumentText` * Dropdown Field use `SubFormFieldsPerDocumentDropdown` * Hyperlink Field use `SubFormFieldsPerDocumentHyperlink` * Checkbox Field use `SubFormFieldsPerDocumentCheckbox` * Radio Field use `SubFormFieldsPerDocumentRadio` * Signature Field use `SubFormFieldsPerDocumentSignature` * Date Signed Field use `SubFormFieldsPerDocumentDateSigned` * Initials Field use `SubFormFieldsPerDocumentInitials` * Text Merge Field use `SubFormFieldsPerDocumentTextMerge` * Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` # @return [Array] attr_accessor :form_fields_per_document @@ -159,6 +159,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -493,18 +503,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_response.rb index 5ca1bcb85..e18e95c2d 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateCreateResponse + class TemplateCreateResponse < ApiModelBase # @return [TemplateCreateResponseTemplate] attr_accessor :template @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_response_template.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_response_template.rb index 1ffeb1092..369c5d5de 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_response_template.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_response_template.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Template object with parameters: `template_id`. - class TemplateCreateResponseTemplate + class TemplateCreateResponseTemplate < ApiModelBase # The id of the Template. # @return [String] attr_accessor :template_id @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -203,18 +213,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_get_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_get_response.rb index dcbc14b67..b3db4adbc 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_get_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_get_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateGetResponse + class TemplateGetResponse < ApiModelBase # @return [TemplateResponse] attr_accessor :template @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_list_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_list_response.rb index aea5a64df..9f4ea8990 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_list_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_list_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateListResponse + class TemplateListResponse < ApiModelBase # List of templates that the API caller has access to. # @return [Array] attr_accessor :templates @@ -63,6 +63,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -257,18 +267,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_remove_user_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_remove_user_request.rb index 3a93e2739..a7bc66934 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_remove_user_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_remove_user_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateRemoveUserRequest + class TemplateRemoveUserRequest < ApiModelBase # The id or email address of the Account to remove access to the Template. The account id prevails if both are provided. # @return [String] attr_accessor :account_id @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -213,18 +223,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_response.rb index fdf944631..a6e7bfc31 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains information about the templates you and your team have created. - class TemplateResponse + class TemplateResponse < ApiModelBase # The id of the Template. # @return [String] attr_accessor :template_id @@ -146,6 +146,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -387,18 +397,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_account.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_account.rb index 9bdf49e69..46269d5b5 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_account.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_account.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateResponseAccount + class TemplateResponseAccount < ApiModelBase # The id of the Account. # @return [String] attr_accessor :account_id @@ -81,6 +81,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -256,18 +266,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_account_quota.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_account_quota.rb index d8631da5c..ce051aa3f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_account_quota.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_account_quota.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template. - class TemplateResponseAccountQuota + class TemplateResponseAccountQuota < ApiModelBase # API templates remaining. # @return [Integer] attr_accessor :templates_left @@ -71,6 +71,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_cc_role.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_cc_role.rb index a5cf632bf..90dbcfb2c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_cc_role.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_cc_role.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateResponseCCRole + class TemplateResponseCCRole < ApiModelBase # The name of the Role. # @return [String] attr_accessor :name @@ -52,6 +52,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -202,18 +212,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document.rb index 2c0f02d5f..ccdc7beb9 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateResponseDocument + class TemplateResponseDocument < ApiModelBase # Name of the associated file. # @return [String] attr_accessor :name @@ -82,6 +82,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -265,18 +275,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_base.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_base.rb index 6ad8697d5..932bcb070 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of Form Field objects containing the name and type of each named field. - class TemplateResponseDocumentCustomFieldBase + class TemplateResponseDocumentCustomFieldBase < ApiModelBase # @return [String] attr_accessor :type @@ -108,6 +108,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -333,18 +343,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb index 0f4f3402b..0cd01278f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_text.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_text.rb index 7799d711e..6e17fe942 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_custom_field_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -76,6 +76,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -267,18 +277,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group.rb index c879c28f0..b367de859 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateResponseDocumentFieldGroup + class TemplateResponseDocumentFieldGroup < ApiModelBase # The name of the form field group. # @return [String] attr_accessor :name @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -212,18 +222,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group_rule.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group_rule.rb index e80370faa..b64a52529 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_field_group_rule.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping). - class TemplateResponseDocumentFieldGroupRule + class TemplateResponseDocumentFieldGroupRule < ApiModelBase # Examples: `require_0-1` `require_1` `require_1-ormore` - Check out the list of [acceptable `requirement` checkbox type values](/api/reference/constants/#checkbox-field-grouping). - Check out the list of [acceptable `requirement` radio type fields](/api/reference/constants/#radio-field-grouping). - Radio groups require **at least** two fields per group. # @return [String] attr_accessor :requirement @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_base.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_base.rb index 4676fd1e0..5c9e66764 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array of Form Field objects containing the name and type of each named field. - class TemplateResponseDocumentFormFieldBase + class TemplateResponseDocumentFormFieldBase < ApiModelBase # @return [String] attr_accessor :type @@ -100,6 +100,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -338,18 +348,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb index 628758f5f..628203b20 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -60,6 +60,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb index 268700045..37d3c0270 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -60,6 +60,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb index 18bc6f9da..c2002ccca 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -66,6 +66,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -249,18 +259,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb index 579494f1a..f2b58a105 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -83,6 +83,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -279,18 +289,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_initials.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_initials.rb index 961155290..2990484d3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_initials.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -60,6 +60,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_radio.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_radio.rb index 6e99534d7..14048c7c7 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_radio.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -250,18 +260,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_signature.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_signature.rb index dcfed475e..264f1bdc3 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_signature.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -60,6 +60,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -236,18 +246,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_text.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_text.rb index 11d6178bb..9d1647f78 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_form_field_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -126,6 +126,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -349,18 +359,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_base.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_base.rb index 89606c7b9..876654cda 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_base.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_base.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # An array describing static overlay fields. **NOTE:** Only available for certain subscriptions. - class TemplateResponseDocumentStaticFieldBase + class TemplateResponseDocumentStaticFieldBase < ApiModelBase # @return [String] attr_accessor :type @@ -107,6 +107,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -352,18 +362,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb index e27917fb4..09a05c748 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb index 574e05234..e977a92a8 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb index 7c14f58b5..e1319075c 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb index ccb172773..ce89fd819 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_initials.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_initials.rb index 47d8b723e..ea2778a87 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_initials.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_radio.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_radio.rb index b8299053e..7dc82b0a0 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_radio.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_signature.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_signature.rb index 91c019255..2d31bbd8e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_signature.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_text.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_text.rb index 37612d617..1519f7c8b 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_text.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_document_static_field_text.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -53,6 +53,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping, including the ones defined in its parent(s) + def self.acceptable_openapi_types + superclass.acceptable_openapi_types.merge(openapi_types) + end + + # Returns the nullable attributes, including the ones defined in its parent(s) that it does not redeclare + def self.acceptable_openapi_nullable + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.superclass.attribute_map.merge(self.attribute_map) @@ -224,18 +234,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_field_avg_text_length.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_field_avg_text_length.rb index aceaff422..6dcbb5a87 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_field_avg_text_length.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Average text length in this field. - class TemplateResponseFieldAvgTextLength + class TemplateResponseFieldAvgTextLength < ApiModelBase # Number of lines. # @return [Integer] attr_accessor :num_lines @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -214,18 +224,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_response_signer_role.rb b/sdks/ruby/lib/dropbox-sign/models/template_response_signer_role.rb index a2263db31..983f47e17 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_response_signer_role.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_response_signer_role.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateResponseSignerRole + class TemplateResponseSignerRole < ApiModelBase # The name of the Role. # @return [String] attr_accessor :name @@ -58,6 +58,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -213,18 +223,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_update_files_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_update_files_request.rb index e9d56101c..7059a44bf 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_update_files_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_update_files_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateUpdateFilesRequest + class TemplateUpdateFilesRequest < ApiModelBase # Client id of the app you're using to update this template. # @return [String] attr_accessor :client_id @@ -82,6 +82,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -293,18 +303,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_update_files_response.rb b/sdks/ruby/lib/dropbox-sign/models/template_update_files_response.rb index 15c51dfe1..69c61fd33 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_update_files_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_update_files_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class TemplateUpdateFilesResponse + class TemplateUpdateFilesResponse < ApiModelBase # @return [TemplateUpdateFilesResponseTemplate] attr_accessor :template @@ -51,6 +51,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -216,18 +226,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/template_update_files_response_template.rb b/sdks/ruby/lib/dropbox-sign/models/template_update_files_response_template.rb index 5d3ab09e2..a6443132e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_update_files_response_template.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_update_files_response_template.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # Contains template id - class TemplateUpdateFilesResponseTemplate + class TemplateUpdateFilesResponseTemplate < ApiModelBase # The id of the Template. # @return [String] attr_accessor :template_id @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -216,18 +226,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb index 9d52d17fc..7bb96b8d6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # - class UnclaimedDraftCreateEmbeddedRequest + class UnclaimedDraftCreateEmbeddedRequest < ApiModelBase # Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. # @return [String] attr_accessor :client_id @@ -289,6 +289,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -749,18 +759,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb index 339107b89..a78e38d4e 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class UnclaimedDraftCreateEmbeddedWithTemplateRequest + class UnclaimedDraftCreateEmbeddedWithTemplateRequest < ApiModelBase # Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. # @return [String] attr_accessor :client_id @@ -223,6 +223,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -654,18 +664,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb index 62c54fcbc..c7580f6db 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # - class UnclaimedDraftCreateRequest + class UnclaimedDraftCreateRequest < ApiModelBase # The type of unclaimed draft to create. Use `send_document` to create a claimable file, and `request_signature` for a claimable signature request. If the type is `request_signature` then signers name and email_address are not optional. # @return [String] attr_accessor :type @@ -218,6 +218,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -575,18 +585,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_response.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_response.rb index d72c78fd5..de0a7e4d6 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class UnclaimedDraftCreateResponse + class UnclaimedDraftCreateResponse < ApiModelBase # @return [UnclaimedDraftResponse] attr_accessor :unclaimed_draft @@ -57,6 +57,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -229,18 +239,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb index 1ed535c5f..ec24877ec 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -17,7 +17,7 @@ module Dropbox end module Dropbox::Sign - class UnclaimedDraftEditAndResendRequest + class UnclaimedDraftEditAndResendRequest < ApiModelBase # Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. # @return [String] attr_accessor :client_id @@ -93,6 +93,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -297,18 +307,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_response.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_response.rb index f393e20a6..ed5844c13 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # A group of documents that a user can take ownership of via the claim URL. - class UnclaimedDraftResponse + class UnclaimedDraftResponse < ApiModelBase # The ID of the signature request that is represented by this UnclaimedDraft. # @return [String, nil] attr_accessor :signature_request_id @@ -87,6 +87,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -262,18 +272,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/models/warning_response.rb b/sdks/ruby/lib/dropbox-sign/models/warning_response.rb index 32042a9c9..627e32ef2 100644 --- a/sdks/ruby/lib/dropbox-sign/models/warning_response.rb +++ b/sdks/ruby/lib/dropbox-sign/models/warning_response.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end @@ -18,7 +18,7 @@ module Dropbox module Dropbox::Sign # A list of warnings. - class WarningResponse + class WarningResponse < ApiModelBase # Warning message # @return [String] attr_accessor :warning_msg @@ -59,6 +59,16 @@ def self.openapi_nullable ]) end + # Returns attribute type mapping + def self.acceptable_openapi_types + openapi_types + end + + # Returns the nullable attributes + def self.acceptable_openapi_nullable + openapi_nullable + end + # Returns attribute map of this model + parent def self.merged_attributes self.attribute_map @@ -244,18 +254,6 @@ def _deserialize(type, value) end end - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end - # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash(include_nil = true) diff --git a/sdks/ruby/lib/dropbox-sign/version.rb b/sdks/ruby/lib/dropbox-sign/version.rb index c05458cc7..3bf625770 100644 --- a/sdks/ruby/lib/dropbox-sign/version.rb +++ b/sdks/ruby/lib/dropbox-sign/version.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/run-build b/sdks/ruby/run-build index cecea48f1..999e506d0 100755 --- a/sdks/ruby/run-build +++ b/sdks/ruby/run-build @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# see https://github.com/OpenAPITools/openapi-generator/tree/v7.8.0/modules/openapi-generator/src/main/resources/ruby-client +# see https://github.com/OpenAPITools/openapi-generator/tree/v7.26.0/modules/openapi-generator/src/main/resources/ruby-client set -e @@ -18,7 +18,7 @@ rm -f "${DIR}/lib/dropbox-sign/models/"*.rb docker run --rm \ -v "${DIR}/:/local" \ - openapitools/openapi-generator-cli:v7.12.0 generate \ + openapitools/openapi-generator-cli:v7.26.0 generate \ -i "/local/openapi-sdk.yaml" \ -c "/local/openapi-config.yaml" \ -t "/local/templates" \ diff --git a/sdks/ruby/spec/spec_helper.rb b/sdks/ruby/spec/spec_helper.rb index bf9c23477..d2c9c42db 100644 --- a/sdks/ruby/spec/spec_helper.rb +++ b/sdks/ruby/spec/spec_helper.rb @@ -6,7 +6,7 @@ The version of the OpenAPI document: 3.0.0 Contact: apisupport@hellosign.com Generated by: https://openapi-generator.tech -Generator version: 7.12.0 +Generator version: 7.26.0 =end diff --git a/sdks/ruby/templates/api.mustache b/sdks/ruby/templates/api.mustache index d61f0a900..1a7923c16 100644 --- a/sdks/ruby/templates/api.mustache +++ b/sdks/ruby/templates/api.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'cgi' @@ -138,7 +139,7 @@ module {{moduleName}} {{/maxLength}} {{#minLength}} if @api_client.config.client_side_validation && {{^required}}!opts[:'{{{paramName}}}'].nil? && {{/required}}{{#required}}{{{paramName}}}{{/required}}{{^required}}opts[:'{{{paramName}}}']{{/required}}.to_s.length < {{{minLength}}} - fail ArgumentError, 'invalid value for "{{#required}}{{{paramName}}}{{/required}}{{^required}}opts[:"{{{paramName}}}"]{{/required}}" when calling {{classname}}.{{operationId}}, the character length must be great than or equal to {{{minLength}}}.' + fail ArgumentError, 'invalid value for "{{#required}}{{{paramName}}}{{/required}}{{^required}}opts[:"{{{paramName}}}"]{{/required}}" when calling {{classname}}.{{operationId}}, the character length must be greater than or equal to {{{minLength}}}.' end {{/minLength}} @@ -176,18 +177,60 @@ module {{moduleName}} {{/hasValidation}} {{/allParams}} # resource path - local_var_path = '{{{path}}}'{{#pathParams}}.sub('{' + '{{baseName}}' + '}', CGI.escape({{paramName}}.to_s){{^strictSpecBehavior}}.gsub('%2F', '/'){{/strictSpecBehavior}}){{/pathParams}} + local_var_path = '{{{path}}}'{{#pathParams}}.sub({{=<< >>=}}'{<>}'<<={{ }}=>>, CGI.escape({{paramName}}.to_s){{^strictSpecBehavior}}.gsub('%2F', '/'){{/strictSpecBehavior}}){{/pathParams}} # query parameters query_params = opts[:query_params] || {} {{#queryParams}} {{#required}} + {{#queryIsJsonMimeType}} + query_params[:'{{{baseName}}}'] = {{{paramName}}}.to_json + {{/queryIsJsonMimeType}} + {{^queryIsJsonMimeType}} + {{#isMap}} + {{#isExplode}} + {{^isDeepObject}} + # form style, explode: one query parameter per entry, keyed by the property name; nil is left out + {{{paramName}}}.compact.each { |name, value| query_params[name.to_s] = value } + {{/isDeepObject}} + {{#isDeepObject}} + query_params[:'{{{baseName}}}'] = {{{paramName}}} + {{/isDeepObject}} + {{/isExplode}} + {{^isExplode}} + query_params[:'{{{baseName}}}'] = {{{paramName}}} + {{/isExplode}} + {{/isMap}} + {{^isMap}} query_params[:'{{{baseName}}}'] = {{#collectionFormat}}@api_client.build_collection_param({{{paramName}}}, :{{{collectionFormat}}}){{/collectionFormat}}{{^collectionFormat}}{{{paramName}}}{{/collectionFormat}} + {{/isMap}} + {{/queryIsJsonMimeType}} {{/required}} {{/queryParams}} {{#queryParams}} {{^required}} + {{#queryIsJsonMimeType}} + query_params[:'{{{baseName}}}'] = opts[:'{{{paramName}}}'].to_json if !opts[:'{{{paramName}}}'].nil? + {{/queryIsJsonMimeType}} + {{^queryIsJsonMimeType}} + {{#isMap}} + {{#isExplode}} + {{^isDeepObject}} + # form style, explode: one query parameter per entry, keyed by the property name; nil is left out + opts[:'{{{paramName}}}'].compact.each { |name, value| query_params[name.to_s] = value } if !opts[:'{{{paramName}}}'].nil? + {{/isDeepObject}} + {{#isDeepObject}} + query_params[:'{{{baseName}}}'] = opts[:'{{{paramName}}}'] if !opts[:'{{{paramName}}}'].nil? + {{/isDeepObject}} + {{/isExplode}} + {{^isExplode}} + query_params[:'{{{baseName}}}'] = opts[:'{{{paramName}}}'] if !opts[:'{{{paramName}}}'].nil? + {{/isExplode}} + {{/isMap}} + {{^isMap}} query_params[:'{{{baseName}}}'] = {{#collectionFormat}}@api_client.build_collection_param(opts[:'{{{paramName}}}'], :{{{collectionFormat}}}){{/collectionFormat}}{{^collectionFormat}}opts[:'{{{paramName}}}']{{/collectionFormat}} if !opts[:'{{{paramName}}}'].nil? + {{/isMap}} + {{/queryIsJsonMimeType}} {{/required}} {{/queryParams}} diff --git a/sdks/ruby/templates/api_client.mustache b/sdks/ruby/templates/api_client.mustache index 8cc1f01ab..f70a096ad 100644 --- a/sdks/ruby/templates/api_client.mustache +++ b/sdks/ruby/templates/api_client.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'date' @@ -52,12 +53,15 @@ module {{moduleName}} {{#isTyphoeus}} {{> api_client_typhoeus_partial}} + {{/isTyphoeus}} {{#isFaraday}} {{> api_client_faraday_partial}} + {{/isFaraday}} {{#isHttpx}} {{> api_client_httpx_partial}} + {{/isHttpx}} # Check if the given MIME is a JSON MIME. # JSON MIME examples: @@ -136,10 +140,14 @@ module {{moduleName}} end else {{^useCustomTemplateCode}} - # models (e.g. Pet) or oneOf + # models (e.g. Pet) or oneOf/anyOf {{/useCustomTemplateCode}} klass = {{moduleName}}.const_get(return_type) - klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data) + if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) + klass.build(data) + else + klass.build_from_hash(data) + end end end diff --git a/sdks/ruby/templates/api_error.mustache b/sdks/ruby/templates/api_error.mustache index 5e7e0531f..94874d3a6 100644 --- a/sdks/ruby/templates/api_error.mustache +++ b/sdks/ruby/templates/api_error.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end {{#useCustomTemplateCode}} diff --git a/sdks/ruby/templates/api_test.mustache b/sdks/ruby/templates/api_test.mustache index 7079f97e7..90264f76a 100644 --- a/sdks/ruby/templates/api_test.mustache +++ b/sdks/ruby/templates/api_test.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'spec_helper' diff --git a/sdks/ruby/templates/base_object.mustache b/sdks/ruby/templates/base_object.mustache index 773f80116..521ae2300 100644 --- a/sdks/ruby/templates/base_object.mustache +++ b/sdks/ruby/templates/base_object.mustache @@ -4,22 +4,21 @@ {{^useCustomTemplateCode}} def self.build_from_hash(attributes) return nil unless attributes.is_a?(Hash) - {{#parent}} - super(attributes) - {{/parent}} attributes = attributes.transform_keys(&:to_sym) + # include attributes inherited from allOf parents (the nearest declaration wins) + map = acceptable_attribute_map transformed_hash = {} - openapi_types.each_pair do |key, type| - if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + acceptable_openapi_types.each_pair do |key, type| + if attributes.key?(map[key]) && attributes[map[key]].nil? transformed_hash["#{key}"] = nil elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not - if attributes[attribute_map[key]].is_a?(Array) - transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + if attributes[map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[map[key]].map { |v| _deserialize($1, v) } end - elsif !attributes[attribute_map[key]].nil? - transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + elsif !attributes[map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[map[key]]) end end new(transformed_hash) @@ -63,18 +62,12 @@ self end -{{/useCustomTemplateCode}} # Deserializes the data based on type # @param string type Data type # @param string value Value to be deserialized # @return [Object] Deserialized data -{{^useCustomTemplateCode}} - def self._deserialize(type, value) -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} def _deserialize(type, value) -{{/useCustomTemplateCode}} case type.to_sym when :Time Time.parse(value) @@ -107,59 +100,42 @@ end end else # model -{{^useCustomTemplateCode}} - # models (e.g. Pet) or oneOf -{{/useCustomTemplateCode}} klass = {{moduleName}}.const_get(type) klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end - - # Returns the string representation of the object - # @return [String] String presentation of the object - def to_s - to_hash.to_s - end - - # to_body is an alias to to_hash (backward compatibility) - # @return [Hash] Returns the object in the form of hash - def to_body - to_hash - end +{{/useCustomTemplateCode}} # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash {{^useCustomTemplateCode}} def to_hash + hash = {} + # include attributes inherited from allOf parents (the nearest declaration wins) + self.class.acceptable_attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.acceptable_openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end {{/useCustomTemplateCode}} {{#useCustomTemplateCode}} def to_hash(include_nil = true) -{{/useCustomTemplateCode}} hash = {{^parent}}{}{{/parent}}{{#parent}}super{{/parent}} -{{^useCustomTemplateCode}} - self.class.attribute_map.each_pair do |attr, param| -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} self.class.merged_attributes.each_pair do |attr, param| -{{/useCustomTemplateCode}} value = self.send(attr) if value.nil? -{{^useCustomTemplateCode}} - is_nullable = self.class.openapi_nullable.include?(attr) -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} next unless include_nil is_nullable = self.class.merged_nullable.include?(attr) -{{/useCustomTemplateCode}} next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end -{{^useCustomTemplateCode}} - hash[param] = _to_hash(value) -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} hash[param] = _to_hash(value, include_nil) -{{/useCustomTemplateCode}} end hash end @@ -168,36 +144,17 @@ # For object, use to_hash. Otherwise, just return the value # @param [Object] value Any valid value # @return [Hash] Returns the value in the form of hash -{{^useCustomTemplateCode}} - def _to_hash(value) -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} def _to_hash(value, include_nil = true) -{{/useCustomTemplateCode}} if value.is_a?(Array) -{{^useCustomTemplateCode}} - value.compact.map { |v| _to_hash(v) } -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} value.compact.map { |v| _to_hash(v, include_nil) } -{{/useCustomTemplateCode}} elsif value.is_a?(Hash) {}.tap do |hash| -{{^useCustomTemplateCode}} - value.each { |k, v| hash[k] = _to_hash(v) } -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} value.each { |k, v| hash[k] = _to_hash(v, include_nil) } -{{/useCustomTemplateCode}} end elsif value.respond_to? :to_hash -{{^useCustomTemplateCode}} - value.to_hash -{{/useCustomTemplateCode}} -{{#useCustomTemplateCode}} value.to_hash(include_nil) -{{/useCustomTemplateCode}} else value end end +{{/useCustomTemplateCode}} diff --git a/sdks/ruby/templates/configuration.mustache b/sdks/ruby/templates/configuration.mustache index ef53ee3a3..846592669 100644 --- a/sdks/ruby/templates/configuration.mustache +++ b/sdks/ruby/templates/configuration.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end {{#useCustomTemplateCode}} @@ -108,12 +109,15 @@ module {{moduleName}} {{#isTyphoeus}} {{> configuration_typhoeus_partial}} + {{/isTyphoeus}} {{#isFaraday}} {{> configuration_faraday_partial}} + {{/isFaraday}} {{#isHttpx}} {{> configuration_httpx_partial}} + {{/isHttpx}} attr_accessor :inject_format diff --git a/sdks/ruby/templates/dropbox-event_callback_helper.mustache b/sdks/ruby/templates/dropbox-event_callback_helper.mustache index 8dc45098a..05c70cbcb 100644 --- a/sdks/ruby/templates/dropbox-event_callback_helper.mustache +++ b/sdks/ruby/templates/dropbox-event_callback_helper.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'openssl' diff --git a/sdks/ruby/templates/gem.mustache b/sdks/ruby/templates/gem.mustache index a49c2aa6a..3e8115e76 100644 --- a/sdks/ruby/templates/gem.mustache +++ b/sdks/ruby/templates/gem.mustache @@ -1,10 +1,12 @@ =begin {{> api_info}} + =end # Common files require '{{gemName}}/api_client' require '{{gemName}}/api_error' +require '{{gemName}}/api_model_base' require '{{gemName}}/version' require '{{gemName}}/configuration' diff --git a/sdks/ruby/templates/gemspec.mustache b/sdks/ruby/templates/gemspec.mustache index ea1cf2f77..6cc0cff06 100644 --- a/sdks/ruby/templates/gemspec.mustache +++ b/sdks/ruby/templates/gemspec.mustache @@ -2,6 +2,7 @@ =begin {{> api_info}} + =end $:.push File.expand_path("../lib", __FILE__) diff --git a/sdks/ruby/templates/model.mustache b/sdks/ruby/templates/model.mustache index 651e992d2..5b442b98f 100644 --- a/sdks/ruby/templates/model.mustache +++ b/sdks/ruby/templates/model.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'date' @@ -15,17 +16,20 @@ module {{moduleName}} {{#model}} {{#isEnum}} {{>partial_model_enum_class}} + {{/isEnum}} {{^isEnum}} {{#oneOf}} {{#-first}} {{>partial_oneof_module}} + {{/-first}} {{/oneOf}} {{^useCustomTemplateCode}} {{#anyOf}} {{#-first}} {{>partial_anyof_module}} + {{/-first}} {{/anyOf}} {{/useCustomTemplateCode}} @@ -33,6 +37,7 @@ module {{moduleName}} {{^useCustomTemplateCode}} {{^anyOf}} {{>partial_model_generic}} + {{/anyOf}} {{/useCustomTemplateCode}} {{#useCustomTemplateCode}} diff --git a/sdks/ruby/templates/model_doc.mustache b/sdks/ruby/templates/model_doc.mustache index 37809685d..6b4fb320f 100644 --- a/sdks/ruby/templates/model_doc.mustache +++ b/sdks/ruby/templates/model_doc.mustache @@ -3,10 +3,12 @@ {{#oneOf}} {{#-first}} {{>partial_oneof_module_doc}} + {{/-first}} {{/oneOf}} {{^oneOf}} {{>partial_model_generic_doc}} + {{/oneOf}} {{/model}} {{/models}} diff --git a/sdks/ruby/templates/model_test.mustache b/sdks/ruby/templates/model_test.mustache index 24f3a582f..468dff378 100644 --- a/sdks/ruby/templates/model_test.mustache +++ b/sdks/ruby/templates/model_test.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end require 'spec_helper' @@ -14,7 +15,7 @@ require 'date' describe {{moduleName}}::{{classname}} do {{^oneOf}} {{^anyOf}} - let(:instance) { {{moduleName}}::{{classname}}.new } + #let(:instance) { {{moduleName}}::{{classname}}.new } describe 'test an instance of {{classname}}' do it 'should create an instance of {{classname}}' do diff --git a/sdks/ruby/templates/partial_anyof_module.mustache b/sdks/ruby/templates/partial_anyof_module.mustache index a7e571e8a..7e68b95f5 100644 --- a/sdks/ruby/templates/partial_anyof_module.mustache +++ b/sdks/ruby/templates/partial_anyof_module.mustache @@ -30,8 +30,7 @@ openapi_any_of.each do |klass| begin next if klass == :AnyType # "nullable: true" - typed_data = find_and_cast_into_type(klass, data) - return typed_data if typed_data + return find_and_cast_into_type(klass, data) rescue # rescue all errors so we keep iterating even if the current item lookup raises end end @@ -57,7 +56,7 @@ when 'Time' return Time.parse(data) when 'Date' - return Date.parse(data) + return Date.iso8601(data) when 'String' return data if data.instance_of?(String) when 'Object' # "type: object" diff --git a/sdks/ruby/templates/partial_model_enum_class.mustache b/sdks/ruby/templates/partial_model_enum_class.mustache index d2ddbff19..1c3276ec1 100644 --- a/sdks/ruby/templates/partial_model_enum_class.mustache +++ b/sdks/ruby/templates/partial_model_enum_class.mustache @@ -18,6 +18,11 @@ # @return [String] The enum value def build_from_hash(value) return value if {{classname}}.all_vars.include?(value) + {{#enumUnknownDefaultCase}} + {{#allowableValues}}{{#enumVars}}{{#-last}}{{{name}}}{{/-last}}{{/enumVars}}{{/allowableValues}} + {{/enumUnknownDefaultCase}} + {{^enumUnknownDefaultCase}} raise "Invalid ENUM value #{value} for class #{{{classname}}}" + {{/enumUnknownDefaultCase}} end end \ No newline at end of file diff --git a/sdks/ruby/templates/partial_model_generic.mustache b/sdks/ruby/templates/partial_model_generic.mustache index 62bfd7843..9b29ad7c2 100644 --- a/sdks/ruby/templates/partial_model_generic.mustache +++ b/sdks/ruby/templates/partial_model_generic.mustache @@ -1,7 +1,7 @@ {{#description}} # {{{.}}} {{/description}} - class {{classname}}{{#parent}} < {{{.}}}{{/parent}} + class {{classname}}{{#parent}} < {{{.}}}{{/parent}}{{^parent}} < ApiModelBase{{/parent}} {{#vars}} {{#description}} # {{{.}}} @@ -45,17 +45,17 @@ } end - # Returns attribute mapping this model knows about{{#parent}}, including the ones defined in its parent(s){{/parent}} + # Returns attribute mapping this model knows about{{#parentModel}}, including the ones defined in its parent(s){{/parentModel}} def self.acceptable_attribute_map - {{^parent}} + {{^parentModel}} attribute_map - {{/parent}} - {{#parent}} + {{/parentModel}} + {{#parentModel}} superclass.acceptable_attribute_map.merge(attribute_map) - {{/parent}} + {{/parentModel}} end - # Returns all the JSON keys this model knows about{{#parent}}, including the ones defined in its parent(s){{/parent}} + # Returns all the JSON keys this model knows about{{#parentModel}}, including the ones defined in its parent(s){{/parentModel}} def self.acceptable_attributes acceptable_attribute_map.values end @@ -80,6 +80,26 @@ ]) end + # Returns attribute type mapping{{#parentModel}}, including the ones defined in its parent(s){{/parentModel}} + def self.acceptable_openapi_types + {{^parentModel}} + openapi_types + {{/parentModel}} + {{#parentModel}} + superclass.acceptable_openapi_types.merge(openapi_types) + {{/parentModel}} + end + + # Returns the nullable attributes{{#parentModel}}, including the ones defined in its parent(s) that it does not redeclare{{/parentModel}} + def self.acceptable_openapi_nullable + {{^parentModel}} + openapi_nullable + {{/parentModel}} + {{#parentModel}} + (superclass.acceptable_openapi_nullable - attribute_map.keys) | openapi_nullable + {{/parentModel}} + end + {{#useCustomTemplateCode}} # Returns attribute map of this model + parent def self.merged_attributes @@ -199,11 +219,11 @@ end h[k.to_sym] = v } - {{#parent}} + {{#parentModel}} # call parent's initialize super(attributes) - {{/parent}} + {{/parentModel}} {{#vars}} if attributes.key?(:'{{{name}}}') @@ -261,7 +281,7 @@ {{/maxLength}} {{#minLength}} if {{^required}}!@{{{name}}}.nil? && {{/required}}@{{{name}}}.to_s.length < {{{minLength}}} - invalid_properties.push('invalid value for "{{{name}}}", the character length must be great than or equal to {{{minLength}}}.') + invalid_properties.push('invalid value for "{{{name}}}", the character length must be greater than or equal to {{{minLength}}}.') end {{/minLength}} @@ -405,7 +425,7 @@ {{/maxLength}} {{#minLength}} if {{#isNullable}}!{{{name}}}.nil? && {{/isNullable}}{{{name}}}.to_s.length < {{{minLength}}} - fail ArgumentError, 'invalid value for "{{{name}}}", the character length must be great than or equal to {{{minLength}}}.' + fail ArgumentError, 'invalid value for "{{{name}}}", the character length must be greater than or equal to {{{minLength}}}.' end {{/minLength}} @@ -483,4 +503,5 @@ end {{> base_object}} + end diff --git a/sdks/ruby/templates/partial_oneof_module.mustache b/sdks/ruby/templates/partial_oneof_module.mustache index d3a25f69e..04fa0d311 100644 --- a/sdks/ruby/templates/partial_oneof_module.mustache +++ b/sdks/ruby/templates/partial_oneof_module.mustache @@ -69,8 +69,7 @@ openapi_one_of.each do |klass| begin next if klass == :AnyType # "nullable: true" - typed_data = find_and_cast_into_type(klass, data) - return typed_data if typed_data + return find_and_cast_into_type(klass, data) rescue # rescue all errors so we keep iterating even if the current item lookup raises end end @@ -98,7 +97,7 @@ when 'Time' return Time.parse(data) when 'Date' - return Date.parse(data) + return Date.iso8601(data) when 'String' return data if data.instance_of?(String) when 'Object' # "type: object" diff --git a/sdks/ruby/templates/rubocop.mustache b/sdks/ruby/templates/rubocop.mustache index d32b2b1cd..3401cf2d0 100644 --- a/sdks/ruby/templates/rubocop.mustache +++ b/sdks/ruby/templates/rubocop.mustache @@ -1,7 +1,7 @@ # This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license) # Automatically generated by OpenAPI Generator (https://openapi-generator.tech) AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true diff --git a/sdks/ruby/templates/spec_helper.mustache b/sdks/ruby/templates/spec_helper.mustache index 8f4bb7541..389dc3e1c 100644 --- a/sdks/ruby/templates/spec_helper.mustache +++ b/sdks/ruby/templates/spec_helper.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end # load the gem diff --git a/sdks/ruby/templates/version.mustache b/sdks/ruby/templates/version.mustache index f495a0c93..d77fd6ff4 100644 --- a/sdks/ruby/templates/version.mustache +++ b/sdks/ruby/templates/version.mustache @@ -1,5 +1,6 @@ =begin {{> api_info}} + =end {{#useCustomTemplateCode}}