diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore index 8bbc45ebd..84dbdb3ce 100644 --- a/.openapi-generator-ignore +++ b/.openapi-generator-ignore @@ -7,3 +7,4 @@ Gemfile Rakefile README.md git_push.sh +.gitlab-ci.yml diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 76b35d43a..3070117de 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -483,6 +483,7 @@ docs/InvestmentsAuthGetRequestOptions.md docs/InvestmentsAuthGetResponse.md docs/InvestmentsAuthOwner.md docs/InvestmentsDefaultUpdateWebhook.md +docs/InvestmentsHistoricalUpdateWebhook.md docs/InvestmentsHoldingsGetRequest.md docs/InvestmentsHoldingsGetResponse.md docs/InvestmentsRefreshRequest.md @@ -583,6 +584,9 @@ docs/LinkTokenCreateRequestPaymentInitiation.md docs/LinkTokenCreateRequestTransfer.md docs/LinkTokenCreateRequestUpdate.md docs/LinkTokenCreateRequestUser.md +docs/LinkTokenCreateRequestUserAddress.md +docs/LinkTokenCreateRequestUserIdNumber.md +docs/LinkTokenCreateRequestUserName.md docs/LinkTokenCreateRequestUserStatedIncomeSource.md docs/LinkTokenCreateResponse.md docs/LinkTokenEUConfig.md @@ -772,11 +776,15 @@ docs/ProcessorBalanceGetRequestOptions.md docs/ProcessorBalanceGetResponse.md docs/ProcessorBankTransferCreateRequest.md docs/ProcessorBankTransferCreateResponse.md +docs/ProcessorDefaultUpdateWebhook.md +docs/ProcessorHistoricalUpdateWebhook.md docs/ProcessorIdentityGetRequest.md docs/ProcessorIdentityGetResponse.md docs/ProcessorIdentityMatchRequest.md docs/ProcessorIdentityMatchResponse.md +docs/ProcessorInitialUpdateWebhook.md docs/ProcessorNumber.md +docs/ProcessorRecurringTransactionsUpdateWebhook.md docs/ProcessorSignalDecisionReportRequest.md docs/ProcessorSignalDecisionReportResponse.md docs/ProcessorSignalEvaluateRequest.md @@ -785,6 +793,7 @@ docs/ProcessorSignalReturnReportRequest.md docs/ProcessorSignalReturnReportResponse.md docs/ProcessorStripeBankAccountTokenCreateRequest.md docs/ProcessorStripeBankAccountTokenCreateResponse.md +docs/ProcessorSyncUpdatesAvailableWebhook.md docs/ProcessorTokenCreateRequest.md docs/ProcessorTokenCreateResponse.md docs/ProcessorTokenPermissionsGetRequest.md @@ -797,6 +806,7 @@ docs/ProcessorTransactionsRecurringGetRequest.md docs/ProcessorTransactionsRecurringGetResponse.md docs/ProcessorTransactionsRefreshRequest.md docs/ProcessorTransactionsRefreshResponse.md +docs/ProcessorTransactionsRemovedWebhook.md docs/ProcessorTransactionsSyncRequest.md docs/ProcessorTransactionsSyncResponse.md docs/ProductAccess.md @@ -943,6 +953,7 @@ docs/StudentLoan.md docs/StudentLoanRepaymentModel.md docs/StudentLoanStatus.md docs/StudentRepaymentPlan.md +docs/SweepStatus.md docs/SyncUpdatesAvailableWebhook.md docs/Taxform.md docs/TaxpayerID.md @@ -1704,6 +1715,7 @@ lib/plaid/models/investments_auth_get_request_options.rb lib/plaid/models/investments_auth_get_response.rb lib/plaid/models/investments_auth_owner.rb lib/plaid/models/investments_default_update_webhook.rb +lib/plaid/models/investments_historical_update_webhook.rb lib/plaid/models/investments_holdings_get_request.rb lib/plaid/models/investments_holdings_get_response.rb lib/plaid/models/investments_refresh_request.rb @@ -1804,6 +1816,9 @@ lib/plaid/models/link_token_create_request_payment_initiation.rb lib/plaid/models/link_token_create_request_transfer.rb lib/plaid/models/link_token_create_request_update.rb lib/plaid/models/link_token_create_request_user.rb +lib/plaid/models/link_token_create_request_user_address.rb +lib/plaid/models/link_token_create_request_user_id_number.rb +lib/plaid/models/link_token_create_request_user_name.rb lib/plaid/models/link_token_create_request_user_stated_income_source.rb lib/plaid/models/link_token_create_response.rb lib/plaid/models/link_token_eu_config.rb @@ -1991,11 +2006,15 @@ lib/plaid/models/processor_balance_get_request_options.rb lib/plaid/models/processor_balance_get_response.rb lib/plaid/models/processor_bank_transfer_create_request.rb lib/plaid/models/processor_bank_transfer_create_response.rb +lib/plaid/models/processor_default_update_webhook.rb +lib/plaid/models/processor_historical_update_webhook.rb lib/plaid/models/processor_identity_get_request.rb lib/plaid/models/processor_identity_get_response.rb lib/plaid/models/processor_identity_match_request.rb lib/plaid/models/processor_identity_match_response.rb +lib/plaid/models/processor_initial_update_webhook.rb lib/plaid/models/processor_number.rb +lib/plaid/models/processor_recurring_transactions_update_webhook.rb lib/plaid/models/processor_signal_decision_report_request.rb lib/plaid/models/processor_signal_decision_report_response.rb lib/plaid/models/processor_signal_evaluate_request.rb @@ -2004,6 +2023,7 @@ lib/plaid/models/processor_signal_return_report_request.rb lib/plaid/models/processor_signal_return_report_response.rb lib/plaid/models/processor_stripe_bank_account_token_create_request.rb lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +lib/plaid/models/processor_sync_updates_available_webhook.rb lib/plaid/models/processor_token_create_request.rb lib/plaid/models/processor_token_create_response.rb lib/plaid/models/processor_token_permissions_get_request.rb @@ -2016,6 +2036,7 @@ lib/plaid/models/processor_transactions_recurring_get_request.rb lib/plaid/models/processor_transactions_recurring_get_response.rb lib/plaid/models/processor_transactions_refresh_request.rb lib/plaid/models/processor_transactions_refresh_response.rb +lib/plaid/models/processor_transactions_removed_webhook.rb lib/plaid/models/processor_transactions_sync_request.rb lib/plaid/models/processor_transactions_sync_response.rb lib/plaid/models/product_access.rb @@ -2163,6 +2184,7 @@ lib/plaid/models/student_loan.rb lib/plaid/models/student_loan_repayment_model.rb lib/plaid/models/student_loan_status.rb lib/plaid/models/student_repayment_plan.rb +lib/plaid/models/sweep_status.rb lib/plaid/models/sync_updates_available_webhook.rb lib/plaid/models/taxform.rb lib/plaid/models/taxpayer_id.rb diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 3bff05917..358e78e60 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -5.1.1 \ No newline at end of file +6.1.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ea6a5998..37abb4e0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 21.0.0 +- Updating to openapi-generator v6.1 to enable autoload support +- Updating to OAS 2020-09-14_1.390.0 + +## OpenAPI Schema Changes +### 2020-09-14_1.390.0 +- Add `transfer_id` field to `/transfers/sweep/list` request + +### 2020-09-14_1.389.0 +- Add `InvestmentsHistoricalUpdateWebhook`, a `HISTORICAL_UPDATE` webhook of type `INVESTMENTS_TRANSACTIONS`. + +### 2020-09-14_1.388.1 +- Add `status` field to a sweep object. Add `status` field to `/transfers/sweep/list` request + +### 2020-09-14_1.388.0 +- [Breaking] Remove `asset_report_token` as required field in `/asset_report/get` and mark as nullable + +### 2020-09-14_1.387.1 +- Allow empty `mask` on the `meta` field of overridden accounts in the sandbox custom user configuration object schema. + +### 2020-09-14_1.387.0 +- Mark `region` and `postal_code` fields as nullable in `/identity_verification/create`, `/identity_verification/retry`, and `/link/token/create` + +### 2020-09-14_1.386.0 +- Add payloads for processor Transactions webhooks. + +### 2020-09-14_1.385.2 +- Mark `next_origination_date` nullable + # 20.0.0 - Updating to OAS 2020-09-14_1.385.1 diff --git a/Makefile b/Makefile index 67fdccc53..b605543de 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=20.0.0 +RUBY_PACKAGE_VERSION=21.0.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index 086ee5bf9..b26b4f2da 100644 --- a/lib/plaid.rb +++ b/lib/plaid.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -502,6 +502,7 @@ require 'plaid/models/investments_auth_get_response' require 'plaid/models/investments_auth_owner' require 'plaid/models/investments_default_update_webhook' +require 'plaid/models/investments_historical_update_webhook' require 'plaid/models/investments_holdings_get_request' require 'plaid/models/investments_holdings_get_response' require 'plaid/models/investments_refresh_request' @@ -602,6 +603,9 @@ require 'plaid/models/link_token_create_request_transfer' require 'plaid/models/link_token_create_request_update' require 'plaid/models/link_token_create_request_user' +require 'plaid/models/link_token_create_request_user_address' +require 'plaid/models/link_token_create_request_user_id_number' +require 'plaid/models/link_token_create_request_user_name' require 'plaid/models/link_token_create_request_user_stated_income_source' require 'plaid/models/link_token_create_response' require 'plaid/models/link_token_eu_config' @@ -790,11 +794,15 @@ require 'plaid/models/processor_balance_get_response' require 'plaid/models/processor_bank_transfer_create_request' require 'plaid/models/processor_bank_transfer_create_response' +require 'plaid/models/processor_default_update_webhook' +require 'plaid/models/processor_historical_update_webhook' require 'plaid/models/processor_identity_get_request' require 'plaid/models/processor_identity_get_response' require 'plaid/models/processor_identity_match_request' require 'plaid/models/processor_identity_match_response' +require 'plaid/models/processor_initial_update_webhook' require 'plaid/models/processor_number' +require 'plaid/models/processor_recurring_transactions_update_webhook' require 'plaid/models/processor_signal_decision_report_request' require 'plaid/models/processor_signal_decision_report_response' require 'plaid/models/processor_signal_evaluate_request' @@ -803,6 +811,7 @@ require 'plaid/models/processor_signal_return_report_response' require 'plaid/models/processor_stripe_bank_account_token_create_request' require 'plaid/models/processor_stripe_bank_account_token_create_response' +require 'plaid/models/processor_sync_updates_available_webhook' require 'plaid/models/processor_token_create_request' require 'plaid/models/processor_token_create_response' require 'plaid/models/processor_token_permissions_get_request' @@ -815,6 +824,7 @@ require 'plaid/models/processor_transactions_recurring_get_response' require 'plaid/models/processor_transactions_refresh_request' require 'plaid/models/processor_transactions_refresh_response' +require 'plaid/models/processor_transactions_removed_webhook' require 'plaid/models/processor_transactions_sync_request' require 'plaid/models/processor_transactions_sync_response' require 'plaid/models/product_access' @@ -961,6 +971,7 @@ require 'plaid/models/student_loan_repayment_model' require 'plaid/models/student_loan_status' require 'plaid/models/student_repayment_plan' +require 'plaid/models/sweep_status' require 'plaid/models/sync_updates_available_webhook' require 'plaid/models/taxform' require 'plaid/models/taxpayer_id' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 764368d23..43446cae4 100644 --- a/lib/plaid/api/plaid_api.rb +++ b/lib/plaid/api/plaid_api.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -53,7 +53,10 @@ def accounts_balance_get_with_http_info(accounts_balance_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -118,7 +121,10 @@ def accounts_get_with_http_info(accounts_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -183,7 +189,10 @@ def application_get_with_http_info(application_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -248,7 +257,10 @@ def asset_report_audit_copy_create_with_http_info(asset_report_audit_copy_create # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -313,7 +325,10 @@ def asset_report_audit_copy_get_with_http_info(asset_report_audit_copy_get_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -378,7 +393,10 @@ def asset_report_audit_copy_remove_with_http_info(asset_report_audit_copy_remove # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -410,7 +428,7 @@ def asset_report_audit_copy_remove_with_http_info(asset_report_audit_copy_remove end # Create an Asset Report - # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/products/assets/#webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. + # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. The exact amount of time to create the report will vary depending on how many days of history are requested and will typically range from a few seconds to about one minute. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/products/assets/#webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. # @param asset_report_create_request [AssetReportCreateRequest] # @param [Hash] opts the optional parameters # @return [AssetReportCreateResponse] @@ -420,7 +438,7 @@ def asset_report_create(asset_report_create_request, opts = {}) end # Create an Asset Report - # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/products/assets/#webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. + # The `/asset_report/create` endpoint initiates the process of creating an Asset Report, which can then be retrieved by passing the `asset_report_token` return value to the `/asset_report/get` or `/asset_report/pdf/get` endpoints. The Asset Report takes some time to be created and is not available immediately after calling `/asset_report/create`. The exact amount of time to create the report will vary depending on how many days of history are requested and will typically range from a few seconds to about one minute. When the Asset Report is ready to be retrieved using `/asset_report/get` or `/asset_report/pdf/get`, Plaid will fire a `PRODUCT_READY` webhook. For full details of the webhook schema, see [Asset Report webhooks](https://plaid.com/docs/api/products/assets/#webhooks). The `/asset_report/create` endpoint creates an Asset Report at a moment in time. Asset Reports are immutable. To get an updated Asset Report, use the `/asset_report/refresh` endpoint. # @param asset_report_create_request [AssetReportCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(AssetReportCreateResponse, Integer, Hash)>] AssetReportCreateResponse data, response status code and response headers @@ -443,7 +461,10 @@ def asset_report_create_with_http_info(asset_report_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -508,7 +529,10 @@ def asset_report_filter_with_http_info(asset_report_filter_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -573,7 +597,10 @@ def asset_report_get_with_http_info(asset_report_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -638,7 +665,10 @@ def asset_report_pdf_get_with_http_info(asset_report_pdf_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/pdf']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -703,7 +733,10 @@ def asset_report_refresh_with_http_info(asset_report_refresh_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -768,7 +801,10 @@ def asset_report_remove_with_http_info(asset_report_remove_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -833,7 +869,10 @@ def auth_get_with_http_info(auth_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -898,7 +937,10 @@ def bank_transfer_balance_get_with_http_info(bank_transfer_balance_get_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -963,7 +1005,10 @@ def bank_transfer_cancel_with_http_info(bank_transfer_cancel_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1028,7 +1073,10 @@ def bank_transfer_create_with_http_info(bank_transfer_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1093,7 +1141,10 @@ def bank_transfer_event_list_with_http_info(bank_transfer_event_list_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1158,7 +1209,10 @@ def bank_transfer_event_sync_with_http_info(bank_transfer_event_sync_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1223,7 +1277,10 @@ def bank_transfer_get_with_http_info(bank_transfer_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1288,7 +1345,10 @@ def bank_transfer_list_with_http_info(bank_transfer_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1353,7 +1413,10 @@ def bank_transfer_migrate_account_with_http_info(bank_transfer_migrate_account_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1418,7 +1481,10 @@ def bank_transfer_sweep_get_with_http_info(bank_transfer_sweep_get_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1483,7 +1549,10 @@ def bank_transfer_sweep_list_with_http_info(bank_transfer_sweep_list_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1548,7 +1617,10 @@ def categories_get_with_http_info(body, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1613,7 +1685,10 @@ def create_payment_token_with_http_info(payment_initiation_payment_token_create_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1678,7 +1753,10 @@ def credit_asset_report_freddie_mac_get_with_http_info(request_body, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1743,7 +1821,10 @@ def credit_audit_copy_token_create_with_http_info(credit_audit_copy_token_create # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1808,7 +1889,10 @@ def credit_audit_copy_token_update_with_http_info(credit_audit_copy_token_update # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1873,7 +1957,10 @@ def credit_bank_employment_get_with_http_info(credit_bank_employment_get_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -1938,7 +2025,10 @@ def credit_bank_income_get_with_http_info(credit_bank_income_get_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2003,7 +2093,10 @@ def credit_bank_income_pdf_get_with_http_info(credit_bank_income_pdf_get_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/pdf']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2068,7 +2161,10 @@ def credit_bank_income_refresh_with_http_info(credit_bank_income_refresh_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2133,7 +2229,10 @@ def credit_bank_income_webhook_update_with_http_info(credit_bank_income_webhook_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2198,7 +2297,10 @@ def credit_bank_statements_uploads_get_with_http_info(credit_bank_statements_upl # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2263,7 +2365,10 @@ def credit_employment_get_with_http_info(credit_employment_get_request, opts = { # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2328,7 +2433,10 @@ def credit_freddie_mac_reports_get_with_http_info(credit_freddie_mac_reports_get # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2393,7 +2501,10 @@ def credit_payroll_income_get_with_http_info(credit_payroll_income_get_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2458,7 +2569,10 @@ def credit_payroll_income_precheck_with_http_info(credit_payroll_income_precheck # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2523,7 +2637,10 @@ def credit_payroll_income_refresh_with_http_info(credit_payroll_income_refresh_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2588,7 +2705,10 @@ def credit_payroll_income_risk_signals_get_with_http_info(credit_payroll_income_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2653,7 +2773,10 @@ def credit_relay_create_with_http_info(credit_relay_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2718,7 +2841,10 @@ def credit_relay_get_with_http_info(credit_relay_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2783,7 +2909,10 @@ def credit_relay_refresh_with_http_info(credit_relay_refresh_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2848,7 +2977,10 @@ def credit_relay_remove_with_http_info(credit_relay_remove_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2913,7 +3045,10 @@ def credit_report_audit_copy_remove_with_http_info(credit_audit_copy_token_remov # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -2978,7 +3113,10 @@ def credit_sessions_get_with_http_info(credit_sessions_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3043,7 +3181,10 @@ def dashboard_user_get_with_http_info(dashboard_user_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3108,7 +3249,10 @@ def dashboard_user_list_with_http_info(dashboard_user_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3173,7 +3317,10 @@ def deposit_switch_alt_create_with_http_info(deposit_switch_alt_create_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3238,7 +3385,10 @@ def deposit_switch_create_with_http_info(deposit_switch_create_request, opts = { # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3303,7 +3453,10 @@ def deposit_switch_get_with_http_info(deposit_switch_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3368,7 +3521,10 @@ def deposit_switch_token_create_with_http_info(deposit_switch_token_create_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3433,7 +3589,10 @@ def employers_search_with_http_info(employers_search_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3498,7 +3657,10 @@ def employment_verification_get_with_http_info(employment_verification_get_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3563,7 +3725,10 @@ def fdx_notifications_with_http_info(fdx_notification, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3628,7 +3793,10 @@ def identity_get_with_http_info(identity_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3693,7 +3861,10 @@ def identity_match_with_http_info(identity_match_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3758,7 +3929,10 @@ def identity_refresh_with_http_info(identity_refresh_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3823,7 +3997,10 @@ def identity_verification_create_with_http_info(identity_verification_create_req # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3888,7 +4065,10 @@ def identity_verification_get_with_http_info(identity_verification_get_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -3953,7 +4133,10 @@ def identity_verification_list_with_http_info(identity_verification_list_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4018,7 +4201,10 @@ def identity_verification_retry_with_http_info(identity_verification_retry_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4083,7 +4269,10 @@ def income_verification_create_with_http_info(income_verification_create_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4148,7 +4337,10 @@ def income_verification_documents_download_with_http_info(income_verification_do # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/zip']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4213,7 +4405,10 @@ def income_verification_paystubs_get_with_http_info(income_verification_paystubs # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4278,7 +4473,10 @@ def income_verification_precheck_with_http_info(income_verification_precheck_req # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4343,7 +4541,10 @@ def income_verification_taxforms_get_with_http_info(income_verification_taxforms # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4408,7 +4609,10 @@ def institutions_get_with_http_info(institutions_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4473,7 +4677,10 @@ def institutions_get_by_id_with_http_info(institutions_get_by_id_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4538,7 +4745,10 @@ def institutions_search_with_http_info(institutions_search_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4603,7 +4813,10 @@ def investments_auth_get_with_http_info(investments_auth_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4668,7 +4881,10 @@ def investments_holdings_get_with_http_info(investments_holdings_get_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4733,7 +4949,10 @@ def investments_refresh_with_http_info(investments_refresh_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4765,7 +4984,7 @@ def investments_refresh_with_http_info(investments_refresh_request, opts = {}) end # Get investment transactions - # The `/investments/transactions/get` endpoint allows developers to retrieve up to 24 months of user-authorized transaction data for investment accounts. Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift. Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the `total_investment_transactions` response body field to fetch all available investment transactions. Note that Investments does not have a webhook to indicate when initial transaction data has loaded. Instead, if transactions data is not ready when `/investments/transactions/get` is first called, Plaid will wait for the data. For this reason, calling `/investments/transactions/get` immediately after Link may take up to one to two minutes to return. + # The `/investments/transactions/get` endpoint allows developers to retrieve up to 24 months of user-authorized transaction data for investment accounts. Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift. Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the `total_investment_transactions` response body field to fetch all available investment transactions. Note that Investments does not have a webhook to indicate when initial transaction data has loaded (unless you use the `async_update` option). Instead, if transactions data is not ready when `/investments/transactions/get` is first called, Plaid will wait for the data. For this reason, calling `/investments/transactions/get` immediately after Link may take up to one to two minutes to return. Data returned by the asynchronous investments extraction flow (when `async_update` is set to true) may not be immediately available to `/investments/transactions/get`. To be alerted when the data is ready to be fetched, listen for the `HISTORICAL_UPDATE` webhook. If no investments history is ready when `/investments/transactions/get` is called, it will return a `PRODUCT_NOT_READY` error. # @param investments_transactions_get_request [InvestmentsTransactionsGetRequest] # @param [Hash] opts the optional parameters # @return [InvestmentsTransactionsGetResponse] @@ -4775,7 +4994,7 @@ def investments_transactions_get(investments_transactions_get_request, opts = {} end # Get investment transactions - # The `/investments/transactions/get` endpoint allows developers to retrieve up to 24 months of user-authorized transaction data for investment accounts. Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift. Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the `total_investment_transactions` response body field to fetch all available investment transactions. Note that Investments does not have a webhook to indicate when initial transaction data has loaded. Instead, if transactions data is not ready when `/investments/transactions/get` is first called, Plaid will wait for the data. For this reason, calling `/investments/transactions/get` immediately after Link may take up to one to two minutes to return. + # The `/investments/transactions/get` endpoint allows developers to retrieve up to 24 months of user-authorized transaction data for investment accounts. Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift. Due to the potentially large number of investment transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the `total_investment_transactions` response body field to fetch all available investment transactions. Note that Investments does not have a webhook to indicate when initial transaction data has loaded (unless you use the `async_update` option). Instead, if transactions data is not ready when `/investments/transactions/get` is first called, Plaid will wait for the data. For this reason, calling `/investments/transactions/get` immediately after Link may take up to one to two minutes to return. Data returned by the asynchronous investments extraction flow (when `async_update` is set to true) may not be immediately available to `/investments/transactions/get`. To be alerted when the data is ready to be fetched, listen for the `HISTORICAL_UPDATE` webhook. If no investments history is ready when `/investments/transactions/get` is called, it will return a `PRODUCT_NOT_READY` error. # @param investments_transactions_get_request [InvestmentsTransactionsGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(InvestmentsTransactionsGetResponse, Integer, Hash)>] InvestmentsTransactionsGetResponse data, response status code and response headers @@ -4798,7 +5017,10 @@ def investments_transactions_get_with_http_info(investments_transactions_get_req # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4863,7 +5085,10 @@ def item_access_token_invalidate_with_http_info(item_access_token_invalidate_req # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4928,7 +5153,10 @@ def item_activity_list_with_http_info(item_activity_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -4993,7 +5221,10 @@ def item_application_list_with_http_info(item_application_list_request, opts = { # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5058,7 +5289,10 @@ def item_application_scopes_update_with_http_info(item_application_scopes_update # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5123,7 +5357,10 @@ def item_create_public_token_with_http_info(item_public_token_create_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5188,7 +5425,10 @@ def item_get_with_http_info(item_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5253,7 +5493,10 @@ def item_import_with_http_info(item_import_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5318,7 +5561,10 @@ def item_public_token_exchange_with_http_info(item_public_token_exchange_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5383,7 +5629,10 @@ def item_remove_with_http_info(item_remove_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5448,7 +5697,10 @@ def item_webhook_update_with_http_info(item_webhook_update_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5513,7 +5765,10 @@ def liabilities_get_with_http_info(liabilities_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5578,7 +5833,10 @@ def link_delivery_create_with_http_info(link_delivery_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5643,7 +5901,10 @@ def link_delivery_get_with_http_info(link_delivery_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5708,7 +5969,10 @@ def link_oauth_correlation_id_exchange_with_http_info(link_o_auth_correlation_id # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5773,7 +6037,10 @@ def link_token_create_with_http_info(link_token_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5838,7 +6105,10 @@ def link_token_get_with_http_info(link_token_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5903,7 +6173,10 @@ def partner_customer_create_with_http_info(partner_customer_create_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -5968,7 +6241,10 @@ def partner_customer_enable_with_http_info(partner_customer_enable_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6033,7 +6309,10 @@ def partner_customer_get_with_http_info(partner_customer_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6098,7 +6377,10 @@ def partner_customer_oauth_institutions_get_with_http_info(partner_customer_o_au # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6163,7 +6445,10 @@ def partner_customer_remove_with_http_info(partner_customer_remove_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6228,7 +6513,10 @@ def payment_initiation_consent_create_with_http_info(payment_initiation_consent_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6293,7 +6581,10 @@ def payment_initiation_consent_get_with_http_info(payment_initiation_consent_get # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6358,7 +6649,10 @@ def payment_initiation_consent_payment_execute_with_http_info(payment_initiation # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6423,7 +6717,10 @@ def payment_initiation_consent_revoke_with_http_info(payment_initiation_consent_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6488,7 +6785,10 @@ def payment_initiation_payment_create_with_http_info(payment_initiation_payment_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6553,7 +6853,10 @@ def payment_initiation_payment_get_with_http_info(payment_initiation_payment_get # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6618,7 +6921,10 @@ def payment_initiation_payment_list_with_http_info(payment_initiation_payment_li # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6683,7 +6989,10 @@ def payment_initiation_payment_reverse_with_http_info(payment_initiation_payment # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6748,7 +7057,10 @@ def payment_initiation_recipient_create_with_http_info(payment_initiation_recipi # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6813,7 +7125,10 @@ def payment_initiation_recipient_get_with_http_info(payment_initiation_recipient # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6878,7 +7193,10 @@ def payment_initiation_recipient_list_with_http_info(payment_initiation_recipien # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -6943,7 +7261,10 @@ def payment_profile_create_with_http_info(payment_profile_create_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7008,7 +7329,10 @@ def payment_profile_get_with_http_info(payment_profile_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7073,7 +7397,10 @@ def payment_profile_remove_with_http_info(payment_profile_remove_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7138,7 +7465,10 @@ def processor_apex_processor_token_create_with_http_info(processor_apex_processo # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7203,7 +7533,10 @@ def processor_auth_get_with_http_info(processor_auth_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7268,7 +7601,10 @@ def processor_balance_get_with_http_info(processor_balance_get_request, opts = { # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7333,7 +7669,10 @@ def processor_bank_transfer_create_with_http_info(processor_bank_transfer_create # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7398,7 +7737,10 @@ def processor_identity_get_with_http_info(processor_identity_get_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7463,7 +7805,10 @@ def processor_identity_match_with_http_info(processor_identity_match_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7528,7 +7873,10 @@ def processor_signal_decision_report_with_http_info(processor_signal_decision_re # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7593,7 +7941,10 @@ def processor_signal_evaluate_with_http_info(processor_signal_evaluate_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7658,7 +8009,10 @@ def processor_signal_return_report_with_http_info(processor_signal_return_report # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7723,7 +8077,10 @@ def processor_stripe_bank_account_token_create_with_http_info(processor_stripe_b # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7788,7 +8145,10 @@ def processor_token_create_with_http_info(processor_token_create_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7853,7 +8213,10 @@ def processor_token_permissions_get_with_http_info(processor_token_permissions_g # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7918,7 +8281,10 @@ def processor_token_permissions_set_with_http_info(processor_token_permissions_s # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -7983,7 +8349,10 @@ def processor_transactions_get_with_http_info(processor_transactions_get_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8048,7 +8417,10 @@ def processor_transactions_recurring_get_with_http_info(processor_transactions_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8113,7 +8485,10 @@ def processor_transactions_refresh_with_http_info(processor_transactions_refresh # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8178,7 +8553,10 @@ def processor_transactions_sync_with_http_info(processor_transactions_sync_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8243,7 +8621,10 @@ def sandbox_bank_income_fire_webhook_with_http_info(sandbox_bank_income_fire_web # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8308,7 +8689,10 @@ def sandbox_bank_transfer_fire_webhook_with_http_info(sandbox_bank_transfer_fire # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8373,7 +8757,10 @@ def sandbox_bank_transfer_simulate_with_http_info(sandbox_bank_transfer_simulate # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8438,7 +8825,10 @@ def sandbox_income_fire_webhook_with_http_info(sandbox_income_fire_webhook_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8503,7 +8893,10 @@ def sandbox_item_fire_webhook_with_http_info(sandbox_item_fire_webhook_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8568,7 +8961,10 @@ def sandbox_item_reset_login_with_http_info(sandbox_item_reset_login_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8633,7 +9029,10 @@ def sandbox_item_set_verification_status_with_http_info(sandbox_item_set_verific # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8698,7 +9097,10 @@ def sandbox_oauth_select_accounts_with_http_info(sandbox_oauth_select_accounts_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8763,7 +9165,10 @@ def sandbox_payment_profile_reset_login_with_http_info(sandbox_payment_profile_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8828,7 +9233,10 @@ def sandbox_processor_token_create_with_http_info(sandbox_processor_token_create # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8893,7 +9301,10 @@ def sandbox_public_token_create_with_http_info(sandbox_public_token_create_reque # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -8958,7 +9369,10 @@ def sandbox_transfer_fire_webhook_with_http_info(sandbox_transfer_fire_webhook_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9023,7 +9437,10 @@ def sandbox_transfer_repayment_simulate_with_http_info(sandbox_transfer_repaymen # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9088,7 +9505,10 @@ def sandbox_transfer_simulate_with_http_info(sandbox_transfer_simulate_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9153,7 +9573,10 @@ def sandbox_transfer_sweep_simulate_with_http_info(sandbox_transfer_sweep_simula # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9218,7 +9641,10 @@ def sandbox_transfer_test_clock_advance_with_http_info(sandbox_transfer_test_clo # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9283,7 +9709,10 @@ def sandbox_transfer_test_clock_create_with_http_info(sandbox_transfer_test_cloc # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9348,7 +9777,10 @@ def sandbox_transfer_test_clock_get_with_http_info(sandbox_transfer_test_clock_g # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9413,7 +9845,10 @@ def sandbox_transfer_test_clock_list_with_http_info(sandbox_transfer_test_clock_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9478,7 +9913,10 @@ def signal_decision_report_with_http_info(signal_decision_report_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9543,7 +9981,10 @@ def signal_evaluate_with_http_info(signal_evaluate_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9608,7 +10049,10 @@ def signal_prepare_with_http_info(signal_prepare_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9673,7 +10117,10 @@ def signal_return_report_with_http_info(signal_return_report_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9738,7 +10185,10 @@ def transactions_enhance_with_http_info(transactions_enhance_get_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9803,7 +10253,10 @@ def transactions_enrich_with_http_info(transactions_enrich_get_request, opts = { # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9868,7 +10321,10 @@ def transactions_get_with_http_info(transactions_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9933,7 +10389,10 @@ def transactions_recurring_get_with_http_info(transactions_recurring_get_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -9998,7 +10457,10 @@ def transactions_refresh_with_http_info(transactions_refresh_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10063,7 +10525,10 @@ def transactions_rules_create_with_http_info(transactions_rules_create_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10128,7 +10593,10 @@ def transactions_rules_list_with_http_info(transactions_rules_list_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10193,7 +10661,10 @@ def transactions_rules_remove_with_http_info(transactions_rules_remove_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10258,7 +10729,10 @@ def transactions_sync_with_http_info(transactions_sync_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10323,7 +10797,10 @@ def transfer_authorization_create_with_http_info(transfer_authorization_create_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10388,7 +10865,10 @@ def transfer_balance_get_with_http_info(transfer_balance_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10453,7 +10933,10 @@ def transfer_cancel_with_http_info(transfer_cancel_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10518,7 +11001,10 @@ def transfer_capabilities_get_with_http_info(transfer_capabilities_get_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10583,7 +11069,10 @@ def transfer_configuration_get_with_http_info(transfer_configuration_get_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10648,7 +11137,10 @@ def transfer_create_with_http_info(transfer_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10713,7 +11205,10 @@ def transfer_diligence_document_upload_with_http_info(transfer_diligence_documen # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10778,7 +11273,10 @@ def transfer_diligence_submit_with_http_info(transfer_diligence_submit_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10843,7 +11341,10 @@ def transfer_event_list_with_http_info(transfer_event_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10908,7 +11409,10 @@ def transfer_event_sync_with_http_info(transfer_event_sync_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -10973,7 +11477,10 @@ def transfer_get_with_http_info(transfer_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11038,7 +11545,10 @@ def transfer_intent_create_with_http_info(transfer_intent_create_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11103,7 +11613,10 @@ def transfer_intent_get_with_http_info(request_body, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11168,7 +11681,10 @@ def transfer_list_with_http_info(transfer_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11233,7 +11749,10 @@ def transfer_metrics_get_with_http_info(transfer_metrics_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11298,7 +11817,10 @@ def transfer_migrate_account_with_http_info(transfer_migrate_account_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11363,7 +11885,10 @@ def transfer_originator_create_with_http_info(transfer_originator_create_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11428,7 +11953,10 @@ def transfer_originator_get_with_http_info(transfer_originator_get_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'examples']) + content_type = @api_client.select_header_content_type(['application/json', 'examples']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11493,7 +12021,10 @@ def transfer_originator_list_with_http_info(transfer_originator_list_request, op # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11558,7 +12089,10 @@ def transfer_questionnaire_create_with_http_info(transfer_questionnaire_create_r # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11623,7 +12157,10 @@ def transfer_recurring_cancel_with_http_info(transfer_recurring_cancel_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11688,7 +12225,10 @@ def transfer_recurring_create_with_http_info(transfer_recurring_create_request, # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11753,7 +12293,10 @@ def transfer_recurring_get_with_http_info(transfer_recurring_get_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11818,7 +12361,10 @@ def transfer_recurring_list_with_http_info(transfer_recurring_list_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11883,7 +12429,10 @@ def transfer_refund_cancel_with_http_info(transfer_refund_cancel_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -11948,7 +12497,10 @@ def transfer_refund_create_with_http_info(transfer_refund_create_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12013,7 +12565,10 @@ def transfer_refund_get_with_http_info(transfer_refund_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12078,7 +12633,10 @@ def transfer_repayment_list_with_http_info(transfer_repayment_list_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12143,7 +12701,10 @@ def transfer_repayment_return_list_with_http_info(transfer_repayment_return_list # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12208,7 +12769,10 @@ def transfer_sweep_get_with_http_info(transfer_sweep_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12273,7 +12837,10 @@ def transfer_sweep_list_with_http_info(transfer_sweep_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12338,7 +12905,10 @@ def user_create_with_http_info(user_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12403,7 +12973,10 @@ def wallet_create_with_http_info(wallet_create_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12468,7 +13041,10 @@ def wallet_get_with_http_info(wallet_get_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12533,7 +13109,10 @@ def wallet_list_with_http_info(wallet_list_request, opts = {}) # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12598,7 +13177,10 @@ def wallet_transaction_execute_with_http_info(wallet_transaction_execute_request # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12663,7 +13245,10 @@ def wallet_transaction_get_with_http_info(wallet_transaction_get_request, opts = # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12728,7 +13313,10 @@ def wallet_transaction_list_with_http_info(wallet_transaction_list_request, opts # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12793,7 +13381,10 @@ def watchlist_screening_entity_create_with_http_info(watchlist_screening_entity_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12858,7 +13449,10 @@ def watchlist_screening_entity_get_with_http_info(watchlist_screening_entity_get # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12923,7 +13517,10 @@ def watchlist_screening_entity_history_list_with_http_info(watchlist_screening_e # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -12988,7 +13585,10 @@ def watchlist_screening_entity_hit_list_with_http_info(watchlist_screening_entit # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13053,7 +13653,10 @@ def watchlist_screening_entity_list_with_http_info(watchlist_screening_entity_li # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13118,7 +13721,10 @@ def watchlist_screening_entity_program_get_with_http_info(watchlist_screening_en # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13183,7 +13789,10 @@ def watchlist_screening_entity_program_list_with_http_info(watchlist_screening_e # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13248,7 +13857,10 @@ def watchlist_screening_entity_review_create_with_http_info(watchlist_screening_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13313,7 +13925,10 @@ def watchlist_screening_entity_review_list_with_http_info(watchlist_screening_en # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13378,7 +13993,10 @@ def watchlist_screening_entity_update_with_http_info(watchlist_screening_entity_ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13443,7 +14061,10 @@ def watchlist_screening_individual_create_with_http_info(watchlist_screening_ind # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13508,7 +14129,10 @@ def watchlist_screening_individual_get_with_http_info(watchlist_screening_indivi # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13573,7 +14197,10 @@ def watchlist_screening_individual_history_list_with_http_info(watchlist_screeni # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13638,7 +14265,10 @@ def watchlist_screening_individual_hit_list_with_http_info(watchlist_screening_i # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13703,7 +14333,10 @@ def watchlist_screening_individual_list_with_http_info(watchlist_screening_indiv # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13768,7 +14401,10 @@ def watchlist_screening_individual_program_get_with_http_info(watchlist_screenin # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13833,7 +14469,10 @@ def watchlist_screening_individual_program_list_with_http_info(watchlist_screeni # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13898,7 +14537,10 @@ def watchlist_screening_individual_review_create_with_http_info(watchlist_screen # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -13963,7 +14605,10 @@ def watchlist_screening_individual_review_list_with_http_info(watchlist_screenin # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -14028,7 +14673,10 @@ def watchlist_screening_individual_update_with_http_info(watchlist_screening_ind # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} @@ -14093,7 +14741,10 @@ def webhook_verification_key_get_with_http_info(webhook_verification_key_get_req # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 3b8723dda..78eaaf0f8 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -1,12 +1,16 @@ +# Modified by Plaid +# Due to separate implementations of Faraday 2 and Faraday options support this file has extensive +# Diffs from the equivalent OpenAPI-generator template file + =begin #The Plaid API #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -34,7 +38,7 @@ class ApiClient # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v20.0.0" + @user_agent = "Plaid Ruby v21.0.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, @@ -52,6 +56,9 @@ def self.default @@default ||= ApiClient.new end + # Modified by Plaid + # Due to separate implementations of Faraday 2 and Faraday options support this file has extensive + # Diffs from the equivalent OpenAPI-generator template file # Call an API with given options. # # @return [Array<(Object, Integer, Hash)>] an array of 3 elements: @@ -162,7 +169,7 @@ def build_request_body(header_params, form_params, body) case value when ::File, ::Tempfile # TODO hardcode to application/octet-stream, need better way to detect content type - data[key] = Faraday::Multipart::Post::UploadIO.new(value.path, 'application/octet-stream', value.path) + data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path) when ::Array, nil # let Faraday handle Array and nil parameters data[key] = value diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index d1d96e78c..95d3f7665 100644 --- a/lib/plaid/api_error.rb +++ b/lib/plaid/api_error.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index 1bad6bc85..a56fe1162 100644 --- a/lib/plaid/configuration.rb +++ b/lib/plaid/configuration.rb @@ -1,12 +1,16 @@ +# Modified by Plaid +# Due to separate implementations of Faraday 2 and Faraday options support this file has extensive +# Diffs from the equivalent OpenAPI-generator template file + =begin #The Plaid API #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -95,6 +99,12 @@ class Configuration # @return [true, false] attr_accessor :client_side_validation + # This file is not modified by Plaid + # In version 6.0 of Openapi generator, this file was renamed to configuration_faraday_partial.mustache + # Our template files do not incorporate the PR (https://github.com/OpenAPITools/openapi-generator/pull/9839) + # That made this change + + ### TLS/SSL setting # Set this to false to skip verifying SSL certificate when calling API from https server. # Default to true. diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index 3d11bc91e..a5269257e 100644 --- a/lib/plaid/models/account_access.rb +++ b/lib/plaid/models/account_access.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -137,6 +137,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index 239c4ede8..2df2eb09d 100644 --- a/lib/plaid/models/account_assets.rb +++ b/lib/plaid/models/account_assets.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -327,6 +327,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_assets_all_of.rb b/lib/plaid/models/account_assets_all_of.rb index e500fc5c4..04ee5a25d 100644 --- a/lib/plaid/models/account_assets_all_of.rb +++ b/lib/plaid/models/account_assets_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index 7a4b01362..dd6b3c145 100644 --- a/lib/plaid/models/account_balance.rb +++ b/lib/plaid/models/account_balance.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -165,6 +165,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index bf073c06b..8337660d9 100644 --- a/lib/plaid/models/account_base.rb +++ b/lib/plaid/models/account_base.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -243,6 +243,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index e69506f3a..30c9aea56 100644 --- a/lib/plaid/models/account_filter.rb +++ b/lib/plaid/models/account_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -147,6 +147,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index 42ce4cdd1..97e1cd076 100644 --- a/lib/plaid/models/account_filters_response.rb +++ b/lib/plaid/models/account_filters_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index 422a98325..71e5d657f 100644 --- a/lib/plaid/models/account_identity.rb +++ b/lib/plaid/models/account_identity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -268,6 +268,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 71c12e497..4c9b8e0e0 100644 --- a/lib/plaid/models/account_identity_all_of.rb +++ b/lib/plaid/models/account_identity_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_identity_match_score.rb b/lib/plaid/models/account_identity_match_score.rb index 3798a38ea..cb6d16511 100644 --- a/lib/plaid/models/account_identity_match_score.rb +++ b/lib/plaid/models/account_identity_match_score.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -291,6 +291,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_identity_match_score_all_of.rb b/lib/plaid/models/account_identity_match_score_all_of.rb index 8473a3a7b..54fc74cb1 100644 --- a/lib/plaid/models/account_identity_match_score_all_of.rb +++ b/lib/plaid/models/account_identity_match_score_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index 4b0f71c5e..1ccc4d057 100644 --- a/lib/plaid/models/account_product_access.rb +++ b/lib/plaid/models/account_product_access.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index d9e326af2..781e2fd8b 100644 --- a/lib/plaid/models/account_product_access_nullable.rb +++ b/lib/plaid/models/account_product_access_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index af37f1376..b812c2e0d 100644 --- a/lib/plaid/models/account_selection_cardinality.rb +++ b/lib/plaid/models/account_selection_cardinality.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 858ac8f3b..410cad107 100644 --- a/lib/plaid/models/account_subtype.rb +++ b/lib/plaid/models/account_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index ce295a2b3..d3e21311e 100644 --- a/lib/plaid/models/account_type.rb +++ b/lib/plaid/models/account_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index 33a8b3b62..76da1def2 100644 --- a/lib/plaid/models/accounts_balance_get_request.rb +++ b/lib/plaid/models/accounts_balance_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index 89fd3f6a7..b7a18e058 100644 --- a/lib/plaid/models/accounts_balance_get_request_options.rb +++ b/lib/plaid/models/accounts_balance_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index 11d695ff3..b56417ca1 100644 --- a/lib/plaid/models/accounts_get_request.rb +++ b/lib/plaid/models/accounts_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index 2f35337b0..567bb9b9a 100644 --- a/lib/plaid/models/accounts_get_request_options.rb +++ b/lib/plaid/models/accounts_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index 6d9c99856..c153ac6a6 100644 --- a/lib/plaid/models/accounts_get_response.rb +++ b/lib/plaid/models/accounts_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index eb0e36954..98e219c82 100644 --- a/lib/plaid/models/ach_class.rb +++ b/lib/plaid/models/ach_class.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/action_state.rb b/lib/plaid/models/action_state.rb index d717c6d61..4feb7e2b0 100644 --- a/lib/plaid/models/action_state.rb +++ b/lib/plaid/models/action_state.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/activity.rb b/lib/plaid/models/activity.rb index ec3a49f98..3afdb1ac1 100644 --- a/lib/plaid/models/activity.rb +++ b/lib/plaid/models/activity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -192,6 +192,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/activity_type.rb b/lib/plaid/models/activity_type.rb index 1aff265f1..93f79990e 100644 --- a/lib/plaid/models/activity_type.rb +++ b/lib/plaid/models/activity_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index 6bc5061d4..171e869c1 100644 --- a/lib/plaid/models/address.rb +++ b/lib/plaid/models/address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -123,6 +123,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index 376960a85..2e41fb76a 100644 --- a/lib/plaid/models/address_data.rb +++ b/lib/plaid/models/address_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index e07f4d7d2..01f6ccba7 100644 --- a/lib/plaid/models/address_data_nullable.rb +++ b/lib/plaid/models/address_data_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -165,6 +165,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/address_match_score.rb b/lib/plaid/models/address_match_score.rb index deccdf61c..72aab6583 100644 --- a/lib/plaid/models/address_match_score.rb +++ b/lib/plaid/models/address_match_score.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index 064415cbb..ef62b63af 100644 --- a/lib/plaid/models/address_nullable.rb +++ b/lib/plaid/models/address_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/address_purpose_label.rb b/lib/plaid/models/address_purpose_label.rb index c50ed735d..48e7d31cf 100644 --- a/lib/plaid/models/address_purpose_label.rb +++ b/lib/plaid/models/address_purpose_label.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index 2c7fe05df..5bb75ce19 100644 --- a/lib/plaid/models/application.rb +++ b/lib/plaid/models/application.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -254,6 +254,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index 8cafa43e0..25fdd1045 100644 --- a/lib/plaid/models/application_get_request.rb +++ b/lib/plaid/models/application_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index de91c5d26..e6ba0d8af 100644 --- a/lib/plaid/models/application_get_response.rb +++ b/lib/plaid/models/application_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index a772e58ee..3e172ea08 100644 --- a/lib/plaid/models/apr.rb +++ b/lib/plaid/models/apr.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset.rb b/lib/plaid/models/asset.rb index 088f3b7e9..47e5ec54b 100644 --- a/lib/plaid/models/asset.rb +++ b/lib/plaid/models/asset.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -169,6 +169,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_detail.rb b/lib/plaid/models/asset_detail.rb index 4b49612f2..888fddf02 100644 --- a/lib/plaid/models/asset_detail.rb +++ b/lib/plaid/models/asset_detail.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -236,6 +236,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_holder.rb b/lib/plaid/models/asset_holder.rb index 199ff2781..88997edac 100644 --- a/lib/plaid/models/asset_holder.rb +++ b/lib/plaid/models/asset_holder.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_holder_name.rb b/lib/plaid/models/asset_holder_name.rb index 4b1b7b31e..bf024f9c8 100644 --- a/lib/plaid/models/asset_holder_name.rb +++ b/lib/plaid/models/asset_holder_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_owner.rb b/lib/plaid/models/asset_owner.rb index eae900bf7..ad8ba46ce 100644 --- a/lib/plaid/models/asset_owner.rb +++ b/lib/plaid/models/asset_owner.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_owners.rb b/lib/plaid/models/asset_owners.rb index c2f801495..9b4a455b8 100644 --- a/lib/plaid/models/asset_owners.rb +++ b/lib/plaid/models/asset_owners.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index fd3e82710..fa0aaa567 100644 --- a/lib/plaid/models/asset_report.rb +++ b/lib/plaid/models/asset_report.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -186,6 +186,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_add_ons.rb b/lib/plaid/models/asset_report_add_ons.rb index 80d1098bd..42a9800c3 100644 --- a/lib/plaid/models/asset_report_add_ons.rb +++ b/lib/plaid/models/asset_report_add_ons.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/asset_report_audit_copy_create_request.rb b/lib/plaid/models/asset_report_audit_copy_create_request.rb index ea5dea156..781d03907 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_audit_copy_create_response.rb b/lib/plaid/models/asset_report_audit_copy_create_response.rb index d95d642a4..2653ecd74 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_audit_copy_get_request.rb b/lib/plaid/models/asset_report_audit_copy_get_request.rb index 1f366f5dc..6afd70072 100644 --- a/lib/plaid/models/asset_report_audit_copy_get_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_audit_copy_remove_request.rb b/lib/plaid/models/asset_report_audit_copy_remove_request.rb index 4bcfa3e95..396c2e0b8 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_audit_copy_remove_response.rb b/lib/plaid/models/asset_report_audit_copy_remove_response.rb index 38ec5f2ef..1db27b933 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index c7748a2d1..33f9dcc07 100644 --- a/lib/plaid/models/asset_report_create_request.rb +++ b/lib/plaid/models/asset_report_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -213,6 +213,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index bd699417a..a24f1c80d 100644 --- a/lib/plaid/models/asset_report_create_request_options.rb +++ b/lib/plaid/models/asset_report_create_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -165,6 +165,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index d73e3d439..affe5da95 100644 --- a/lib/plaid/models/asset_report_create_response.rb +++ b/lib/plaid/models/asset_report_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index ed55e93c0..847f70ad6 100644 --- a/lib/plaid/models/asset_report_filter_request.rb +++ b/lib/plaid/models/asset_report_filter_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 00622a444..1db6b8ab6 100644 --- a/lib/plaid/models/asset_report_filter_response.rb +++ b/lib/plaid/models/asset_report_filter_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_freddie.rb b/lib/plaid/models/asset_report_freddie.rb index 9a2a44c5d..0375afbe2 100644 --- a/lib/plaid/models/asset_report_freddie.rb +++ b/lib/plaid/models/asset_report_freddie.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_freddie_get_request.rb b/lib/plaid/models/asset_report_freddie_get_request.rb index 3c6c3c9e7..60b0a0f5b 100644 --- a/lib/plaid/models/asset_report_freddie_get_request.rb +++ b/lib/plaid/models/asset_report_freddie_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_freddie_get_response.rb b/lib/plaid/models/asset_report_freddie_get_response.rb index ca58a4a97..c1ea5e9a7 100644 --- a/lib/plaid/models/asset_report_freddie_get_response.rb +++ b/lib/plaid/models/asset_report_freddie_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 56052c950..72d56b06b 100644 --- a/lib/plaid/models/asset_report_get_request.rb +++ b/lib/plaid/models/asset_report_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,6 +25,9 @@ class AssetReportGetRequest # A token that can be provided to endpoints such as `/asset_report/get` or `/asset_report/pdf/get` to fetch or update an Asset Report. attr_accessor :asset_report_token + # The user token associated with the User for which to create an asset report for. The latest asset report associated with the User will be returned + attr_accessor :user_token + # `true` if you would like to retrieve the Asset Report with Insights, `false` otherwise. This field defaults to `false` if omitted. attr_accessor :include_insights @@ -39,6 +42,7 @@ def self.attribute_map :'client_id' => :'client_id', :'secret' => :'secret', :'asset_report_token' => :'asset_report_token', + :'user_token' => :'user_token', :'include_insights' => :'include_insights', :'fast_report' => :'fast_report', :'options' => :'options' @@ -56,6 +60,7 @@ def self.openapi_types :'client_id' => :'String', :'secret' => :'String', :'asset_report_token' => :'String', + :'user_token' => :'String', :'include_insights' => :'Boolean', :'fast_report' => :'Boolean', :'options' => :'AssetReportGetRequestOptions' @@ -95,6 +100,10 @@ def initialize(attributes = {}) self.asset_report_token = attributes[:'asset_report_token'] end + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + if attributes.key?(:'include_insights') self.include_insights = attributes[:'include_insights'] else @@ -116,17 +125,12 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @asset_report_token.nil? - invalid_properties.push('invalid value for "asset_report_token", asset_report_token cannot be nil.') - end - invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @asset_report_token.nil? true end @@ -138,6 +142,7 @@ def ==(o) client_id == o.client_id && secret == o.secret && asset_report_token == o.asset_report_token && + user_token == o.user_token && include_insights == o.include_insights && fast_report == o.fast_report && options == o.options @@ -152,7 +157,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, asset_report_token, include_insights, fast_report, options].hash + [client_id, secret, asset_report_token, user_token, include_insights, fast_report, options].hash end # Builds the object from hash @@ -167,6 +172,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_get_request_options.rb b/lib/plaid/models/asset_report_get_request_options.rb index 2d0391eb6..1d3d60858 100644 --- a/lib/plaid/models/asset_report_get_request_options.rb +++ b/lib/plaid/models/asset_report_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -136,6 +136,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index b60921c64..650ef336f 100644 --- a/lib/plaid/models/asset_report_get_response.rb +++ b/lib/plaid/models/asset_report_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index cb544fb41..70ceb2e9a 100644 --- a/lib/plaid/models/asset_report_item.rb +++ b/lib/plaid/models/asset_report_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index ede7666ad..b35429498 100644 --- a/lib/plaid/models/asset_report_pdf_get_request.rb +++ b/lib/plaid/models/asset_report_pdf_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_pdf_get_request_options.rb b/lib/plaid/models/asset_report_pdf_get_request_options.rb index 239cf2c8a..b5e8cccc8 100644 --- a/lib/plaid/models/asset_report_pdf_get_request_options.rb +++ b/lib/plaid/models/asset_report_pdf_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -136,6 +136,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index b5aad4bd0..66ca592b6 100644 --- a/lib/plaid/models/asset_report_refresh_request.rb +++ b/lib/plaid/models/asset_report_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index e9abfd207..479b2fe0f 100644 --- a/lib/plaid/models/asset_report_refresh_request_options.rb +++ b/lib/plaid/models/asset_report_refresh_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index 24a1ae74a..c4b898e81 100644 --- a/lib/plaid/models/asset_report_refresh_response.rb +++ b/lib/plaid/models/asset_report_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index a11c4a9ed..bf42c9d53 100644 --- a/lib/plaid/models/asset_report_remove_request.rb +++ b/lib/plaid/models/asset_report_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index 76e4d58d9..9359aa9c6 100644 --- a/lib/plaid/models/asset_report_remove_response.rb +++ b/lib/plaid/models/asset_report_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index 91ec751c2..cb461caf6 100644 --- a/lib/plaid/models/asset_report_transaction.rb +++ b/lib/plaid/models/asset_report_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -343,6 +343,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_report_transaction_type.rb b/lib/plaid/models/asset_report_transaction_type.rb index 0bedbdc8f..4229b9a7e 100644 --- a/lib/plaid/models/asset_report_transaction_type.rb +++ b/lib/plaid/models/asset_report_transaction_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index 2cf479101..23e4fa217 100644 --- a/lib/plaid/models/asset_report_user.rb +++ b/lib/plaid/models/asset_report_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_transaction.rb b/lib/plaid/models/asset_transaction.rb index dcfe251aa..ccc039088 100644 --- a/lib/plaid/models/asset_transaction.rb +++ b/lib/plaid/models/asset_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_transaction_category_type.rb b/lib/plaid/models/asset_transaction_category_type.rb index fe6af8c41..e4ab9956c 100644 --- a/lib/plaid/models/asset_transaction_category_type.rb +++ b/lib/plaid/models/asset_transaction_category_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/asset_transaction_description.rb b/lib/plaid/models/asset_transaction_description.rb index d8d7c2a96..4095b159e 100644 --- a/lib/plaid/models/asset_transaction_description.rb +++ b/lib/plaid/models/asset_transaction_description.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_transaction_detail.rb b/lib/plaid/models/asset_transaction_detail.rb index f1693f585..eac586d5a 100644 --- a/lib/plaid/models/asset_transaction_detail.rb +++ b/lib/plaid/models/asset_transaction_detail.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -216,6 +216,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_transaction_type.rb b/lib/plaid/models/asset_transaction_type.rb index 090008795..34f9b7789 100644 --- a/lib/plaid/models/asset_transaction_type.rb +++ b/lib/plaid/models/asset_transaction_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/asset_transactions.rb b/lib/plaid/models/asset_transactions.rb index 3753e6307..92a6d9828 100644 --- a/lib/plaid/models/asset_transactions.rb +++ b/lib/plaid/models/asset_transactions.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/asset_type.rb b/lib/plaid/models/asset_type.rb index 825bf9425..23577c291 100644 --- a/lib/plaid/models/asset_type.rb +++ b/lib/plaid/models/asset_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/assets.rb b/lib/plaid/models/assets.rb index 3a7895cd2..1788b490e 100644 --- a/lib/plaid/models/assets.rb +++ b/lib/plaid/models/assets.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index aed759b8d..1ce2798da 100644 --- a/lib/plaid/models/assets_error_webhook.rb +++ b/lib/plaid/models/assets_error_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index 80169def1..7bc9c733c 100644 --- a/lib/plaid/models/assets_product_ready_webhook.rb +++ b/lib/plaid/models/assets_product_ready_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 56f4b6d53..3c5cc36a9 100644 --- a/lib/plaid/models/auth_get_numbers.rb +++ b/lib/plaid/models/auth_get_numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -167,6 +167,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index e147de3be..e11776c3c 100644 --- a/lib/plaid/models/auth_get_request.rb +++ b/lib/plaid/models/auth_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index fe29b74f6..c3bf949b4 100644 --- a/lib/plaid/models/auth_get_request_options.rb +++ b/lib/plaid/models/auth_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index 6403de206..d35b05748 100644 --- a/lib/plaid/models/auth_get_response.rb +++ b/lib/plaid/models/auth_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index b32dd88f7..a951bd705 100644 --- a/lib/plaid/models/auth_metadata.rb +++ b/lib/plaid/models/auth_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index ab1bf1d0e..721d48439 100644 --- a/lib/plaid/models/auth_supported_methods.rb +++ b/lib/plaid/models/auth_supported_methods.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index d55badf4a..c1ae0d47d 100644 --- a/lib/plaid/models/automatically_verified_webhook.rb +++ b/lib/plaid/models/automatically_verified_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_income_refresh_complete_result.rb b/lib/plaid/models/bank_income_refresh_complete_result.rb index 7d3347ed4..9282a11ad 100644 --- a/lib/plaid/models/bank_income_refresh_complete_result.rb +++ b/lib/plaid/models/bank_income_refresh_complete_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_income_refresh_complete_webhook.rb b/lib/plaid/models/bank_income_refresh_complete_webhook.rb index 7524286ae..f179db68d 100644 --- a/lib/plaid/models/bank_income_refresh_complete_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_complete_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -172,6 +172,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_income_refresh_update_webhook.rb b/lib/plaid/models/bank_income_refresh_update_webhook.rb index 85acf47d2..560336eb9 100644 --- a/lib/plaid/models/bank_income_refresh_update_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index 3eb1adfee..fe0536349 100644 --- a/lib/plaid/models/bank_initiated_return_risk.rb +++ b/lib/plaid/models/bank_initiated_return_risk.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 81e5dbcba..2f6cddd46 100644 --- a/lib/plaid/models/bank_transfer.rb +++ b/lib/plaid/models/bank_transfer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -342,6 +342,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 3bc9def9d..41784a19d 100644 --- a/lib/plaid/models/bank_transfer_balance.rb +++ b/lib/plaid/models/bank_transfer_balance.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 666b83a53..541d138a1 100644 --- a/lib/plaid/models/bank_transfer_balance_get_request.rb +++ b/lib/plaid/models/bank_transfer_balance_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index d438630ac..630ee2729 100644 --- a/lib/plaid/models/bank_transfer_balance_get_response.rb +++ b/lib/plaid/models/bank_transfer_balance_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index c8df59bf8..3332af039 100644 --- a/lib/plaid/models/bank_transfer_cancel_request.rb +++ b/lib/plaid/models/bank_transfer_cancel_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index 5d81c22f2..907e25e98 100644 --- a/lib/plaid/models/bank_transfer_cancel_response.rb +++ b/lib/plaid/models/bank_transfer_cancel_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index a48e62cf5..0890ca56e 100644 --- a/lib/plaid/models/bank_transfer_create_request.rb +++ b/lib/plaid/models/bank_transfer_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -363,6 +363,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index 652330853..41dacd9db 100644 --- a/lib/plaid/models/bank_transfer_create_response.rb +++ b/lib/plaid/models/bank_transfer_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index 00c7fdf95..cae8c8139 100644 --- a/lib/plaid/models/bank_transfer_direction.rb +++ b/lib/plaid/models/bank_transfer_direction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index 917ef0b4f..434ddc477 100644 --- a/lib/plaid/models/bank_transfer_event.rb +++ b/lib/plaid/models/bank_transfer_event.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -269,6 +269,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb index d117c2f5d..04c44b5d2 100644 --- a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_event_list_direction.rb b/lib/plaid/models/bank_transfer_event_list_direction.rb index f68ce03bf..66ed68919 100644 --- a/lib/plaid/models/bank_transfer_event_list_direction.rb +++ b/lib/plaid/models/bank_transfer_event_list_direction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index 806bb74bd..815424167 100644 --- a/lib/plaid/models/bank_transfer_event_list_request.rb +++ b/lib/plaid/models/bank_transfer_event_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -275,6 +275,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index 436751a51..89a2f48d6 100644 --- a/lib/plaid/models/bank_transfer_event_list_response.rb +++ b/lib/plaid/models/bank_transfer_event_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index 1fdce2c3d..a1fc7b547 100644 --- a/lib/plaid/models/bank_transfer_event_sync_request.rb +++ b/lib/plaid/models/bank_transfer_event_sync_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -194,6 +194,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index 770f783ed..34249e6ac 100644 --- a/lib/plaid/models/bank_transfer_event_sync_response.rb +++ b/lib/plaid/models/bank_transfer_event_sync_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index b90c5ff20..265b54bdb 100644 --- a/lib/plaid/models/bank_transfer_event_type.rb +++ b/lib/plaid/models/bank_transfer_event_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 3dac2ebf2..22f482f22 100644 --- a/lib/plaid/models/bank_transfer_failure.rb +++ b/lib/plaid/models/bank_transfer_failure.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 59214952c..f2bcc10a2 100644 --- a/lib/plaid/models/bank_transfer_get_request.rb +++ b/lib/plaid/models/bank_transfer_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index 2d766c8b7..ed3bc2dd6 100644 --- a/lib/plaid/models/bank_transfer_get_response.rb +++ b/lib/plaid/models/bank_transfer_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index bfafae840..fb6dc5be3 100644 --- a/lib/plaid/models/bank_transfer_list_request.rb +++ b/lib/plaid/models/bank_transfer_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -229,6 +229,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 107f24b0d..1003a7583 100644 --- a/lib/plaid/models/bank_transfer_list_response.rb +++ b/lib/plaid/models/bank_transfer_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index d910ba39a..7c830a7cf 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_request.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index e41c84e75..3892bbcec 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_response.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index c66a9806a..cd955b1f9 100644 --- a/lib/plaid/models/bank_transfer_network.rb +++ b/lib/plaid/models/bank_transfer_network.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index 5880220fa..f6b6ee81a 100644 --- a/lib/plaid/models/bank_transfer_status.rb +++ b/lib/plaid/models/bank_transfer_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index 377dfe820..aa84f4f1a 100644 --- a/lib/plaid/models/bank_transfer_sweep.rb +++ b/lib/plaid/models/bank_transfer_sweep.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 74460eb7f..6afaa8f02 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index 2acaeecdb..db6bd95d2 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index 902eb6da7..4c28639a5 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index cd2b77e7a..d7ca3fbba 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index a622d2397..0875709fc 100644 --- a/lib/plaid/models/bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 06c937c82..112cbcb1b 100644 --- a/lib/plaid/models/bank_transfer_user.rb +++ b/lib/plaid/models/bank_transfer_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index 0fbec9ece..412ab4a5a 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb index ed607ae48..7a357be10 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 756a824cd..1cdf322d7 100644 --- a/lib/plaid/models/categories_get_response.rb +++ b/lib/plaid/models/categories_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index 033cb259e..c80a117dd 100644 --- a/lib/plaid/models/category.rb +++ b/lib/plaid/models/category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -146,6 +146,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index 115e0d971..5137872c1 100644 --- a/lib/plaid/models/cause.rb +++ b/lib/plaid/models/cause.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -74,7 +74,7 @@ def self.openapi_types :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', - :'causes' => :'Array', + :'causes' => :'Array', :'status' => :'Integer', :'documentation_url' => :'String', :'suggested_action' => :'String', @@ -231,6 +231,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index 66001a602..ed93c4c8b 100644 --- a/lib/plaid/models/cause_all_of.rb +++ b/lib/plaid/models/cause_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -108,6 +108,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/client_provided_enhanced_transaction.rb b/lib/plaid/models/client_provided_enhanced_transaction.rb index 0eaa45945..01579ee24 100644 --- a/lib/plaid/models/client_provided_enhanced_transaction.rb +++ b/lib/plaid/models/client_provided_enhanced_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/client_provided_enriched_transaction.rb b/lib/plaid/models/client_provided_enriched_transaction.rb index f3307339c..73046cf53 100644 --- a/lib/plaid/models/client_provided_enriched_transaction.rb +++ b/lib/plaid/models/client_provided_enriched_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -222,6 +222,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/client_provided_raw_transaction.rb b/lib/plaid/models/client_provided_raw_transaction.rb index cc9a4b6bf..e703e3666 100644 --- a/lib/plaid/models/client_provided_raw_transaction.rb +++ b/lib/plaid/models/client_provided_raw_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/client_provided_transaction.rb b/lib/plaid/models/client_provided_transaction.rb index 9fc630905..207ec2f10 100644 --- a/lib/plaid/models/client_provided_transaction.rb +++ b/lib/plaid/models/client_provided_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -242,6 +242,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/client_provided_transaction_location.rb b/lib/plaid/models/client_provided_transaction_location.rb index e976e69d7..a632b4f2d 100644 --- a/lib/plaid/models/client_provided_transaction_location.rb +++ b/lib/plaid/models/client_provided_transaction_location.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index e3b25674e..5983c992b 100644 --- a/lib/plaid/models/connected_application.rb +++ b/lib/plaid/models/connected_application.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/counterparty.rb b/lib/plaid/models/counterparty.rb index 6501c2eff..5c6b3e960 100644 --- a/lib/plaid/models/counterparty.rb +++ b/lib/plaid/models/counterparty.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -161,6 +161,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/counterparty_type.rb b/lib/plaid/models/counterparty_type.rb index 8e620ce20..0f0a6b888 100644 --- a/lib/plaid/models/counterparty_type.rb +++ b/lib/plaid/models/counterparty_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 648d8ec4b..32bc34b84 100644 --- a/lib/plaid/models/country_code.rb +++ b/lib/plaid/models/country_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit1099.rb b/lib/plaid/models/credit1099.rb index 830951b39..d26f79fa2 100644 --- a/lib/plaid/models/credit1099.rb +++ b/lib/plaid/models/credit1099.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -661,6 +661,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit1099_filer.rb b/lib/plaid/models/credit1099_filer.rb index eedb2b2d9..cf7a40302 100644 --- a/lib/plaid/models/credit1099_filer.rb +++ b/lib/plaid/models/credit1099_filer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit1099_payer.rb b/lib/plaid/models/credit1099_payer.rb index 10734c7da..6fd81a528 100644 --- a/lib/plaid/models/credit1099_payer.rb +++ b/lib/plaid/models/credit1099_payer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit1099_recipient.rb b/lib/plaid/models/credit1099_recipient.rb index 8fa94ae14..7b6da58f2 100644 --- a/lib/plaid/models/credit1099_recipient.rb +++ b/lib/plaid/models/credit1099_recipient.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_account_subtype.rb b/lib/plaid/models/credit_account_subtype.rb index 21cb325f0..0ce02f344 100644 --- a/lib/plaid/models/credit_account_subtype.rb +++ b/lib/plaid/models/credit_account_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_ach_class.rb b/lib/plaid/models/credit_ach_class.rb index 555e2f0f3..18d721f82 100644 --- a/lib/plaid/models/credit_ach_class.rb +++ b/lib/plaid/models/credit_ach_class.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_amount_with_currency.rb b/lib/plaid/models/credit_amount_with_currency.rb index d6808f09d..7aea345da 100644 --- a/lib/plaid/models/credit_amount_with_currency.rb +++ b/lib/plaid/models/credit_amount_with_currency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_create_request.rb b/lib/plaid/models/credit_audit_copy_token_create_request.rb index fc27d8bc8..0bcc412f5 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -136,6 +136,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_create_response.rb b/lib/plaid/models/credit_audit_copy_token_create_response.rb index dcdec81cb..b3ee4daa7 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_remove_request.rb b/lib/plaid/models/credit_audit_copy_token_remove_request.rb index 23680bce7..2feadb1a2 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_remove_response.rb b/lib/plaid/models/credit_audit_copy_token_remove_response.rb index 20b97d06c..c7f7dbef2 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_update_request.rb b/lib/plaid/models/credit_audit_copy_token_update_request.rb index 3662dfb34..426d3290b 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_audit_copy_token_update_response.rb b/lib/plaid/models/credit_audit_copy_token_update_response.rb index c1efd0012..e25f7cef7 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employer.rb b/lib/plaid/models/credit_bank_employer.rb index b1c3bdc91..b93afe86a 100644 --- a/lib/plaid/models/credit_bank_employer.rb +++ b/lib/plaid/models/credit_bank_employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment.rb b/lib/plaid/models/credit_bank_employment.rb index 7b6475f59..612b7e62c 100644 --- a/lib/plaid/models/credit_bank_employment.rb +++ b/lib/plaid/models/credit_bank_employment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_get_request.rb b/lib/plaid/models/credit_bank_employment_get_request.rb index be96cab30..c36850efd 100644 --- a/lib/plaid/models/credit_bank_employment_get_request.rb +++ b/lib/plaid/models/credit_bank_employment_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_get_response.rb b/lib/plaid/models/credit_bank_employment_get_response.rb index 015781456..822d63dcc 100644 --- a/lib/plaid/models/credit_bank_employment_get_response.rb +++ b/lib/plaid/models/credit_bank_employment_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_item.rb b/lib/plaid/models/credit_bank_employment_item.rb index c51547532..186f7beb4 100644 --- a/lib/plaid/models/credit_bank_employment_item.rb +++ b/lib/plaid/models/credit_bank_employment_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -193,6 +193,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_report.rb b/lib/plaid/models/credit_bank_employment_report.rb index 0d5edf11b..6a2991c96 100644 --- a/lib/plaid/models/credit_bank_employment_report.rb +++ b/lib/plaid/models/credit_bank_employment_report.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_warning.rb b/lib/plaid/models/credit_bank_employment_warning.rb index d237ffcdf..d274d9094 100644 --- a/lib/plaid/models/credit_bank_employment_warning.rb +++ b/lib/plaid/models/credit_bank_employment_warning.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_employment_warning_type.rb b/lib/plaid/models/credit_bank_employment_warning_type.rb index 545f512fc..081ac70cb 100644 --- a/lib/plaid/models/credit_bank_employment_warning_type.rb +++ b/lib/plaid/models/credit_bank_employment_warning_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income.rb b/lib/plaid/models/credit_bank_income.rb index 6b1690513..62fc89d60 100644 --- a/lib/plaid/models/credit_bank_income.rb +++ b/lib/plaid/models/credit_bank_income.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -162,6 +162,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index 6d87dfd1c..63609290a 100644 --- a/lib/plaid/models/credit_bank_income_account.rb +++ b/lib/plaid/models/credit_bank_income_account.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -196,6 +196,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_account_type.rb b/lib/plaid/models/credit_bank_income_account_type.rb index 9900ffe70..fc36a7bf9 100644 --- a/lib/plaid/models/credit_bank_income_account_type.rb +++ b/lib/plaid/models/credit_bank_income_account_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_category.rb b/lib/plaid/models/credit_bank_income_category.rb index 56dce5a75..7d35380b0 100644 --- a/lib/plaid/models/credit_bank_income_category.rb +++ b/lib/plaid/models/credit_bank_income_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_cause.rb b/lib/plaid/models/credit_bank_income_cause.rb index 8a44ce4f6..fce32b118 100644 --- a/lib/plaid/models/credit_bank_income_cause.rb +++ b/lib/plaid/models/credit_bank_income_cause.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_error_type.rb b/lib/plaid/models/credit_bank_income_error_type.rb index 60ba9abb6..05346d604 100644 --- a/lib/plaid/models/credit_bank_income_error_type.rb +++ b/lib/plaid/models/credit_bank_income_error_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_get_request.rb b/lib/plaid/models/credit_bank_income_get_request.rb index 5951cb4af..d223eed35 100644 --- a/lib/plaid/models/credit_bank_income_get_request.rb +++ b/lib/plaid/models/credit_bank_income_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_get_request_options.rb b/lib/plaid/models/credit_bank_income_get_request_options.rb index fc81ecdc4..d367f9a86 100644 --- a/lib/plaid/models/credit_bank_income_get_request_options.rb +++ b/lib/plaid/models/credit_bank_income_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_get_response.rb b/lib/plaid/models/credit_bank_income_get_response.rb index d929ee4fa..f203cd5b3 100644 --- a/lib/plaid/models/credit_bank_income_get_response.rb +++ b/lib/plaid/models/credit_bank_income_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -125,6 +125,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_historical_summary.rb b/lib/plaid/models/credit_bank_income_historical_summary.rb index 8cdc954b8..abb231f2a 100644 --- a/lib/plaid/models/credit_bank_income_historical_summary.rb +++ b/lib/plaid/models/credit_bank_income_historical_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_item.rb b/lib/plaid/models/credit_bank_income_item.rb index b7af2e3ee..ac178945e 100644 --- a/lib/plaid/models/credit_bank_income_item.rb +++ b/lib/plaid/models/credit_bank_income_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_pay_frequency.rb b/lib/plaid/models/credit_bank_income_pay_frequency.rb index 8fb847463..4a34b51c2 100644 --- a/lib/plaid/models/credit_bank_income_pay_frequency.rb +++ b/lib/plaid/models/credit_bank_income_pay_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_pdf_get_request.rb b/lib/plaid/models/credit_bank_income_pdf_get_request.rb index ac062c4a6..2834a5872 100644 --- a/lib/plaid/models/credit_bank_income_pdf_get_request.rb +++ b/lib/plaid/models/credit_bank_income_pdf_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index 9f27f621b..90775ca1b 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_refresh_request_options.rb b/lib/plaid/models/credit_bank_income_refresh_request_options.rb index 02e8d80da..2cb61dfe4 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_refresh_response.rb b/lib/plaid/models/credit_bank_income_refresh_response.rb index f026f9e13..e9e4f97f7 100644 --- a/lib/plaid/models/credit_bank_income_refresh_response.rb +++ b/lib/plaid/models/credit_bank_income_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_source.rb b/lib/plaid/models/credit_bank_income_source.rb index bc9ea74a5..dc7dd1500 100644 --- a/lib/plaid/models/credit_bank_income_source.rb +++ b/lib/plaid/models/credit_bank_income_source.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_summary.rb b/lib/plaid/models/credit_bank_income_summary.rb index 06fbaac99..6432a73d9 100644 --- a/lib/plaid/models/credit_bank_income_summary.rb +++ b/lib/plaid/models/credit_bank_income_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -204,6 +204,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_transaction.rb b/lib/plaid/models/credit_bank_income_transaction.rb index 10fdff85c..9e855d094 100644 --- a/lib/plaid/models/credit_bank_income_transaction.rb +++ b/lib/plaid/models/credit_bank_income_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -193,6 +193,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_warning.rb b/lib/plaid/models/credit_bank_income_warning.rb index f1848980a..f0e00abc3 100644 --- a/lib/plaid/models/credit_bank_income_warning.rb +++ b/lib/plaid/models/credit_bank_income_warning.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_income_warning_code.rb b/lib/plaid/models/credit_bank_income_warning_code.rb index 631366f06..52eb8623c 100644 --- a/lib/plaid/models/credit_bank_income_warning_code.rb +++ b/lib/plaid/models/credit_bank_income_warning_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_warning_type.rb b/lib/plaid/models/credit_bank_income_warning_type.rb index 72071d7e5..3aa5de3c0 100644 --- a/lib/plaid/models/credit_bank_income_warning_type.rb +++ b/lib/plaid/models/credit_bank_income_warning_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_bank_income_webhook_update_request.rb b/lib/plaid/models/credit_bank_income_webhook_update_request.rb index bb4feb631..9efb4f12b 100644 --- a/lib/plaid/models/credit_bank_income_webhook_update_request.rb +++ b/lib/plaid/models/credit_bank_income_webhook_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb index 040f16a08..b62418184 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -124,6 +124,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb index 48c17bacd..ac2b152ab 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb index f13966cce..9af701338 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb index b673e01de..6256bf5ca 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_item.rb b/lib/plaid/models/credit_bank_statement_upload_item.rb index 652561a65..4c59cd899 100644 --- a/lib/plaid/models/credit_bank_statement_upload_item.rb +++ b/lib/plaid/models/credit_bank_statement_upload_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_object.rb b/lib/plaid/models/credit_bank_statement_upload_object.rb index 39bcdd50c..77d534dd1 100644 --- a/lib/plaid/models/credit_bank_statement_upload_object.rb +++ b/lib/plaid/models/credit_bank_statement_upload_object.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statement_upload_transaction.rb b/lib/plaid/models/credit_bank_statement_upload_transaction.rb index 671d9f7b6..983633587 100644 --- a/lib/plaid/models/credit_bank_statement_upload_transaction.rb +++ b/lib/plaid/models/credit_bank_statement_upload_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb index a098b761e..c146cf386 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb index fedf80ec4..267ced5d9 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index e7e87b2da..e37eebc09 100644 --- a/lib/plaid/models/credit_card_liability.rb +++ b/lib/plaid/models/credit_card_liability.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -204,6 +204,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_category.rb b/lib/plaid/models/credit_category.rb index a2463e457..76319d765 100644 --- a/lib/plaid/models/credit_category.rb +++ b/lib/plaid/models/credit_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_document_metadata.rb b/lib/plaid/models/credit_document_metadata.rb index b2e01f8c6..1a3b9ac0c 100644 --- a/lib/plaid/models/credit_document_metadata.rb +++ b/lib/plaid/models/credit_document_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_employer_verification.rb b/lib/plaid/models/credit_employer_verification.rb index 6e72b8362..01334b17b 100644 --- a/lib/plaid/models/credit_employer_verification.rb +++ b/lib/plaid/models/credit_employer_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_employment_get_request.rb b/lib/plaid/models/credit_employment_get_request.rb index 40b310fe9..7fd151a6d 100644 --- a/lib/plaid/models/credit_employment_get_request.rb +++ b/lib/plaid/models/credit_employment_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index 89a5e2a87..4b2072f22 100644 --- a/lib/plaid/models/credit_employment_get_response.rb +++ b/lib/plaid/models/credit_employment_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_employment_item.rb b/lib/plaid/models/credit_employment_item.rb index 8289844c3..d3f1b9d63 100644 --- a/lib/plaid/models/credit_employment_item.rb +++ b/lib/plaid/models/credit_employment_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -140,6 +140,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_employment_verification.rb b/lib/plaid/models/credit_employment_verification.rb index 4e0f947d8..d41578e90 100644 --- a/lib/plaid/models/credit_employment_verification.rb +++ b/lib/plaid/models/credit_employment_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -204,6 +204,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index 3e9059e89..16f0885cd 100644 --- a/lib/plaid/models/credit_filter.rb +++ b/lib/plaid/models/credit_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_detail_voe25.rb b/lib/plaid/models/credit_freddie_mac_asset_detail_voe25.rb index 58bbda5c7..1f5e6a20d 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_detail_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_detail_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -206,6 +206,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_transaction_detail_voe25.rb b/lib/plaid/models/credit_freddie_mac_asset_transaction_detail_voe25.rb index 62e1aea92..8faf05fa6 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transaction_detail_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transaction_detail_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -212,6 +212,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_transaction_voa24.rb b/lib/plaid/models/credit_freddie_mac_asset_transaction_voa24.rb index a7c6fb2e9..baeef0dbd 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transaction_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transaction_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_transaction_voe25.rb b/lib/plaid/models/credit_freddie_mac_asset_transaction_voe25.rb index 6727904b7..c344a9f50 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transaction_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transaction_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_transactions_voa24.rb b/lib/plaid/models/credit_freddie_mac_asset_transactions_voa24.rb index 678a5df86..73c8054cf 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transactions_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transactions_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_transactions_voe25.rb b/lib/plaid/models/credit_freddie_mac_asset_transactions_voe25.rb index fde52e0c7..422bb90a7 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transactions_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transactions_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_voa24.rb b/lib/plaid/models/credit_freddie_mac_asset_voa24.rb index c7a6de609..06f4bebfc 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -169,6 +169,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_asset_voe25.rb b/lib/plaid/models/credit_freddie_mac_asset_voe25.rb index f759c06a3..1ea4edfe9 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_assets_voa24.rb b/lib/plaid/models/credit_freddie_mac_assets_voa24.rb index 6aa8843b2..8f672c0cf 100644 --- a/lib/plaid/models/credit_freddie_mac_assets_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_assets_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_assets_voe25.rb b/lib/plaid/models/credit_freddie_mac_assets_voe25.rb index c979d32bf..920e07fb2 100644 --- a/lib/plaid/models/credit_freddie_mac_assets_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_assets_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_individual_name_voa24.rb b/lib/plaid/models/credit_freddie_mac_individual_name_voa24.rb index 77ed3fcfd..047168188 100644 --- a/lib/plaid/models/credit_freddie_mac_individual_name_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_individual_name_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_loan_identifiers_voa24.rb b/lib/plaid/models/credit_freddie_mac_loan_identifiers_voa24.rb index c73dabaf5..c71f051a2 100644 --- a/lib/plaid/models/credit_freddie_mac_loan_identifiers_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_loan_identifiers_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_loan_voa24.rb b/lib/plaid/models/credit_freddie_mac_loan_voa24.rb index d83007e09..1969917d2 100644 --- a/lib/plaid/models/credit_freddie_mac_loan_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_loan_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_loans_voa24.rb b/lib/plaid/models/credit_freddie_mac_loans_voa24.rb index 67ed8995b..612ddeed8 100644 --- a/lib/plaid/models/credit_freddie_mac_loans_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_loans_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_parties_voa24.rb b/lib/plaid/models/credit_freddie_mac_parties_voa24.rb index 0a366e332..cf90a8847 100644 --- a/lib/plaid/models/credit_freddie_mac_parties_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_parties_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_party_individual_voa24.rb b/lib/plaid/models/credit_freddie_mac_party_individual_voa24.rb index 9c8b47745..27762836e 100644 --- a/lib/plaid/models/credit_freddie_mac_party_individual_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_party_individual_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_party_voa24.rb b/lib/plaid/models/credit_freddie_mac_party_voa24.rb index 2e80d3be4..e704ad5fa 100644 --- a/lib/plaid/models/credit_freddie_mac_party_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_party_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_reporting_information_voa24.rb b/lib/plaid/models/credit_freddie_mac_reporting_information_voa24.rb index f1bce744f..65d4a9794 100644 --- a/lib/plaid/models/credit_freddie_mac_reporting_information_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_reporting_information_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb index c5be0c9f1..34ed01db5 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb index aca449749..ba3a4d3d5 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_service_voa24.rb b/lib/plaid/models/credit_freddie_mac_service_voa24.rb index b9de96380..838fd321b 100644 --- a/lib/plaid/models/credit_freddie_mac_service_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_service_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_service_voe25.rb b/lib/plaid/models/credit_freddie_mac_service_voe25.rb index 1a8c9396c..027b74dde 100644 --- a/lib/plaid/models/credit_freddie_mac_service_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_service_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_services_voa24.rb b/lib/plaid/models/credit_freddie_mac_services_voa24.rb index 4e5aa572c..dec10e916 100644 --- a/lib/plaid/models/credit_freddie_mac_services_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_services_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_services_voe25.rb b/lib/plaid/models/credit_freddie_mac_services_voe25.rb index d43b4192a..9ddd7fc62 100644 --- a/lib/plaid/models/credit_freddie_mac_services_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_services_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voa24.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voa24.rb index 9ed059648..6ccaa6ded 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voe25.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voe25.rb index 109a3a70e..19cd8b3ab 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_voa24.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_voa24.rb index 9ceef460a..69462d7fe 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_voe25.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_voe25.rb index 5cea85500..a6bc1b42b 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_voe25.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal_voa24.rb b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal_voa24.rb index 885b9f778..5b78f8a78 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_assets_voa24.rb b/lib/plaid/models/credit_freddie_mac_verification_of_assets_voa24.rb index 8afab5ea7..46822b124 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_assets_voa24.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_assets_voa24.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_verification_of_employment_deal_voe25.rb b/lib/plaid/models/credit_freddie_verification_of_employment_deal_voe25.rb index 449410bd9..93b5af8b8 100644 --- a/lib/plaid/models/credit_freddie_verification_of_employment_deal_voe25.rb +++ b/lib/plaid/models/credit_freddie_verification_of_employment_deal_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_freddie_verification_of_employment_voe25.rb b/lib/plaid/models/credit_freddie_verification_of_employment_voe25.rb index dd2608436..53eb3ee3b 100644 --- a/lib/plaid/models/credit_freddie_verification_of_employment_voe25.rb +++ b/lib/plaid/models/credit_freddie_verification_of_employment_voe25.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub.rb b/lib/plaid/models/credit_pay_stub.rb index a82b32eda..051269a95 100644 --- a/lib/plaid/models/credit_pay_stub.rb +++ b/lib/plaid/models/credit_pay_stub.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -208,6 +208,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_address.rb b/lib/plaid/models/credit_pay_stub_address.rb index f12e2921f..14d5fdb83 100644 --- a/lib/plaid/models/credit_pay_stub_address.rb +++ b/lib/plaid/models/credit_pay_stub_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_deductions.rb b/lib/plaid/models/credit_pay_stub_deductions.rb index 5affc89b5..361580e7d 100644 --- a/lib/plaid/models/credit_pay_stub_deductions.rb +++ b/lib/plaid/models/credit_pay_stub_deductions.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_earnings.rb b/lib/plaid/models/credit_pay_stub_earnings.rb index 4ed5f9623..c68e842ac 100644 --- a/lib/plaid/models/credit_pay_stub_earnings.rb +++ b/lib/plaid/models/credit_pay_stub_earnings.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_employee.rb b/lib/plaid/models/credit_pay_stub_employee.rb index cd4be9474..553f45c28 100644 --- a/lib/plaid/models/credit_pay_stub_employee.rb +++ b/lib/plaid/models/credit_pay_stub_employee.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_employer.rb b/lib/plaid/models/credit_pay_stub_employer.rb index 360b9bb8a..95f5e43ce 100644 --- a/lib/plaid/models/credit_pay_stub_employer.rb +++ b/lib/plaid/models/credit_pay_stub_employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -124,6 +124,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_net_pay.rb b/lib/plaid/models/credit_pay_stub_net_pay.rb index a66c8bec5..a200293ba 100644 --- a/lib/plaid/models/credit_pay_stub_net_pay.rb +++ b/lib/plaid/models/credit_pay_stub_net_pay.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb index a3ad02114..5d1b0611b 100644 --- a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +++ b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_payroll_income_get_request.rb b/lib/plaid/models/credit_payroll_income_get_request.rb index 48dbbfa97..a60550af1 100644 --- a/lib/plaid/models/credit_payroll_income_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index 612080fc3..b4409ff43 100644 --- a/lib/plaid/models/credit_payroll_income_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_precheck_request.rb b/lib/plaid/models/credit_payroll_income_precheck_request.rb index 1b9f35c49..e7ed4a97a 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_request.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -171,6 +171,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_precheck_response.rb b/lib/plaid/models/credit_payroll_income_precheck_response.rb index 8931cf43e..2ebb610dc 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_response.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_refresh_request.rb b/lib/plaid/models/credit_payroll_income_refresh_request.rb index c22f26eca..1210745d1 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb index dc9d1c0e0..67021c7f8 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index fe94616f8..fec919130 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_response.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb index 653886b7b..211adf4b5 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb index 5581b7db4..c78d88af5 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_platform_ids.rb b/lib/plaid/models/credit_platform_ids.rb index ad1d84312..9157f4f3a 100644 --- a/lib/plaid/models/credit_platform_ids.rb +++ b/lib/plaid/models/credit_platform_ids.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -132,6 +132,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_create_request.rb b/lib/plaid/models/credit_relay_create_request.rb index 17323d1fb..95f06975c 100644 --- a/lib/plaid/models/credit_relay_create_request.rb +++ b/lib/plaid/models/credit_relay_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -162,6 +162,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_create_response.rb b/lib/plaid/models/credit_relay_create_response.rb index bcca599b4..3d26bc327 100644 --- a/lib/plaid/models/credit_relay_create_response.rb +++ b/lib/plaid/models/credit_relay_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_get_request.rb b/lib/plaid/models/credit_relay_get_request.rb index 5201d5c6f..c3e674461 100644 --- a/lib/plaid/models/credit_relay_get_request.rb +++ b/lib/plaid/models/credit_relay_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_refresh_request.rb b/lib/plaid/models/credit_relay_refresh_request.rb index 610fdd443..bbd08a504 100644 --- a/lib/plaid/models/credit_relay_refresh_request.rb +++ b/lib/plaid/models/credit_relay_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_refresh_response.rb b/lib/plaid/models/credit_relay_refresh_response.rb index b66a48936..845d2a0c6 100644 --- a/lib/plaid/models/credit_relay_refresh_response.rb +++ b/lib/plaid/models/credit_relay_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_remove_request.rb b/lib/plaid/models/credit_relay_remove_request.rb index c9636f6b3..d3d9dc70f 100644 --- a/lib/plaid/models/credit_relay_remove_request.rb +++ b/lib/plaid/models/credit_relay_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_relay_remove_response.rb b/lib/plaid/models/credit_relay_remove_response.rb index e1280d407..a4de4a38c 100644 --- a/lib/plaid/models/credit_relay_remove_response.rb +++ b/lib/plaid/models/credit_relay_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session.rb b/lib/plaid/models/credit_session.rb index 9e71473df..0cc336742 100644 --- a/lib/plaid/models/credit_session.rb +++ b/lib/plaid/models/credit_session.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -140,6 +140,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_bank_employment_result.rb b/lib/plaid/models/credit_session_bank_employment_result.rb index 410e426e3..2bd10e8e4 100644 --- a/lib/plaid/models/credit_session_bank_employment_result.rb +++ b/lib/plaid/models/credit_session_bank_employment_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_bank_employment_status.rb b/lib/plaid/models/credit_session_bank_employment_status.rb index 719c96f4b..5c86fab35 100644 --- a/lib/plaid/models/credit_session_bank_employment_status.rb +++ b/lib/plaid/models/credit_session_bank_employment_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_session_bank_income_result.rb b/lib/plaid/models/credit_session_bank_income_result.rb index a3ffc8f27..0435281d3 100644 --- a/lib/plaid/models/credit_session_bank_income_result.rb +++ b/lib/plaid/models/credit_session_bank_income_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_bank_income_status.rb b/lib/plaid/models/credit_session_bank_income_status.rb index 9593649a8..d7ae8d5a8 100644 --- a/lib/plaid/models/credit_session_bank_income_status.rb +++ b/lib/plaid/models/credit_session_bank_income_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/credit_session_document_income_result.rb b/lib/plaid/models/credit_session_document_income_result.rb index 15d70cebe..de89b79b3 100644 --- a/lib/plaid/models/credit_session_document_income_result.rb +++ b/lib/plaid/models/credit_session_document_income_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_error.rb b/lib/plaid/models/credit_session_error.rb index 3f8ebc334..7addff165 100644 --- a/lib/plaid/models/credit_session_error.rb +++ b/lib/plaid/models/credit_session_error.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -140,6 +140,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_item_add_result.rb b/lib/plaid/models/credit_session_item_add_result.rb index 88bf1d90b..544ba3daf 100644 --- a/lib/plaid/models/credit_session_item_add_result.rb +++ b/lib/plaid/models/credit_session_item_add_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_payroll_income_result.rb b/lib/plaid/models/credit_session_payroll_income_result.rb index 62aea9498..ff828209f 100644 --- a/lib/plaid/models/credit_session_payroll_income_result.rb +++ b/lib/plaid/models/credit_session_payroll_income_result.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_session_results.rb b/lib/plaid/models/credit_session_results.rb index a0f0b882f..f9fe82ad3 100644 --- a/lib/plaid/models/credit_session_results.rb +++ b/lib/plaid/models/credit_session_results.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -157,6 +157,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_sessions_get_request.rb b/lib/plaid/models/credit_sessions_get_request.rb index c0e933989..5b1444426 100644 --- a/lib/plaid/models/credit_sessions_get_request.rb +++ b/lib/plaid/models/credit_sessions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_sessions_get_response.rb b/lib/plaid/models/credit_sessions_get_response.rb index 3db4c62a6..a02bb4a7a 100644 --- a/lib/plaid/models/credit_sessions_get_response.rb +++ b/lib/plaid/models/credit_sessions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/credit_w2.rb b/lib/plaid/models/credit_w2.rb index d9bb0143d..d2bf2eb1a 100644 --- a/lib/plaid/models/credit_w2.rb +++ b/lib/plaid/models/credit_w2.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -375,6 +375,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index 906bfabbd..14a1fff12 100644 --- a/lib/plaid/models/customer_initiated_return_risk.rb +++ b/lib/plaid/models/customer_initiated_return_risk.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user.rb b/lib/plaid/models/dashboard_user.rb index 50b956b5f..f0678a7e7 100644 --- a/lib/plaid/models/dashboard_user.rb +++ b/lib/plaid/models/dashboard_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user_get_request.rb b/lib/plaid/models/dashboard_user_get_request.rb index 433e5a44c..d636219b1 100644 --- a/lib/plaid/models/dashboard_user_get_request.rb +++ b/lib/plaid/models/dashboard_user_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user_get_response.rb b/lib/plaid/models/dashboard_user_get_response.rb index de7e9300f..02f5a6306 100644 --- a/lib/plaid/models/dashboard_user_get_response.rb +++ b/lib/plaid/models/dashboard_user_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user_list_request.rb b/lib/plaid/models/dashboard_user_list_request.rb index 8dbd085f3..f0b6c0c79 100644 --- a/lib/plaid/models/dashboard_user_list_request.rb +++ b/lib/plaid/models/dashboard_user_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user_list_response.rb b/lib/plaid/models/dashboard_user_list_response.rb index 36c9f79dc..692e10155 100644 --- a/lib/plaid/models/dashboard_user_list_response.rb +++ b/lib/plaid/models/dashboard_user_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/dashboard_user_status.rb b/lib/plaid/models/dashboard_user_status.rb index f04f2b113..19d432fde 100644 --- a/lib/plaid/models/dashboard_user_status.rb +++ b/lib/plaid/models/dashboard_user_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/date_range.rb b/lib/plaid/models/date_range.rb index f9b6997cc..ce5b9a72e 100644 --- a/lib/plaid/models/date_range.rb +++ b/lib/plaid/models/date_range.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index f02b3693a..506454b78 100644 --- a/lib/plaid/models/deductions.rb +++ b/lib/plaid/models/deductions.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index 7f595ad93..cfc26ba47 100644 --- a/lib/plaid/models/deductions_breakdown.rb +++ b/lib/plaid/models/deductions_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index 2356759f0..393019bd3 100644 --- a/lib/plaid/models/deductions_total.rb +++ b/lib/plaid/models/deductions_total.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index 4c5cf0ee5..aa5e33292 100644 --- a/lib/plaid/models/default_update_webhook.rb +++ b/lib/plaid/models/default_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index ffa2daee7..dd540da4b 100644 --- a/lib/plaid/models/deposit_switch_address_data.rb +++ b/lib/plaid/models/deposit_switch_address_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index 218f56e64..cf10040c0 100644 --- a/lib/plaid/models/deposit_switch_alt_create_request.rb +++ b/lib/plaid/models/deposit_switch_alt_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -201,6 +201,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index 7fab7557d..408f63d99 100644 --- a/lib/plaid/models/deposit_switch_alt_create_response.rb +++ b/lib/plaid/models/deposit_switch_alt_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index cef256c71..96a730a8b 100644 --- a/lib/plaid/models/deposit_switch_create_request.rb +++ b/lib/plaid/models/deposit_switch_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -203,6 +203,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index 202e1adf5..2b2102b81 100644 --- a/lib/plaid/models/deposit_switch_create_request_options.rb +++ b/lib/plaid/models/deposit_switch_create_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -140,6 +140,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index dff5915cd..766e03f29 100644 --- a/lib/plaid/models/deposit_switch_create_response.rb +++ b/lib/plaid/models/deposit_switch_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index 2d56f5f4b..a268761dc 100644 --- a/lib/plaid/models/deposit_switch_get_request.rb +++ b/lib/plaid/models/deposit_switch_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index 246de9e35..b8043e3db 100644 --- a/lib/plaid/models/deposit_switch_get_response.rb +++ b/lib/plaid/models/deposit_switch_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -337,6 +337,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index b91f05748..cda8e0e70 100644 --- a/lib/plaid/models/deposit_switch_state_update_webhook.rb +++ b/lib/plaid/models/deposit_switch_state_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index 06ab655b2..81c413238 100644 --- a/lib/plaid/models/deposit_switch_target_account.rb +++ b/lib/plaid/models/deposit_switch_target_account.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -193,6 +193,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index c48d10f15..7ca419335 100644 --- a/lib/plaid/models/deposit_switch_target_user.rb +++ b/lib/plaid/models/deposit_switch_target_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index df0717d2a..4ce73b655 100644 --- a/lib/plaid/models/deposit_switch_token_create_request.rb +++ b/lib/plaid/models/deposit_switch_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index a28b0a0d8..29f0dc96b 100644 --- a/lib/plaid/models/deposit_switch_token_create_response.rb +++ b/lib/plaid/models/deposit_switch_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/depository_account_subtype.rb b/lib/plaid/models/depository_account_subtype.rb index e980abf5d..7444776dd 100644 --- a/lib/plaid/models/depository_account_subtype.rb +++ b/lib/plaid/models/depository_account_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index 96b593a92..ab4c8bcc8 100644 --- a/lib/plaid/models/depository_filter.rb +++ b/lib/plaid/models/depository_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/detailed_originator.rb b/lib/plaid/models/detailed_originator.rb index 6c12719ab..2a078413a 100644 --- a/lib/plaid/models/detailed_originator.rb +++ b/lib/plaid/models/detailed_originator.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index f4d2cf8dc..4e7153f8b 100644 --- a/lib/plaid/models/distribution_breakdown.rb +++ b/lib/plaid/models/distribution_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index 3145e6eb3..43f2ef9ca 100644 --- a/lib/plaid/models/doc_type.rb +++ b/lib/plaid/models/doc_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/document_analysis.rb b/lib/plaid/models/document_analysis.rb index 8a3f29067..5efa06802 100644 --- a/lib/plaid/models/document_analysis.rb +++ b/lib/plaid/models/document_analysis.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -137,6 +137,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_authenticity_match_code.rb b/lib/plaid/models/document_authenticity_match_code.rb index e0bbc8b8f..62b58ce63 100644 --- a/lib/plaid/models/document_authenticity_match_code.rb +++ b/lib/plaid/models/document_authenticity_match_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/document_date_of_birth_match_code.rb b/lib/plaid/models/document_date_of_birth_match_code.rb index 9260e24ca..14d3bf86e 100644 --- a/lib/plaid/models/document_date_of_birth_match_code.rb +++ b/lib/plaid/models/document_date_of_birth_match_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index 3dd76e33b..f935a1dc8 100644 --- a/lib/plaid/models/document_metadata.rb +++ b/lib/plaid/models/document_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_name_match_code.rb b/lib/plaid/models/document_name_match_code.rb index 80bb63b2f..dfdcf80dc 100644 --- a/lib/plaid/models/document_name_match_code.rb +++ b/lib/plaid/models/document_name_match_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/document_risk_signal.rb b/lib/plaid/models/document_risk_signal.rb index 9da6f8264..4372f3dae 100644 --- a/lib/plaid/models/document_risk_signal.rb +++ b/lib/plaid/models/document_risk_signal.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -186,6 +186,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_risk_signal_institution_metadata.rb b/lib/plaid/models/document_risk_signal_institution_metadata.rb index 1d1cef1e9..5448bd5bf 100644 --- a/lib/plaid/models/document_risk_signal_institution_metadata.rb +++ b/lib/plaid/models/document_risk_signal_institution_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_risk_signals_object.rb b/lib/plaid/models/document_risk_signals_object.rb index 6446db475..d976cfc17 100644 --- a/lib/plaid/models/document_risk_signals_object.rb +++ b/lib/plaid/models/document_risk_signals_object.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_risk_summary.rb b/lib/plaid/models/document_risk_summary.rb index b94147b1b..9b96020a7 100644 --- a/lib/plaid/models/document_risk_summary.rb +++ b/lib/plaid/models/document_risk_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/document_status.rb b/lib/plaid/models/document_status.rb index 2a841fc50..f357318c4 100644 --- a/lib/plaid/models/document_status.rb +++ b/lib/plaid/models/document_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/documentary_verification.rb b/lib/plaid/models/documentary_verification.rb index bc1ffcc8c..2213662b2 100644 --- a/lib/plaid/models/documentary_verification.rb +++ b/lib/plaid/models/documentary_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/documentary_verification_document.rb b/lib/plaid/models/documentary_verification_document.rb index 0f3420239..bfd08b6c1 100644 --- a/lib/plaid/models/documentary_verification_document.rb +++ b/lib/plaid/models/documentary_verification_document.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index 8f5cd08f0..d176ac7b9 100644 --- a/lib/plaid/models/earnings.rb +++ b/lib/plaid/models/earnings.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index 01d7e3467..26ebdefbd 100644 --- a/lib/plaid/models/earnings_breakdown.rb +++ b/lib/plaid/models/earnings_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -186,6 +186,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index 677f99e0c..58fd1052d 100644 --- a/lib/plaid/models/earnings_breakdown_canonical_description.rb +++ b/lib/plaid/models/earnings_breakdown_canonical_description.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index 513db83ab..12d2374e1 100644 --- a/lib/plaid/models/earnings_total.rb +++ b/lib/plaid/models/earnings_total.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -172,6 +172,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 133121006..9b8b11b2c 100644 --- a/lib/plaid/models/email.rb +++ b/lib/plaid/models/email.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/email_address_match_score.rb b/lib/plaid/models/email_address_match_score.rb index 455a89c03..184cd2a18 100644 --- a/lib/plaid/models/email_address_match_score.rb +++ b/lib/plaid/models/email_address_match_score.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index 7fe0c395b..2ebdffb46 100644 --- a/lib/plaid/models/employee.rb +++ b/lib/plaid/models/employee.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index 773211339..0e08e9522 100644 --- a/lib/plaid/models/employee_income_summary_field_string.rb +++ b/lib/plaid/models/employee_income_summary_field_string.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index a0787afff..e91910e8a 100644 --- a/lib/plaid/models/employer.rb +++ b/lib/plaid/models/employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 5ff14a103..836c43a7b 100644 --- a/lib/plaid/models/employer_income_summary_field_string.rb +++ b/lib/plaid/models/employer_income_summary_field_string.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index 67c96e050..fcb2d4001 100644 --- a/lib/plaid/models/employer_verification.rb +++ b/lib/plaid/models/employer_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index 8cbb95ddc..20bd31b6f 100644 --- a/lib/plaid/models/employers_search_request.rb +++ b/lib/plaid/models/employers_search_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index 861b87224..65f20af1c 100644 --- a/lib/plaid/models/employers_search_response.rb +++ b/lib/plaid/models/employers_search_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index fb8d05ba9..b803e2629 100644 --- a/lib/plaid/models/employment_details.rb +++ b/lib/plaid/models/employment_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employment_source_type.rb b/lib/plaid/models/employment_source_type.rb index cdf4445c3..0f5cd70ef 100644 --- a/lib/plaid/models/employment_source_type.rb +++ b/lib/plaid/models/employment_source_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index e32a8b638..06dbf4318 100644 --- a/lib/plaid/models/employment_verification.rb +++ b/lib/plaid/models/employment_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index 8f457da02..365a1479b 100644 --- a/lib/plaid/models/employment_verification_get_request.rb +++ b/lib/plaid/models/employment_verification_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index c32c0c069..481819abe 100644 --- a/lib/plaid/models/employment_verification_get_response.rb +++ b/lib/plaid/models/employment_verification_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index 8b7884786..a5136ca79 100644 --- a/lib/plaid/models/employment_verification_status.rb +++ b/lib/plaid/models/employment_verification_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/enhancements.rb b/lib/plaid/models/enhancements.rb index 0ff7e128e..88a6fa4e3 100644 --- a/lib/plaid/models/enhancements.rb +++ b/lib/plaid/models/enhancements.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -231,6 +231,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/enrich_transaction_direction.rb b/lib/plaid/models/enrich_transaction_direction.rb index 250f6a6e9..53c893fd5 100644 --- a/lib/plaid/models/enrich_transaction_direction.rb +++ b/lib/plaid/models/enrich_transaction_direction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/enrichments.rb b/lib/plaid/models/enrichments.rb index 70e729679..96c74f57b 100644 --- a/lib/plaid/models/enrichments.rb +++ b/lib/plaid/models/enrichments.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -257,6 +257,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_document.rb b/lib/plaid/models/entity_document.rb index f71c81abc..974fd9aa3 100644 --- a/lib/plaid/models/entity_document.rb +++ b/lib/plaid/models/entity_document.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index c00345d83..f50ec4f10 100644 --- a/lib/plaid/models/entity_document_type.rb +++ b/lib/plaid/models/entity_document_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/entity_screening_hit_analysis.rb b/lib/plaid/models/entity_screening_hit_analysis.rb index df18042a7..3f8290ae6 100644 --- a/lib/plaid/models/entity_screening_hit_analysis.rb +++ b/lib/plaid/models/entity_screening_hit_analysis.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_data.rb b/lib/plaid/models/entity_screening_hit_data.rb index b647773c4..9d3dcf17f 100644 --- a/lib/plaid/models/entity_screening_hit_data.rb +++ b/lib/plaid/models/entity_screening_hit_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -171,6 +171,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_documents_items.rb b/lib/plaid/models/entity_screening_hit_documents_items.rb index 4778e872c..cfc7b32a9 100644 --- a/lib/plaid/models/entity_screening_hit_documents_items.rb +++ b/lib/plaid/models/entity_screening_hit_documents_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_emails.rb b/lib/plaid/models/entity_screening_hit_emails.rb index 2c586260e..0933aaa36 100644 --- a/lib/plaid/models/entity_screening_hit_emails.rb +++ b/lib/plaid/models/entity_screening_hit_emails.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index a8884a37a..d416ee0b4 100644 --- a/lib/plaid/models/entity_screening_hit_emails_items.rb +++ b/lib/plaid/models/entity_screening_hit_emails_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_names.rb b/lib/plaid/models/entity_screening_hit_names.rb index c39a1da5c..424404ffe 100644 --- a/lib/plaid/models/entity_screening_hit_names.rb +++ b/lib/plaid/models/entity_screening_hit_names.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_names_items.rb b/lib/plaid/models/entity_screening_hit_names_items.rb index f5f8b3717..d7e9f44a3 100644 --- a/lib/plaid/models/entity_screening_hit_names_items.rb +++ b/lib/plaid/models/entity_screening_hit_names_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_phone_numbers.rb b/lib/plaid/models/entity_screening_hit_phone_numbers.rb index f29de75c1..c430ee8f2 100644 --- a/lib/plaid/models/entity_screening_hit_phone_numbers.rb +++ b/lib/plaid/models/entity_screening_hit_phone_numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_urls.rb b/lib/plaid/models/entity_screening_hit_urls.rb index e30e041f5..03081f12a 100644 --- a/lib/plaid/models/entity_screening_hit_urls.rb +++ b/lib/plaid/models/entity_screening_hit_urls.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hit_urls_items.rb b/lib/plaid/models/entity_screening_hit_urls_items.rb index 6a5c1f8fa..227bb2cdb 100644 --- a/lib/plaid/models/entity_screening_hit_urls_items.rb +++ b/lib/plaid/models/entity_screening_hit_urls_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_hits_phone_number_items.rb b/lib/plaid/models/entity_screening_hits_phone_number_items.rb index bb0bf9618..6dcc5c26d 100644 --- a/lib/plaid/models/entity_screening_hits_phone_number_items.rb +++ b/lib/plaid/models/entity_screening_hits_phone_number_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_screening_status_updated_webhook.rb b/lib/plaid/models/entity_screening_status_updated_webhook.rb index 19a76ffd1..fe58e45b8 100644 --- a/lib/plaid/models/entity_screening_status_updated_webhook.rb +++ b/lib/plaid/models/entity_screening_status_updated_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_code.rb b/lib/plaid/models/entity_watchlist_code.rb index 2186060c3..f09c6348e 100644 --- a/lib/plaid/models/entity_watchlist_code.rb +++ b/lib/plaid/models/entity_watchlist_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/entity_watchlist_program.rb b/lib/plaid/models/entity_watchlist_program.rb index 263f96d5e..728d54a2c 100644 --- a/lib/plaid/models/entity_watchlist_program.rb +++ b/lib/plaid/models/entity_watchlist_program.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -252,6 +252,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_screening.rb b/lib/plaid/models/entity_watchlist_screening.rb index 3dbc8a90f..1c16a478a 100644 --- a/lib/plaid/models/entity_watchlist_screening.rb +++ b/lib/plaid/models/entity_watchlist_screening.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -195,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_screening_hit.rb b/lib/plaid/models/entity_watchlist_screening_hit.rb index 3a75754a3..ca55be2b2 100644 --- a/lib/plaid/models/entity_watchlist_screening_hit.rb +++ b/lib/plaid/models/entity_watchlist_screening_hit.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -240,6 +240,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_screening_review.rb b/lib/plaid/models/entity_watchlist_screening_review.rb index 5501eaaf3..a3cd644f0 100644 --- a/lib/plaid/models/entity_watchlist_screening_review.rb +++ b/lib/plaid/models/entity_watchlist_screening_review.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -190,6 +190,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_screening_search_terms.rb b/lib/plaid/models/entity_watchlist_screening_search_terms.rb index 1119bb678..0fe1e3109 100644 --- a/lib/plaid/models/entity_watchlist_screening_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_screening_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -254,6 +254,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index c5d01446d..3772a7745 100644 --- a/lib/plaid/models/entity_watchlist_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -239,6 +239,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index abd698aca..e901e2665 100644 --- a/lib/plaid/models/expiration_date.rb +++ b/lib/plaid/models/expiration_date.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index 7212b4746..af4ec0ceb 100644 --- a/lib/plaid/models/external_payment_initiation_consent_options.rb +++ b/lib/plaid/models/external_payment_initiation_consent_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -157,6 +157,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index d0f6d6526..520f7d4a4 100644 --- a/lib/plaid/models/external_payment_options.rb +++ b/lib/plaid/models/external_payment_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -167,6 +167,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 0c0ae679b..728a2d25c 100644 --- a/lib/plaid/models/external_payment_refund_details.rb +++ b/lib/plaid/models/external_payment_refund_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index 04047fe58..868c7e443 100644 --- a/lib/plaid/models/external_payment_schedule_base.rb +++ b/lib/plaid/models/external_payment_schedule_base.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -150,6 +150,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index c53236eef..6dd3ad139 100644 --- a/lib/plaid/models/external_payment_schedule_get.rb +++ b/lib/plaid/models/external_payment_schedule_get.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -172,6 +172,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index ed5daf7aa..05ce6bb29 100644 --- a/lib/plaid/models/external_payment_schedule_request.rb +++ b/lib/plaid/models/external_payment_schedule_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -172,6 +172,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb index 8385fcbcc..571134704 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -184,6 +184,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb index 639745d75..32977f464 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -184,6 +184,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_content_types.rb b/lib/plaid/models/fdx_content_types.rb index efc1fcb16..584268ab1 100644 --- a/lib/plaid/models/fdx_content_types.rb +++ b/lib/plaid/models/fdx_content_types.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_hateoas_link.rb b/lib/plaid/models/fdx_hateoas_link.rb index 25a00a97a..3c3aabc81 100644 --- a/lib/plaid/models/fdx_hateoas_link.rb +++ b/lib/plaid/models/fdx_hateoas_link.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_hateoas_link_action.rb b/lib/plaid/models/fdx_hateoas_link_action.rb index 6c59ad2e8..6f04d3ff1 100644 --- a/lib/plaid/models/fdx_hateoas_link_action.rb +++ b/lib/plaid/models/fdx_hateoas_link_action.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_initiator_fi_attribute.rb b/lib/plaid/models/fdx_initiator_fi_attribute.rb index 6bb634c0a..511ca9d97 100644 --- a/lib/plaid/models/fdx_initiator_fi_attribute.rb +++ b/lib/plaid/models/fdx_initiator_fi_attribute.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_notification.rb b/lib/plaid/models/fdx_notification.rb index fe3c6a2aa..51b89bded 100644 --- a/lib/plaid/models/fdx_notification.rb +++ b/lib/plaid/models/fdx_notification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -221,6 +221,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_notification_category.rb b/lib/plaid/models/fdx_notification_category.rb index 856d1b31e..3d2eb0ea3 100644 --- a/lib/plaid/models/fdx_notification_category.rb +++ b/lib/plaid/models/fdx_notification_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_notification_payload.rb b/lib/plaid/models/fdx_notification_payload.rb index 4040ed446..89581e0ca 100644 --- a/lib/plaid/models/fdx_notification_payload.rb +++ b/lib/plaid/models/fdx_notification_payload.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_notification_payload_id_type.rb b/lib/plaid/models/fdx_notification_payload_id_type.rb index c86554a21..7c498c08d 100644 --- a/lib/plaid/models/fdx_notification_payload_id_type.rb +++ b/lib/plaid/models/fdx_notification_payload_id_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_notification_priority.rb b/lib/plaid/models/fdx_notification_priority.rb index 047f272cb..45cd9b7ba 100644 --- a/lib/plaid/models/fdx_notification_priority.rb +++ b/lib/plaid/models/fdx_notification_priority.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_notification_severity.rb b/lib/plaid/models/fdx_notification_severity.rb index e9e2e620b..d90096c27 100644 --- a/lib/plaid/models/fdx_notification_severity.rb +++ b/lib/plaid/models/fdx_notification_severity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_notification_type.rb b/lib/plaid/models/fdx_notification_type.rb index c61f48a68..8c3ba8a4a 100644 --- a/lib/plaid/models/fdx_notification_type.rb +++ b/lib/plaid/models/fdx_notification_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_party.rb b/lib/plaid/models/fdx_party.rb index 53dd84f26..38a4470e2 100644 --- a/lib/plaid/models/fdx_party.rb +++ b/lib/plaid/models/fdx_party.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/fdx_party_registry.rb b/lib/plaid/models/fdx_party_registry.rb index 5dd7072aa..92d745e0e 100644 --- a/lib/plaid/models/fdx_party_registry.rb +++ b/lib/plaid/models/fdx_party_registry.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdx_party_type.rb b/lib/plaid/models/fdx_party_type.rb index 998dc6ab1..b783e73b9 100644 --- a/lib/plaid/models/fdx_party_type.rb +++ b/lib/plaid/models/fdx_party_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/fdxfi_attribute.rb b/lib/plaid/models/fdxfi_attribute.rb index 229ea8122..bedaf69a9 100644 --- a/lib/plaid/models/fdxfi_attribute.rb +++ b/lib/plaid/models/fdxfi_attribute.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb index 0589dda40..95d1b8529 100644 --- a/lib/plaid/models/form1099_type.rb +++ b/lib/plaid/models/form1099_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/generic_screening_hit_location_items.rb b/lib/plaid/models/generic_screening_hit_location_items.rb index 5dc7e1a3c..cd72c5a76 100644 --- a/lib/plaid/models/generic_screening_hit_location_items.rb +++ b/lib/plaid/models/generic_screening_hit_location_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index 68d8eb154..d3ef307b5 100644 --- a/lib/plaid/models/health_incident.rb +++ b/lib/plaid/models/health_incident.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -157,6 +157,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index 1196a3556..c265f1989 100644 --- a/lib/plaid/models/historical_balance.rb +++ b/lib/plaid/models/historical_balance.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 350654a64..90a2b0cb9 100644 --- a/lib/plaid/models/historical_update_webhook.rb +++ b/lib/plaid/models/historical_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 2ee1cf41b..6975e1c60 100644 --- a/lib/plaid/models/holding.rb +++ b/lib/plaid/models/holding.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -229,6 +229,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index c1bb9d38b..9f0a305e9 100644 --- a/lib/plaid/models/holdings_default_update_webhook.rb +++ b/lib/plaid/models/holdings_default_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index 63944dbe2..5b850f79c 100644 --- a/lib/plaid/models/holdings_override.rb +++ b/lib/plaid/models/holdings_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/id_number_type.rb b/lib/plaid/models/id_number_type.rb index 525728fd5..c2ebf981c 100644 --- a/lib/plaid/models/id_number_type.rb +++ b/lib/plaid/models/id_number_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/identity_default_update_webhook.rb b/lib/plaid/models/identity_default_update_webhook.rb index e503b3383..d3f6b1792 100644 --- a/lib/plaid/models/identity_default_update_webhook.rb +++ b/lib/plaid/models/identity_default_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index 5981e6c63..3e2b0edb0 100644 --- a/lib/plaid/models/identity_get_request.rb +++ b/lib/plaid/models/identity_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index e1de3d3d9..0a4803b98 100644 --- a/lib/plaid/models/identity_get_request_options.rb +++ b/lib/plaid/models/identity_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index 957988e99..48e598602 100644 --- a/lib/plaid/models/identity_get_response.rb +++ b/lib/plaid/models/identity_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index 6f6c35e70..bc7909b54 100644 --- a/lib/plaid/models/identity_match_request.rb +++ b/lib/plaid/models/identity_match_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -152,6 +152,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_match_request_options.rb b/lib/plaid/models/identity_match_request_options.rb index a84e354b1..baad53d99 100644 --- a/lib/plaid/models/identity_match_request_options.rb +++ b/lib/plaid/models/identity_match_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_match_response.rb b/lib/plaid/models/identity_match_response.rb index 2617644b0..9c0b9a90b 100644 --- a/lib/plaid/models/identity_match_response.rb +++ b/lib/plaid/models/identity_match_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_match_user.rb b/lib/plaid/models/identity_match_user.rb index e3fce6706..d27d7fc52 100644 --- a/lib/plaid/models/identity_match_user.rb +++ b/lib/plaid/models/identity_match_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_refresh_request.rb b/lib/plaid/models/identity_refresh_request.rb index 3089c3c9b..dc223464d 100644 --- a/lib/plaid/models/identity_refresh_request.rb +++ b/lib/plaid/models/identity_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_refresh_response.rb b/lib/plaid/models/identity_refresh_response.rb index a6b44dacf..39271faa8 100644 --- a/lib/plaid/models/identity_refresh_response.rb +++ b/lib/plaid/models/identity_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_update_types.rb b/lib/plaid/models/identity_update_types.rb index a545bdfeb..4ed4cf3d0 100644 --- a/lib/plaid/models/identity_update_types.rb +++ b/lib/plaid/models/identity_update_types.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/identity_verification.rb b/lib/plaid/models/identity_verification.rb index 2c2959e8b..c2f6baa20 100644 --- a/lib/plaid/models/identity_verification.rb +++ b/lib/plaid/models/identity_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -316,6 +316,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_create_request.rb b/lib/plaid/models/identity_verification_create_request.rb index e0de29fd7..68341595e 100644 --- a/lib/plaid/models/identity_verification_create_request.rb +++ b/lib/plaid/models/identity_verification_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -214,6 +214,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_create_request_user.rb b/lib/plaid/models/identity_verification_create_request_user.rb index 3f22f8d35..3e1a85c63 100644 --- a/lib/plaid/models/identity_verification_create_request_user.rb +++ b/lib/plaid/models/identity_verification_create_request_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -188,6 +188,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_create_response.rb b/lib/plaid/models/identity_verification_create_response.rb index e89a9c11e..87baf430a 100644 --- a/lib/plaid/models/identity_verification_create_response.rb +++ b/lib/plaid/models/identity_verification_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -331,6 +331,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_get_request.rb b/lib/plaid/models/identity_verification_get_request.rb index bc2713acc..65a1f027e 100644 --- a/lib/plaid/models/identity_verification_get_request.rb +++ b/lib/plaid/models/identity_verification_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_get_response.rb b/lib/plaid/models/identity_verification_get_response.rb index e03d0cc85..37f3fa01f 100644 --- a/lib/plaid/models/identity_verification_get_response.rb +++ b/lib/plaid/models/identity_verification_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -331,6 +331,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_list_request.rb b/lib/plaid/models/identity_verification_list_request.rb index 6f92631e0..1a79f768f 100644 --- a/lib/plaid/models/identity_verification_list_request.rb +++ b/lib/plaid/models/identity_verification_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -181,6 +181,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_list_response.rb b/lib/plaid/models/identity_verification_list_response.rb index 1e85ac05e..2d6c81c40 100644 --- a/lib/plaid/models/identity_verification_list_response.rb +++ b/lib/plaid/models/identity_verification_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_request_user.rb b/lib/plaid/models/identity_verification_request_user.rb index 2956da369..70ff70bc3 100644 --- a/lib/plaid/models/identity_verification_request_user.rb +++ b/lib/plaid/models/identity_verification_request_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_request_user_name.rb b/lib/plaid/models/identity_verification_request_user_name.rb index 57741d25d..2825d1cae 100644 --- a/lib/plaid/models/identity_verification_request_user_name.rb +++ b/lib/plaid/models/identity_verification_request_user_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_response_user_name.rb b/lib/plaid/models/identity_verification_response_user_name.rb index b8cc57dff..793dc21c6 100644 --- a/lib/plaid/models/identity_verification_response_user_name.rb +++ b/lib/plaid/models/identity_verification_response_user_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_retried_webhook.rb b/lib/plaid/models/identity_verification_retried_webhook.rb index 99be70892..d17b1c931 100644 --- a/lib/plaid/models/identity_verification_retried_webhook.rb +++ b/lib/plaid/models/identity_verification_retried_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_retry_request.rb b/lib/plaid/models/identity_verification_retry_request.rb index 849a6fe3c..76dd75d3a 100644 --- a/lib/plaid/models/identity_verification_retry_request.rb +++ b/lib/plaid/models/identity_verification_retry_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -204,6 +204,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_retry_request_steps_object.rb b/lib/plaid/models/identity_verification_retry_request_steps_object.rb index 61a87e608..eb56e1bf7 100644 --- a/lib/plaid/models/identity_verification_retry_request_steps_object.rb +++ b/lib/plaid/models/identity_verification_retry_request_steps_object.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_retry_response.rb b/lib/plaid/models/identity_verification_retry_response.rb index 029b3e45f..356d01243 100644 --- a/lib/plaid/models/identity_verification_retry_response.rb +++ b/lib/plaid/models/identity_verification_retry_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -331,6 +331,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_status.rb b/lib/plaid/models/identity_verification_status.rb index 0821b3790..5f2aa13dd 100644 --- a/lib/plaid/models/identity_verification_status.rb +++ b/lib/plaid/models/identity_verification_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/identity_verification_status_updated_webhook.rb b/lib/plaid/models/identity_verification_status_updated_webhook.rb index 1072c3697..ec2f09f7f 100644 --- a/lib/plaid/models/identity_verification_status_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_status_updated_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_step_status.rb b/lib/plaid/models/identity_verification_step_status.rb index 774fb7740..3cb2bf465 100644 --- a/lib/plaid/models/identity_verification_step_status.rb +++ b/lib/plaid/models/identity_verification_step_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/identity_verification_step_summary.rb b/lib/plaid/models/identity_verification_step_summary.rb index c26ec99d6..ce6da5391 100644 --- a/lib/plaid/models/identity_verification_step_summary.rb +++ b/lib/plaid/models/identity_verification_step_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -197,6 +197,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_step_updated_webhook.rb b/lib/plaid/models/identity_verification_step_updated_webhook.rb index 0a8684fd3..22afae69b 100644 --- a/lib/plaid/models/identity_verification_step_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_step_updated_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_template_reference.rb b/lib/plaid/models/identity_verification_template_reference.rb index b4e04e1d2..f99174ac8 100644 --- a/lib/plaid/models/identity_verification_template_reference.rb +++ b/lib/plaid/models/identity_verification_template_reference.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_user_address.rb b/lib/plaid/models/identity_verification_user_address.rb index 64dcf9d6f..aae428296 100644 --- a/lib/plaid/models/identity_verification_user_address.rb +++ b/lib/plaid/models/identity_verification_user_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -190,6 +190,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index debf35bd9..e0685773a 100644 --- a/lib/plaid/models/identity_verification_user_data.rb +++ b/lib/plaid/models/identity_verification_user_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index 4e60ccf71..7fa713dc1 100644 --- a/lib/plaid/models/image_quality.rb +++ b/lib/plaid/models/image_quality.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index 4fe8084af..2c23a7400 100644 --- a/lib/plaid/models/incident_update.rb +++ b/lib/plaid/models/incident_update.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index f6a558c00..5f1faf8a5 100644 --- a/lib/plaid/models/income_breakdown.rb +++ b/lib/plaid/models/income_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index c683d029f..8618b4561 100644 --- a/lib/plaid/models/income_breakdown_type.rb +++ b/lib/plaid/models/income_breakdown_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index a57d89055..0647efd10 100644 --- a/lib/plaid/models/income_override.rb +++ b/lib/plaid/models/income_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index 4594133dd..3e5bdceb8 100644 --- a/lib/plaid/models/income_summary.rb +++ b/lib/plaid/models/income_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index 25e7929d0..5ee13d269 100644 --- a/lib/plaid/models/income_summary_field_number.rb +++ b/lib/plaid/models/income_summary_field_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 1b92d1613..3b020a6fc 100644 --- a/lib/plaid/models/income_summary_field_string.rb +++ b/lib/plaid/models/income_summary_field_string.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index d81f57dd1..3dcc8e1e3 100644 --- a/lib/plaid/models/income_verification_create_request.rb +++ b/lib/plaid/models/income_verification_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -153,6 +153,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index 51cf2ffc3..a168d56a9 100644 --- a/lib/plaid/models/income_verification_create_request_options.rb +++ b/lib/plaid/models/income_verification_create_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index e09c0a1a9..30fbab762 100644 --- a/lib/plaid/models/income_verification_create_response.rb +++ b/lib/plaid/models/income_verification_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index ff2d9d27d..41b66714d 100644 --- a/lib/plaid/models/income_verification_documents_download_request.rb +++ b/lib/plaid/models/income_verification_documents_download_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -152,6 +152,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_payroll_flow_type.rb b/lib/plaid/models/income_verification_payroll_flow_type.rb index cd5056185..8d8d81f9b 100644 --- a/lib/plaid/models/income_verification_payroll_flow_type.rb +++ b/lib/plaid/models/income_verification_payroll_flow_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index 5241999ac..2107a466a 100644 --- a/lib/plaid/models/income_verification_paystubs_get_request.rb +++ b/lib/plaid/models/income_verification_paystubs_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index 1e1374bec..b245d72b8 100644 --- a/lib/plaid/models/income_verification_paystubs_get_response.rb +++ b/lib/plaid/models/income_verification_paystubs_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -152,6 +152,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 3dd9bdf0e..fa4a9fb01 100644 --- a/lib/plaid/models/income_verification_precheck_confidence.rb +++ b/lib/plaid/models/income_verification_precheck_confidence.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index 9d72298f4..ff55baca9 100644 --- a/lib/plaid/models/income_verification_precheck_employer.rb +++ b/lib/plaid/models/income_verification_precheck_employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index df0b95a14..8b3b31d27 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index 52ccdf16b..77b05e3e3 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address_data.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index 35caa2880..15477e3bf 100644 --- a/lib/plaid/models/income_verification_precheck_military_info.rb +++ b/lib/plaid/models/income_verification_precheck_military_info.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_payroll_institution.rb b/lib/plaid/models/income_verification_precheck_payroll_institution.rb index c3d299d7b..bcd54af11 100644 --- a/lib/plaid/models/income_verification_precheck_payroll_institution.rb +++ b/lib/plaid/models/income_verification_precheck_payroll_institution.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index 291192666..9b3dbde75 100644 --- a/lib/plaid/models/income_verification_precheck_request.rb +++ b/lib/plaid/models/income_verification_precheck_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index ca9cddc45..0d6456c4e 100644 --- a/lib/plaid/models/income_verification_precheck_response.rb +++ b/lib/plaid/models/income_verification_precheck_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index a6031898c..40f454597 100644 --- a/lib/plaid/models/income_verification_precheck_user.rb +++ b/lib/plaid/models/income_verification_precheck_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb index 7f0cf7925..cf3c7c83b 100644 --- a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +++ b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_source_type.rb b/lib/plaid/models/income_verification_source_type.rb index 5cda64d74..d20cc2e8e 100644 --- a/lib/plaid/models/income_verification_source_type.rb +++ b/lib/plaid/models/income_verification_source_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 00fb3f722..830289ca3 100644 --- a/lib/plaid/models/income_verification_status_webhook.rb +++ b/lib/plaid/models/income_verification_status_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index 03d4d8103..271ec7902 100644 --- a/lib/plaid/models/income_verification_taxforms_get_request.rb +++ b/lib/plaid/models/income_verification_taxforms_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 3b5bb28a2..222162ec9 100644 --- a/lib/plaid/models/income_verification_taxforms_get_response.rb +++ b/lib/plaid/models/income_verification_taxforms_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -152,6 +152,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index 243983bb7..e9ada553f 100644 --- a/lib/plaid/models/income_verification_webhook_status.rb +++ b/lib/plaid/models/income_verification_webhook_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/individual_name.rb b/lib/plaid/models/individual_name.rb index 1fa81b2f5..a0b913f6c 100644 --- a/lib/plaid/models/individual_name.rb +++ b/lib/plaid/models/individual_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/individual_screening_hit_names.rb b/lib/plaid/models/individual_screening_hit_names.rb index 966392c41..a6914b0ff 100644 --- a/lib/plaid/models/individual_screening_hit_names.rb +++ b/lib/plaid/models/individual_screening_hit_names.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/individual_watchlist_code.rb b/lib/plaid/models/individual_watchlist_code.rb index d48c9a5a9..8580ba665 100644 --- a/lib/plaid/models/individual_watchlist_code.rb +++ b/lib/plaid/models/individual_watchlist_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/individual_watchlist_program.rb b/lib/plaid/models/individual_watchlist_program.rb index 3471d6489..aadc7212f 100644 --- a/lib/plaid/models/individual_watchlist_program.rb +++ b/lib/plaid/models/individual_watchlist_program.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -252,6 +252,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index ab2429bc7..346b2d9e7 100644 --- a/lib/plaid/models/inflow_model.rb +++ b/lib/plaid/models/inflow_model.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index ea7a306e4..29e83bb6e 100644 --- a/lib/plaid/models/initial_update_webhook.rb +++ b/lib/plaid/models/initial_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -184,6 +184,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index fd2768791..49f7ff63f 100644 --- a/lib/plaid/models/institution.rb +++ b/lib/plaid/models/institution.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -16,10 +16,10 @@ module Plaid # Details relating to a specific financial institution class Institution - # Unique identifier for the institution + # Unique identifier for the institution. Note that the same institution may have multiple records, each with different institution IDs; for example, if the institution has migrated to OAuth, there may be separate `institution_id`s for the OAuth and non-OAuth versions of the institution. Institutions that operate in different countries or with multiple login portals may also have separate `institution_id`s for each country or portal. attr_accessor :institution_id - # The official name of the institution + # The official name of the institution. attr_accessor :name # A list of the Plaid products supported by the institution. Note that only institutions that support Instant Auth will return `auth` in the product array; institutions that do not list `auth` may still support other Auth methods such as Instant Match or Automated Micro-deposit Verification. To identify institutions that support those methods, use the `auth_metadata` object. For more details, see [Full Auth coverage](https://plaid.com/docs/auth/coverage/). @@ -270,6 +270,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 9859ee88d..d99be8105 100644 --- a/lib/plaid/models/institution_status.rb +++ b/lib/plaid/models/institution_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -192,6 +192,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institution_supported_networks.rb b/lib/plaid/models/institution_supported_networks.rb index 802803392..0b7c78057 100644 --- a/lib/plaid/models/institution_supported_networks.rb +++ b/lib/plaid/models/institution_supported_networks.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index b085ae32d..6899ae722 100644 --- a/lib/plaid/models/institutions_get_by_id_request.rb +++ b/lib/plaid/models/institutions_get_by_id_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,7 +25,7 @@ class InstitutionsGetByIdRequest # The ID of the institution to get details about attr_accessor :institution_id - # Specify an array of Plaid-supported country codes this institution supports, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. + # Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. attr_accessor :country_codes attr_accessor :options @@ -181,6 +181,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_by_id_request_options.rb b/lib/plaid/models/institutions_get_by_id_request_options.rb index 0ddf61fef..de508de85 100644 --- a/lib/plaid/models/institutions_get_by_id_request_options.rb +++ b/lib/plaid/models/institutions_get_by_id_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -147,6 +147,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index bf165ff3f..be79544cc 100644 --- a/lib/plaid/models/institutions_get_by_id_response.rb +++ b/lib/plaid/models/institutions_get_by_id_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index 92937aed8..d925df8c2 100644 --- a/lib/plaid/models/institutions_get_request.rb +++ b/lib/plaid/models/institutions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -28,7 +28,7 @@ class InstitutionsGetRequest # The number of Institutions to skip. attr_accessor :offset - # Specify an array of Plaid-supported country codes this institution supports, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. + # Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. attr_accessor :country_codes attr_accessor :options @@ -247,6 +247,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index 2a2374691..1e84dea2f 100644 --- a/lib/plaid/models/institutions_get_request_options.rb +++ b/lib/plaid/models/institutions_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 93e550276..60fc17ede 100644 --- a/lib/plaid/models/institutions_get_response.rb +++ b/lib/plaid/models/institutions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -146,6 +146,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index 72755942d..c305f8330 100644 --- a/lib/plaid/models/institutions_search_account_filter.rb +++ b/lib/plaid/models/institutions_search_account_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index 255f42cb5..cef0bd687 100644 --- a/lib/plaid/models/institutions_search_payment_initiation_options.rb +++ b/lib/plaid/models/institutions_search_payment_initiation_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index 13fe13304..7b326f716 100644 --- a/lib/plaid/models/institutions_search_request.rb +++ b/lib/plaid/models/institutions_search_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -28,7 +28,7 @@ class InstitutionsSearchRequest # Filter the Institutions based on whether they support all products listed in `products`. Provide `null` to get institutions regardless of supported products. Note that when `auth` is specified as a product, if you are enabled for Instant Match or Automated Micro-deposits, institutions that support those products will be returned even if `auth` is not present in their product array. attr_accessor :products - # Specify an array of Plaid-supported country codes this institution supports, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. + # Specify which country or countries to include institutions from, using the ISO-3166-1 alpha-2 country code standard. In API versions 2019-05-29 and earlier, the `country_codes` parameter is an optional parameter within the `options` object and will default to `[US]` if it is not supplied. attr_accessor :country_codes attr_accessor :options @@ -211,6 +211,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index 14c2d45a4..259a81390 100644 --- a/lib/plaid/models/institutions_search_request_options.rb +++ b/lib/plaid/models/institutions_search_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 82fc71f4d..a3ab606a4 100644 --- a/lib/plaid/models/institutions_search_response.rb +++ b/lib/plaid/models/institutions_search_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investment_account_subtype.rb b/lib/plaid/models/investment_account_subtype.rb index 3375c9cee..f285373aa 100644 --- a/lib/plaid/models/investment_account_subtype.rb +++ b/lib/plaid/models/investment_account_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index cf0ba9d02..f01c9daeb 100644 --- a/lib/plaid/models/investment_filter.rb +++ b/lib/plaid/models/investment_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 9f64c0c1c..ef0bde5d9 100644 --- a/lib/plaid/models/investment_holdings_get_request_options.rb +++ b/lib/plaid/models/investment_holdings_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index f612c1604..833582bbc 100644 --- a/lib/plaid/models/investment_transaction.rb +++ b/lib/plaid/models/investment_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -287,6 +287,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index deb0b1206..150aeaa15 100644 --- a/lib/plaid/models/investment_transaction_subtype.rb +++ b/lib/plaid/models/investment_transaction_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/investment_transaction_type.rb b/lib/plaid/models/investment_transaction_type.rb index bc49317ec..3e30a964a 100644 --- a/lib/plaid/models/investment_transaction_type.rb +++ b/lib/plaid/models/investment_transaction_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/investments_auth_get_numbers.rb b/lib/plaid/models/investments_auth_get_numbers.rb index 0429a3af1..948e505af 100644 --- a/lib/plaid/models/investments_auth_get_numbers.rb +++ b/lib/plaid/models/investments_auth_get_numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_auth_get_request.rb b/lib/plaid/models/investments_auth_get_request.rb index e5d5cb095..47d41c150 100644 --- a/lib/plaid/models/investments_auth_get_request.rb +++ b/lib/plaid/models/investments_auth_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_auth_get_request_options.rb b/lib/plaid/models/investments_auth_get_request_options.rb index 8ee491598..4d80e481f 100644 --- a/lib/plaid/models/investments_auth_get_request_options.rb +++ b/lib/plaid/models/investments_auth_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_auth_get_response.rb b/lib/plaid/models/investments_auth_get_response.rb index 2f943cb33..1809804e1 100644 --- a/lib/plaid/models/investments_auth_get_response.rb +++ b/lib/plaid/models/investments_auth_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_auth_owner.rb b/lib/plaid/models/investments_auth_owner.rb index dc2efe317..01ec01d1b 100644 --- a/lib/plaid/models/investments_auth_owner.rb +++ b/lib/plaid/models/investments_auth_owner.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index de5d7faa7..816e4bc78 100644 --- a/lib/plaid/models/investments_default_update_webhook.rb +++ b/lib/plaid/models/investments_default_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_historical_update_webhook.rb b/lib/plaid/models/investments_historical_update_webhook.rb new file mode 100644 index 000000000..cbc0e1ad8 --- /dev/null +++ b/lib/plaid/models/investments_historical_update_webhook.rb @@ -0,0 +1,310 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired after an asynchronous extraction on an investments account. + class InvestmentsHistoricalUpdateWebhook + # `INVESTMENTS_TRANSACTIONS` + attr_accessor :webhook_type + + # `HISTORICAL_UPDATE` + attr_accessor :webhook_code + + # The `item_id` of the Item associated with this webhook, warning, or error + attr_accessor :item_id + + attr_accessor :error + + # The number of new transactions reported since the last time this webhook was fired. + attr_accessor :new_investments_transactions + + # The number of canceled transactions reported since the last time this webhook was fired. + attr_accessor :canceled_investments_transactions + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'item_id' => :'item_id', + :'error' => :'error', + :'new_investments_transactions' => :'new_investments_transactions', + :'canceled_investments_transactions' => :'canceled_investments_transactions', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'item_id' => :'String', + :'error' => :'PlaidError', + :'new_investments_transactions' => :'Float', + :'canceled_investments_transactions' => :'Float', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'error', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::InvestmentsHistoricalUpdateWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::InvestmentsHistoricalUpdateWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.key?(:'new_investments_transactions') + self.new_investments_transactions = attributes[:'new_investments_transactions'] + end + + if attributes.key?(:'canceled_investments_transactions') + self.canceled_investments_transactions = attributes[:'canceled_investments_transactions'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @new_investments_transactions.nil? + invalid_properties.push('invalid value for "new_investments_transactions", new_investments_transactions cannot be nil.') + end + + if @canceled_investments_transactions.nil? + invalid_properties.push('invalid value for "canceled_investments_transactions", canceled_investments_transactions cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @item_id.nil? + return false if @new_investments_transactions.nil? + return false if @canceled_investments_transactions.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + item_id == o.item_id && + error == o.error && + new_investments_transactions == o.new_investments_transactions && + canceled_investments_transactions == o.canceled_investments_transactions && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, item_id, error, new_investments_transactions, canceled_investments_transactions, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index a8989dcf9..7536d71d8 100644 --- a/lib/plaid/models/investments_holdings_get_request.rb +++ b/lib/plaid/models/investments_holdings_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index 29e5c48fc..02131f922 100644 --- a/lib/plaid/models/investments_holdings_get_response.rb +++ b/lib/plaid/models/investments_holdings_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -179,6 +179,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_refresh_request.rb b/lib/plaid/models/investments_refresh_request.rb index 9a5837ed8..05a8a6599 100644 --- a/lib/plaid/models/investments_refresh_request.rb +++ b/lib/plaid/models/investments_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_refresh_response.rb b/lib/plaid/models/investments_refresh_response.rb index d226261c5..622401c94 100644 --- a/lib/plaid/models/investments_refresh_response.rb +++ b/lib/plaid/models/investments_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 1a4a2e47a..f91de5b32 100644 --- a/lib/plaid/models/investments_transactions_get_request.rb +++ b/lib/plaid/models/investments_transactions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index 3e156d1ce..1e2392fe5 100644 --- a/lib/plaid/models/investments_transactions_get_request_options.rb +++ b/lib/plaid/models/investments_transactions_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,12 +25,16 @@ class InvestmentsTransactionsGetRequestOptions # The number of transactions to skip when fetching transaction history attr_accessor :offset + # When `true`, any Investments extraction will happen asynchronously and Plaid will subsequently fire a `HISTORICAL_UPDATE` webhook when the extraction completes. When `false`, Plaid will wait to return a response until extraction completion and no `HISTORICAL_UPDATE` webhook will fire. Note that while the extraction is happening asynchronously, calls to `/investments/transactions/get` and `/investments/refresh` will return `PRODUCT_NOT_READY` errors until the extraction completes. + attr_accessor :async_update + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'account_ids' => :'account_ids', :'count' => :'count', - :'offset' => :'offset' + :'offset' => :'offset', + :'async_update' => :'async_update' } end @@ -44,7 +48,8 @@ def self.openapi_types { :'account_ids' => :'Array', :'count' => :'Integer', - :'offset' => :'Integer' + :'offset' => :'Integer', + :'async_update' => :'Boolean' } end @@ -86,6 +91,12 @@ def initialize(attributes = {}) else self.offset = 0 end + + if attributes.key?(:'async_update') + self.async_update = attributes[:'async_update'] + else + self.async_update = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -151,7 +162,8 @@ def ==(o) self.class == o.class && account_ids == o.account_ids && count == o.count && - offset == o.offset + offset == o.offset && + async_update == o.async_update end # @see the `==` method @@ -163,7 +175,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_ids, count, offset].hash + [account_ids, count, offset, async_update].hash end # Builds the object from hash @@ -178,6 +190,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index 1d3fa16bb..f1721d3ce 100644 --- a/lib/plaid/models/investments_transactions_get_response.rb +++ b/lib/plaid/models/investments_transactions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -194,6 +194,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index ac15b53c7..63591dd16 100644 --- a/lib/plaid/models/investments_transactions_override.rb +++ b/lib/plaid/models/investments_transactions_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -208,6 +208,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index dd3082906..2614c1b3e 100644 --- a/lib/plaid/models/issuing_country.rb +++ b/lib/plaid/models/issuing_country.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index 43af67f43..0a6f39c29 100644 --- a/lib/plaid/models/item.rb +++ b/lib/plaid/models/item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -264,6 +264,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index f48c0c22d..5da61d54b 100644 --- a/lib/plaid/models/item_access_token_invalidate_request.rb +++ b/lib/plaid/models/item_access_token_invalidate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index fad2c8f32..24ce2ad18 100644 --- a/lib/plaid/models/item_access_token_invalidate_response.rb +++ b/lib/plaid/models/item_access_token_invalidate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_activity_list_request.rb b/lib/plaid/models/item_activity_list_request.rb index 535d94b0a..b046a25ef 100644 --- a/lib/plaid/models/item_activity_list_request.rb +++ b/lib/plaid/models/item_activity_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_activity_list_response.rb b/lib/plaid/models/item_activity_list_response.rb index 0318c19ee..cc12ab075 100644 --- a/lib/plaid/models/item_activity_list_response.rb +++ b/lib/plaid/models/item_activity_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index 65382c4b3..5fd40a4ae 100644 --- a/lib/plaid/models/item_application_list_request.rb +++ b/lib/plaid/models/item_application_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 065a91477..509349933 100644 --- a/lib/plaid/models/item_application_list_response.rb +++ b/lib/plaid/models/item_application_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index f3e2b7c57..be3e91209 100644 --- a/lib/plaid/models/item_application_list_user_auth.rb +++ b/lib/plaid/models/item_application_list_user_auth.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index 3abab5e51..710bf2d0a 100644 --- a/lib/plaid/models/item_application_scopes_update_request.rb +++ b/lib/plaid/models/item_application_scopes_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index 747caefcd..bfeda8619 100644 --- a/lib/plaid/models/item_application_scopes_update_response.rb +++ b/lib/plaid/models/item_application_scopes_update_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index ce115ef9c..6b35c3b08 100644 --- a/lib/plaid/models/item_error_webhook.rb +++ b/lib/plaid/models/item_error_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index 6e8544183..d9b305ad8 100644 --- a/lib/plaid/models/item_get_request.rb +++ b/lib/plaid/models/item_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index cd6f9ce0e..e7a5e4414 100644 --- a/lib/plaid/models/item_get_response.rb +++ b/lib/plaid/models/item_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index 20cd3bcff..d3079c4dc 100644 --- a/lib/plaid/models/item_import_request.rb +++ b/lib/plaid/models/item_import_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index c6af5e985..079093f65 100644 --- a/lib/plaid/models/item_import_request_options.rb +++ b/lib/plaid/models/item_import_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index e07ece8b1..be890419d 100644 --- a/lib/plaid/models/item_import_request_user_auth.rb +++ b/lib/plaid/models/item_import_request_user_auth.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index ac661b7bc..8dded5861 100644 --- a/lib/plaid/models/item_import_response.rb +++ b/lib/plaid/models/item_import_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_login_repaired_webhook.rb b/lib/plaid/models/item_login_repaired_webhook.rb index d2b8b8a4e..d27557e57 100644 --- a/lib/plaid/models/item_login_repaired_webhook.rb +++ b/lib/plaid/models/item_login_repaired_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index c9efcebe3..621d0cb64 100644 --- a/lib/plaid/models/item_product_ready_webhook.rb +++ b/lib/plaid/models/item_product_ready_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 68af20df3..e19474775 100644 --- a/lib/plaid/models/item_public_token_create_request.rb +++ b/lib/plaid/models/item_public_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index 34bbfe230..f3db518bd 100644 --- a/lib/plaid/models/item_public_token_create_response.rb +++ b/lib/plaid/models/item_public_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index a81bc9d80..c86dbe81f 100644 --- a/lib/plaid/models/item_public_token_exchange_request.rb +++ b/lib/plaid/models/item_public_token_exchange_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index 629da6f3e..329926403 100644 --- a/lib/plaid/models/item_public_token_exchange_response.rb +++ b/lib/plaid/models/item_public_token_exchange_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index 7d4121fec..7aa1fec6f 100644 --- a/lib/plaid/models/item_remove_request.rb +++ b/lib/plaid/models/item_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index 0956b3290..1431fe07e 100644 --- a/lib/plaid/models/item_remove_response.rb +++ b/lib/plaid/models/item_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index 971940fe4..6744bdfb2 100644 --- a/lib/plaid/models/item_status.rb +++ b/lib/plaid/models/item_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index e581222e9..65bad6937 100644 --- a/lib/plaid/models/item_status_investments.rb +++ b/lib/plaid/models/item_status_investments.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index d433b1b56..a1fcf3e66 100644 --- a/lib/plaid/models/item_status_last_webhook.rb +++ b/lib/plaid/models/item_status_last_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index a099926d3..0c0bd88d1 100644 --- a/lib/plaid/models/item_status_nullable.rb +++ b/lib/plaid/models/item_status_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -136,6 +136,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index bb44c8f03..afbbf71d6 100644 --- a/lib/plaid/models/item_status_transactions.rb +++ b/lib/plaid/models/item_status_transactions.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index bb1de7f65..a6993ed20 100644 --- a/lib/plaid/models/item_webhook_update_request.rb +++ b/lib/plaid/models/item_webhook_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index 5ec4afa45..b327ca5bf 100644 --- a/lib/plaid/models/item_webhook_update_response.rb +++ b/lib/plaid/models/item_webhook_update_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index fdc63dd55..f65c54c00 100644 --- a/lib/plaid/models/jwk_public_key.rb +++ b/lib/plaid/models/jwk_public_key.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -230,6 +230,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index d173d241f..9071a50e7 100644 --- a/lib/plaid/models/jwt_header.rb +++ b/lib/plaid/models/jwt_header.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_address_summary.rb b/lib/plaid/models/kyc_check_address_summary.rb index 73f01d725..0c9022998 100644 --- a/lib/plaid/models/kyc_check_address_summary.rb +++ b/lib/plaid/models/kyc_check_address_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_date_of_birth_summary.rb b/lib/plaid/models/kyc_check_date_of_birth_summary.rb index 96cad1f27..39ec967f9 100644 --- a/lib/plaid/models/kyc_check_date_of_birth_summary.rb +++ b/lib/plaid/models/kyc_check_date_of_birth_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index 5e099d2a6..8abb5b508 100644 --- a/lib/plaid/models/kyc_check_details.rb +++ b/lib/plaid/models/kyc_check_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -184,6 +184,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index 718230008..d25d46045 100644 --- a/lib/plaid/models/kyc_check_id_number_summary.rb +++ b/lib/plaid/models/kyc_check_id_number_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_name_summary.rb b/lib/plaid/models/kyc_check_name_summary.rb index d218c8651..f549e940e 100644 --- a/lib/plaid/models/kyc_check_name_summary.rb +++ b/lib/plaid/models/kyc_check_name_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index a4f4e93b4..15ee9293b 100644 --- a/lib/plaid/models/kyc_check_phone_summary.rb +++ b/lib/plaid/models/kyc_check_phone_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/last_data_access_times.rb b/lib/plaid/models/last_data_access_times.rb index 317cb4f97..a045b263f 100644 --- a/lib/plaid/models/last_data_access_times.rb +++ b/lib/plaid/models/last_data_access_times.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -202,6 +202,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index b466610ba..7386d8023 100644 --- a/lib/plaid/models/liabilities_default_update_webhook.rb +++ b/lib/plaid/models/liabilities_default_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -202,6 +202,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 9a93c4122..9e97623c2 100644 --- a/lib/plaid/models/liabilities_get_request.rb +++ b/lib/plaid/models/liabilities_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index 7b2f6c85d..776803a79 100644 --- a/lib/plaid/models/liabilities_get_request_options.rb +++ b/lib/plaid/models/liabilities_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index 66e448dc5..d2e83bc7c 100644 --- a/lib/plaid/models/liabilities_get_response.rb +++ b/lib/plaid/models/liabilities_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index fb9c17633..b0f54529e 100644 --- a/lib/plaid/models/liabilities_object.rb +++ b/lib/plaid/models/liabilities_object.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index 6b377581d..e48a8afd0 100644 --- a/lib/plaid/models/liability_override.rb +++ b/lib/plaid/models/liability_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -455,6 +455,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_callback_metadata.rb b/lib/plaid/models/link_callback_metadata.rb index 2601a5334..045c35225 100644 --- a/lib/plaid/models/link_callback_metadata.rb +++ b/lib/plaid/models/link_callback_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_account.rb b/lib/plaid/models/link_delivery_account.rb index 1d9245f9f..55b08c739 100644 --- a/lib/plaid/models/link_delivery_account.rb +++ b/lib/plaid/models/link_delivery_account.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_callback_webhook.rb b/lib/plaid/models/link_delivery_callback_webhook.rb index af78566a5..384a0284e 100644 --- a/lib/plaid/models/link_delivery_callback_webhook.rb +++ b/lib/plaid/models/link_delivery_callback_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_communication_method.rb b/lib/plaid/models/link_delivery_communication_method.rb index 90aa2f0ab..2402717eb 100644 --- a/lib/plaid/models/link_delivery_communication_method.rb +++ b/lib/plaid/models/link_delivery_communication_method.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -118,6 +118,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_create_request.rb b/lib/plaid/models/link_delivery_create_request.rb index 8f035d47b..2f12a37c4 100644 --- a/lib/plaid/models/link_delivery_create_request.rb +++ b/lib/plaid/models/link_delivery_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_create_response.rb b/lib/plaid/models/link_delivery_create_response.rb index 6301cb00b..0dcc875e7 100644 --- a/lib/plaid/models/link_delivery_create_response.rb +++ b/lib/plaid/models/link_delivery_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_delivery_method.rb b/lib/plaid/models/link_delivery_delivery_method.rb index e10c1fe9d..073967e7c 100644 --- a/lib/plaid/models/link_delivery_delivery_method.rb +++ b/lib/plaid/models/link_delivery_delivery_method.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_delivery_get_request.rb b/lib/plaid/models/link_delivery_get_request.rb index cbeec27a0..0d535e69a 100644 --- a/lib/plaid/models/link_delivery_get_request.rb +++ b/lib/plaid/models/link_delivery_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_get_response.rb b/lib/plaid/models/link_delivery_get_response.rb index 4f577fb9c..453cb3a30 100644 --- a/lib/plaid/models/link_delivery_get_response.rb +++ b/lib/plaid/models/link_delivery_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_institution.rb b/lib/plaid/models/link_delivery_institution.rb index 2d27382ae..99d52057b 100644 --- a/lib/plaid/models/link_delivery_institution.rb +++ b/lib/plaid/models/link_delivery_institution.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_metadata.rb b/lib/plaid/models/link_delivery_metadata.rb index 9201794ed..9cf5a5299 100644 --- a/lib/plaid/models/link_delivery_metadata.rb +++ b/lib/plaid/models/link_delivery_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_options.rb b/lib/plaid/models/link_delivery_options.rb index 4fb564b51..8f0af22d7 100644 --- a/lib/plaid/models/link_delivery_options.rb +++ b/lib/plaid/models/link_delivery_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -108,6 +108,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_recipient.rb b/lib/plaid/models/link_delivery_recipient.rb index 34ba84c50..6651f30bf 100644 --- a/lib/plaid/models/link_delivery_recipient.rb +++ b/lib/plaid/models/link_delivery_recipient.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_delivery_session_status.rb b/lib/plaid/models/link_delivery_session_status.rb index 9414dafa3..855b716d2 100644 --- a/lib/plaid/models/link_delivery_session_status.rb +++ b/lib/plaid/models/link_delivery_session_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_delivery_verification_status.rb b/lib/plaid/models/link_delivery_verification_status.rb index 72a7b91ce..173969dd1 100644 --- a/lib/plaid/models/link_delivery_verification_status.rb +++ b/lib/plaid/models/link_delivery_verification_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_delivery_webhook_callback_type.rb b/lib/plaid/models/link_delivery_webhook_callback_type.rb index 42b426893..c49c60642 100644 --- a/lib/plaid/models/link_delivery_webhook_callback_type.rb +++ b/lib/plaid/models/link_delivery_webhook_callback_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_delivery_webhook_communication_method.rb b/lib/plaid/models/link_delivery_webhook_communication_method.rb index 034d168ca..bb9c28a50 100644 --- a/lib/plaid/models/link_delivery_webhook_communication_method.rb +++ b/lib/plaid/models/link_delivery_webhook_communication_method.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_delivery_webhook_delivery_status.rb b/lib/plaid/models/link_delivery_webhook_delivery_status.rb index e8b7593da..caadb4960 100644 --- a/lib/plaid/models/link_delivery_webhook_delivery_status.rb +++ b/lib/plaid/models/link_delivery_webhook_delivery_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_event.rb b/lib/plaid/models/link_event.rb index 3045cd4cf..aec50193b 100644 --- a/lib/plaid/models/link_event.rb +++ b/lib/plaid/models/link_event.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_event_metadata.rb b/lib/plaid/models/link_event_metadata.rb index cf9e16b19..212748575 100644 --- a/lib/plaid/models/link_event_metadata.rb +++ b/lib/plaid/models/link_event_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -254,6 +254,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_event_name.rb b/lib/plaid/models/link_event_name.rb index 8d6b95c90..718f2b6b1 100644 --- a/lib/plaid/models/link_event_name.rb +++ b/lib/plaid/models/link_event_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/link_events_webhook.rb b/lib/plaid/models/link_events_webhook.rb index 4d43d829e..ae6680e80 100644 --- a/lib/plaid/models/link_events_webhook.rb +++ b/lib/plaid/models/link_events_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb index 86e66c30e..b2f066afd 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb index a657c4e0b..c236d7dea 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index d01998d51..a1fdb67b3 100644 --- a/lib/plaid/models/link_token_account_filters.rb +++ b/lib/plaid/models/link_token_account_filters.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_credit_filter.rb b/lib/plaid/models/link_token_create_credit_filter.rb index 6fda18e7c..8768019ec 100644 --- a/lib/plaid/models/link_token_create_credit_filter.rb +++ b/lib/plaid/models/link_token_create_credit_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_depository_filter.rb b/lib/plaid/models/link_token_create_depository_filter.rb index ce8b241f0..10eb3bb6b 100644 --- a/lib/plaid/models/link_token_create_depository_filter.rb +++ b/lib/plaid/models/link_token_create_depository_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_institution_data.rb b/lib/plaid/models/link_token_create_institution_data.rb index b726d44d7..2119f4081 100644 --- a/lib/plaid/models/link_token_create_institution_data.rb +++ b/lib/plaid/models/link_token_create_institution_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_investment_filter.rb b/lib/plaid/models/link_token_create_investment_filter.rb index 1d5884c26..ff734e1f3 100644 --- a/lib/plaid/models/link_token_create_investment_filter.rb +++ b/lib/plaid/models/link_token_create_investment_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_loan_filter.rb b/lib/plaid/models/link_token_create_loan_filter.rb index 2ab823c57..866b44bf5 100644 --- a/lib/plaid/models/link_token_create_loan_filter.rb +++ b/lib/plaid/models/link_token_create_loan_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index c9c8000d7..884487160 100644 --- a/lib/plaid/models/link_token_create_request.rb +++ b/lib/plaid/models/link_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,7 +25,7 @@ class LinkTokenCreateRequest # The name of your application, as it should be displayed in Link. Maximum length of 30 characters. If a value longer than 30 characters is provided, Link will display \"This Application\" instead. attr_accessor :client_name - # The language that Link should be displayed in. When initializing with Identity Verification, this field is not used; for more details, see [Identity Verification supported languages](https://www.plaid.com/docs/identity-verification/#supported-languages). Supported languages are: - Danish (`'da'`) - Dutch (`'nl'`) - English (`'en'`) - Estonian (`'et'`) - French (`'fr'`) - German (`'de'`) - Italian (`'it'`) - Latvian (`'lv'`) - Lithuanian (`'lt'`) - Norwegian (`'no'`) - Polish (`'pl'`) - Portuguese (`'pt'`) - Romanian (`'ro'`) - Spanish (`'es'`) - Swedish (`'se'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied. + # The language that Link should be displayed in. When initializing with Identity Verification, this field is not used; for more details, see [Identity Verification supported languages](https://www.plaid.com/docs/identity-verification/#supported-languages). Supported languages are: - Danish (`'da'`) - Dutch (`'nl'`) - English (`'en'`) - Estonian (`'et'`) - French (`'fr'`) - German (`'de'`) - Italian (`'it'`) - Latvian (`'lv'`) - Lithuanian (`'lt'`) - Norwegian (`'no'`) - Polish (`'pl'`) - Portuguese (`'pt'`) - Romanian (`'ro'`) - Spanish (`'es'`) - Swedish (`'sv'`) When using a Link customization, the language configured here must match the setting in the customization, or the customization will not be applied. attr_accessor :language # Specify an array of Plaid-supported country codes using the ISO-3166-1 alpha-2 country code standard. Institutions from all listed countries will be shown. For a complete mapping of supported products by country, see https://plaid.com/global/. If Link is launched with multiple country codes, only products that you are enabled for in all countries will be used by Link. Note that while all countries are enabled by default in Sandbox and Development, in Production only US and Canada are enabled by default. Access to European institutions requires additional compliance steps. To request access to European institutions in the Production environment, [file a product access Support ticket](https://dashboard.plaid.com/support/new/product-and-development/product-troubleshooting/request-product-access) via the Plaid dashboard. If you initialize with a European country code, your users will see the European consent panel during the Link flow. If using a Link customization, make sure the country codes in the customization match those specified in `country_codes`, or the customization may not be applied. If using the Auth features Instant Match, Same-day Micro-deposits, or Automated Micro-deposits, `country_codes` must be set to `['US']`. @@ -424,6 +424,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_account_subtypes.rb b/lib/plaid/models/link_token_create_request_account_subtypes.rb index 7f9b673ef..6250a022c 100644 --- a/lib/plaid/models/link_token_create_request_account_subtypes.rb +++ b/lib/plaid/models/link_token_create_request_account_subtypes.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index e7f306d0e..d758412b4 100644 --- a/lib/plaid/models/link_token_create_request_auth.rb +++ b/lib/plaid/models/link_token_create_request_auth.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -207,6 +207,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_deposit_switch.rb b/lib/plaid/models/link_token_create_request_deposit_switch.rb index ab2b736dd..791f9f503 100644 --- a/lib/plaid/models/link_token_create_request_deposit_switch.rb +++ b/lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_employment.rb b/lib/plaid/models/link_token_create_request_employment.rb index 71fc9f62f..ae4890348 100644 --- a/lib/plaid/models/link_token_create_request_employment.rb +++ b/lib/plaid/models/link_token_create_request_employment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_employment_bank_income.rb b/lib/plaid/models/link_token_create_request_employment_bank_income.rb index b8843a192..5bd633c35 100644 --- a/lib/plaid/models/link_token_create_request_employment_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_employment_bank_income.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_identity_verification.rb b/lib/plaid/models/link_token_create_request_identity_verification.rb index 9f8a2fc56..c9dd6e69d 100644 --- a/lib/plaid/models/link_token_create_request_identity_verification.rb +++ b/lib/plaid/models/link_token_create_request_identity_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_income_verification.rb b/lib/plaid/models/link_token_create_request_income_verification.rb index 2b2368742..9f2e130e3 100644 --- a/lib/plaid/models/link_token_create_request_income_verification.rb +++ b/lib/plaid/models/link_token_create_request_income_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb index 8e61441bc..922a61f3d 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -157,6 +157,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb index ac02b673d..1a24e4c5b 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_payment_initiation.rb b/lib/plaid/models/link_token_create_request_payment_initiation.rb index f1ee3cfa8..40af9d9b4 100644 --- a/lib/plaid/models/link_token_create_request_payment_initiation.rb +++ b/lib/plaid/models/link_token_create_request_payment_initiation.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index f419aa5ac..c15ccb119 100644 --- a/lib/plaid/models/link_token_create_request_transfer.rb +++ b/lib/plaid/models/link_token_create_request_transfer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index cbd415964..8ea1e9add 100644 --- a/lib/plaid/models/link_token_create_request_update.rb +++ b/lib/plaid/models/link_token_create_request_update.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -16,7 +16,7 @@ module Plaid # Specifies options for initializing Link for [update mode](https://plaid.com/docs/link/update-mode). class LinkTokenCreateRequestUpdate - # If `true`, enables [update mode with Account Select](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts). + # If `true`, enables [update mode with Account Select](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) for institutions that do not use OAuth, or that use OAuth but do not have their own account selection flow. For institutions that have an OAuth account selection flow (i.e. most OAuth-enabled institutions), update mode with Account Select will always be enabled, regardless of the value of this field. attr_accessor :account_selection_enabled # Attribute mapping from ruby-style variable name to JSON key. @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index 92d6db682..bed503d88 100644 --- a/lib/plaid/models/link_token_create_request_user.rb +++ b/lib/plaid/models/link_token_create_request_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -73,15 +73,15 @@ def self.openapi_types { :'client_user_id' => :'String', :'legal_name' => :'String', - :'name' => :'IdentityVerificationRequestUserName', + :'name' => :'LinkTokenCreateRequestUserName', :'phone_number' => :'String', :'phone_number_verified_time' => :'Time', :'email_address' => :'String', :'email_address_verified_time' => :'Time', :'ssn' => :'String', :'date_of_birth' => :'Date', - :'address' => :'UserAddress', - :'id_number' => :'UserIDNumber' + :'address' => :'LinkTokenCreateRequestUserAddress', + :'id_number' => :'LinkTokenCreateRequestUserIdNumber' } end @@ -214,6 +214,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_request_user_address.rb b/lib/plaid/models/link_token_create_request_user_address.rb new file mode 100644 index 000000000..cf22c62e2 --- /dev/null +++ b/lib/plaid/models/link_token_create_request_user_address.rb @@ -0,0 +1,316 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LinkTokenCreateRequestUserAddress + # The primary street portion of an address. If the user has submitted their address, this field will always be filled. + attr_accessor :street + + # Extra street information, like an apartment or suite number. + attr_accessor :street2 + + # City from the end user's address + attr_accessor :city + + # An ISO 3166-2 subdivision code. Related terms would be \"state\", \"province\", \"prefecture\", \"zone\", \"subdivision\", etc. + attr_accessor :region + + # The postal code for the associated address. Between 2 and 10 alphanumeric characters. For US-based addresses this must be 5 numeric digits. + attr_accessor :postal_code + + # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. + attr_accessor :country + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'street' => :'street', + :'street2' => :'street2', + :'city' => :'city', + :'region' => :'region', + :'postal_code' => :'postal_code', + :'country' => :'country' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'street' => :'String', + :'street2' => :'String', + :'city' => :'String', + :'region' => :'String', + :'postal_code' => :'String', + :'country' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'street2', + :'region', + :'postal_code', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'UserAddress' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkTokenCreateRequestUserAddress` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkTokenCreateRequestUserAddress`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'street') + self.street = attributes[:'street'] + end + + if attributes.key?(:'street2') + self.street2 = attributes[:'street2'] + end + + if attributes.key?(:'city') + self.city = attributes[:'city'] + end + + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + + if attributes.key?(:'postal_code') + self.postal_code = attributes[:'postal_code'] + end + + if attributes.key?(:'country') + self.country = attributes[:'country'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @street.nil? + invalid_properties.push('invalid value for "street", street cannot be nil.') + end + + if @city.nil? + invalid_properties.push('invalid value for "city", city cannot be nil.') + end + + if @country.nil? + invalid_properties.push('invalid value for "country", country cannot be nil.') + end + + if @country.to_s.length < 2 + invalid_properties.push('invalid value for "country", the character length must be great than or equal to 2.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @street.nil? + return false if @city.nil? + return false if @country.nil? + return false if @country.to_s.length < 2 + true + end + + # Custom attribute writer method with validation + # @param [Object] country Value to be assigned + def country=(country) + if country.nil? + fail ArgumentError, 'country cannot be nil' + end + + if country.to_s.length < 2 + fail ArgumentError, 'invalid value for "country", the character length must be great than or equal to 2.' + end + + + @country = country + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + street == o.street && + street2 == o.street2 && + city == o.city && + region == o.region && + postal_code == o.postal_code && + country == o.country + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [street, street2, city, region, postal_code, country].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/link_token_create_request_user_id_number.rb b/lib/plaid/models/link_token_create_request_user_id_number.rb new file mode 100644 index 000000000..4948478cb --- /dev/null +++ b/lib/plaid/models/link_token_create_request_user_id_number.rb @@ -0,0 +1,246 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LinkTokenCreateRequestUserIdNumber + # Value of identity document value typed in by user. Alpha-numeric, with all formatting characters stripped. + attr_accessor :value + + attr_accessor :type + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'value' => :'value', + :'type' => :'type' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'value' => :'String', + :'type' => :'IDNumberType' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'UserIDNumber' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkTokenCreateRequestUserIdNumber` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkTokenCreateRequestUserIdNumber`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'value') + self.value = attributes[:'value'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @value.nil? + invalid_properties.push('invalid value for "value", value cannot be nil.') + end + + if @type.nil? + invalid_properties.push('invalid value for "type", type cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @value.nil? + return false if @type.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + value == o.value && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [value, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/link_token_create_request_user_name.rb b/lib/plaid/models/link_token_create_request_user_name.rb new file mode 100644 index 000000000..d4f4a7cb0 --- /dev/null +++ b/lib/plaid/models/link_token_create_request_user_name.rb @@ -0,0 +1,247 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LinkTokenCreateRequestUserName + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :given_name + + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :family_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'given_name' => :'given_name', + :'family_name' => :'family_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'given_name' => :'String', + :'family_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'IdentityVerificationRequestUserName' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkTokenCreateRequestUserName` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkTokenCreateRequestUserName`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'given_name') + self.given_name = attributes[:'given_name'] + end + + if attributes.key?(:'family_name') + self.family_name = attributes[:'family_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @given_name.nil? + invalid_properties.push('invalid value for "given_name", given_name cannot be nil.') + end + + if @family_name.nil? + invalid_properties.push('invalid value for "family_name", family_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @given_name.nil? + return false if @family_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + given_name == o.given_name && + family_name == o.family_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [given_name, family_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/link_token_create_request_user_stated_income_source.rb b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb index 885ecbf70..db1199420 100644 --- a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +++ b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index be479678c..ddcdb52d7 100644 --- a/lib/plaid/models/link_token_create_response.rb +++ b/lib/plaid/models/link_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index cd39452b2..1b1d21e40 100644 --- a/lib/plaid/models/link_token_eu_config.rb +++ b/lib/plaid/models/link_token_eu_config.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index 64fe01528..0c7961886 100644 --- a/lib/plaid/models/link_token_get_metadata_response.rb +++ b/lib/plaid/models/link_token_get_metadata_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -195,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index d1804114c..39a0970b5 100644 --- a/lib/plaid/models/link_token_get_request.rb +++ b/lib/plaid/models/link_token_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index ebfa69cbb..f0e75519b 100644 --- a/lib/plaid/models/link_token_get_response.rb +++ b/lib/plaid/models/link_token_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -165,6 +165,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_investments.rb b/lib/plaid/models/link_token_investments.rb index a27893c6a..0008386b1 100644 --- a/lib/plaid/models/link_token_investments.rb +++ b/lib/plaid/models/link_token_investments.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_token_investments_auth.rb b/lib/plaid/models/link_token_investments_auth.rb index be6156c92..ab3f742bf 100644 --- a/lib/plaid/models/link_token_investments_auth.rb +++ b/lib/plaid/models/link_token_investments_auth.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -125,6 +125,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/link_user_delivery_status_webhook.rb b/lib/plaid/models/link_user_delivery_status_webhook.rb index ed61240d9..2ecebde4e 100644 --- a/lib/plaid/models/link_user_delivery_status_webhook.rb +++ b/lib/plaid/models/link_user_delivery_status_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/loan.rb b/lib/plaid/models/loan.rb index 6c9bca37b..95ecadbea 100644 --- a/lib/plaid/models/loan.rb +++ b/lib/plaid/models/loan.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/loan_account_subtype.rb b/lib/plaid/models/loan_account_subtype.rb index 7d30abb65..dfe7285fb 100644 --- a/lib/plaid/models/loan_account_subtype.rb +++ b/lib/plaid/models/loan_account_subtype.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index 7394a076a..91f1344ba 100644 --- a/lib/plaid/models/loan_filter.rb +++ b/lib/plaid/models/loan_filter.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/loan_identifier.rb b/lib/plaid/models/loan_identifier.rb index a59aac1cb..d4d5448d2 100644 --- a/lib/plaid/models/loan_identifier.rb +++ b/lib/plaid/models/loan_identifier.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/loan_identifier_type.rb b/lib/plaid/models/loan_identifier_type.rb index d59d63b90..28f4f60ec 100644 --- a/lib/plaid/models/loan_identifier_type.rb +++ b/lib/plaid/models/loan_identifier_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/loan_identifiers.rb b/lib/plaid/models/loan_identifiers.rb index ad1fcac82..873f4ea60 100644 --- a/lib/plaid/models/loan_identifiers.rb +++ b/lib/plaid/models/loan_identifiers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/loans.rb b/lib/plaid/models/loans.rb index e55a0f085..0e40e1813 100644 --- a/lib/plaid/models/loans.rb +++ b/lib/plaid/models/loans.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index 5be7fdfc6..b0296bb87 100644 --- a/lib/plaid/models/location.rb +++ b/lib/plaid/models/location.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/match_summary.rb b/lib/plaid/models/match_summary.rb index adfb7b10c..fea398766 100644 --- a/lib/plaid/models/match_summary.rb +++ b/lib/plaid/models/match_summary.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/match_summary_code.rb b/lib/plaid/models/match_summary_code.rb index c5b557b36..4bcc6ba96 100644 --- a/lib/plaid/models/match_summary_code.rb +++ b/lib/plaid/models/match_summary_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index 59f0e505c..df824b1cd 100644 --- a/lib/plaid/models/meta.rb +++ b/lib/plaid/models/meta.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,7 +25,7 @@ class Meta # The account's limit attr_accessor :limit - # The account's mask. Should be a string of 2-4 alphanumeric characters. This allows you to model a mask which does not match the account number (such as with a virtual account number). + # The account's mask. Should be an empty string or a string of 2-4 alphanumeric characters. This allows you to model a mask which does not match the account number (such as with a virtual account number). attr_accessor :mask # Attribute mapping from ruby-style variable name to JSON key. @@ -111,15 +111,7 @@ def list_invalid_properties invalid_properties.push('invalid value for "mask", mask cannot be nil.') end - if @mask.to_s.length > 4 - invalid_properties.push('invalid value for "mask", the character length must be smaller than or equal to 4.') - end - - if @mask.to_s.length < 2 - invalid_properties.push('invalid value for "mask", the character length must be great than or equal to 2.') - end - - pattern = Regexp.new(/^[A-Za-z0-9]{2,4}$/) + pattern = Regexp.new(/^$|^[A-Za-z0-9]{2,4}$/) if @mask !~ pattern invalid_properties.push("invalid value for \"mask\", must conform to the pattern #{pattern}.") end @@ -135,9 +127,7 @@ def valid? return false if @official_name.nil? return false if @limit.nil? return false if @mask.nil? - return false if @mask.to_s.length > 4 - return false if @mask.to_s.length < 2 - return false if @mask !~ Regexp.new(/^[A-Za-z0-9]{2,4}$/) + return false if @mask !~ Regexp.new(/^$|^[A-Za-z0-9]{2,4}$/) true end @@ -148,15 +138,7 @@ def mask=(mask) fail ArgumentError, 'mask cannot be nil' end - if mask.to_s.length > 4 - fail ArgumentError, 'invalid value for "mask", the character length must be smaller than or equal to 4.' - end - - if mask.to_s.length < 2 - fail ArgumentError, 'invalid value for "mask", the character length must be great than or equal to 2.' - end - - pattern = Regexp.new(/^[A-Za-z0-9]{2,4}$/) + pattern = Regexp.new(/^$|^[A-Za-z0-9]{2,4}$/) if mask !~ pattern fail ArgumentError, "invalid value for \"mask\", must conform to the pattern #{pattern}." end @@ -200,6 +182,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index 019808d63..de1e8d5e3 100644 --- a/lib/plaid/models/mfa.rb +++ b/lib/plaid/models/mfa.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 96d4f3594..7db1121f6 100644 --- a/lib/plaid/models/mortgage_interest_rate.rb +++ b/lib/plaid/models/mortgage_interest_rate.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index 483ddcbab..0afbc55de 100644 --- a/lib/plaid/models/mortgage_liability.rb +++ b/lib/plaid/models/mortgage_liability.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -333,6 +333,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index f2870fd73..bcceeb1fd 100644 --- a/lib/plaid/models/mortgage_property_address.rb +++ b/lib/plaid/models/mortgage_property_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/multi_document_risk_signal.rb b/lib/plaid/models/multi_document_risk_signal.rb index a3b758575..87164ba23 100644 --- a/lib/plaid/models/multi_document_risk_signal.rb +++ b/lib/plaid/models/multi_document_risk_signal.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/name_match_score.rb b/lib/plaid/models/name_match_score.rb index 0c3b94b97..b6e480121 100644 --- a/lib/plaid/models/name_match_score.rb +++ b/lib/plaid/models/name_match_score.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index 961f6997e..b47c39bc2 100644 --- a/lib/plaid/models/net_pay.rb +++ b/lib/plaid/models/net_pay.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index fad0fffdb..a14d6f85d 100644 --- a/lib/plaid/models/new_accounts_available_webhook.rb +++ b/lib/plaid/models/new_accounts_available_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index dc8f022be..1fc3848b9 100644 --- a/lib/plaid/models/numbers.rb +++ b/lib/plaid/models/numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -179,6 +179,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_acats.rb b/lib/plaid/models/numbers_acats.rb index d71c34e34..805798f93 100644 --- a/lib/plaid/models/numbers_acats.rb +++ b/lib/plaid/models/numbers_acats.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -146,6 +146,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index 49b8968b7..0e6b7b1e7 100644 --- a/lib/plaid/models/numbers_ach.rb +++ b/lib/plaid/models/numbers_ach.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index 656f33105..4d216a2e6 100644 --- a/lib/plaid/models/numbers_ach_nullable.rb +++ b/lib/plaid/models/numbers_ach_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -184,6 +184,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index c3b575bdb..13df647fb 100644 --- a/lib/plaid/models/numbers_bacs.rb +++ b/lib/plaid/models/numbers_bacs.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index aa5f5c044..be7b79496 100644 --- a/lib/plaid/models/numbers_bacs_nullable.rb +++ b/lib/plaid/models/numbers_bacs_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index d10f252f2..a1f01bbff 100644 --- a/lib/plaid/models/numbers_eft.rb +++ b/lib/plaid/models/numbers_eft.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index d689a3882..0ff328c16 100644 --- a/lib/plaid/models/numbers_eft_nullable.rb +++ b/lib/plaid/models/numbers_eft_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -166,6 +166,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_iban_nullable.rb b/lib/plaid/models/numbers_iban_nullable.rb index e6ce2e3d3..7b638fb79 100644 --- a/lib/plaid/models/numbers_iban_nullable.rb +++ b/lib/plaid/models/numbers_iban_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -99,6 +99,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index 0eb3b05d1..54981e47e 100644 --- a/lib/plaid/models/numbers_international.rb +++ b/lib/plaid/models/numbers_international.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_international_iban.rb b/lib/plaid/models/numbers_international_iban.rb index 7d4c1821b..762ff1706 100644 --- a/lib/plaid/models/numbers_international_iban.rb +++ b/lib/plaid/models/numbers_international_iban.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index 850430e5b..cc9631950 100644 --- a/lib/plaid/models/numbers_international_nullable.rb +++ b/lib/plaid/models/numbers_international_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/originator.rb b/lib/plaid/models/originator.rb index 06f1e39eb..6e7c0ffc5 100644 --- a/lib/plaid/models/originator.rb +++ b/lib/plaid/models/originator.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/originator_expected_transfer_frequency.rb b/lib/plaid/models/originator_expected_transfer_frequency.rb index b082f2c21..9a74609bc 100644 --- a/lib/plaid/models/originator_expected_transfer_frequency.rb +++ b/lib/plaid/models/originator_expected_transfer_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index f55f1990d..723ac39ee 100644 --- a/lib/plaid/models/override_account_type.rb +++ b/lib/plaid/models/override_account_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index 65de6f605..c4a6f25e2 100644 --- a/lib/plaid/models/override_accounts.rb +++ b/lib/plaid/models/override_accounts.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -282,6 +282,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index f01c603b3..afc4c5c36 100644 --- a/lib/plaid/models/owner.rb +++ b/lib/plaid/models/owner.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -167,6 +167,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index f3f811c3e..551e5c551 100644 --- a/lib/plaid/models/owner_override.rb +++ b/lib/plaid/models/owner_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -167,6 +167,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/ownership_type.rb b/lib/plaid/models/ownership_type.rb index 2f7c4044a..8ac2486c5 100644 --- a/lib/plaid/models/ownership_type.rb +++ b/lib/plaid/models/ownership_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/parties.rb b/lib/plaid/models/parties.rb index bd02aac36..a9b380f1c 100644 --- a/lib/plaid/models/parties.rb +++ b/lib/plaid/models/parties.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -115,6 +115,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_create_request.rb b/lib/plaid/models/partner_customer_create_request.rb index d31c97bb8..e32738155 100644 --- a/lib/plaid/models/partner_customer_create_request.rb +++ b/lib/plaid/models/partner_customer_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -308,6 +308,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_create_response.rb b/lib/plaid/models/partner_customer_create_response.rb index 0a13df4a1..bdb1c306c 100644 --- a/lib/plaid/models/partner_customer_create_response.rb +++ b/lib/plaid/models/partner_customer_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -118,6 +118,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_enable_request.rb b/lib/plaid/models/partner_customer_enable_request.rb index 807eed719..29fbfca9c 100644 --- a/lib/plaid/models/partner_customer_enable_request.rb +++ b/lib/plaid/models/partner_customer_enable_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_enable_response.rb b/lib/plaid/models/partner_customer_enable_response.rb index 40159c38e..232bc23e0 100644 --- a/lib/plaid/models/partner_customer_enable_response.rb +++ b/lib/plaid/models/partner_customer_enable_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_get_request.rb b/lib/plaid/models/partner_customer_get_request.rb index b34e998e0..2a8da346d 100644 --- a/lib/plaid/models/partner_customer_get_request.rb +++ b/lib/plaid/models/partner_customer_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_get_response.rb b/lib/plaid/models/partner_customer_get_response.rb index 5f40fdf33..46fe37d95 100644 --- a/lib/plaid/models/partner_customer_get_response.rb +++ b/lib/plaid/models/partner_customer_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -118,6 +118,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb index 3c8c34c5b..3fad096b7 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb index 93ed39648..95fcab5fb 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_remove_request.rb b/lib/plaid/models/partner_customer_remove_request.rb index 3849073c8..9cea49c76 100644 --- a/lib/plaid/models/partner_customer_remove_request.rb +++ b/lib/plaid/models/partner_customer_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_customer_remove_response.rb b/lib/plaid/models/partner_customer_remove_response.rb index 7aab457da..bbf695f59 100644 --- a/lib/plaid/models/partner_customer_remove_response.rb +++ b/lib/plaid/models/partner_customer_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer.rb b/lib/plaid/models/partner_end_customer.rb index 59f7866e8..1a8d43991 100644 --- a/lib/plaid/models/partner_end_customer.rb +++ b/lib/plaid/models/partner_end_customer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_address.rb b/lib/plaid/models/partner_end_customer_address.rb index 3ce213d44..9aaefa131 100644 --- a/lib/plaid/models/partner_end_customer_address.rb +++ b/lib/plaid/models/partner_end_customer_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_assets_under_management.rb b/lib/plaid/models/partner_end_customer_assets_under_management.rb index a4d3157d8..e8dcc50a1 100644 --- a/lib/plaid/models/partner_end_customer_assets_under_management.rb +++ b/lib/plaid/models/partner_end_customer_assets_under_management.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -127,6 +127,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_billing_contact.rb b/lib/plaid/models/partner_end_customer_billing_contact.rb index 8efc6463e..789c4aaf0 100644 --- a/lib/plaid/models/partner_end_customer_billing_contact.rb +++ b/lib/plaid/models/partner_end_customer_billing_contact.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_customer_support_info.rb b/lib/plaid/models/partner_end_customer_customer_support_info.rb index 8a238643e..78bf038d0 100644 --- a/lib/plaid/models/partner_end_customer_customer_support_info.rb +++ b/lib/plaid/models/partner_end_customer_customer_support_info.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_flowdown_status.rb b/lib/plaid/models/partner_end_customer_flowdown_status.rb index 4a35be8d2..739a98ac6 100644 --- a/lib/plaid/models/partner_end_customer_flowdown_status.rb +++ b/lib/plaid/models/partner_end_customer_flowdown_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution.rb b/lib/plaid/models/partner_end_customer_o_auth_institution.rb index dcffd07a5..544f9b6ae 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb index bc7277607..44d55f675 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb index a229c13c7..9a053e06f 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb index 9a6b043de..443c92913 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb index 5e26407cf..3b0ef9ae5 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -202,6 +202,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_questionnaire_status.rb b/lib/plaid/models/partner_end_customer_questionnaire_status.rb index 2f8d3c546..53db75a18 100644 --- a/lib/plaid/models/partner_end_customer_questionnaire_status.rb +++ b/lib/plaid/models/partner_end_customer_questionnaire_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/partner_end_customer_secrets.rb b/lib/plaid/models/partner_end_customer_secrets.rb index 2fba3755f..e4edb9a00 100644 --- a/lib/plaid/models/partner_end_customer_secrets.rb +++ b/lib/plaid/models/partner_end_customer_secrets.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_status.rb b/lib/plaid/models/partner_end_customer_status.rb index 1aa175a28..7c1a9227e 100644 --- a/lib/plaid/models/partner_end_customer_status.rb +++ b/lib/plaid/models/partner_end_customer_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/partner_end_customer_technical_contact.rb b/lib/plaid/models/partner_end_customer_technical_contact.rb index dd86f1bb8..162c268e4 100644 --- a/lib/plaid/models/partner_end_customer_technical_contact.rb +++ b/lib/plaid/models/partner_end_customer_technical_contact.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_with_secrets.rb b/lib/plaid/models/partner_end_customer_with_secrets.rb index b0b23be00..56488a028 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb index d088590d0..7badea893 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -107,6 +107,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/party.rb b/lib/plaid/models/party.rb index ebed86589..d433e27a9 100644 --- a/lib/plaid/models/party.rb +++ b/lib/plaid/models/party.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/party_individual.rb b/lib/plaid/models/party_individual.rb index df4cc312a..79099bb48 100644 --- a/lib/plaid/models/party_individual.rb +++ b/lib/plaid/models/party_individual.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/party_role_type.rb b/lib/plaid/models/party_role_type.rb index f49c509f2..8c26879dd 100644 --- a/lib/plaid/models/party_role_type.rb +++ b/lib/plaid/models/party_role_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index daff64f93..e28f88e81 100644 --- a/lib/plaid/models/pay.rb +++ b/lib/plaid/models/pay.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index b0feb1246..eb4eea4e8 100644 --- a/lib/plaid/models/pay_frequency.rb +++ b/lib/plaid/models/pay_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -127,6 +127,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index 4f2fa52bd..e36d4fbf8 100644 --- a/lib/plaid/models/pay_frequency_value.rb +++ b/lib/plaid/models/pay_frequency_value.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 06901f756..adffbc402 100644 --- a/lib/plaid/models/pay_period_details.rb +++ b/lib/plaid/models/pay_period_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -221,6 +221,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_deductions_breakdown.rb b/lib/plaid/models/pay_stub_deductions_breakdown.rb index 9bab8a28d..bd2668b17 100644 --- a/lib/plaid/models/pay_stub_deductions_breakdown.rb +++ b/lib/plaid/models/pay_stub_deductions_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_deductions_total.rb b/lib/plaid/models/pay_stub_deductions_total.rb index eb1769bce..3eb443e99 100644 --- a/lib/plaid/models/pay_stub_deductions_total.rb +++ b/lib/plaid/models/pay_stub_deductions_total.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_distribution_breakdown.rb b/lib/plaid/models/pay_stub_distribution_breakdown.rb index 22959b0cf..983142a8e 100644 --- a/lib/plaid/models/pay_stub_distribution_breakdown.rb +++ b/lib/plaid/models/pay_stub_distribution_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_earnings_breakdown.rb b/lib/plaid/models/pay_stub_earnings_breakdown.rb index 5cda1ec8a..edfd2bb07 100644 --- a/lib/plaid/models/pay_stub_earnings_breakdown.rb +++ b/lib/plaid/models/pay_stub_earnings_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_earnings_total.rb b/lib/plaid/models/pay_stub_earnings_total.rb index 7207225b0..79837994d 100644 --- a/lib/plaid/models/pay_stub_earnings_total.rb +++ b/lib/plaid/models/pay_stub_earnings_total.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_pay_period_details.rb b/lib/plaid/models/pay_stub_pay_period_details.rb index 2f21e628e..803b6cf06 100644 --- a/lib/plaid/models/pay_stub_pay_period_details.rb +++ b/lib/plaid/models/pay_stub_pay_period_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -212,6 +212,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pay_stub_taxpayer_id.rb b/lib/plaid/models/pay_stub_taxpayer_id.rb index c69e2fbc2..ada46ec3e 100644 --- a/lib/plaid/models/pay_stub_taxpayer_id.rb +++ b/lib/plaid/models/pay_stub_taxpayer_id.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 491543262..bb68de7cc 100644 --- a/lib/plaid/models/payment_amount.rb +++ b/lib/plaid/models/payment_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_amount_currency.rb b/lib/plaid/models/payment_amount_currency.rb index 6ab1f09ed..2db8a5dda 100644 --- a/lib/plaid/models/payment_amount_currency.rb +++ b/lib/plaid/models/payment_amount_currency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_amount_nullable.rb b/lib/plaid/models/payment_amount_nullable.rb index 64a502485..0afb57588 100644 --- a/lib/plaid/models/payment_amount_nullable.rb +++ b/lib/plaid/models/payment_amount_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_amount_refunded.rb b/lib/plaid/models/payment_amount_refunded.rb index 766b3bfce..dadb9bf57 100644 --- a/lib/plaid/models/payment_amount_refunded.rb +++ b/lib/plaid/models/payment_amount_refunded.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_amount_to_refund.rb b/lib/plaid/models/payment_amount_to_refund.rb index ee66ca2c7..9d27313b0 100644 --- a/lib/plaid/models/payment_amount_to_refund.rb +++ b/lib/plaid/models/payment_amount_to_refund.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_channel.rb b/lib/plaid/models/payment_channel.rb index edb1aa1ab..26776d986 100644 --- a/lib/plaid/models/payment_channel.rb +++ b/lib/plaid/models/payment_channel.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_consent_max_payment_amount.rb b/lib/plaid/models/payment_consent_max_payment_amount.rb index c9ea0eb83..ad6096467 100644 --- a/lib/plaid/models/payment_consent_max_payment_amount.rb +++ b/lib/plaid/models/payment_consent_max_payment_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_consent_periodic_alignment.rb b/lib/plaid/models/payment_consent_periodic_alignment.rb index f7edb36f1..686e47727 100644 --- a/lib/plaid/models/payment_consent_periodic_alignment.rb +++ b/lib/plaid/models/payment_consent_periodic_alignment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_consent_periodic_amount.rb b/lib/plaid/models/payment_consent_periodic_amount.rb index 6be0ad969..ec1fea554 100644 --- a/lib/plaid/models/payment_consent_periodic_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_consent_periodic_amount_amount.rb b/lib/plaid/models/payment_consent_periodic_amount_amount.rb index cb1e54278..ea6d0f1c3 100644 --- a/lib/plaid/models/payment_consent_periodic_amount_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_consent_periodic_interval.rb b/lib/plaid/models/payment_consent_periodic_interval.rb index c0fa5d8fa..25351ce06 100644 --- a/lib/plaid/models/payment_consent_periodic_interval.rb +++ b/lib/plaid/models/payment_consent_periodic_interval.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_consent_valid_date_time.rb b/lib/plaid/models/payment_consent_valid_date_time.rb index 8219b4371..f63f33f45 100644 --- a/lib/plaid/models/payment_consent_valid_date_time.rb +++ b/lib/plaid/models/payment_consent_valid_date_time.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index b54330366..d897a9925 100644 --- a/lib/plaid/models/payment_initiation_address.rb +++ b/lib/plaid/models/payment_initiation_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -272,6 +272,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent.rb b/lib/plaid/models/payment_initiation_consent.rb index 8c34e8848..6a8af4dda 100644 --- a/lib/plaid/models/payment_initiation_consent.rb +++ b/lib/plaid/models/payment_initiation_consent.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -246,6 +246,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_constraints.rb b/lib/plaid/models/payment_initiation_consent_constraints.rb index d73df37d3..92a029f0b 100644 --- a/lib/plaid/models/payment_initiation_consent_constraints.rb +++ b/lib/plaid/models/payment_initiation_consent_constraints.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -161,6 +161,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_create_request.rb b/lib/plaid/models/payment_initiation_consent_create_request.rb index 54ee393b9..85655208f 100644 --- a/lib/plaid/models/payment_initiation_consent_create_request.rb +++ b/lib/plaid/models/payment_initiation_consent_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -241,6 +241,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 8bea8a622..13118a3dd 100644 --- a/lib/plaid/models/payment_initiation_consent_create_response.rb +++ b/lib/plaid/models/payment_initiation_consent_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_get_request.rb b/lib/plaid/models/payment_initiation_consent_get_request.rb index 9c963b75a..1593f4cf5 100644 --- a/lib/plaid/models/payment_initiation_consent_get_request.rb +++ b/lib/plaid/models/payment_initiation_consent_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_get_response.rb b/lib/plaid/models/payment_initiation_consent_get_response.rb index 67389316e..5a2e364db 100644 --- a/lib/plaid/models/payment_initiation_consent_get_response.rb +++ b/lib/plaid/models/payment_initiation_consent_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -269,6 +269,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb index 4b4bd7e40..64ad8e8e6 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -193,6 +193,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb index d7a0aeec9..701ca47f0 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_revoke_request.rb b/lib/plaid/models/payment_initiation_consent_revoke_request.rb index 2114b6db2..772ac38d2 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_request.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_revoke_response.rb b/lib/plaid/models/payment_initiation_consent_revoke_response.rb index 375cd9b33..648f3cca5 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_response.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_consent_scope.rb b/lib/plaid/models/payment_initiation_consent_scope.rb index ad0279a31..3d8484654 100644 --- a/lib/plaid/models/payment_initiation_consent_scope.rb +++ b/lib/plaid/models/payment_initiation_consent_scope.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_initiation_consent_status.rb b/lib/plaid/models/payment_initiation_consent_status.rb index 8c07b2125..a09fb70c2 100644 --- a/lib/plaid/models/payment_initiation_consent_status.rb +++ b/lib/plaid/models/payment_initiation_consent_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index a648479a5..0ed788be3 100644 --- a/lib/plaid/models/payment_initiation_metadata.rb +++ b/lib/plaid/models/payment_initiation_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -171,6 +171,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index 3bcea2033..36e423cdb 100644 --- a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +++ b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index 0ea71ba0b..16ca43f71 100644 --- a/lib/plaid/models/payment_initiation_payment.rb +++ b/lib/plaid/models/payment_initiation_payment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -314,6 +314,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index 0df1200fb..853acc101 100644 --- a/lib/plaid/models/payment_initiation_payment_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -212,6 +212,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index 7f2abb913..910176fa5 100644 --- a/lib/plaid/models/payment_initiation_payment_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_create_status.rb b/lib/plaid/models/payment_initiation_payment_create_status.rb index 36e6ebef5..cebe3fbbe 100644 --- a/lib/plaid/models/payment_initiation_payment_create_status.rb +++ b/lib/plaid/models/payment_initiation_payment_create_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index a5b6eed04..aaf57fbfe 100644 --- a/lib/plaid/models/payment_initiation_payment_get_request.rb +++ b/lib/plaid/models/payment_initiation_payment_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index 6583af182..198e3d7db 100644 --- a/lib/plaid/models/payment_initiation_payment_get_response.rb +++ b/lib/plaid/models/payment_initiation_payment_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -337,6 +337,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 4c74e0675..43df759f9 100644 --- a/lib/plaid/models/payment_initiation_payment_list_request.rb +++ b/lib/plaid/models/payment_initiation_payment_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index c04a89476..4310220b9 100644 --- a/lib/plaid/models/payment_initiation_payment_list_response.rb +++ b/lib/plaid/models/payment_initiation_payment_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index 5902f8749..7f7436408 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_request.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -233,6 +233,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index 6e2cb6381..82df0a223 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_response.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index 470289f5b..2e8b5289b 100644 --- a/lib/plaid/models/payment_initiation_payment_status.rb +++ b/lib/plaid/models/payment_initiation_payment_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_initiation_payment_token_create_request.rb b/lib/plaid/models/payment_initiation_payment_token_create_request.rb index 727a30770..8af1a832a 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_payment_token_create_response.rb b/lib/plaid/models/payment_initiation_payment_token_create_response.rb index 7699d00cf..4f8a9769c 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index 4e8bcfe63..ee43e8222 100644 --- a/lib/plaid/models/payment_initiation_recipient.rb +++ b/lib/plaid/models/payment_initiation_recipient.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index 8788281dc..9feeb6a23 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -212,6 +212,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index 5b36d5307..22659c0d5 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index 036e86c32..3aa5e5fb5 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index 2690dff8d..91d4a7344 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb index 926f50780..4faf16f4c 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -108,6 +108,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index e7fe4d71b..eb8c513ec 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index 77a144ad5..ae4d9a7b9 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index 1093fdcbf..4ba6d1c15 100644 --- a/lib/plaid/models/payment_initiation_standing_order_metadata.rb +++ b/lib/plaid/models/payment_initiation_standing_order_metadata.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -146,6 +146,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index da81ca144..9a359a927 100644 --- a/lib/plaid/models/payment_meta.rb +++ b/lib/plaid/models/payment_meta.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_create_request.rb b/lib/plaid/models/payment_profile_create_request.rb index a4e8e0547..cb1c425ae 100644 --- a/lib/plaid/models/payment_profile_create_request.rb +++ b/lib/plaid/models/payment_profile_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_create_response.rb b/lib/plaid/models/payment_profile_create_response.rb index 5882eed15..ecb72b407 100644 --- a/lib/plaid/models/payment_profile_create_response.rb +++ b/lib/plaid/models/payment_profile_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_get_request.rb b/lib/plaid/models/payment_profile_get_request.rb index 7f9f9d692..dcde6e734 100644 --- a/lib/plaid/models/payment_profile_get_request.rb +++ b/lib/plaid/models/payment_profile_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_get_response.rb b/lib/plaid/models/payment_profile_get_response.rb index c7fa2c38f..542124345 100644 --- a/lib/plaid/models/payment_profile_get_response.rb +++ b/lib/plaid/models/payment_profile_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -169,6 +169,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_remove_request.rb b/lib/plaid/models/payment_profile_remove_request.rb index aea7df0c3..4f16830fa 100644 --- a/lib/plaid/models/payment_profile_remove_request.rb +++ b/lib/plaid/models/payment_profile_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_remove_response.rb b/lib/plaid/models/payment_profile_remove_response.rb index bbf4231bb..62eb731b4 100644 --- a/lib/plaid/models/payment_profile_remove_response.rb +++ b/lib/plaid/models/payment_profile_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payment_profile_status.rb b/lib/plaid/models/payment_profile_status.rb index 13f68bd2b..0fa971cb0 100644 --- a/lib/plaid/models/payment_profile_status.rb +++ b/lib/plaid/models/payment_profile_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index 52b3f1879..7fab53ffb 100644 --- a/lib/plaid/models/payment_schedule_interval.rb +++ b/lib/plaid/models/payment_schedule_interval.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index 08d3b79db..b9821a757 100644 --- a/lib/plaid/models/payment_scheme.rb +++ b/lib/plaid/models/payment_scheme.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index b06de1583..3913109c2 100644 --- a/lib/plaid/models/payment_status_update_webhook.rb +++ b/lib/plaid/models/payment_status_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -266,6 +266,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_income_account_data.rb b/lib/plaid/models/payroll_income_account_data.rb index 91561d78a..622401edc 100644 --- a/lib/plaid/models/payroll_income_account_data.rb +++ b/lib/plaid/models/payroll_income_account_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_income_object.rb b/lib/plaid/models/payroll_income_object.rb index 6770d02e5..af3ccd710 100644 --- a/lib/plaid/models/payroll_income_object.rb +++ b/lib/plaid/models/payroll_income_object.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -161,6 +161,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_income_rate_of_pay.rb b/lib/plaid/models/payroll_income_rate_of_pay.rb index 6ed43d7d3..38b373753 100644 --- a/lib/plaid/models/payroll_income_rate_of_pay.rb +++ b/lib/plaid/models/payroll_income_rate_of_pay.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_item.rb b/lib/plaid/models/payroll_item.rb index a1ac7564e..a0f8e3d78 100644 --- a/lib/plaid/models/payroll_item.rb +++ b/lib/plaid/models/payroll_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -197,6 +197,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_item_status.rb b/lib/plaid/models/payroll_item_status.rb index e1fd8d0ce..69deeadd1 100644 --- a/lib/plaid/models/payroll_item_status.rb +++ b/lib/plaid/models/payroll_item_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/payroll_risk_signals_item.rb b/lib/plaid/models/payroll_risk_signals_item.rb index f27199dc1..fabe94751 100644 --- a/lib/plaid/models/payroll_risk_signals_item.rb +++ b/lib/plaid/models/payroll_risk_signals_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index 6a38156ec..f3b6a87b3 100644 --- a/lib/plaid/models/paystub.rb +++ b/lib/plaid/models/paystub.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -236,6 +236,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index 503a01438..853fcedc3 100644 --- a/lib/plaid/models/paystub_address.rb +++ b/lib/plaid/models/paystub_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -187,6 +187,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index ba8754399..e51f1675f 100644 --- a/lib/plaid/models/paystub_deduction.rb +++ b/lib/plaid/models/paystub_deduction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -132,6 +132,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index 3b4cbad24..c41abeaaa 100644 --- a/lib/plaid/models/paystub_details.rb +++ b/lib/plaid/models/paystub_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -153,6 +153,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index 168543a40..fc2585b3a 100644 --- a/lib/plaid/models/paystub_employer.rb +++ b/lib/plaid/models/paystub_employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index b00b69c86..96cd8ae3d 100644 --- a/lib/plaid/models/paystub_override.rb +++ b/lib/plaid/models/paystub_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -137,6 +137,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 5fa8369d7..3c62727b0 100644 --- a/lib/plaid/models/paystub_override_employee.rb +++ b/lib/plaid/models/paystub_override_employee.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -118,6 +118,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index 2fde5be87..52ed0d4f5 100644 --- a/lib/plaid/models/paystub_override_employee_address.rb +++ b/lib/plaid/models/paystub_override_employee_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index 7696f3b63..0900ac3c2 100644 --- a/lib/plaid/models/paystub_override_employer.rb +++ b/lib/plaid/models/paystub_override_employer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index b48254964..3f1ae4bb0 100644 --- a/lib/plaid/models/paystub_pay_frequency.rb +++ b/lib/plaid/models/paystub_pay_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index 00d7284cc..3644d8152 100644 --- a/lib/plaid/models/paystub_ytd_details.rb +++ b/lib/plaid/models/paystub_ytd_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 5842e3f99..df8a7f0b7 100644 --- a/lib/plaid/models/pending_expiration_webhook.rb +++ b/lib/plaid/models/pending_expiration_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index f1b86148a..f7ab0224a 100644 --- a/lib/plaid/models/personal_finance_category.rb +++ b/lib/plaid/models/personal_finance_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index 6f900261a..674bac774 100644 --- a/lib/plaid/models/phone_number.rb +++ b/lib/plaid/models/phone_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/phone_number_match_score.rb b/lib/plaid/models/phone_number_match_score.rb index a944b9293..be4ab44e0 100644 --- a/lib/plaid/models/phone_number_match_score.rb +++ b/lib/plaid/models/phone_number_match_score.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/phone_type.rb b/lib/plaid/models/phone_type.rb index 0860e8075..eb917430f 100644 --- a/lib/plaid/models/phone_type.rb +++ b/lib/plaid/models/phone_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/physical_document_category.rb b/lib/plaid/models/physical_document_category.rb index de39b889c..a7f7f5191 100644 --- a/lib/plaid/models/physical_document_category.rb +++ b/lib/plaid/models/physical_document_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/physical_document_extracted_data.rb b/lib/plaid/models/physical_document_extracted_data.rb index 0f5843484..8ef36dbaa 100644 --- a/lib/plaid/models/physical_document_extracted_data.rb +++ b/lib/plaid/models/physical_document_extracted_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -182,6 +182,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index aec2a2346..5aa424d6b 100644 --- a/lib/plaid/models/physical_document_extracted_data_analysis.rb +++ b/lib/plaid/models/physical_document_extracted_data_analysis.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/physical_document_images.rb b/lib/plaid/models/physical_document_images.rb index fe45235ef..1928b7db8 100644 --- a/lib/plaid/models/physical_document_images.rb +++ b/lib/plaid/models/physical_document_images.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index d21bb7d72..fed07b401 100644 --- a/lib/plaid/models/plaid_error.rb +++ b/lib/plaid/models/plaid_error.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -70,7 +70,7 @@ def self.openapi_types :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', - :'causes' => :'Array', + :'causes' => :'Array', :'status' => :'Integer', :'documentation_url' => :'String', :'suggested_action' => :'String' @@ -208,6 +208,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/plaid_error_type.rb b/lib/plaid/models/plaid_error_type.rb index d2588ea12..d57fade7c 100644 --- a/lib/plaid/models/plaid_error_type.rb +++ b/lib/plaid/models/plaid_error_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index fb4238c8c..7b10a2823 100644 --- a/lib/plaid/models/platform_ids.rb +++ b/lib/plaid/models/platform_ids.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -132,6 +132,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/po_box_status.rb b/lib/plaid/models/po_box_status.rb index 33a3c8c54..08020c9ce 100644 --- a/lib/plaid/models/po_box_status.rb +++ b/lib/plaid/models/po_box_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/processor_apex_processor_token_create_request.rb b/lib/plaid/models/processor_apex_processor_token_create_request.rb index 8550a03ba..a831612e5 100644 --- a/lib/plaid/models/processor_apex_processor_token_create_request.rb +++ b/lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index db28d6b41..7f59164c4 100644 --- a/lib/plaid/models/processor_auth_get_request.rb +++ b/lib/plaid/models/processor_auth_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index 51dde41cd..9f8c20e87 100644 --- a/lib/plaid/models/processor_auth_get_response.rb +++ b/lib/plaid/models/processor_auth_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index 194e1fdeb..336b94114 100644 --- a/lib/plaid/models/processor_balance_get_request.rb +++ b/lib/plaid/models/processor_balance_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index 7180366f4..9edd9b327 100644 --- a/lib/plaid/models/processor_balance_get_request_options.rb +++ b/lib/plaid/models/processor_balance_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index d9259a102..a20d73cff 100644 --- a/lib/plaid/models/processor_balance_get_response.rb +++ b/lib/plaid/models/processor_balance_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index 626d91101..19d76f272 100644 --- a/lib/plaid/models/processor_bank_transfer_create_request.rb +++ b/lib/plaid/models/processor_bank_transfer_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -348,6 +348,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index c01a68488..dacb48466 100644 --- a/lib/plaid/models/processor_bank_transfer_create_response.rb +++ b/lib/plaid/models/processor_bank_transfer_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_default_update_webhook.rb b/lib/plaid/models/processor_default_update_webhook.rb new file mode 100644 index 000000000..7c14bf30c --- /dev/null +++ b/lib/plaid/models/processor_default_update_webhook.rb @@ -0,0 +1,295 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when new transaction data is available for an Item. Plaid will typically check for new transaction data several times a day. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + class ProcessorDefaultUpdateWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `DEFAULT_UPDATE` + attr_accessor :webhook_code + + attr_accessor :error + + # The number of new transactions detected since the last time this webhook was fired. + attr_accessor :new_transactions + + # The ID of the account. + attr_accessor :account_id + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'error' => :'error', + :'new_transactions' => :'new_transactions', + :'account_id' => :'account_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'error' => :'PlaidError', + :'new_transactions' => :'Float', + :'account_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'error', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorDefaultUpdateWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorDefaultUpdateWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.key?(:'new_transactions') + self.new_transactions = attributes[:'new_transactions'] + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @new_transactions.nil? + invalid_properties.push('invalid value for "new_transactions", new_transactions cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @new_transactions.nil? + return false if @account_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + error == o.error && + new_transactions == o.new_transactions && + account_id == o.account_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, error, new_transactions, account_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_historical_update_webhook.rb b/lib/plaid/models/processor_historical_update_webhook.rb new file mode 100644 index 000000000..1ef7c970a --- /dev/null +++ b/lib/plaid/models/processor_historical_update_webhook.rb @@ -0,0 +1,295 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + class ProcessorHistoricalUpdateWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `HISTORICAL_UPDATE` + attr_accessor :webhook_code + + attr_accessor :error + + # The number of new, unfetched transactions available + attr_accessor :new_transactions + + # The ID of the account. + attr_accessor :account_id + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'error' => :'error', + :'new_transactions' => :'new_transactions', + :'account_id' => :'account_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'error' => :'PlaidError', + :'new_transactions' => :'Float', + :'account_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'error', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorHistoricalUpdateWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorHistoricalUpdateWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.key?(:'new_transactions') + self.new_transactions = attributes[:'new_transactions'] + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @new_transactions.nil? + invalid_properties.push('invalid value for "new_transactions", new_transactions cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @new_transactions.nil? + return false if @account_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + error == o.error && + new_transactions == o.new_transactions && + account_id == o.account_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, error, new_transactions, account_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index 961329c6e..186fb1cc6 100644 --- a/lib/plaid/models/processor_identity_get_request.rb +++ b/lib/plaid/models/processor_identity_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index 4baa5989b..6eb016fd4 100644 --- a/lib/plaid/models/processor_identity_get_response.rb +++ b/lib/plaid/models/processor_identity_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_identity_match_request.rb b/lib/plaid/models/processor_identity_match_request.rb index 73ef4ca02..113f20b6c 100644 --- a/lib/plaid/models/processor_identity_match_request.rb +++ b/lib/plaid/models/processor_identity_match_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_identity_match_response.rb b/lib/plaid/models/processor_identity_match_response.rb index 65b015ef6..9f2d809c9 100644 --- a/lib/plaid/models/processor_identity_match_response.rb +++ b/lib/plaid/models/processor_identity_match_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_initial_update_webhook.rb b/lib/plaid/models/processor_initial_update_webhook.rb new file mode 100644 index 000000000..01bdf35fe --- /dev/null +++ b/lib/plaid/models/processor_initial_update_webhook.rb @@ -0,0 +1,296 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + class ProcessorInitialUpdateWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `INITIAL_UPDATE` + attr_accessor :webhook_code + + # The error code associated with the webhook. + attr_accessor :error + + # The number of new, unfetched transactions available. + attr_accessor :new_transactions + + # The ID of the account. + attr_accessor :account_id + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'error' => :'error', + :'new_transactions' => :'new_transactions', + :'account_id' => :'account_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'error' => :'String', + :'new_transactions' => :'Float', + :'account_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'error', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorInitialUpdateWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorInitialUpdateWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.key?(:'new_transactions') + self.new_transactions = attributes[:'new_transactions'] + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @new_transactions.nil? + invalid_properties.push('invalid value for "new_transactions", new_transactions cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @new_transactions.nil? + return false if @account_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + error == o.error && + new_transactions == o.new_transactions && + account_id == o.account_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, error, new_transactions, account_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index c0e4b4f06..6dc4bb94c 100644 --- a/lib/plaid/models/processor_number.rb +++ b/lib/plaid/models/processor_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_recurring_transactions_update_webhook.rb b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb new file mode 100644 index 000000000..ddfdd5cf1 --- /dev/null +++ b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb @@ -0,0 +1,270 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when recurring transactions data is updated. This includes when a new recurring stream is detected or when a new transaction is added to an existing recurring stream. The `RECURRING_TRANSACTIONS_UPDATE` webhook will also fire when one or more attributes of the recurring stream changes, which is usually a result of the addition, update, or removal of transactions to the stream. After receipt of this webhook, the updated data can be fetched from `/processor/transactions/recurring/get`. + class ProcessorRecurringTransactionsUpdateWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `RECURRING_TRANSACTIONS_UPDATE` + attr_accessor :webhook_code + + # The ID of the account. + attr_accessor :account_id + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'account_id' => :'account_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'account_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorRecurringTransactionsUpdateWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorRecurringTransactionsUpdateWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @account_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + account_id == o.account_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, account_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_signal_decision_report_request.rb b/lib/plaid/models/processor_signal_decision_report_request.rb index d72fc89eb..e68abc297 100644 --- a/lib/plaid/models/processor_signal_decision_report_request.rb +++ b/lib/plaid/models/processor_signal_decision_report_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -253,6 +253,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_signal_decision_report_response.rb b/lib/plaid/models/processor_signal_decision_report_response.rb index 656cae82c..3a47f633a 100644 --- a/lib/plaid/models/processor_signal_decision_report_response.rb +++ b/lib/plaid/models/processor_signal_decision_report_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_signal_evaluate_request.rb b/lib/plaid/models/processor_signal_evaluate_request.rb index 1a7dfc98e..4e8b0a37d 100644 --- a/lib/plaid/models/processor_signal_evaluate_request.rb +++ b/lib/plaid/models/processor_signal_evaluate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -255,6 +255,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_signal_evaluate_response.rb b/lib/plaid/models/processor_signal_evaluate_response.rb index 158354e2f..2ff6136c3 100644 --- a/lib/plaid/models/processor_signal_evaluate_response.rb +++ b/lib/plaid/models/processor_signal_evaluate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_signal_return_report_request.rb b/lib/plaid/models/processor_signal_return_report_request.rb index 314fb5600..1ba13717a 100644 --- a/lib/plaid/models/processor_signal_return_report_request.rb +++ b/lib/plaid/models/processor_signal_return_report_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -205,6 +205,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_signal_return_report_response.rb b/lib/plaid/models/processor_signal_return_report_response.rb index e80ee96e0..2c4e35c72 100644 --- a/lib/plaid/models/processor_signal_return_report_response.rb +++ b/lib/plaid/models/processor_signal_return_report_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb index d074f78d1..eb7487847 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb index 11b2942c4..26cc7ae73 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_sync_updates_available_webhook.rb b/lib/plaid/models/processor_sync_updates_available_webhook.rb new file mode 100644 index 000000000..99dee3445 --- /dev/null +++ b/lib/plaid/models/processor_sync_updates_available_webhook.rb @@ -0,0 +1,300 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's transactions change. This can be due to any event resulting in new changes, such as an initial 30-day transactions fetch upon the initialization of an Item with transactions, the backfill of historical transactions that occurs shortly after, or when changes are populated from a regularly-scheduled transactions update job. It is recommended to listen for the `SYNC_UPDATES_AVAILABLE` webhook when using the `/processor/transactions/sync` endpoint. Note that when using `/processor/transactions/sync` the older webhooks `INITIAL_UPDATE`, `HISTORICAL_UPDATE`, `DEFAULT_UPDATE`, and `TRANSACTIONS_REMOVED`, which are intended for use with `/processor/transactions/get`, will also continue to be sent in order to maintain backwards compatibility. It is not necessary to listen for and respond to those webhooks when using `/processor/transactions/sync`. After receipt of this webhook, the new changes can be fetched for the Item from `/processor/transactions/sync`. Note that to receive this webhook for an Item, `/processor/transactions/sync` must have been called at least once on that Item. This means that, unlike the `INITIAL_UPDATE` and `HISTORICAL_UPDATE` webhooks, it will not fire immediately upon Item creation. If `/transactions/sync` is called on an Item that was *not* initialized with Transactions, the webhook will fire twice: once the first 30 days of transactions data has been fetched, and a second time when all available historical transactions data has been fetched. This webhook will typically not fire in the Sandbox environment, due to the lack of dynamic transactions data. To test this webhook in Sandbox, call `/sandbox/item/fire_webhook`. + class ProcessorSyncUpdatesAvailableWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `SYNC_UPDATES_AVAILABLE` + attr_accessor :webhook_code + + # The ID of the account. + attr_accessor :account_id + + # Indicates if initial pull information is available. + attr_accessor :initial_update_complete + + # Indicates if historical pull information is available. + attr_accessor :historical_update_complete + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'account_id' => :'account_id', + :'initial_update_complete' => :'initial_update_complete', + :'historical_update_complete' => :'historical_update_complete', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'account_id' => :'String', + :'initial_update_complete' => :'Boolean', + :'historical_update_complete' => :'Boolean', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorSyncUpdatesAvailableWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorSyncUpdatesAvailableWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'initial_update_complete') + self.initial_update_complete = attributes[:'initial_update_complete'] + end + + if attributes.key?(:'historical_update_complete') + self.historical_update_complete = attributes[:'historical_update_complete'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @initial_update_complete.nil? + invalid_properties.push('invalid value for "initial_update_complete", initial_update_complete cannot be nil.') + end + + if @historical_update_complete.nil? + invalid_properties.push('invalid value for "historical_update_complete", historical_update_complete cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @account_id.nil? + return false if @initial_update_complete.nil? + return false if @historical_update_complete.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + account_id == o.account_id && + initial_update_complete == o.initial_update_complete && + historical_update_complete == o.historical_update_complete && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, account_id, initial_update_complete, historical_update_complete, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index cffd0bf89..cccaf2536 100644 --- a/lib/plaid/models/processor_token_create_request.rb +++ b/lib/plaid/models/processor_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -147,7 +147,7 @@ def valid? return false if @access_token.nil? return false if @account_id.nil? return false if @processor.nil? - processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "prime_trust", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust"]) + processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "prime_trust", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond"]) return false unless processor_validator.valid?(@processor) true end @@ -155,7 +155,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] processor Object to be assigned def processor=(processor) - validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "prime_trust", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust"]) + validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "prime_trust", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond"]) unless validator.valid?(processor) fail ArgumentError, "invalid value for \"processor\", must be one of #{validator.allowable_values}." end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index e15891a10..0b15b3ba6 100644 --- a/lib/plaid/models/processor_token_create_response.rb +++ b/lib/plaid/models/processor_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_token_permissions_get_request.rb b/lib/plaid/models/processor_token_permissions_get_request.rb index 8d0d0532c..8c5f7aeb8 100644 --- a/lib/plaid/models/processor_token_permissions_get_request.rb +++ b/lib/plaid/models/processor_token_permissions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_token_permissions_get_response.rb b/lib/plaid/models/processor_token_permissions_get_response.rb index 43aab787f..1251e8688 100644 --- a/lib/plaid/models/processor_token_permissions_get_response.rb +++ b/lib/plaid/models/processor_token_permissions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_token_permissions_set_request.rb b/lib/plaid/models/processor_token_permissions_set_request.rb index 17f10e999..094fcb8e6 100644 --- a/lib/plaid/models/processor_token_permissions_set_request.rb +++ b/lib/plaid/models/processor_token_permissions_set_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_token_permissions_set_response.rb b/lib/plaid/models/processor_token_permissions_set_response.rb index 8051895b2..abb758864 100644 --- a/lib/plaid/models/processor_token_permissions_set_response.rb +++ b/lib/plaid/models/processor_token_permissions_set_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_get_request.rb b/lib/plaid/models/processor_transactions_get_request.rb index 0f9951142..4ab5b6149 100644 --- a/lib/plaid/models/processor_transactions_get_request.rb +++ b/lib/plaid/models/processor_transactions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_get_response.rb b/lib/plaid/models/processor_transactions_get_response.rb index ec9bac4ce..cefe2c8c8 100644 --- a/lib/plaid/models/processor_transactions_get_response.rb +++ b/lib/plaid/models/processor_transactions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_recurring_get_request.rb b/lib/plaid/models/processor_transactions_recurring_get_request.rb index 825245c9c..2c0cb96ba 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_request.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_recurring_get_response.rb b/lib/plaid/models/processor_transactions_recurring_get_response.rb index 869127c67..a7b2eb6bc 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_response.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_refresh_request.rb b/lib/plaid/models/processor_transactions_refresh_request.rb index f50b0d7c5..40bfddd20 100644 --- a/lib/plaid/models/processor_transactions_refresh_request.rb +++ b/lib/plaid/models/processor_transactions_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_refresh_response.rb b/lib/plaid/models/processor_transactions_refresh_response.rb index d61de5ebc..9277cf2ef 100644 --- a/lib/plaid/models/processor_transactions_refresh_response.rb +++ b/lib/plaid/models/processor_transactions_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_removed_webhook.rb b/lib/plaid/models/processor_transactions_removed_webhook.rb new file mode 100644 index 000000000..33def29c4 --- /dev/null +++ b/lib/plaid/models/processor_transactions_removed_webhook.rb @@ -0,0 +1,297 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when transaction(s) for an Item are deleted. The deleted transaction IDs are included in the webhook payload. Plaid will typically check for deleted transaction data several times a day. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + class ProcessorTransactionsRemovedWebhook + # `TRANSACTIONS` + attr_accessor :webhook_type + + # `TRANSACTIONS_REMOVED` + attr_accessor :webhook_code + + attr_accessor :error + + # An array of `transaction_ids` corresponding to the removed transactions + attr_accessor :removed_transactions + + # The ID of the account. + attr_accessor :account_id + + attr_accessor :environment + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'error' => :'error', + :'removed_transactions' => :'removed_transactions', + :'account_id' => :'account_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'error' => :'PlaidError', + :'removed_transactions' => :'Array', + :'account_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'error', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProcessorTransactionsRemovedWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProcessorTransactionsRemovedWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.key?(:'removed_transactions') + if (value = attributes[:'removed_transactions']).is_a?(Array) + self.removed_transactions = value + end + end + + if attributes.key?(:'account_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @removed_transactions.nil? + invalid_properties.push('invalid value for "removed_transactions", removed_transactions cannot be nil.') + end + + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @removed_transactions.nil? + return false if @account_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + error == o.error && + removed_transactions == o.removed_transactions && + account_id == o.account_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, error, removed_transactions, account_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{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[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _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 = Plaid.const_get(type) + 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 + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + 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/lib/plaid/models/processor_transactions_sync_request.rb b/lib/plaid/models/processor_transactions_sync_request.rb index 9c02f7831..54455bebf 100644 --- a/lib/plaid/models/processor_transactions_sync_request.rb +++ b/lib/plaid/models/processor_transactions_sync_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/processor_transactions_sync_response.rb b/lib/plaid/models/processor_transactions_sync_response.rb index eaaf3bdfc..514330be2 100644 --- a/lib/plaid/models/processor_transactions_sync_response.rb +++ b/lib/plaid/models/processor_transactions_sync_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -195,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index 5eca640ae..4a86cbb52 100644 --- a/lib/plaid/models/product_access.rb +++ b/lib/plaid/models/product_access.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -216,6 +216,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/product_permissions_required_auth_webhook.rb b/lib/plaid/models/product_permissions_required_auth_webhook.rb index 73e4abf86..047bcbd77 100644 --- a/lib/plaid/models/product_permissions_required_auth_webhook.rb +++ b/lib/plaid/models/product_permissions_required_auth_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/product_permissions_required_identity_webhook.rb b/lib/plaid/models/product_permissions_required_identity_webhook.rb index f27f3ba57..95e11bf49 100644 --- a/lib/plaid/models/product_permissions_required_identity_webhook.rb +++ b/lib/plaid/models/product_permissions_required_identity_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index a1b935d8e..65925981b 100644 --- a/lib/plaid/models/product_status.rb +++ b/lib/plaid/models/product_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index 0a122cec1..8386fc2bf 100644 --- a/lib/plaid/models/product_status_breakdown.rb +++ b/lib/plaid/models/product_status_breakdown.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -188,6 +188,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index eb21c2e17..f29a3bb74 100644 --- a/lib/plaid/models/products.rb +++ b/lib/plaid/models/products.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index 7d22d4dfe..56237df5b 100644 --- a/lib/plaid/models/program_name_sensitivity.rb +++ b/lib/plaid/models/program_name_sensitivity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index 7601e32a5..98ac114c9 100644 --- a/lib/plaid/models/projected_income_summary_field_number.rb +++ b/lib/plaid/models/projected_income_summary_field_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/proxy_type.rb b/lib/plaid/models/proxy_type.rb index 952e8d15a..0fbd4596e 100644 --- a/lib/plaid/models/proxy_type.rb +++ b/lib/plaid/models/proxy_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index cf87a285a..32fcca66b 100644 --- a/lib/plaid/models/pslf_status.rb +++ b/lib/plaid/models/pslf_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -132,6 +132,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index 625f0466e..6a5b7b33e 100644 --- a/lib/plaid/models/recaptcha_required_error.rb +++ b/lib/plaid/models/recaptcha_required_error.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -203,6 +203,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index 1dc85995f..94b4bc6ca 100644 --- a/lib/plaid/models/recipient_bacs.rb +++ b/lib/plaid/models/recipient_bacs.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -171,6 +171,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index 328f1d6ea..7ef0a196a 100644 --- a/lib/plaid/models/recipient_bacs_nullable.rb +++ b/lib/plaid/models/recipient_bacs_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurrence.rb b/lib/plaid/models/recurrence.rb index ebf26d24e..c49d4f82a 100644 --- a/lib/plaid/models/recurrence.rb +++ b/lib/plaid/models/recurrence.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -110,6 +110,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_cancelled_webhook.rb b/lib/plaid/models/recurring_cancelled_webhook.rb index f5c944f24..30165b1db 100644 --- a/lib/plaid/models/recurring_cancelled_webhook.rb +++ b/lib/plaid/models/recurring_cancelled_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_new_transfer_webhook.rb b/lib/plaid/models/recurring_new_transfer_webhook.rb index c009381ee..fa9371128 100644 --- a/lib/plaid/models/recurring_new_transfer_webhook.rb +++ b/lib/plaid/models/recurring_new_transfer_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 40c871289..a095dcc27 100644 --- a/lib/plaid/models/recurring_transaction_frequency.rb +++ b/lib/plaid/models/recurring_transaction_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/recurring_transactions_update_webhook.rb b/lib/plaid/models/recurring_transactions_update_webhook.rb index 97e25d9e3..bc1ba8b44 100644 --- a/lib/plaid/models/recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/recurring_transactions_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -175,6 +175,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_transfer.rb b/lib/plaid/models/recurring_transfer.rb index 11f63749d..9cb881bab 100644 --- a/lib/plaid/models/recurring_transfer.rb +++ b/lib/plaid/models/recurring_transfer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'next_origination_date', :'test_clock_id', ]) end @@ -216,10 +217,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "created", created cannot be nil.') end - if @next_origination_date.nil? - invalid_properties.push('invalid value for "next_origination_date", next_origination_date cannot be nil.') - end - if @type.nil? invalid_properties.push('invalid value for "type", type cannot be nil.') end @@ -276,7 +273,6 @@ def list_invalid_properties def valid? return false if @recurring_transfer_id.nil? return false if @created.nil? - return false if @next_origination_date.nil? return false if @type.nil? return false if @amount.nil? return false if @status.nil? @@ -340,6 +336,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_transfer_nullable.rb b/lib/plaid/models/recurring_transfer_nullable.rb index a7b2c12cb..5d07e287e 100644 --- a/lib/plaid/models/recurring_transfer_nullable.rb +++ b/lib/plaid/models/recurring_transfer_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'next_origination_date', :'test_clock_id', ]) end @@ -223,10 +224,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "created", created cannot be nil.') end - if @next_origination_date.nil? - invalid_properties.push('invalid value for "next_origination_date", next_origination_date cannot be nil.') - end - if @type.nil? invalid_properties.push('invalid value for "type", type cannot be nil.') end @@ -283,7 +280,6 @@ def list_invalid_properties def valid? return false if @recurring_transfer_id.nil? return false if @created.nil? - return false if @next_origination_date.nil? return false if @type.nil? return false if @amount.nil? return false if @status.nil? @@ -347,6 +343,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/recurring_transfer_skipped_webhook.rb b/lib/plaid/models/recurring_transfer_skipped_webhook.rb index 8a428972f..c26be23f9 100644 --- a/lib/plaid/models/recurring_transfer_skipped_webhook.rb +++ b/lib/plaid/models/recurring_transfer_skipped_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -196,6 +196,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 6f1c0c4c8..ced7b25ec 100644 --- a/lib/plaid/models/removed_transaction.rb +++ b/lib/plaid/models/removed_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/report_type.rb b/lib/plaid/models/report_type.rb index b7b77b1a6..ffffcbe73 100644 --- a/lib/plaid/models/report_type.rb +++ b/lib/plaid/models/report_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/reporting_information.rb b/lib/plaid/models/reporting_information.rb index 538b31fa9..60bcf3923 100644 --- a/lib/plaid/models/reporting_information.rb +++ b/lib/plaid/models/reporting_information.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_behavior.rb b/lib/plaid/models/risk_check_behavior.rb index 7dc487ed3..eeca786f5 100644 --- a/lib/plaid/models/risk_check_behavior.rb +++ b/lib/plaid/models/risk_check_behavior.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb index aa55f1326..79313fce2 100644 --- a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb index 450b779af..7b1b13753 100644 --- a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb index b8931a2fe..67fe1818c 100644 --- a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +++ b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_details.rb b/lib/plaid/models/risk_check_details.rb index bf008b2e8..3dffacfcc 100644 --- a/lib/plaid/models/risk_check_details.rb +++ b/lib/plaid/models/risk_check_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -170,6 +170,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_device.rb b/lib/plaid/models/risk_check_device.rb index 58bfafcf7..738ee6ae7 100644 --- a/lib/plaid/models/risk_check_device.rb +++ b/lib/plaid/models/risk_check_device.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_email.rb b/lib/plaid/models/risk_check_email.rb index 37d7471a4..0def99197 100644 --- a/lib/plaid/models/risk_check_email.rb +++ b/lib/plaid/models/risk_check_email.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -242,6 +242,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_email_domain_is_custom.rb b/lib/plaid/models/risk_check_email_domain_is_custom.rb index 01b20c11a..9fed67c51 100644 --- a/lib/plaid/models/risk_check_email_domain_is_custom.rb +++ b/lib/plaid/models/risk_check_email_domain_is_custom.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_email_domain_is_disposable.rb b/lib/plaid/models/risk_check_email_domain_is_disposable.rb index 2228cb875..126f06896 100644 --- a/lib/plaid/models/risk_check_email_domain_is_disposable.rb +++ b/lib/plaid/models/risk_check_email_domain_is_disposable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb index 302394e3a..70cc3a91d 100644 --- a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +++ b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_email_is_deliverable_status.rb b/lib/plaid/models/risk_check_email_is_deliverable_status.rb index be524e72b..1db79c9eb 100644 --- a/lib/plaid/models/risk_check_email_is_deliverable_status.rb +++ b/lib/plaid/models/risk_check_email_is_deliverable_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb index 9948ba774..a30261e84 100644 --- a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +++ b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_identity_abuse_signals.rb b/lib/plaid/models/risk_check_identity_abuse_signals.rb index d53eac319..c9bceec1b 100644 --- a/lib/plaid/models/risk_check_identity_abuse_signals.rb +++ b/lib/plaid/models/risk_check_identity_abuse_signals.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_linked_service.rb b/lib/plaid/models/risk_check_linked_service.rb index 4eddc0bdf..1b3603aea 100644 --- a/lib/plaid/models/risk_check_linked_service.rb +++ b/lib/plaid/models/risk_check_linked_service.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/risk_check_phone.rb b/lib/plaid/models/risk_check_phone.rb index bb62c9ec2..85eb1cfff 100644 --- a/lib/plaid/models/risk_check_phone.rb +++ b/lib/plaid/models/risk_check_phone.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_stolen_identity.rb b/lib/plaid/models/risk_check_stolen_identity.rb index fef9184b0..cd05f6bee 100644 --- a/lib/plaid/models/risk_check_stolen_identity.rb +++ b/lib/plaid/models/risk_check_stolen_identity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_check_synthetic_identity.rb b/lib/plaid/models/risk_check_synthetic_identity.rb index d52c2687e..b8591254e 100644 --- a/lib/plaid/models/risk_check_synthetic_identity.rb +++ b/lib/plaid/models/risk_check_synthetic_identity.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/risk_signal_document_reference.rb b/lib/plaid/models/risk_signal_document_reference.rb index 9217e189d..e2f457fdc 100644 --- a/lib/plaid/models/risk_signal_document_reference.rb +++ b/lib/plaid/models/risk_signal_document_reference.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/role.rb b/lib/plaid/models/role.rb index 3d33a3560..cfc8882b9 100644 --- a/lib/plaid/models/role.rb +++ b/lib/plaid/models/role.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/role_detail.rb b/lib/plaid/models/role_detail.rb index 41ee7b638..f91f53700 100644 --- a/lib/plaid/models/role_detail.rb +++ b/lib/plaid/models/role_detail.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/roles.rb b/lib/plaid/models/roles.rb index f8b8e2ac6..11261e078 100644 --- a/lib/plaid/models/roles.rb +++ b/lib/plaid/models/roles.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb index f53d2d953..bd3270d86 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -157,6 +157,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb index a77cfb0bd..7f1291cbc 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb index fb44360fd..6a46b70a7 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb index 77d8dff38..d61ac3c3f 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -123,6 +123,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb index 3d7f854c8..5a61a35d2 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb index 25fa817ea..9b3dabc1a 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index 2bd13c677..1ee093583 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index 88e2ee9d9..f8ae733a8 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index 5713fada9..ff88739b0 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -208,6 +208,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index badffc6e5..440d8d14c 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index f0c5c2f14..dad93ad73 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -192,6 +192,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 29466d1c4..db6fa74cc 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index e03016c60..c15631009 100644 --- a/lib/plaid/models/sandbox_item_reset_login_request.rb +++ b/lib/plaid/models/sandbox_item_reset_login_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index d6778c6d8..2a08c48a3 100644 --- a/lib/plaid/models/sandbox_item_reset_login_response.rb +++ b/lib/plaid/models/sandbox_item_reset_login_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_set_verification_status_request.rb b/lib/plaid/models/sandbox_item_set_verification_status_request.rb index c66e991b6..07c125c79 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_request.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -198,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_item_set_verification_status_response.rb b/lib/plaid/models/sandbox_item_set_verification_status_response.rb index 5b17146c3..b001f7fb5 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_response.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index b52844915..120aea904 100644 --- a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +++ b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb index 542bbe917..a4757e690 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb index b16213825..4161a8cb0 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index c9baf1f63..10b5d2579 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_processor_token_create_request_options.rb b/lib/plaid/models/sandbox_processor_token_create_request_options.rb index 2458f356e..d13a8a076 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -125,6 +125,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index 0368753dd..1ce803a94 100644 --- a/lib/plaid/models/sandbox_processor_token_create_response.rb +++ b/lib/plaid/models/sandbox_processor_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index f1e8f0102..ab702cb30 100644 --- a/lib/plaid/models/sandbox_public_token_create_request.rb +++ b/lib/plaid/models/sandbox_public_token_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb index c18721b59..47eff96c3 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -109,6 +109,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_request_options.rb b/lib/plaid/models/sandbox_public_token_create_request_options.rb index f73b7737c..1ba14b622 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -153,6 +153,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb index 20012dba5..ae8be544c 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb index 2bc4b1663..26b728097 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index a6facfb2c..567823389 100644 --- a/lib/plaid/models/sandbox_public_token_create_response.rb +++ b/lib/plaid/models/sandbox_public_token_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb index 99efb4285..3f60c6bc5 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb index 78847521b..b91c75b1b 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb index 540a3c916..22f825128 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb index e29a20c00..5d5af3552 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 03320f30f..6a397fbcd 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -170,6 +170,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index 7e5b850ea..c7a6474dd 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index 879aefa39..bdd3fa97d 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index e6d4122c4..6d0c9025b 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -123,6 +123,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb index 5db273d33..de9364ae4 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb index 00d71ccad..7b6ace52b 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb index da1ee2271..f50bbff0a 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb index 00f9ce972..43109e0ff 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb index 56c3035a9..12412c06f 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb index eb0ea34f8..b1dc497d5 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb index 11a327907..0fcfb2cf2 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -209,6 +209,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb index 649c41eed..9f3ee053c 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index e38605d93..d7fdc4407 100644 --- a/lib/plaid/models/scopes.rb +++ b/lib/plaid/models/scopes.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -132,6 +132,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index fdae6825b..50668ef4d 100644 --- a/lib/plaid/models/scopes_context.rb +++ b/lib/plaid/models/scopes_context.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index 670a773d5..022523fe8 100644 --- a/lib/plaid/models/scopes_nullable.rb +++ b/lib/plaid/models/scopes_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_hit_analysis.rb b/lib/plaid/models/screening_hit_analysis.rb index c98792203..6cabaeb06 100644 --- a/lib/plaid/models/screening_hit_analysis.rb +++ b/lib/plaid/models/screening_hit_analysis.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -150,6 +150,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_hit_data.rb b/lib/plaid/models/screening_hit_data.rb index 3fb8fbb99..c99667da4 100644 --- a/lib/plaid/models/screening_hit_data.rb +++ b/lib/plaid/models/screening_hit_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -147,6 +147,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_hit_date_of_birth_item.rb b/lib/plaid/models/screening_hit_date_of_birth_item.rb index 428656e48..038ee7d1d 100644 --- a/lib/plaid/models/screening_hit_date_of_birth_item.rb +++ b/lib/plaid/models/screening_hit_date_of_birth_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_hit_documents_items.rb b/lib/plaid/models/screening_hit_documents_items.rb index f5b120863..6dad7a1ce 100644 --- a/lib/plaid/models/screening_hit_documents_items.rb +++ b/lib/plaid/models/screening_hit_documents_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_hit_names_items.rb b/lib/plaid/models/screening_hit_names_items.rb index 1883a6de3..d4188b516 100644 --- a/lib/plaid/models/screening_hit_names_items.rb +++ b/lib/plaid/models/screening_hit_names_items.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/screening_status_updated_webhook.rb b/lib/plaid/models/screening_status_updated_webhook.rb index e25d411d8..0c1fcdc86 100644 --- a/lib/plaid/models/screening_status_updated_webhook.rb +++ b/lib/plaid/models/screening_status_updated_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index f53c1290d..40d6c289c 100644 --- a/lib/plaid/models/security.rb +++ b/lib/plaid/models/security.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -279,6 +279,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index 18d04c3a2..e74adbb5f 100644 --- a/lib/plaid/models/security_override.rb +++ b/lib/plaid/models/security_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/selfie_analysis.rb b/lib/plaid/models/selfie_analysis.rb index d2a195c7e..e1131f75d 100644 --- a/lib/plaid/models/selfie_analysis.rb +++ b/lib/plaid/models/selfie_analysis.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/selfie_analysis_document_comparison.rb b/lib/plaid/models/selfie_analysis_document_comparison.rb index 05e7d48b3..f3038fce1 100644 --- a/lib/plaid/models/selfie_analysis_document_comparison.rb +++ b/lib/plaid/models/selfie_analysis_document_comparison.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/selfie_capture.rb b/lib/plaid/models/selfie_capture.rb index 38c89912e..ba636903d 100644 --- a/lib/plaid/models/selfie_capture.rb +++ b/lib/plaid/models/selfie_capture.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/selfie_check.rb b/lib/plaid/models/selfie_check.rb index c8d8d654f..5f7ab7783 100644 --- a/lib/plaid/models/selfie_check.rb +++ b/lib/plaid/models/selfie_check.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/selfie_check_selfie.rb b/lib/plaid/models/selfie_check_selfie.rb index 79f88c47f..955be0a9f 100644 --- a/lib/plaid/models/selfie_check_selfie.rb +++ b/lib/plaid/models/selfie_check_selfie.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -156,6 +156,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/selfie_check_status.rb b/lib/plaid/models/selfie_check_status.rb index c6ef557b1..1a5374195 100644 --- a/lib/plaid/models/selfie_check_status.rb +++ b/lib/plaid/models/selfie_check_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/selfie_status.rb b/lib/plaid/models/selfie_status.rb index 7f40a1aba..63cc8cf3b 100644 --- a/lib/plaid/models/selfie_status.rb +++ b/lib/plaid/models/selfie_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index 0b8b7ed1e..71bc4b08e 100644 --- a/lib/plaid/models/sender_bacs_nullable.rb +++ b/lib/plaid/models/sender_bacs_nullable.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/service.rb b/lib/plaid/models/service.rb index b468c8960..a3bdfdb40 100644 --- a/lib/plaid/models/service.rb +++ b/lib/plaid/models/service.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -127,6 +127,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/service_product_fulfillment.rb b/lib/plaid/models/service_product_fulfillment.rb index aa6e6df3d..f14619f87 100644 --- a/lib/plaid/models/service_product_fulfillment.rb +++ b/lib/plaid/models/service_product_fulfillment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/service_product_fulfillment_detail.rb b/lib/plaid/models/service_product_fulfillment_detail.rb index 94977fbad..7e0856da1 100644 --- a/lib/plaid/models/service_product_fulfillment_detail.rb +++ b/lib/plaid/models/service_product_fulfillment_detail.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -124,6 +124,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/service_product_fulfillment_identifier.rb b/lib/plaid/models/service_product_fulfillment_identifier.rb index 9b929004f..9625edce2 100644 --- a/lib/plaid/models/service_product_fulfillment_identifier.rb +++ b/lib/plaid/models/service_product_fulfillment_identifier.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index 39d458d7b..300c511af 100644 --- a/lib/plaid/models/servicer_address_data.rb +++ b/lib/plaid/models/servicer_address_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/services.rb b/lib/plaid/models/services.rb index 33bfba14f..313aa2e95 100644 --- a/lib/plaid/models/services.rb +++ b/lib/plaid/models/services.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index 4dceb9903..0ac2e8f79 100644 --- a/lib/plaid/models/signal_address_data.rb +++ b/lib/plaid/models/signal_address_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -152,6 +152,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_decision_outcome.rb b/lib/plaid/models/signal_decision_outcome.rb index c817ae1e9..e5bcd2218 100644 --- a/lib/plaid/models/signal_decision_outcome.rb +++ b/lib/plaid/models/signal_decision_outcome.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index f758fefc7..55f3df57d 100644 --- a/lib/plaid/models/signal_decision_report_request.rb +++ b/lib/plaid/models/signal_decision_report_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -238,6 +238,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index d50732bbd..5c007d58e 100644 --- a/lib/plaid/models/signal_decision_report_response.rb +++ b/lib/plaid/models/signal_decision_report_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index 503310155..63b0a5bdd 100644 --- a/lib/plaid/models/signal_device.rb +++ b/lib/plaid/models/signal_device.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index bdfd4f6a8..6f6e553f3 100644 --- a/lib/plaid/models/signal_evaluate_core_attributes.rb +++ b/lib/plaid/models/signal_evaluate_core_attributes.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -814,6 +814,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index 076fdf480..ec02ad5cd 100644 --- a/lib/plaid/models/signal_evaluate_request.rb +++ b/lib/plaid/models/signal_evaluate_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -270,6 +270,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index 150361cca..e213bfc17 100644 --- a/lib/plaid/models/signal_evaluate_response.rb +++ b/lib/plaid/models/signal_evaluate_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_insights.rb b/lib/plaid/models/signal_insights.rb index 513717b5f..993fd3cb3 100644 --- a/lib/plaid/models/signal_insights.rb +++ b/lib/plaid/models/signal_insights.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -14,7 +14,7 @@ require 'time' module Plaid - # Signal insights including scores and attributes. + # Signal insights including scores and attributes. This response is offered as an add-on to `/transfer/authorization/create`. To request access to these fields please contact your Plaid account manager. class SignalInsights attr_accessor :scores @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_payment_method.rb b/lib/plaid/models/signal_payment_method.rb index 6fb44c53c..b5df45ba5 100644 --- a/lib/plaid/models/signal_payment_method.rb +++ b/lib/plaid/models/signal_payment_method.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index 9f24e3504..f045a88ff 100644 --- a/lib/plaid/models/signal_person_name.rb +++ b/lib/plaid/models/signal_person_name.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_prepare_request.rb b/lib/plaid/models/signal_prepare_request.rb index 1f49dd9c2..005be0ec7 100644 --- a/lib/plaid/models/signal_prepare_request.rb +++ b/lib/plaid/models/signal_prepare_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_prepare_response.rb b/lib/plaid/models/signal_prepare_response.rb index 08e02bae5..82df6241d 100644 --- a/lib/plaid/models/signal_prepare_response.rb +++ b/lib/plaid/models/signal_prepare_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index 88b1f88ce..8c9f9810b 100644 --- a/lib/plaid/models/signal_return_report_request.rb +++ b/lib/plaid/models/signal_return_report_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -190,6 +190,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index 9c8cc56fb..5867505ab 100644 --- a/lib/plaid/models/signal_return_report_response.rb +++ b/lib/plaid/models/signal_return_report_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index 4dce550e1..a68331bb6 100644 --- a/lib/plaid/models/signal_scores.rb +++ b/lib/plaid/models/signal_scores.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -117,6 +117,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index dbad7730c..5144abcd0 100644 --- a/lib/plaid/models/signal_user.rb +++ b/lib/plaid/models/signal_user.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/signal_warning.rb b/lib/plaid/models/signal_warning.rb index fb79a1bd8..6aba125cc 100644 --- a/lib/plaid/models/signal_warning.rb +++ b/lib/plaid/models/signal_warning.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index ad6890d85..935dac1c7 100644 --- a/lib/plaid/models/simulated_transfer_sweep.rb +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -34,6 +34,8 @@ class SimulatedTransferSweep # The date when the sweep settled, in the YYYY-MM-DD format. attr_accessor :settled + attr_accessor :status + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -42,7 +44,8 @@ def self.attribute_map :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', - :'settled' => :'settled' + :'settled' => :'settled', + :'status' => :'status' } end @@ -59,14 +62,16 @@ def self.openapi_types :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', - :'settled' => :'Date' + :'settled' => :'Date', + :'status' => :'SweepStatus' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'settled' + :'settled', + :'status' ]) end @@ -115,6 +120,10 @@ def initialize(attributes = {}) if attributes.key?(:'settled') self.settled = attributes[:'settled'] end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -165,7 +174,8 @@ def ==(o) created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && - settled == o.settled + settled == o.settled && + status == o.status end # @see the `==` method @@ -177,7 +187,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled].hash + [id, funding_account_id, created, amount, iso_currency_code, settled, status].hash end # Builds the object from hash @@ -192,6 +202,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index 51fe60144..385c07127 100644 --- a/lib/plaid/models/single_document_risk_signal.rb +++ b/lib/plaid/models/single_document_risk_signal.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/source.rb b/lib/plaid/models/source.rb index 02ee48d66..edfd42810 100644 --- a/lib/plaid/models/source.rb +++ b/lib/plaid/models/source.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 0fccfe576..1b75e8ed5 100644 --- a/lib/plaid/models/standalone_account_type.rb +++ b/lib/plaid/models/standalone_account_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 9f886cbe9..f2c2c2239 100644 --- a/lib/plaid/models/standalone_currency_code_list.rb +++ b/lib/plaid/models/standalone_currency_code_list.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index afa130525..01522bb62 100644 --- a/lib/plaid/models/standalone_investment_transaction_type.rb +++ b/lib/plaid/models/standalone_investment_transaction_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/status.rb b/lib/plaid/models/status.rb index 24d98405d..830967ed7 100644 --- a/lib/plaid/models/status.rb +++ b/lib/plaid/models/status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/statuses.rb b/lib/plaid/models/statuses.rb index 0a45456b2..64571a572 100644 --- a/lib/plaid/models/statuses.rb +++ b/lib/plaid/models/statuses.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/strategy.rb b/lib/plaid/models/strategy.rb index 632ac1021..25c28e577 100644 --- a/lib/plaid/models/strategy.rb +++ b/lib/plaid/models/strategy.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index 019f1f9aa..adab826ee 100644 --- a/lib/plaid/models/student_loan.rb +++ b/lib/plaid/models/student_loan.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -381,6 +381,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index 716416124..6ff83710c 100644 --- a/lib/plaid/models/student_loan_repayment_model.rb +++ b/lib/plaid/models/student_loan_repayment_model.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index 2b237b79b..9ab133ca0 100644 --- a/lib/plaid/models/student_loan_status.rb +++ b/lib/plaid/models/student_loan_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index e5a03eb9c..bbb5add84 100644 --- a/lib/plaid/models/student_repayment_plan.rb +++ b/lib/plaid/models/student_repayment_plan.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/sweep_status.rb b/lib/plaid/models/sweep_status.rb new file mode 100644 index 000000000..9dccf58d1 --- /dev/null +++ b/lib/plaid/models/sweep_status.rb @@ -0,0 +1,43 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.391.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.1.0 + +=end + +require 'date' +require 'time' + +module Plaid + class SweepStatus + PENDING = "pending".freeze + POSTED = "posted".freeze + SETTLED = "settled".freeze + RETURNED = "returned".freeze + FAILED = "failed".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/sync_updates_available_webhook.rb b/lib/plaid/models/sync_updates_available_webhook.rb index 0e66e56e6..68ab3f40a 100644 --- a/lib/plaid/models/sync_updates_available_webhook.rb +++ b/lib/plaid/models/sync_updates_available_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -188,6 +188,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index 3b452937c..62eeea9e7 100644 --- a/lib/plaid/models/taxform.rb +++ b/lib/plaid/models/taxform.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index cadd09e64..07183c889 100644 --- a/lib/plaid/models/taxpayer_id.rb +++ b/lib/plaid/models/taxpayer_id.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -158,6 +158,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/taxpayer_identifier.rb b/lib/plaid/models/taxpayer_identifier.rb index 23ea2e1ad..49a539c18 100644 --- a/lib/plaid/models/taxpayer_identifier.rb +++ b/lib/plaid/models/taxpayer_identifier.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/taxpayer_identifier_type.rb b/lib/plaid/models/taxpayer_identifier_type.rb index b7d2736ee..98f4bac64 100644 --- a/lib/plaid/models/taxpayer_identifier_type.rb +++ b/lib/plaid/models/taxpayer_identifier_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/taxpayer_identifiers.rb b/lib/plaid/models/taxpayer_identifiers.rb index 4dadcc0c9..ff8955bd6 100644 --- a/lib/plaid/models/taxpayer_identifiers.rb +++ b/lib/plaid/models/taxpayer_identifiers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 8446dcd9a..9fccc0e4d 100644 --- a/lib/plaid/models/total.rb +++ b/lib/plaid/models/total.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index 585edcd61..3e4b3839f 100644 --- a/lib/plaid/models/total_canonical_description.rb +++ b/lib/plaid/models/total_canonical_description.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index 2fd261b82..215a51953 100644 --- a/lib/plaid/models/transaction.rb +++ b/lib/plaid/models/transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -494,6 +494,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index dab3dc94d..078fdf879 100644 --- a/lib/plaid/models/transaction_all_of.rb +++ b/lib/plaid/models/transaction_all_of.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -222,6 +222,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 9febdf0ee..163a6feb7 100644 --- a/lib/plaid/models/transaction_base.rb +++ b/lib/plaid/models/transaction_base.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -369,6 +369,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index 0ea41733a..2880279a1 100644 --- a/lib/plaid/models/transaction_code.rb +++ b/lib/plaid/models/transaction_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transaction_counterparty.rb b/lib/plaid/models/transaction_counterparty.rb index 7b3e82fdb..cc47f6dcf 100644 --- a/lib/plaid/models/transaction_counterparty.rb +++ b/lib/plaid/models/transaction_counterparty.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -150,6 +150,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index f314af886..1ea130fd2 100644 --- a/lib/plaid/models/transaction_data.rb +++ b/lib/plaid/models/transaction_data.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index 22f81fdfb..42cc9c2bd 100644 --- a/lib/plaid/models/transaction_override.rb +++ b/lib/plaid/models/transaction_override.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -169,6 +169,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index 8bf500b0e..cfed82fd8 100644 --- a/lib/plaid/models/transaction_stream.rb +++ b/lib/plaid/models/transaction_stream.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -315,6 +315,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index b65247055..2b7c3fb83 100644 --- a/lib/plaid/models/transaction_stream_amount.rb +++ b/lib/plaid/models/transaction_stream_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transaction_stream_status.rb b/lib/plaid/models/transaction_stream_status.rb index 23e87d406..1d8eb779e 100644 --- a/lib/plaid/models/transaction_stream_status.rb +++ b/lib/plaid/models/transaction_stream_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transactions_category_rule.rb b/lib/plaid/models/transactions_category_rule.rb index 62ef47d51..fda3e90e8 100644 --- a/lib/plaid/models/transactions_category_rule.rb +++ b/lib/plaid/models/transactions_category_rule.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_enhance_get_request.rb b/lib/plaid/models/transactions_enhance_get_request.rb index 44f1f625f..7cf3d0999 100644 --- a/lib/plaid/models/transactions_enhance_get_request.rb +++ b/lib/plaid/models/transactions_enhance_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -151,6 +151,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_enhance_get_response.rb b/lib/plaid/models/transactions_enhance_get_response.rb index a0e8d1ad7..7e268a4c4 100644 --- a/lib/plaid/models/transactions_enhance_get_response.rb +++ b/lib/plaid/models/transactions_enhance_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_enrich_get_request.rb b/lib/plaid/models/transactions_enrich_get_request.rb index d1b4fdd56..95f59a0ff 100644 --- a/lib/plaid/models/transactions_enrich_get_request.rb +++ b/lib/plaid/models/transactions_enrich_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_enrich_get_response.rb b/lib/plaid/models/transactions_enrich_get_response.rb index e9e4fee6a..70374343b 100644 --- a/lib/plaid/models/transactions_enrich_get_response.rb +++ b/lib/plaid/models/transactions_enrich_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -126,6 +126,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_enrich_request_options.rb b/lib/plaid/models/transactions_enrich_request_options.rb index 61a9d3035..1590ae6eb 100644 --- a/lib/plaid/models/transactions_enrich_request_options.rb +++ b/lib/plaid/models/transactions_enrich_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index c9bc9db15..26ef9f607 100644 --- a/lib/plaid/models/transactions_get_request.rb +++ b/lib/plaid/models/transactions_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 06f9411ec..c973799f7 100644 --- a/lib/plaid/models/transactions_get_request_options.rb +++ b/lib/plaid/models/transactions_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -227,6 +227,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 89972e5b4..547edfc6a 100644 --- a/lib/plaid/models/transactions_get_response.rb +++ b/lib/plaid/models/transactions_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index 09b6016fb..30e2b7252 100644 --- a/lib/plaid/models/transactions_recurring_get_request.rb +++ b/lib/plaid/models/transactions_recurring_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_recurring_get_request_options.rb b/lib/plaid/models/transactions_recurring_get_request_options.rb index 52666dec0..76982b2e7 100644 --- a/lib/plaid/models/transactions_recurring_get_request_options.rb +++ b/lib/plaid/models/transactions_recurring_get_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index 7fea9436c..eee0d174c 100644 --- a/lib/plaid/models/transactions_recurring_get_response.rb +++ b/lib/plaid/models/transactions_recurring_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index 56a54b5eb..570fea183 100644 --- a/lib/plaid/models/transactions_refresh_request.rb +++ b/lib/plaid/models/transactions_refresh_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index bdbe38ab6..f764e8dca 100644 --- a/lib/plaid/models/transactions_refresh_response.rb +++ b/lib/plaid/models/transactions_refresh_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index e873e1b59..d88a6e0b1 100644 --- a/lib/plaid/models/transactions_removed_webhook.rb +++ b/lib/plaid/models/transactions_removed_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rule_details.rb b/lib/plaid/models/transactions_rule_details.rb index 18cee0b01..8bda55b91 100644 --- a/lib/plaid/models/transactions_rule_details.rb +++ b/lib/plaid/models/transactions_rule_details.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rule_field.rb b/lib/plaid/models/transactions_rule_field.rb index 622a85b63..da5a88ed2 100644 --- a/lib/plaid/models/transactions_rule_field.rb +++ b/lib/plaid/models/transactions_rule_field.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transactions_rule_type.rb b/lib/plaid/models/transactions_rule_type.rb index 93d87a071..5c2854a2a 100644 --- a/lib/plaid/models/transactions_rule_type.rb +++ b/lib/plaid/models/transactions_rule_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transactions_rules_create_request.rb b/lib/plaid/models/transactions_rules_create_request.rb index 27dd18ce6..2bae69bd4 100644 --- a/lib/plaid/models/transactions_rules_create_request.rb +++ b/lib/plaid/models/transactions_rules_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -163,6 +163,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rules_create_response.rb b/lib/plaid/models/transactions_rules_create_response.rb index 0449df4be..48e5e9e5e 100644 --- a/lib/plaid/models/transactions_rules_create_response.rb +++ b/lib/plaid/models/transactions_rules_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rules_list_request.rb b/lib/plaid/models/transactions_rules_list_request.rb index f0e1b9057..127528dc7 100644 --- a/lib/plaid/models/transactions_rules_list_request.rb +++ b/lib/plaid/models/transactions_rules_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rules_list_response.rb b/lib/plaid/models/transactions_rules_list_response.rb index 6a24af0f7..fc2eb4f86 100644 --- a/lib/plaid/models/transactions_rules_list_response.rb +++ b/lib/plaid/models/transactions_rules_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -131,6 +131,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rules_remove_request.rb b/lib/plaid/models/transactions_rules_remove_request.rb index 404628b59..40b1a264c 100644 --- a/lib/plaid/models/transactions_rules_remove_request.rb +++ b/lib/plaid/models/transactions_rules_remove_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_rules_remove_response.rb b/lib/plaid/models/transactions_rules_remove_response.rb index 34da4a5ba..eaa25f24d 100644 --- a/lib/plaid/models/transactions_rules_remove_response.rb +++ b/lib/plaid/models/transactions_rules_remove_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 856863562..d60a0816f 100644 --- a/lib/plaid/models/transactions_sync_request.rb +++ b/lib/plaid/models/transactions_sync_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_sync_request_options.rb b/lib/plaid/models/transactions_sync_request_options.rb index 7f7da2360..2dc3d22c3 100644 --- a/lib/plaid/models/transactions_sync_request_options.rb +++ b/lib/plaid/models/transactions_sync_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -136,6 +136,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index c296cec6d..b65a9184a 100644 --- a/lib/plaid/models/transactions_sync_response.rb +++ b/lib/plaid/models/transactions_sync_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -195,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index fe352b8cd..1c9194a64 100644 --- a/lib/plaid/models/transfer.rb +++ b/lib/plaid/models/transfer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -446,6 +446,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 350cd9ce6..55d527253 100644 --- a/lib/plaid/models/transfer_authorization.rb +++ b/lib/plaid/models/transfer_authorization.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -197,6 +197,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index f97eb2d0c..02830a767 100644 --- a/lib/plaid/models/transfer_authorization_create_request.rb +++ b/lib/plaid/models/transfer_authorization_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,7 +25,7 @@ class TransferAuthorizationCreateRequest # The Plaid `access_token` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :access_token - # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation. + # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Required when creating a transfer using an `access_token`. attr_accessor :account_id # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. Defaults to the account configured during onboarding. @@ -350,6 +350,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index 34a757b06..01ba16370 100644 --- a/lib/plaid/models/transfer_authorization_create_response.rb +++ b/lib/plaid/models/transfer_authorization_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_decision.rb b/lib/plaid/models/transfer_authorization_decision.rb index 6a166c902..4973d02b3 100644 --- a/lib/plaid/models/transfer_authorization_decision.rb +++ b/lib/plaid/models/transfer_authorization_decision.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index a51f3ee5b..8ca2e19c4 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb index 56547887d..2f5ff0f9f 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index b55a8b266..ba27dd82b 100644 --- a/lib/plaid/models/transfer_authorization_device.rb +++ b/lib/plaid/models/transfer_authorization_device.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb index 7ed4e1cad..6aaf034ac 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb index c29af3be0..90db36496 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb index 5529789c2..8a0cb5111 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 3749de528..e1aa26fb9 100644 --- a/lib/plaid/models/transfer_authorization_proposed_transfer.rb +++ b/lib/plaid/models/transfer_authorization_proposed_transfer.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -238,6 +238,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_authorization_user_in_request.rb b/lib/plaid/models/transfer_authorization_user_in_request.rb index 1967cdc56..ee0848448 100644 --- a/lib/plaid/models/transfer_authorization_user_in_request.rb +++ b/lib/plaid/models/transfer_authorization_user_in_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_balance.rb b/lib/plaid/models/transfer_balance.rb index 956bf1c5e..d759109c7 100644 --- a/lib/plaid/models/transfer_balance.rb +++ b/lib/plaid/models/transfer_balance.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_balance_get_request.rb b/lib/plaid/models/transfer_balance_get_request.rb index 15ded927a..67545b815 100644 --- a/lib/plaid/models/transfer_balance_get_request.rb +++ b/lib/plaid/models/transfer_balance_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_balance_get_response.rb b/lib/plaid/models/transfer_balance_get_response.rb index 2f094f4bc..18506a631 100644 --- a/lib/plaid/models/transfer_balance_get_response.rb +++ b/lib/plaid/models/transfer_balance_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_balance_type.rb b/lib/plaid/models/transfer_balance_type.rb index e360f7aad..75e5d35f3 100644 --- a/lib/plaid/models/transfer_balance_type.rb +++ b/lib/plaid/models/transfer_balance_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index 6b92e8e63..f4a7e247c 100644 --- a/lib/plaid/models/transfer_cancel_request.rb +++ b/lib/plaid/models/transfer_cancel_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index 8d90ffd02..af440c81f 100644 --- a/lib/plaid/models/transfer_cancel_response.rb +++ b/lib/plaid/models/transfer_cancel_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_capabilities_get_request.rb b/lib/plaid/models/transfer_capabilities_get_request.rb index 1eaade00b..528bc2431 100644 --- a/lib/plaid/models/transfer_capabilities_get_request.rb +++ b/lib/plaid/models/transfer_capabilities_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -25,7 +25,7 @@ class TransferCapabilitiesGetRequest # The Plaid `access_token` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :access_token - # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation. + # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Required when creating a transfer using an `access_token`. attr_accessor :account_id # A payment profile token associated with the Payment Profile data that is being requested. @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_capabilities_get_response.rb b/lib/plaid/models/transfer_capabilities_get_response.rb index e417089db..30cd20e55 100644 --- a/lib/plaid/models/transfer_capabilities_get_response.rb +++ b/lib/plaid/models/transfer_capabilities_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_capabilities_get_rtp.rb b/lib/plaid/models/transfer_capabilities_get_rtp.rb index 93aac61a3..6005654c1 100644 --- a/lib/plaid/models/transfer_capabilities_get_rtp.rb +++ b/lib/plaid/models/transfer_capabilities_get_rtp.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -111,6 +111,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_configuration_get_request.rb b/lib/plaid/models/transfer_configuration_get_request.rb index b402c65b5..5e97a05c8 100644 --- a/lib/plaid/models/transfer_configuration_get_request.rb +++ b/lib/plaid/models/transfer_configuration_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_configuration_get_response.rb b/lib/plaid/models/transfer_configuration_get_response.rb index 502c85c71..26ee0cccc 100644 --- a/lib/plaid/models/transfer_configuration_get_response.rb +++ b/lib/plaid/models/transfer_configuration_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -249,6 +249,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index 4cf6987de..22f0da6e0 100644 --- a/lib/plaid/models/transfer_create_request.rb +++ b/lib/plaid/models/transfer_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -28,7 +28,7 @@ class TransferCreateRequest # The Plaid `access_token` for the account that will be debited or credited. Required if not using `payment_profile_token`. attr_accessor :access_token - # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation. + # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Required when creating a transfer using an `access_token`. attr_accessor :account_id # The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using `access_token`. @@ -328,6 +328,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index c8672a34a..8548522cb 100644 --- a/lib/plaid/models/transfer_create_response.rb +++ b/lib/plaid/models/transfer_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_credit_funds_source.rb b/lib/plaid/models/transfer_credit_funds_source.rb index 5bd356308..6ae5dc318 100644 --- a/lib/plaid/models/transfer_credit_funds_source.rb +++ b/lib/plaid/models/transfer_credit_funds_source.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_credit_usage_configuration.rb b/lib/plaid/models/transfer_credit_usage_configuration.rb index cb6da76b3..d50c34f57 100644 --- a/lib/plaid/models/transfer_credit_usage_configuration.rb +++ b/lib/plaid/models/transfer_credit_usage_configuration.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -175,6 +175,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_debit_usage_configuration.rb b/lib/plaid/models/transfer_debit_usage_configuration.rb index 21e72a0b6..cb97cb15c 100644 --- a/lib/plaid/models/transfer_debit_usage_configuration.rb +++ b/lib/plaid/models/transfer_debit_usage_configuration.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -175,6 +175,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_device.rb b/lib/plaid/models/transfer_device.rb index ae0cf6d98..34f09c5e6 100644 --- a/lib/plaid/models/transfer_device.rb +++ b/lib/plaid/models/transfer_device.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_diligence_document_upload_request.rb b/lib/plaid/models/transfer_diligence_document_upload_request.rb index 77047af71..cf9d1ffec 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_request.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_diligence_document_upload_response.rb b/lib/plaid/models/transfer_diligence_document_upload_response.rb index e56ea15c9..9e9ef6c40 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_response.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_diligence_status.rb b/lib/plaid/models/transfer_diligence_status.rb index c563a28ce..e92ec28da 100644 --- a/lib/plaid/models/transfer_diligence_status.rb +++ b/lib/plaid/models/transfer_diligence_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_diligence_submit_request.rb b/lib/plaid/models/transfer_diligence_submit_request.rb index 64d203be6..8676028df 100644 --- a/lib/plaid/models/transfer_diligence_submit_request.rb +++ b/lib/plaid/models/transfer_diligence_submit_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -148,6 +148,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_diligence_submit_response.rb b/lib/plaid/models/transfer_diligence_submit_response.rb index ba223221e..7079755f4 100644 --- a/lib/plaid/models/transfer_diligence_submit_response.rb +++ b/lib/plaid/models/transfer_diligence_submit_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_document_purpose.rb b/lib/plaid/models/transfer_document_purpose.rb index 9e1ac1826..d643d38ad 100644 --- a/lib/plaid/models/transfer_document_purpose.rb +++ b/lib/plaid/models/transfer_document_purpose.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index b609b11a1..1a2007bc9 100644 --- a/lib/plaid/models/transfer_event.rb +++ b/lib/plaid/models/transfer_event.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -299,6 +299,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index b7dde106b..cf542c108 100644 --- a/lib/plaid/models/transfer_event_list_request.rb +++ b/lib/plaid/models/transfer_event_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -297,6 +297,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index 37eeccc47..26894a3d2 100644 --- a/lib/plaid/models/transfer_event_list_response.rb +++ b/lib/plaid/models/transfer_event_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_event_list_transfer_type.rb b/lib/plaid/models/transfer_event_list_transfer_type.rb index e9ef1399f..4d70905f4 100644 --- a/lib/plaid/models/transfer_event_list_transfer_type.rb +++ b/lib/plaid/models/transfer_event_list_transfer_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index 59cd13eec..59f7630a6 100644 --- a/lib/plaid/models/transfer_event_sync_request.rb +++ b/lib/plaid/models/transfer_event_sync_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -194,6 +194,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index ad1858d0b..cdcb95303 100644 --- a/lib/plaid/models/transfer_event_sync_response.rb +++ b/lib/plaid/models/transfer_event_sync_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index 2aca7dc1f..aa40d2a00 100644 --- a/lib/plaid/models/transfer_event_type.rb +++ b/lib/plaid/models/transfer_event_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_events_update_webhook.rb b/lib/plaid/models/transfer_events_update_webhook.rb index fa3982750..03d9ef9dd 100644 --- a/lib/plaid/models/transfer_events_update_webhook.rb +++ b/lib/plaid/models/transfer_events_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb index 30db9bb13..12d6fd43d 100644 --- a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +++ b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index f1d8e28b2..f6cfd99f8 100644 --- a/lib/plaid/models/transfer_failure.rb +++ b/lib/plaid/models/transfer_failure.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -120,6 +120,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index 61778bfba..194947b5f 100644 --- a/lib/plaid/models/transfer_get_request.rb +++ b/lib/plaid/models/transfer_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index d02470f50..c0cf019a7 100644 --- a/lib/plaid/models/transfer_get_response.rb +++ b/lib/plaid/models/transfer_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_authorization_decision.rb b/lib/plaid/models/transfer_intent_authorization_decision.rb index ac26055d4..04478342e 100644 --- a/lib/plaid/models/transfer_intent_authorization_decision.rb +++ b/lib/plaid/models/transfer_intent_authorization_decision.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index 6285eaf79..18fb77aa8 100644 --- a/lib/plaid/models/transfer_intent_create.rb +++ b/lib/plaid/models/transfer_intent_create.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -310,6 +310,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index 48edf952a..2313f388e 100644 --- a/lib/plaid/models/transfer_intent_create_mode.rb +++ b/lib/plaid/models/transfer_intent_create_mode.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_intent_create_network.rb b/lib/plaid/models/transfer_intent_create_network.rb index 235f10098..6f75f54c6 100644 --- a/lib/plaid/models/transfer_intent_create_network.rb +++ b/lib/plaid/models/transfer_intent_create_network.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index c66d2e858..ce76492db 100644 --- a/lib/plaid/models/transfer_intent_create_request.rb +++ b/lib/plaid/models/transfer_intent_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -305,6 +305,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index 5d88aa61c..49640c178 100644 --- a/lib/plaid/models/transfer_intent_create_response.rb +++ b/lib/plaid/models/transfer_intent_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index f00b43005..9b9bc677c 100644 --- a/lib/plaid/models/transfer_intent_get.rb +++ b/lib/plaid/models/transfer_intent_get.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -371,6 +371,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index 0cf8d2466..30b042e1c 100644 --- a/lib/plaid/models/transfer_intent_get_failure_reason.rb +++ b/lib/plaid/models/transfer_intent_get_failure_reason.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index c68b9016e..165e87618 100644 --- a/lib/plaid/models/transfer_intent_get_request.rb +++ b/lib/plaid/models/transfer_intent_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index 81b54b0a2..7ab73c7d3 100644 --- a/lib/plaid/models/transfer_intent_get_response.rb +++ b/lib/plaid/models/transfer_intent_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_intent_status.rb b/lib/plaid/models/transfer_intent_status.rb index d53590fb2..c9831bd30 100644 --- a/lib/plaid/models/transfer_intent_status.rb +++ b/lib/plaid/models/transfer_intent_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index ba8553e05..f6268185a 100644 --- a/lib/plaid/models/transfer_list_request.rb +++ b/lib/plaid/models/transfer_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -241,6 +241,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index 746182c38..2a2c0553f 100644 --- a/lib/plaid/models/transfer_list_response.rb +++ b/lib/plaid/models/transfer_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_metrics_get_request.rb b/lib/plaid/models/transfer_metrics_get_request.rb index 824666411..3439af9cf 100644 --- a/lib/plaid/models/transfer_metrics_get_request.rb +++ b/lib/plaid/models/transfer_metrics_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_metrics_get_response.rb b/lib/plaid/models/transfer_metrics_get_response.rb index 0a8ba4379..24cba7f61 100644 --- a/lib/plaid/models/transfer_metrics_get_response.rb +++ b/lib/plaid/models/transfer_metrics_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -204,6 +204,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_migrate_account_request.rb b/lib/plaid/models/transfer_migrate_account_request.rb index af9c9c6c8..bae4c166b 100644 --- a/lib/plaid/models/transfer_migrate_account_request.rb +++ b/lib/plaid/models/transfer_migrate_account_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -174,6 +174,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_migrate_account_response.rb b/lib/plaid/models/transfer_migrate_account_response.rb index 0feee5eef..7010f2ef8 100644 --- a/lib/plaid/models/transfer_migrate_account_response.rb +++ b/lib/plaid/models/transfer_migrate_account_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index 7e468af6a..0b26a44f1 100644 --- a/lib/plaid/models/transfer_network.rb +++ b/lib/plaid/models/transfer_network.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_originator_address.rb b/lib/plaid/models/transfer_originator_address.rb index 46ef7403e..88feb7ff0 100644 --- a/lib/plaid/models/transfer_originator_address.rb +++ b/lib/plaid/models/transfer_originator_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -170,6 +170,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_create_request.rb b/lib/plaid/models/transfer_originator_create_request.rb index cb96540dc..0226b0d2e 100644 --- a/lib/plaid/models/transfer_originator_create_request.rb +++ b/lib/plaid/models/transfer_originator_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_create_response.rb b/lib/plaid/models/transfer_originator_create_response.rb index 6a41b8436..ccad12ef0 100644 --- a/lib/plaid/models/transfer_originator_create_response.rb +++ b/lib/plaid/models/transfer_originator_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_diligence.rb b/lib/plaid/models/transfer_originator_diligence.rb index 80ad8cbbf..6e6ccbee9 100644 --- a/lib/plaid/models/transfer_originator_diligence.rb +++ b/lib/plaid/models/transfer_originator_diligence.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -244,6 +244,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_get_request.rb b/lib/plaid/models/transfer_originator_get_request.rb index b3f229f7c..8c43f03f9 100644 --- a/lib/plaid/models/transfer_originator_get_request.rb +++ b/lib/plaid/models/transfer_originator_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_get_response.rb b/lib/plaid/models/transfer_originator_get_response.rb index 97fde8249..8dac65393 100644 --- a/lib/plaid/models/transfer_originator_get_response.rb +++ b/lib/plaid/models/transfer_originator_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_list_request.rb b/lib/plaid/models/transfer_originator_list_request.rb index 1ecc1a674..367dcb8ff 100644 --- a/lib/plaid/models/transfer_originator_list_request.rb +++ b/lib/plaid/models/transfer_originator_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -188,6 +188,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_originator_list_response.rb b/lib/plaid/models/transfer_originator_list_response.rb index 23d50874e..f10b539bd 100644 --- a/lib/plaid/models/transfer_originator_list_response.rb +++ b/lib/plaid/models/transfer_originator_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_questionnaire_create_request.rb b/lib/plaid/models/transfer_questionnaire_create_request.rb index d886db650..9cf555fc8 100644 --- a/lib/plaid/models/transfer_questionnaire_create_request.rb +++ b/lib/plaid/models/transfer_questionnaire_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_questionnaire_create_response.rb b/lib/plaid/models/transfer_questionnaire_create_response.rb index 8e5f63f67..f42b97687 100644 --- a/lib/plaid/models/transfer_questionnaire_create_response.rb +++ b/lib/plaid/models/transfer_questionnaire_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_cancel_request.rb b/lib/plaid/models/transfer_recurring_cancel_request.rb index ca90c7e99..570ea6b23 100644 --- a/lib/plaid/models/transfer_recurring_cancel_request.rb +++ b/lib/plaid/models/transfer_recurring_cancel_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_cancel_response.rb b/lib/plaid/models/transfer_recurring_cancel_response.rb index 7727176aa..2a4013006 100644 --- a/lib/plaid/models/transfer_recurring_cancel_response.rb +++ b/lib/plaid/models/transfer_recurring_cancel_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_create_request.rb b/lib/plaid/models/transfer_recurring_create_request.rb index b133d49cc..ee7ec7ab8 100644 --- a/lib/plaid/models/transfer_recurring_create_request.rb +++ b/lib/plaid/models/transfer_recurring_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -28,7 +28,7 @@ class TransferRecurringCreateRequest # A random key provided by the client, per unique recurring transfer. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a recurring fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single recurring transfer is created. attr_accessor :idempotency_key - # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Returned only if `account_id` was set on intent creation. + # The Plaid `account_id` corresponding to the end-user account that will be debited or credited. Required when creating a transfer using an `access_token`. attr_accessor :account_id # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. Defaults to the account configured during onboarding. @@ -337,6 +337,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_create_response.rb b/lib/plaid/models/transfer_recurring_create_response.rb index 2f20bafc3..8c26c76bd 100644 --- a/lib/plaid/models/transfer_recurring_create_response.rb +++ b/lib/plaid/models/transfer_recurring_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -147,6 +147,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_get_request.rb b/lib/plaid/models/transfer_recurring_get_request.rb index 055c6dcea..4b739f88f 100644 --- a/lib/plaid/models/transfer_recurring_get_request.rb +++ b/lib/plaid/models/transfer_recurring_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_get_response.rb b/lib/plaid/models/transfer_recurring_get_response.rb index 656dc66fa..54e122881 100644 --- a/lib/plaid/models/transfer_recurring_get_response.rb +++ b/lib/plaid/models/transfer_recurring_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_list_request.rb b/lib/plaid/models/transfer_recurring_list_request.rb index fb71e75cf..65fc69aca 100644 --- a/lib/plaid/models/transfer_recurring_list_request.rb +++ b/lib/plaid/models/transfer_recurring_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -219,6 +219,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_list_response.rb b/lib/plaid/models/transfer_recurring_list_response.rb index 6547d36b4..9354869b9 100644 --- a/lib/plaid/models/transfer_recurring_list_response.rb +++ b/lib/plaid/models/transfer_recurring_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_schedule.rb b/lib/plaid/models/transfer_recurring_schedule.rb index f787ed2e8..84477c04e 100644 --- a/lib/plaid/models/transfer_recurring_schedule.rb +++ b/lib/plaid/models/transfer_recurring_schedule.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -169,6 +169,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_recurring_status.rb b/lib/plaid/models/transfer_recurring_status.rb index f22fe4400..0de9cc0ce 100644 --- a/lib/plaid/models/transfer_recurring_status.rb +++ b/lib/plaid/models/transfer_recurring_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_refund.rb b/lib/plaid/models/transfer_refund.rb index b584f3554..2fb9d79f2 100644 --- a/lib/plaid/models/transfer_refund.rb +++ b/lib/plaid/models/transfer_refund.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_cancel_request.rb b/lib/plaid/models/transfer_refund_cancel_request.rb index fbdee7fa2..d4ef6e503 100644 --- a/lib/plaid/models/transfer_refund_cancel_request.rb +++ b/lib/plaid/models/transfer_refund_cancel_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_cancel_response.rb b/lib/plaid/models/transfer_refund_cancel_response.rb index 9f3363bec..6ef32bcb7 100644 --- a/lib/plaid/models/transfer_refund_cancel_response.rb +++ b/lib/plaid/models/transfer_refund_cancel_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -114,6 +114,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_create_request.rb b/lib/plaid/models/transfer_refund_create_request.rb index 53a58b473..225da0431 100644 --- a/lib/plaid/models/transfer_refund_create_request.rb +++ b/lib/plaid/models/transfer_refund_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -185,6 +185,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_create_response.rb b/lib/plaid/models/transfer_refund_create_response.rb index a86b78b08..3323c600e 100644 --- a/lib/plaid/models/transfer_refund_create_response.rb +++ b/lib/plaid/models/transfer_refund_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_get_request.rb b/lib/plaid/models/transfer_refund_get_request.rb index 895f37e97..0b5bed3c1 100644 --- a/lib/plaid/models/transfer_refund_get_request.rb +++ b/lib/plaid/models/transfer_refund_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_get_response.rb b/lib/plaid/models/transfer_refund_get_response.rb index e7a5695ee..a87dfbf8d 100644 --- a/lib/plaid/models/transfer_refund_get_response.rb +++ b/lib/plaid/models/transfer_refund_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_refund_status.rb b/lib/plaid/models/transfer_refund_status.rb index 54b8e52c3..c0d6309d8 100644 --- a/lib/plaid/models/transfer_refund_status.rb +++ b/lib/plaid/models/transfer_refund_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb index 49990e62e..46f9517fd 100644 --- a/lib/plaid/models/transfer_repayment.rb +++ b/lib/plaid/models/transfer_repayment.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -159,6 +159,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb index 9a4413d3a..bca884d87 100644 --- a/lib/plaid/models/transfer_repayment_list_request.rb +++ b/lib/plaid/models/transfer_repayment_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -209,6 +209,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_repayment_list_response.rb b/lib/plaid/models/transfer_repayment_list_response.rb index 3fb090c90..3fb2d37b3 100644 --- a/lib/plaid/models/transfer_repayment_list_response.rb +++ b/lib/plaid/models/transfer_repayment_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb index d7c88b823..e9b76dbe0 100644 --- a/lib/plaid/models/transfer_repayment_return.rb +++ b/lib/plaid/models/transfer_repayment_return.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -180,6 +180,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb index af3db6dc0..b936c3936 100644 --- a/lib/plaid/models/transfer_repayment_return_list_request.rb +++ b/lib/plaid/models/transfer_repayment_return_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -202,6 +202,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb index 306511f90..9b9c6217c 100644 --- a/lib/plaid/models/transfer_repayment_return_list_response.rb +++ b/lib/plaid/models/transfer_repayment_return_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_schedule_interval_unit.rb b/lib/plaid/models/transfer_schedule_interval_unit.rb index 20275cf68..41632a03e 100644 --- a/lib/plaid/models/transfer_schedule_interval_unit.rb +++ b/lib/plaid/models/transfer_schedule_interval_unit.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index b5c9ee982..a9aaef26a 100644 --- a/lib/plaid/models/transfer_status.rb +++ b/lib/plaid/models/transfer_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index ef76c6ff9..a53f39f67 100644 --- a/lib/plaid/models/transfer_sweep.rb +++ b/lib/plaid/models/transfer_sweep.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -34,6 +34,8 @@ class TransferSweep # The date when the sweep settled, in the YYYY-MM-DD format. attr_accessor :settled + attr_accessor :status + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -42,7 +44,8 @@ def self.attribute_map :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', - :'settled' => :'settled' + :'settled' => :'settled', + :'status' => :'status' } end @@ -59,14 +62,16 @@ def self.openapi_types :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', - :'settled' => :'Date' + :'settled' => :'Date', + :'status' => :'SweepStatus' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'settled' + :'settled', + :'status' ]) end @@ -108,6 +113,10 @@ def initialize(attributes = {}) if attributes.key?(:'settled') self.settled = attributes[:'settled'] end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -158,7 +167,8 @@ def ==(o) created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && - settled == o.settled + settled == o.settled && + status == o.status end # @see the `==` method @@ -170,7 +180,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled].hash + [id, funding_account_id, created, amount, iso_currency_code, settled, status].hash end # Builds the object from hash @@ -185,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 92bfabe15..6573ee22f 100644 --- a/lib/plaid/models/transfer_sweep_get_request.rb +++ b/lib/plaid/models/transfer_sweep_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index c7ca7d6bf..ae6aa7695 100644 --- a/lib/plaid/models/transfer_sweep_get_response.rb +++ b/lib/plaid/models/transfer_sweep_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index a3a74767b..167ac5c78 100644 --- a/lib/plaid/models/transfer_sweep_list_request.rb +++ b/lib/plaid/models/transfer_sweep_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -37,12 +37,17 @@ class TransferSweepListRequest # Filter sweeps to only those with the specified amount. attr_accessor :amount + attr_accessor :status + # Filter sweeps to only those with the specified originator client. attr_accessor :originator_client_id # Filter sweeps to only those with the specified `funding_account_id`. attr_accessor :funding_account_id + # Filter sweeps to only those with the included `transfer_id`. + attr_accessor :transfer_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -53,8 +58,10 @@ def self.attribute_map :'count' => :'count', :'offset' => :'offset', :'amount' => :'amount', + :'status' => :'status', :'originator_client_id' => :'originator_client_id', - :'funding_account_id' => :'funding_account_id' + :'funding_account_id' => :'funding_account_id', + :'transfer_id' => :'transfer_id' } end @@ -73,8 +80,10 @@ def self.openapi_types :'count' => :'Integer', :'offset' => :'Integer', :'amount' => :'String', + :'status' => :'SweepStatus', :'originator_client_id' => :'String', - :'funding_account_id' => :'String' + :'funding_account_id' => :'String', + :'transfer_id' => :'String' } end @@ -85,8 +94,10 @@ def self.openapi_nullable :'end_date', :'count', :'amount', + :'status', :'originator_client_id', - :'funding_account_id' + :'funding_account_id', + :'transfer_id' ]) end @@ -137,6 +148,10 @@ def initialize(attributes = {}) self.amount = attributes[:'amount'] end + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + if attributes.key?(:'originator_client_id') self.originator_client_id = attributes[:'originator_client_id'] end @@ -144,6 +159,10 @@ def initialize(attributes = {}) if attributes.key?(:'funding_account_id') self.funding_account_id = attributes[:'funding_account_id'] end + + if attributes.key?(:'transfer_id') + self.transfer_id = attributes[:'transfer_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -214,8 +233,10 @@ def ==(o) count == o.count && offset == o.offset && amount == o.amount && + status == o.status && originator_client_id == o.originator_client_id && - funding_account_id == o.funding_account_id + funding_account_id == o.funding_account_id && + transfer_id == o.transfer_id end # @see the `==` method @@ -227,7 +248,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, start_date, end_date, count, offset, amount, originator_client_id, funding_account_id].hash + [client_id, secret, start_date, end_date, count, offset, amount, status, originator_client_id, funding_account_id, transfer_id].hash end # Builds the object from hash @@ -242,6 +263,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index 8a08c9c4c..6a608a444 100644 --- a/lib/plaid/models/transfer_sweep_list_response.rb +++ b/lib/plaid/models/transfer_sweep_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index 8b0d046fa..42bb6b3f8 100644 --- a/lib/plaid/models/transfer_sweep_status.rb +++ b/lib/plaid/models/transfer_sweep_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_test_clock.rb b/lib/plaid/models/transfer_test_clock.rb index 025351880..2b2836bda 100644 --- a/lib/plaid/models/transfer_test_clock.rb +++ b/lib/plaid/models/transfer_test_clock.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index fd17886f0..dfc1aa8ad 100644 --- a/lib/plaid/models/transfer_type.rb +++ b/lib/plaid/models/transfer_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index 47e7b8065..6f265b117 100644 --- a/lib/plaid/models/transfer_user_address_in_request.rb +++ b/lib/plaid/models/transfer_user_address_in_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 505140c6e..87e824968 100644 --- a/lib/plaid/models/transfer_user_address_in_response.rb +++ b/lib/plaid/models/transfer_user_address_in_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -154,6 +154,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index cf1b97c34..ca37dd80a 100644 --- a/lib/plaid/models/transfer_user_in_request.rb +++ b/lib/plaid/models/transfer_user_in_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_user_in_request_deprecated.rb b/lib/plaid/models/transfer_user_in_request_deprecated.rb index fde7650fe..c50a55c4e 100644 --- a/lib/plaid/models/transfer_user_in_request_deprecated.rb +++ b/lib/plaid/models/transfer_user_in_request_deprecated.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -138,6 +138,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index b4fe79fbc..9aff4e4b4 100644 --- a/lib/plaid/models/transfer_user_in_response.rb +++ b/lib/plaid/models/transfer_user_in_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -146,6 +146,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/update_entity_screening_request_search_terms.rb b/lib/plaid/models/update_entity_screening_request_search_terms.rb index b5829d334..4875f5669 100644 --- a/lib/plaid/models/update_entity_screening_request_search_terms.rb +++ b/lib/plaid/models/update_entity_screening_request_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -225,6 +225,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/update_individual_screening_request_search_terms.rb b/lib/plaid/models/update_individual_screening_request_search_terms.rb index edf80e0d9..c5a3d5174 100644 --- a/lib/plaid/models/update_individual_screening_request_search_terms.rb +++ b/lib/plaid/models/update_individual_screening_request_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -200,6 +200,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_address.rb b/lib/plaid/models/user_address.rb index 6bae2333a..4fe52f088 100644 --- a/lib/plaid/models/user_address.rb +++ b/lib/plaid/models/user_address.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -14,7 +14,7 @@ require 'time' module Plaid - # Home address for the user. + # Home address for the user. For more context on this field, see [Input Validation by Country](https://plaid.com/docs/identity-verification/hybrid-input-validation/#input-validation-by-country). class UserAddress # The primary street portion of an address. If the user has submitted their address, this field will always be filled. attr_accessor :street @@ -67,6 +67,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'street2', + :'region', + :'postal_code', ]) end @@ -122,14 +124,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "city", city cannot be nil.') end - if @region.nil? - invalid_properties.push('invalid value for "region", region cannot be nil.') - end - - if @postal_code.nil? - invalid_properties.push('invalid value for "postal_code", postal_code cannot be nil.') - end - if @country.nil? invalid_properties.push('invalid value for "country", country cannot be nil.') end @@ -147,8 +141,6 @@ def list_invalid_properties def valid? return false if @street.nil? return false if @city.nil? - return false if @region.nil? - return false if @postal_code.nil? return false if @country.nil? return false if @country.to_s.length < 2 true @@ -206,6 +198,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index e32f787bc..8dd96a316 100644 --- a/lib/plaid/models/user_create_request.rb +++ b/lib/plaid/models/user_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -164,6 +164,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_create_response.rb b/lib/plaid/models/user_create_response.rb index 8c5071b4a..4dfd1edb1 100644 --- a/lib/plaid/models/user_create_response.rb +++ b/lib/plaid/models/user_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -144,6 +144,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index 684569591..444681262 100644 --- a/lib/plaid/models/user_custom_password.rb +++ b/lib/plaid/models/user_custom_password.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -186,6 +186,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_id_number.rb b/lib/plaid/models/user_id_number.rb index 600b35e9d..eb6b44eed 100644 --- a/lib/plaid/models/user_id_number.rb +++ b/lib/plaid/models/user_id_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index 1077c6cb6..7cfae3a9a 100644 --- a/lib/plaid/models/user_permission_revoked_webhook.rb +++ b/lib/plaid/models/user_permission_revoked_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -168,6 +168,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/user_stated_income_source_category.rb b/lib/plaid/models/user_stated_income_source_category.rb index 47eec1904..942e3181a 100644 --- a/lib/plaid/models/user_stated_income_source_category.rb +++ b/lib/plaid/models/user_stated_income_source_category.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/user_stated_income_source_frequency.rb b/lib/plaid/models/user_stated_income_source_frequency.rb index 077eb7117..3cbc6c3f5 100644 --- a/lib/plaid/models/user_stated_income_source_frequency.rb +++ b/lib/plaid/models/user_stated_income_source_frequency.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/user_stated_income_source_pay_type.rb b/lib/plaid/models/user_stated_income_source_pay_type.rb index 41b617da5..f64d8146f 100644 --- a/lib/plaid/models/user_stated_income_source_pay_type.rb +++ b/lib/plaid/models/user_stated_income_source_pay_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/validation_source.rb b/lib/plaid/models/validation_source.rb index a79dfc730..1fb930beb 100644 --- a/lib/plaid/models/validation_source.rb +++ b/lib/plaid/models/validation_source.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/validation_sources.rb b/lib/plaid/models/validation_sources.rb index ade505a7b..0cccecd4a 100644 --- a/lib/plaid/models/validation_sources.rb +++ b/lib/plaid/models/validation_sources.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -116,6 +116,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index d83fe532a..f0cf4f821 100644 --- a/lib/plaid/models/verification_expired_webhook.rb +++ b/lib/plaid/models/verification_expired_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -173,6 +173,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/verification_of_asset.rb b/lib/plaid/models/verification_of_asset.rb index c3b646ea7..941802a17 100644 --- a/lib/plaid/models/verification_of_asset.rb +++ b/lib/plaid/models/verification_of_asset.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/verification_of_asset_response.rb b/lib/plaid/models/verification_of_asset_response.rb index f883f2828..630aabb4c 100644 --- a/lib/plaid/models/verification_of_asset_response.rb +++ b/lib/plaid/models/verification_of_asset_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -113,6 +113,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index e264d980c..4fabb84aa 100644 --- a/lib/plaid/models/verification_refresh_status.rb +++ b/lib/plaid/models/verification_refresh_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index a02b4e62f..8df3b56bf 100644 --- a/lib/plaid/models/verification_status.rb +++ b/lib/plaid/models/verification_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index 71f5ba426..aaa3dcc4b 100644 --- a/lib/plaid/models/w2.rb +++ b/lib/plaid/models/w2.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -326,6 +326,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index 8c0fa98b4..5d764e494 100644 --- a/lib/plaid/models/w2_box12.rb +++ b/lib/plaid/models/w2_box12.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -121,6 +121,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 6b15c5438..171167411 100644 --- a/lib/plaid/models/w2_state_and_local_wages.rb +++ b/lib/plaid/models/w2_state_and_local_wages.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -176,6 +176,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet.rb b/lib/plaid/models/wallet.rb index 4014117bc..bd6b95bda 100644 --- a/lib/plaid/models/wallet.rb +++ b/lib/plaid/models/wallet.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -166,6 +166,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index 860cbabbf..38f58976a 100644 --- a/lib/plaid/models/wallet_balance.rb +++ b/lib/plaid/models/wallet_balance.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -129,6 +129,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_create_request.rb b/lib/plaid/models/wallet_create_request.rb index 890a1369e..e93fa51e6 100644 --- a/lib/plaid/models/wallet_create_request.rb +++ b/lib/plaid/models/wallet_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -133,6 +133,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_create_response.rb b/lib/plaid/models/wallet_create_response.rb index d89b39520..71a5ec423 100644 --- a/lib/plaid/models/wallet_create_response.rb +++ b/lib/plaid/models/wallet_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index adfa4eb96..46675ca99 100644 --- a/lib/plaid/models/wallet_get_request.rb +++ b/lib/plaid/models/wallet_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 0d8c93fe0..fd43fd9a4 100644 --- a/lib/plaid/models/wallet_get_response.rb +++ b/lib/plaid/models/wallet_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -189,6 +189,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_iso_currency_code.rb b/lib/plaid/models/wallet_iso_currency_code.rb index 6cb7c2e8f..8c967af0a 100644 --- a/lib/plaid/models/wallet_iso_currency_code.rb +++ b/lib/plaid/models/wallet_iso_currency_code.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/wallet_list_request.rb b/lib/plaid/models/wallet_list_request.rb index 9b748d535..89e83e84d 100644 --- a/lib/plaid/models/wallet_list_request.rb +++ b/lib/plaid/models/wallet_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -193,6 +193,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index 92fb98883..dcaaff853 100644 --- a/lib/plaid/models/wallet_list_response.rb +++ b/lib/plaid/models/wallet_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_numbers.rb b/lib/plaid/models/wallet_numbers.rb index 05beca48f..6028459d4 100644 --- a/lib/plaid/models/wallet_numbers.rb +++ b/lib/plaid/models/wallet_numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_payment_scheme.rb b/lib/plaid/models/wallet_payment_scheme.rb index 9764f887d..dc379fe59 100644 --- a/lib/plaid/models/wallet_payment_scheme.rb +++ b/lib/plaid/models/wallet_payment_scheme.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/wallet_status.rb b/lib/plaid/models/wallet_status.rb index f7c293855..8b75f836f 100644 --- a/lib/plaid/models/wallet_status.rb +++ b/lib/plaid/models/wallet_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index dc5f905b4..5edafbd41 100644 --- a/lib/plaid/models/wallet_transaction.rb +++ b/lib/plaid/models/wallet_transaction.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -286,6 +286,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index 15ec2c6fe..c4806c414 100644 --- a/lib/plaid/models/wallet_transaction_amount.rb +++ b/lib/plaid/models/wallet_transaction_amount.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index 79eb5c09b..97b283304 100644 --- a/lib/plaid/models/wallet_transaction_counterparty.rb +++ b/lib/plaid/models/wallet_transaction_counterparty.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -170,6 +170,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index f3154aad0..692885038 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -178,6 +178,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_counterparty_international.rb b/lib/plaid/models/wallet_transaction_counterparty_international.rb index 4090b7841..3636c319d 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_international.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_international.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index 0022617d9..0e5709166 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -118,6 +118,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index 795e4f70c..1dff37046 100644 --- a/lib/plaid/models/wallet_transaction_execute_request.rb +++ b/lib/plaid/models/wallet_transaction_execute_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -273,6 +273,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index 86a9fcb2a..53de8caa6 100644 --- a/lib/plaid/models/wallet_transaction_execute_response.rb +++ b/lib/plaid/models/wallet_transaction_execute_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -143,6 +143,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_get_request.rb b/lib/plaid/models/wallet_transaction_get_request.rb index c0a23a518..f180a16eb 100644 --- a/lib/plaid/models/wallet_transaction_get_request.rb +++ b/lib/plaid/models/wallet_transaction_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -155,6 +155,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_get_response.rb b/lib/plaid/models/wallet_transaction_get_response.rb index 57a45f9fa..5631ca40a 100644 --- a/lib/plaid/models/wallet_transaction_get_response.rb +++ b/lib/plaid/models/wallet_transaction_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -309,6 +309,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_list_request.rb b/lib/plaid/models/wallet_transaction_list_request.rb index 146601829..38f6560d1 100644 --- a/lib/plaid/models/wallet_transaction_list_request.rb +++ b/lib/plaid/models/wallet_transaction_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -230,6 +230,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_list_request_options.rb b/lib/plaid/models/wallet_transaction_list_request_options.rb index 2e2631f4c..9388268d6 100644 --- a/lib/plaid/models/wallet_transaction_list_request_options.rb +++ b/lib/plaid/models/wallet_transaction_list_request_options.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -119,6 +119,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_list_response.rb b/lib/plaid/models/wallet_transaction_list_response.rb index ea1ca7f3a..f7f2c1c14 100644 --- a/lib/plaid/models/wallet_transaction_list_response.rb +++ b/lib/plaid/models/wallet_transaction_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -141,6 +141,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 58ebea23a..95432b877 100644 --- a/lib/plaid/models/wallet_transaction_status.rb +++ b/lib/plaid/models/wallet_transaction_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/wallet_transaction_status_update_webhook.rb b/lib/plaid/models/wallet_transaction_status_update_webhook.rb index 2e5ae8ae0..4d5ded703 100644 --- a/lib/plaid/models/wallet_transaction_status_update_webhook.rb +++ b/lib/plaid/models/wallet_transaction_status_update_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -222,6 +222,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index ba1d22df7..6bdec3032 100644 --- a/lib/plaid/models/wallet_transactions_list_request.rb +++ b/lib/plaid/models/wallet_transactions_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -230,6 +230,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index a3d8d9592..1fc7582ab 100644 --- a/lib/plaid/models/warning.rb +++ b/lib/plaid/models/warning.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -177,6 +177,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_audit_trail.rb b/lib/plaid/models/watchlist_screening_audit_trail.rb index c8922219a..488c829ec 100644 --- a/lib/plaid/models/watchlist_screening_audit_trail.rb +++ b/lib/plaid/models/watchlist_screening_audit_trail.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -139,6 +139,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_document.rb b/lib/plaid/models/watchlist_screening_document.rb index b04a20057..1e62b8a23 100644 --- a/lib/plaid/models/watchlist_screening_document.rb +++ b/lib/plaid/models/watchlist_screening_document.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -149,6 +149,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index 10b62077b..b2921df7a 100644 --- a/lib/plaid/models/watchlist_screening_document_type.rb +++ b/lib/plaid/models/watchlist_screening_document_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/watchlist_screening_entity_create_request.rb b/lib/plaid/models/watchlist_screening_entity_create_request.rb index f18a64ea2..75a374a84 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_create_response.rb b/lib/plaid/models/watchlist_screening_entity_create_response.rb index e5a8bb717..7f99ff70a 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_get_request.rb b/lib/plaid/models/watchlist_screening_entity_get_request.rb index 8c7afddf5..f66d8cd9c 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_get_response.rb b/lib/plaid/models/watchlist_screening_entity_get_response.rb index 1a0f8a0d3..07ea40e55 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb index ef15e8546..7bb3f4d76 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb index 24518d8b7..8889afd86 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb index f9ace3df9..5b05a5b3d 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb index 773f0e3fd..c7276ecdc 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_list_request.rb b/lib/plaid/models/watchlist_screening_entity_list_request.rb index 11f6c6484..2e72d47d7 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_list_response.rb b/lib/plaid/models/watchlist_screening_entity_list_response.rb index b65216960..74cf58e4d 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb index 734e8cbc5..897b78362 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb index e9616e1bc..0ca366078 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -267,6 +267,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb index 5821b4a8d..6f03f6ac3 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb index ff513c299..ae8175a56 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb index 8aeff4739..86acd53e6 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -196,6 +196,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb index 6960b6535..641a3241e 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -205,6 +205,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb index 0665d2e22..45201c499 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb index 1a232f273..94eac4691 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_update_request.rb b/lib/plaid/models/watchlist_screening_entity_update_request.rb index 1270171e5..c5fbf0190 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -203,6 +203,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb index a372b59a0..d9ef696c5 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/watchlist_screening_entity_update_response.rb b/lib/plaid/models/watchlist_screening_entity_update_response.rb index 55b623163..603c745f4 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_hit.rb b/lib/plaid/models/watchlist_screening_hit.rb index 901cd7333..725d9f55c 100644 --- a/lib/plaid/models/watchlist_screening_hit.rb +++ b/lib/plaid/models/watchlist_screening_hit.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -240,6 +240,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_hit_locations.rb b/lib/plaid/models/watchlist_screening_hit_locations.rb index f13401e7e..bd63ebfbb 100644 --- a/lib/plaid/models/watchlist_screening_hit_locations.rb +++ b/lib/plaid/models/watchlist_screening_hit_locations.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -150,6 +150,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_hit_status.rb b/lib/plaid/models/watchlist_screening_hit_status.rb index 9291b8796..d6b491f09 100644 --- a/lib/plaid/models/watchlist_screening_hit_status.rb +++ b/lib/plaid/models/watchlist_screening_hit_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/watchlist_screening_individual.rb b/lib/plaid/models/watchlist_screening_individual.rb index 6892cf3ed..964607e99 100644 --- a/lib/plaid/models/watchlist_screening_individual.rb +++ b/lib/plaid/models/watchlist_screening_individual.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -195,6 +195,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_create_request.rb b/lib/plaid/models/watchlist_screening_individual_create_request.rb index 05256302e..73db01ccb 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -160,6 +160,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_create_response.rb b/lib/plaid/models/watchlist_screening_individual_create_response.rb index 123165ef7..7bfc51beb 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_get_request.rb b/lib/plaid/models/watchlist_screening_individual_get_request.rb index cbb7945cd..2d47753ce 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_get_response.rb b/lib/plaid/models/watchlist_screening_individual_get_response.rb index 3c25ac66c..fa251b427 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb index 9d0f5e5be..baac62863 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb index b74c0778a..8987f26da 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb index 27ca3d55d..3af08eddd 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb index 5ec5a4b74..e7c97bb21 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_list_request.rb b/lib/plaid/models/watchlist_screening_individual_list_request.rb index c27a446b8..194edc9b0 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -191,6 +191,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_list_response.rb b/lib/plaid/models/watchlist_screening_individual_list_response.rb index af5cf5bdc..fa9227c8b 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb index 859c41e46..463f3b055 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb index 762b087d5..2642aa69f 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -267,6 +267,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb index 46faa390f..c6fc58f75 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -130,6 +130,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb index 9291aaa5c..bdf3c33d7 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb index 63e3d0dfc..1a714c041 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -196,6 +196,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb index 2e4aca89c..2ac1d4dc4 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -205,6 +205,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb index 3c662f99e..5e50241d7 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -145,6 +145,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb index 004c37980..6ee1a7c4c 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -142,6 +142,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_update_request.rb b/lib/plaid/models/watchlist_screening_individual_update_request.rb index a91742f1b..9cd69b229 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -203,6 +203,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb index 3357330c7..729c37e7d 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/watchlist_screening_individual_update_response.rb b/lib/plaid/models/watchlist_screening_individual_update_response.rb index 0cbf2579d..12006b852 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -210,6 +210,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_request_search_terms.rb b/lib/plaid/models/watchlist_screening_request_search_terms.rb index 73cec1c7c..8b0ded631 100644 --- a/lib/plaid/models/watchlist_screening_request_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_request_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -214,6 +214,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index 5facfd747..1a14fc7fc 100644 --- a/lib/plaid/models/watchlist_screening_review.rb +++ b/lib/plaid/models/watchlist_screening_review.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -190,6 +190,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_search_terms.rb b/lib/plaid/models/watchlist_screening_search_terms.rb index 66486ac31..0f4337431 100644 --- a/lib/plaid/models/watchlist_screening_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_search_terms.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -232,6 +232,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index dea4dfff4..890a2a04b 100644 --- a/lib/plaid/models/watchlist_screening_status.rb +++ b/lib/plaid/models/watchlist_screening_status.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/weak_alias_determination.rb b/lib/plaid/models/weak_alias_determination.rb index 3a1bd0925..320d6b0d3 100644 --- a/lib/plaid/models/weak_alias_determination.rb +++ b/lib/plaid/models/weak_alias_determination.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/webhook_environment_values.rb b/lib/plaid/models/webhook_environment_values.rb index 3a14dd6a5..7900e72d9 100644 --- a/lib/plaid/models/webhook_environment_values.rb +++ b/lib/plaid/models/webhook_environment_values.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/webhook_type.rb b/lib/plaid/models/webhook_type.rb index c7da80f16..ed82a0d01 100644 --- a/lib/plaid/models/webhook_type.rb +++ b/lib/plaid/models/webhook_type.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index b2df26304..84d336a82 100644 --- a/lib/plaid/models/webhook_update_acknowledged_webhook.rb +++ b/lib/plaid/models/webhook_update_acknowledged_webhook.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -183,6 +183,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index 552f10f46..ade3c2143 100644 --- a/lib/plaid/models/webhook_verification_key_get_request.rb +++ b/lib/plaid/models/webhook_verification_key_get_request.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -134,6 +134,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index 2badacd9f..c5cfdbf9c 100644 --- a/lib/plaid/models/webhook_verification_key_get_response.rb +++ b/lib/plaid/models/webhook_verification_key_get_response.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -128,6 +128,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/ytd_gross_income_summary_field_number.rb b/lib/plaid/models/ytd_gross_income_summary_field_number.rb index 1cdd7f0f1..0e063d7b5 100644 --- a/lib/plaid/models/ytd_gross_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_gross_income_summary_field_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/models/ytd_net_income_summary_field_number.rb b/lib/plaid/models/ytd_net_income_summary_field_number.rb index 8a2ad754c..dfb4d53d7 100644 --- a/lib/plaid/models/ytd_net_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_net_income_summary_field_number.rb @@ -3,10 +3,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end @@ -135,6 +135,7 @@ def self.build_from_hash(attributes) # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 5c2c45173..e756ff830 100644 --- a/lib/plaid/version.rb +++ b/lib/plaid/version.rb @@ -3,13 +3,13 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end module Plaid - VERSION = '20.0.0' + VERSION = '21.0.0' end diff --git a/plaid.gemspec b/plaid.gemspec index 78e10378a..19efccc79 100644 --- a/plaid.gemspec +++ b/plaid.gemspec @@ -5,10 +5,10 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.385.1 +The version of the OpenAPI document: 2020-09-14_1.391.1 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.1.1 +OpenAPI Generator version: 6.1.0 =end diff --git a/templates/ruby/api_client.mustache b/templates/ruby/api_client.mustache index fd98e3f68..a231ff51a 100644 --- a/templates/ruby/api_client.mustache +++ b/templates/ruby/api_client.mustache @@ -1,3 +1,7 @@ +# Modified by Plaid +# Due to separate implementations of Faraday 2 and Faraday options support this file has extensive +# Diffs from the equivalent OpenAPI-generator template file + =begin {{> api_info}} =end diff --git a/templates/ruby/api_client_faraday_partial.mustache b/templates/ruby/api_client_faraday_partial.mustache index 83550ef92..4403f79be 100644 --- a/templates/ruby/api_client_faraday_partial.mustache +++ b/templates/ruby/api_client_faraday_partial.mustache @@ -1,3 +1,6 @@ + # Modified by Plaid + # Due to separate implementations of Faraday 2 and Faraday options support this file has extensive + # Diffs from the equivalent OpenAPI-generator template file # Call an API with given options. # # @return [Array<(Object, Integer, Hash)>] an array of 3 elements: @@ -108,7 +111,7 @@ case value when ::File, ::Tempfile # TODO hardcode to application/octet-stream, need better way to detect content type - data[key] = Faraday::Multipart::Post::UploadIO.new(value.path, 'application/octet-stream', value.path) + data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path) when ::Array, nil # let Faraday handle Array and nil parameters data[key] = value diff --git a/templates/ruby/configuration.mustache b/templates/ruby/configuration.mustache index acb577259..28bdc5794 100644 --- a/templates/ruby/configuration.mustache +++ b/templates/ruby/configuration.mustache @@ -1,3 +1,7 @@ +# Modified by Plaid +# Due to separate implementations of Faraday 2 and Faraday options support this file has extensive +# Diffs from the equivalent OpenAPI-generator template file + =begin {{> api_info}} =end diff --git a/templates/ruby/configuration_tls_faraday_partial.mustache b/templates/ruby/configuration_tls_faraday_partial.mustache new file mode 100644 index 000000000..276c63f3d --- /dev/null +++ b/templates/ruby/configuration_tls_faraday_partial.mustache @@ -0,0 +1,35 @@ + # This file is not modified by Plaid + # In version 6.0 of Openapi generator, this file was renamed to configuration_faraday_partial.mustache + # Our template files do not incorporate the PR (https://github.com/OpenAPITools/openapi-generator/pull/9839) + # That made this change + + + ### TLS/SSL setting + # Set this to false to skip verifying SSL certificate when calling API from https server. + # Default to true. + # + # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. + # + # @return [true, false] + attr_accessor :ssl_verify + + ### TLS/SSL setting + # Any `OpenSSL::SSL::` constant (see https://ruby-doc.org/stdlib-2.5.1/libdoc/openssl/rdoc/OpenSSL/SSL.html) + # + # @note Do NOT set it to false in production code, otherwise you would face multiple types of cryptographic attacks. + # + attr_accessor :ssl_verify_mode + + ### TLS/SSL setting + # Set this to customize the certificate file to verify the peer. + # + # @return [String] the path to the certificate file + attr_accessor :ssl_ca_file + + ### TLS/SSL setting + # Client certificate file (for client certificate) + attr_accessor :ssl_client_cert + + ### TLS/SSL setting + # Client private key file (for client certificate) + attr_accessor :ssl_client_key