nucleus_api 1.8.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +28 -737
- data/lib/nucleus_api.rb +23 -21
- data/lib/nucleus_api/api/account_api.rb +73 -112
- data/lib/nucleus_api/api/admin_client_api.rb +85 -40
- data/lib/nucleus_api/api/aggregation_account_api.rb +85 -30
- data/lib/nucleus_api/api/allocation_api.rb +16 -16
- data/lib/nucleus_api/api/benchmark_api.rb +9 -9
- data/lib/nucleus_api/api/budget_api.rb +7 -7
- data/lib/nucleus_api/api/bulk_api.rb +6 -6
- data/lib/nucleus_api/api/business_api.rb +32 -14
- data/lib/nucleus_api/api/card_api.rb +159 -14
- data/lib/nucleus_api/api/client_api.rb +318 -22
- data/lib/nucleus_api/api/{customer_api.rb → contact_api.rb} +176 -176
- data/lib/nucleus_api/api/decision_tree_api.rb +29 -31
- data/lib/nucleus_api/api/document_api.rb +7 -7
- data/lib/nucleus_api/api/financial_statement_api.rb +7 -7
- data/lib/nucleus_api/api/funding_api.rb +139 -423
- data/lib/nucleus_api/api/goal_api.rb +37 -19
- data/lib/nucleus_api/api/household_api.rb +32 -14
- data/lib/nucleus_api/api/invoice_api.rb +14 -14
- data/lib/nucleus_api/api/model_api.rb +31 -31
- data/lib/nucleus_api/api/order_api.rb +31 -31
- data/lib/nucleus_api/api/overflow_api.rb +10 -10
- data/lib/nucleus_api/api/portfolio_api.rb +97 -33
- data/lib/nucleus_api/api/questionnaire_api.rb +17 -295
- data/lib/nucleus_api/api/resource_api.rb +394 -50
- data/lib/nucleus_api/api/risk_profile_api.rb +7 -7
- data/lib/nucleus_api/api/roundup_api.rb +10 -10
- data/lib/nucleus_api/api/score_api.rb +7 -7
- data/lib/nucleus_api/api/securities_api.rb +17 -17
- data/lib/nucleus_api/api/spending_control_api.rb +7 -7
- data/lib/nucleus_api/api/utils_api.rb +1895 -60
- data/lib/nucleus_api/api/webhook_api.rb +7 -7
- data/lib/nucleus_api/api_client.rb +17 -54
- data/lib/nucleus_api/api_error.rb +2 -2
- data/lib/nucleus_api/configuration.rb +4 -19
- data/lib/nucleus_api/models/account.rb +8 -6
- data/lib/nucleus_api/models/account_allocation_mapping.rb +8 -7
- data/lib/nucleus_api/models/account_map.rb +8 -7
- data/lib/nucleus_api/models/account_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/account_portfolio_rebalance_request.rb +8 -7
- data/lib/nucleus_api/models/account_status.rb +8 -12
- data/lib/nucleus_api/models/account_type.rb +8 -7
- data/lib/nucleus_api/models/acl_client_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/admin_client.rb +27 -9
- data/lib/nucleus_api/models/aggregation_account.rb +139 -18
- data/lib/nucleus_api/models/aggregation_account_balance.rb +8 -7
- data/lib/nucleus_api/models/aggregation_account_holding.rb +10 -17
- data/lib/nucleus_api/models/aggregation_account_transaction.rb +6 -52
- data/lib/nucleus_api/models/aggregation_accounts_map.rb +8 -7
- data/lib/nucleus_api/models/allocation.rb +8 -7
- data/lib/nucleus_api/models/allocation_aggregated_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition_aggregated_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_composition_model_holdings_vo.rb +8 -7
- data/lib/nucleus_api/models/allocation_node_map.rb +8 -7
- data/lib/nucleus_api/models/answer.rb +36 -8
- data/lib/nucleus_api/models/answer_map.rb +8 -7
- data/lib/nucleus_api/models/application.rb +8 -7
- data/lib/nucleus_api/models/audit_log.rb +8 -7
- data/lib/nucleus_api/models/available_date_double_vo.rb +8 -7
- data/lib/nucleus_api/models/balances.rb +224 -0
- data/lib/nucleus_api/models/bank_credit.rb +29 -8
- data/lib/nucleus_api/models/bank_link.rb +42 -21
- data/lib/nucleus_api/models/bank_link_map.rb +8 -7
- data/lib/nucleus_api/models/benchmark.rb +8 -7
- data/lib/nucleus_api/models/benchmark_composition.rb +8 -7
- data/lib/nucleus_api/models/brokers.rb +8 -7
- data/lib/nucleus_api/models/budget.rb +19 -8
- data/lib/nucleus_api/models/budget_aggregation_account.rb +8 -7
- data/lib/nucleus_api/models/budget_object.rb +8 -7
- data/lib/nucleus_api/models/bulk_transaction.rb +8 -7
- data/lib/nucleus_api/models/bulk_transaction_vo.rb +8 -7
- data/lib/nucleus_api/models/business.rb +8 -8
- data/lib/nucleus_api/models/business_address.rb +8 -7
- data/lib/nucleus_api/models/business_details_vo.rb +236 -0
- data/lib/nucleus_api/models/card.rb +31 -23
- data/lib/nucleus_api/models/card_address.rb +8 -7
- data/lib/nucleus_api/models/{category_internal_response_vo.rb → card_balance_vo.rb} +42 -29
- data/lib/nucleus_api/models/card_details_vo.rb +284 -0
- data/lib/nucleus_api/models/card_program.rb +8 -7
- data/lib/nucleus_api/models/cash.rb +8 -7
- data/lib/nucleus_api/models/categories_map.rb +8 -7
- data/lib/nucleus_api/models/check.rb +8 -7
- data/lib/nucleus_api/models/check_images.rb +8 -7
- data/lib/nucleus_api/models/client.rb +8 -7
- data/lib/nucleus_api/models/client_account_mapping.rb +8 -7
- data/lib/nucleus_api/models/client_address.rb +8 -7
- data/lib/nucleus_api/models/client_business_card_vo.rb +218 -0
- data/lib/nucleus_api/models/{v_account_asset_size.rb → client_business_total_card_balance_vo.rb} +32 -40
- data/lib/nucleus_api/models/client_card_vo.rb +244 -0
- data/lib/nucleus_api/models/{category_response_vo.rb → client_credentials.rb} +31 -23
- data/lib/nucleus_api/models/client_relationship.rb +8 -7
- data/lib/nucleus_api/models/client_response.rb +8 -7
- data/lib/nucleus_api/models/client_status.rb +8 -12
- data/lib/nucleus_api/models/client_view_goal_data.rb +8 -7
- data/lib/nucleus_api/models/{customer.rb → contact.rb} +48 -9
- data/lib/nucleus_api/models/{customer_address.rb → contact_address.rb} +10 -9
- data/lib/nucleus_api/models/country.rb +29 -11
- data/lib/nucleus_api/models/currency.rb +8 -7
- data/lib/nucleus_api/models/customer_revenue.rb +36 -23
- data/lib/nucleus_api/models/date_double_vo.rb +8 -7
- data/lib/nucleus_api/models/decision_tree.rb +8 -7
- data/lib/nucleus_api/models/decision_tree_co.rb +8 -7
- data/lib/nucleus_api/models/decision_tree_result_vo.rb +8 -7
- data/lib/nucleus_api/models/document.rb +6 -8
- data/lib/nucleus_api/models/employment.rb +8 -7
- data/lib/nucleus_api/models/external_account_transfer.rb +8 -7
- data/lib/nucleus_api/models/feature.rb +8 -7
- data/lib/nucleus_api/models/feature_track.rb +8 -7
- data/lib/nucleus_api/models/financial_statement.rb +19 -8
- data/lib/nucleus_api/models/funding.rb +21 -8
- data/lib/nucleus_api/models/funding_request_map.rb +8 -7
- data/lib/nucleus_api/models/{daily_deposit.rb → funding_transaction.rb} +43 -47
- data/lib/nucleus_api/models/fx_rate.rb +234 -0
- data/lib/nucleus_api/models/fx_rate_view.rb +8 -7
- data/lib/nucleus_api/models/goal.rb +8 -7
- data/lib/nucleus_api/models/goal_account_mapping.rb +8 -7
- data/lib/nucleus_api/models/goal_track.rb +8 -7
- data/lib/nucleus_api/models/goal_track_accounts.rb +8 -7
- data/lib/nucleus_api/models/household.rb +8 -7
- data/lib/nucleus_api/models/institution.rb +256 -0
- data/lib/nucleus_api/models/investment.rb +8 -12
- data/lib/nucleus_api/models/invoice.rb +44 -23
- data/lib/nucleus_api/models/invoice_payment.rb +21 -8
- data/lib/nucleus_api/models/json_node.rb +10 -241
- data/lib/nucleus_api/models/line_items.rb +8 -7
- data/lib/nucleus_api/models/location.rb +8 -7
- data/lib/nucleus_api/models/member.rb +8 -7
- data/lib/nucleus_api/models/merchant_category_code.rb +27 -11
- data/lib/nucleus_api/models/merchants_map.rb +8 -7
- data/lib/nucleus_api/models/model.rb +8 -7
- data/lib/nucleus_api/models/model_asset_size.rb +8 -7
- data/lib/nucleus_api/models/model_comment.rb +8 -7
- data/lib/nucleus_api/models/model_holding.rb +8 -7
- data/lib/nucleus_api/models/model_holding_vo.rb +8 -7
- data/lib/nucleus_api/models/model_transaction.rb +8 -7
- data/lib/nucleus_api/models/mx_merchant_res.rb +21 -20
- data/lib/nucleus_api/models/node.rb +8 -7
- data/lib/nucleus_api/models/node_relationship.rb +8 -7
- data/lib/nucleus_api/models/notification.rb +8 -7
- data/lib/nucleus_api/models/notification_client.rb +8 -7
- data/lib/nucleus_api/models/notification_setting.rb +8 -7
- data/lib/nucleus_api/models/order.rb +8 -7
- data/lib/nucleus_api/models/order_bulk.rb +8 -7
- data/lib/nucleus_api/models/order_reconcile_request.rb +8 -7
- data/lib/nucleus_api/models/order_reconcile_return_object.rb +8 -7
- data/lib/nucleus_api/models/order_status.rb +8 -7
- data/lib/nucleus_api/models/order_track.rb +8 -7
- data/lib/nucleus_api/models/order_vo_clone.rb +8 -7
- data/lib/nucleus_api/models/overflow.rb +8 -7
- data/lib/nucleus_api/models/overflow_bank_link_map.rb +22 -11
- data/lib/nucleus_api/models/overflow_settings.rb +8 -7
- data/lib/nucleus_api/models/overflow_vo.rb +8 -7
- data/lib/nucleus_api/models/ownership.rb +8 -7
- data/lib/nucleus_api/models/page_account.rb +8 -7
- data/lib/nucleus_api/models/page_account_allocation_mapping.rb +8 -7
- data/lib/nucleus_api/models/page_account_permission_vo.rb +8 -7
- data/lib/nucleus_api/models/page_account_status.rb +8 -7
- data/lib/nucleus_api/models/page_account_type.rb +8 -7
- data/lib/nucleus_api/models/page_admin_client.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_balance.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_holding.rb +8 -7
- data/lib/nucleus_api/models/page_aggregation_account_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_allocation.rb +8 -7
- data/lib/nucleus_api/models/page_allocation_composition.rb +8 -7
- data/lib/nucleus_api/models/page_answer.rb +8 -7
- data/lib/nucleus_api/models/page_application.rb +8 -7
- data/lib/nucleus_api/models/page_audit_log.rb +8 -7
- data/lib/nucleus_api/models/page_bank_link.rb +8 -7
- data/lib/nucleus_api/models/page_benchmark.rb +8 -7
- data/lib/nucleus_api/models/page_budget.rb +8 -7
- data/lib/nucleus_api/models/page_business.rb +8 -7
- data/lib/nucleus_api/models/page_card.rb +8 -7
- data/lib/nucleus_api/models/page_card_program.rb +8 -7
- data/lib/nucleus_api/models/page_client.rb +8 -7
- data/lib/nucleus_api/models/page_client_business_card_vo.rb +259 -0
- data/lib/nucleus_api/models/page_client_response.rb +8 -7
- data/lib/nucleus_api/models/page_client_status.rb +8 -7
- data/lib/nucleus_api/models/{page_customer.rb → page_contact.rb} +10 -9
- data/lib/nucleus_api/models/page_customer_revenue.rb +8 -7
- data/lib/nucleus_api/models/page_decision_tree.rb +8 -7
- data/lib/nucleus_api/models/page_document.rb +8 -7
- data/lib/nucleus_api/models/page_external_account_transfer.rb +8 -7
- data/lib/nucleus_api/models/page_feature.rb +8 -7
- data/lib/nucleus_api/models/page_feature_track.rb +8 -7
- data/lib/nucleus_api/models/page_financial_statement.rb +8 -7
- data/lib/nucleus_api/models/page_funding.rb +8 -7
- data/lib/nucleus_api/models/{page_v_account_asset_size.rb → page_funding_transaction.rb} +10 -9
- data/lib/nucleus_api/models/page_goal.rb +8 -7
- data/lib/nucleus_api/models/page_goal_track.rb +8 -7
- data/lib/nucleus_api/models/page_household.rb +8 -7
- data/lib/nucleus_api/models/{page_daily_deposit.rb → page_institution.rb} +10 -9
- data/lib/nucleus_api/models/page_invoice.rb +8 -7
- data/lib/nucleus_api/models/page_invoice_payment.rb +8 -7
- data/lib/nucleus_api/models/page_model.rb +8 -7
- data/lib/nucleus_api/models/page_model_asset_size.rb +8 -7
- data/lib/nucleus_api/models/page_model_comment.rb +8 -7
- data/lib/nucleus_api/models/page_model_holding.rb +8 -7
- data/lib/nucleus_api/models/page_model_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_mx_merchant_res.rb +27 -8
- data/lib/nucleus_api/models/page_node.rb +8 -7
- data/lib/nucleus_api/models/page_node_relationship.rb +8 -7
- data/lib/nucleus_api/models/page_notification.rb +8 -7
- data/lib/nucleus_api/models/page_notification_client.rb +8 -7
- data/lib/nucleus_api/models/page_notification_setting.rb +8 -7
- data/lib/nucleus_api/models/page_order.rb +8 -7
- data/lib/nucleus_api/models/page_order_bulk.rb +8 -7
- data/lib/nucleus_api/models/page_order_status.rb +8 -7
- data/lib/nucleus_api/models/page_order_track.rb +8 -7
- data/lib/nucleus_api/models/page_overflow.rb +8 -7
- data/lib/nucleus_api/models/page_overflow_settings.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_asset_size_log.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_comment.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_goal.rb +8 -7
- data/lib/nucleus_api/models/{page_daily_withdrawal.rb → page_portfolio_holding_agg.rb} +10 -9
- data/lib/nucleus_api/models/page_portfolio_holding_log.rb +8 -7
- data/lib/nucleus_api/models/page_portfolio_transaction.rb +8 -7
- data/lib/nucleus_api/models/page_question.rb +8 -7
- data/lib/nucleus_api/models/page_questionnaire.rb +8 -7
- data/lib/nucleus_api/models/page_reason_code.rb +8 -7
- data/lib/nucleus_api/models/page_risk_profile.rb +8 -7
- data/lib/nucleus_api/models/page_roundup.rb +8 -7
- data/lib/nucleus_api/models/page_roundup_settings.rb +8 -7
- data/lib/nucleus_api/models/page_score.rb +8 -7
- data/lib/nucleus_api/models/page_security.rb +8 -7
- data/lib/nucleus_api/models/page_security_exclusion.rb +8 -7
- data/lib/nucleus_api/models/page_security_price.rb +8 -7
- data/lib/nucleus_api/models/page_spending_control.rb +8 -7
- data/lib/nucleus_api/models/page_stage.rb +8 -7
- data/lib/nucleus_api/models/page_transaction_code.rb +8 -7
- data/lib/nucleus_api/models/page_webhook.rb +8 -7
- data/lib/nucleus_api/models/pageable.rb +227 -0
- data/lib/nucleus_api/models/permission_vo.rb +8 -7
- data/lib/nucleus_api/models/portfolio.rb +8 -12
- data/lib/nucleus_api/models/portfolio_asset_size_log.rb +8 -7
- data/lib/nucleus_api/models/portfolio_comment.rb +8 -7
- data/lib/nucleus_api/models/portfolio_goal.rb +8 -7
- data/lib/nucleus_api/models/portfolio_goal_map.rb +8 -7
- data/lib/nucleus_api/models/portfolio_holding_agg.rb +8 -7
- data/lib/nucleus_api/models/portfolio_holding_log.rb +8 -7
- data/lib/nucleus_api/models/portfolio_transaction.rb +49 -8
- data/lib/nucleus_api/models/question.rb +36 -8
- data/lib/nucleus_api/models/questionnaire.rb +21 -8
- data/lib/nucleus_api/models/reason_code.rb +8 -7
- data/lib/nucleus_api/models/risk_profile.rb +8 -7
- data/lib/nucleus_api/models/roundup.rb +8 -7
- data/lib/nucleus_api/models/roundup_co.rb +8 -7
- data/lib/nucleus_api/models/roundup_settings.rb +8 -7
- data/lib/nucleus_api/models/score.rb +8 -7
- data/lib/nucleus_api/models/securities_composition.rb +8 -7
- data/lib/nucleus_api/models/securities_country.rb +8 -7
- data/lib/nucleus_api/models/security.rb +8 -7
- data/lib/nucleus_api/models/security_composition_vo.rb +8 -7
- data/lib/nucleus_api/models/security_country_vo.rb +8 -7
- data/lib/nucleus_api/models/security_exclusion.rb +8 -7
- data/lib/nucleus_api/models/security_price.rb +8 -7
- data/lib/nucleus_api/models/sort.rb +8 -7
- data/lib/nucleus_api/models/spending_control.rb +20 -8
- data/lib/nucleus_api/models/stage.rb +29 -8
- data/lib/nucleus_api/models/stat.rb +8 -7
- data/lib/nucleus_api/models/state.rb +8 -7
- data/lib/nucleus_api/models/statistic_resource_vo.rb +8 -7
- data/lib/nucleus_api/models/token_date_request.rb +8 -7
- data/lib/nucleus_api/models/transaction_code.rb +17 -66
- data/lib/nucleus_api/models/v_account_vo.rb +8 -7
- data/lib/nucleus_api/models/v_client_goal_view_data.rb +8 -7
- data/lib/nucleus_api/models/v_portfolio_vo.rb +8 -7
- data/lib/nucleus_api/models/webhook.rb +6 -8
- data/lib/nucleus_api/version.rb +3 -3
- data/nucleus_api.gemspec +2 -2
- data/spec/api/account_api_spec.rb +14 -24
- data/spec/api/admin_client_api_spec.rb +23 -16
- data/spec/api/aggregation_account_api_spec.rb +15 -2
- data/spec/api/allocation_api_spec.rb +2 -2
- data/spec/api/benchmark_api_spec.rb +5 -5
- data/spec/api/budget_api_spec.rb +2 -2
- data/spec/api/bulk_api_spec.rb +2 -2
- data/spec/api/business_api_spec.rb +12 -6
- data/spec/api/card_api_spec.rb +40 -2
- data/spec/api/client_api_spec.rb +77 -6
- data/spec/api/{customer_api_spec.rb → contact_api_spec.rb} +49 -49
- data/spec/api/decision_tree_api_spec.rb +7 -7
- data/spec/api/document_api_spec.rb +2 -2
- data/spec/api/financial_statement_api_spec.rb +2 -2
- data/spec/api/funding_api_spec.rb +43 -110
- data/spec/api/goal_api_spec.rb +12 -6
- data/spec/api/household_api_spec.rb +12 -6
- data/spec/api/invoice_api_spec.rb +3 -3
- data/spec/api/model_api_spec.rb +3 -3
- data/spec/api/order_api_spec.rb +2 -2
- data/spec/api/overflow_api_spec.rb +2 -2
- data/spec/api/portfolio_api_spec.rb +18 -2
- data/spec/api/questionnaire_api_spec.rb +2 -67
- data/spec/api/resource_api_spec.rb +97 -16
- data/spec/api/risk_profile_api_spec.rb +2 -2
- data/spec/api/roundup_api_spec.rb +2 -2
- data/spec/api/score_api_spec.rb +2 -2
- data/spec/api/securities_api_spec.rb +2 -2
- data/spec/api/spending_control_api_spec.rb +2 -2
- data/spec/api/utils_api_spec.rb +432 -2
- data/spec/api/webhook_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/account_allocation_mapping_spec.rb +2 -2
- data/spec/models/account_map_spec.rb +2 -2
- data/spec/models/account_permission_vo_spec.rb +2 -2
- data/spec/models/account_portfolio_rebalance_request_spec.rb +2 -2
- data/spec/models/account_spec.rb +5 -5
- data/spec/models/account_status_spec.rb +2 -2
- data/spec/models/account_type_spec.rb +2 -2
- data/spec/models/acl_client_permission_vo_spec.rb +2 -2
- data/spec/models/admin_client_spec.rb +14 -2
- data/spec/models/aggregation_account_balance_spec.rb +2 -2
- data/spec/models/aggregation_account_holding_spec.rb +2 -2
- data/spec/models/aggregation_account_spec.rb +80 -2
- data/spec/models/aggregation_account_transaction_spec.rb +5 -13
- data/spec/models/aggregation_accounts_map_spec.rb +2 -2
- data/spec/models/allocation_aggregated_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_aggregated_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_model_holdings_vo_spec.rb +2 -2
- data/spec/models/allocation_composition_spec.rb +2 -2
- data/spec/models/allocation_node_map_spec.rb +2 -2
- data/spec/models/allocation_spec.rb +2 -2
- data/spec/models/answer_map_spec.rb +2 -2
- data/spec/models/answer_spec.rb +20 -2
- data/spec/models/application_spec.rb +2 -2
- data/spec/models/audit_log_spec.rb +2 -2
- data/spec/models/available_date_double_vo_spec.rb +2 -2
- data/spec/models/balances_spec.rb +65 -0
- data/spec/models/bank_credit_spec.rb +14 -2
- data/spec/models/bank_link_map_spec.rb +2 -2
- data/spec/models/bank_link_spec.rb +20 -8
- data/spec/models/benchmark_composition_spec.rb +2 -2
- data/spec/models/benchmark_spec.rb +2 -2
- data/spec/models/brokers_spec.rb +2 -2
- data/spec/models/budget_aggregation_account_spec.rb +2 -2
- data/spec/models/budget_object_spec.rb +2 -2
- data/spec/models/budget_spec.rb +8 -2
- data/spec/models/bulk_transaction_spec.rb +2 -2
- data/spec/models/bulk_transaction_vo_spec.rb +2 -2
- data/spec/models/business_address_spec.rb +2 -2
- data/spec/models/business_details_vo_spec.rb +71 -0
- data/spec/models/business_spec.rb +2 -2
- data/spec/models/card_address_spec.rb +2 -2
- data/spec/models/card_balance_vo_spec.rb +59 -0
- data/spec/models/card_details_vo_spec.rb +101 -0
- data/spec/models/card_program_spec.rb +2 -2
- data/spec/models/card_spec.rb +15 -2
- data/spec/models/cash_spec.rb +2 -2
- data/spec/models/categories_map_spec.rb +2 -2
- data/spec/models/check_images_spec.rb +2 -2
- data/spec/models/check_spec.rb +2 -2
- data/spec/models/client_account_mapping_spec.rb +2 -2
- data/spec/models/client_address_spec.rb +2 -2
- data/spec/models/client_business_card_vo_spec.rb +59 -0
- data/spec/models/client_business_total_card_balance_vo_spec.rb +53 -0
- data/spec/models/client_card_vo_spec.rb +77 -0
- data/spec/models/{category_internal_response_vo_spec.rb → client_credentials_spec.rb} +11 -11
- data/spec/models/client_relationship_spec.rb +2 -2
- data/spec/models/client_response_spec.rb +2 -2
- data/spec/models/client_spec.rb +2 -2
- data/spec/models/client_status_spec.rb +2 -2
- data/spec/models/client_view_goal_data_spec.rb +2 -2
- data/spec/models/{customer_address_spec.rb → contact_address_spec.rb} +8 -8
- data/spec/models/{customer_spec.rb → contact_spec.rb} +32 -8
- data/spec/models/country_spec.rb +8 -2
- data/spec/models/currency_spec.rb +2 -2
- data/spec/models/customer_revenue_spec.rb +11 -5
- data/spec/models/date_double_vo_spec.rb +2 -2
- data/spec/models/decision_tree_co_spec.rb +2 -2
- data/spec/models/decision_tree_result_vo_spec.rb +2 -2
- data/spec/models/decision_tree_spec.rb +2 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/employment_spec.rb +2 -2
- data/spec/models/external_account_transfer_spec.rb +2 -2
- data/spec/models/feature_spec.rb +2 -2
- data/spec/models/feature_track_spec.rb +2 -2
- data/spec/models/financial_statement_spec.rb +8 -2
- data/spec/models/funding_request_map_spec.rb +2 -2
- data/spec/models/funding_spec.rb +11 -5
- data/spec/models/{daily_deposit_spec.rb → funding_transaction_spec.rb} +12 -18
- data/spec/models/{v_account_asset_size_spec.rb → fx_rate_spec.rb} +12 -12
- data/spec/models/fx_rate_view_spec.rb +2 -2
- data/spec/models/goal_account_mapping_spec.rb +2 -2
- data/spec/models/goal_spec.rb +2 -2
- data/spec/models/goal_track_accounts_spec.rb +2 -2
- data/spec/models/goal_track_spec.rb +2 -2
- data/spec/models/household_spec.rb +2 -2
- data/spec/models/institution_spec.rb +83 -0
- data/spec/models/investment_spec.rb +2 -2
- data/spec/models/invoice_payment_spec.rb +8 -2
- data/spec/models/invoice_spec.rb +17 -5
- data/spec/models/json_node_spec.rb +2 -138
- data/spec/models/line_items_spec.rb +2 -2
- data/spec/models/location_spec.rb +2 -2
- data/spec/models/member_spec.rb +2 -2
- data/spec/models/merchant_category_code_spec.rb +8 -2
- data/spec/models/merchants_map_spec.rb +2 -2
- data/spec/models/model_asset_size_spec.rb +2 -2
- data/spec/models/model_comment_spec.rb +2 -2
- data/spec/models/model_holding_spec.rb +2 -2
- data/spec/models/model_holding_vo_spec.rb +2 -2
- data/spec/models/model_spec.rb +2 -2
- data/spec/models/model_transaction_spec.rb +2 -2
- data/spec/models/mx_merchant_res_spec.rb +4 -4
- data/spec/models/node_relationship_spec.rb +2 -2
- data/spec/models/node_spec.rb +2 -2
- data/spec/models/notification_client_spec.rb +2 -2
- data/spec/models/notification_setting_spec.rb +2 -2
- data/spec/models/notification_spec.rb +2 -2
- data/spec/models/order_bulk_spec.rb +2 -2
- data/spec/models/order_reconcile_request_spec.rb +2 -2
- data/spec/models/order_reconcile_return_object_spec.rb +2 -2
- data/spec/models/order_spec.rb +2 -2
- data/spec/models/order_status_spec.rb +2 -2
- data/spec/models/order_track_spec.rb +2 -2
- data/spec/models/order_vo_clone_spec.rb +2 -2
- data/spec/models/overflow_bank_link_map_spec.rb +8 -2
- data/spec/models/overflow_settings_spec.rb +2 -2
- data/spec/models/overflow_spec.rb +2 -2
- data/spec/models/overflow_vo_spec.rb +2 -2
- data/spec/models/ownership_spec.rb +2 -2
- data/spec/models/page_account_allocation_mapping_spec.rb +2 -2
- data/spec/models/page_account_permission_vo_spec.rb +2 -2
- data/spec/models/page_account_spec.rb +2 -2
- data/spec/models/page_account_status_spec.rb +2 -2
- data/spec/models/page_account_type_spec.rb +2 -2
- data/spec/models/page_admin_client_spec.rb +2 -2
- data/spec/models/page_aggregation_account_balance_spec.rb +2 -2
- data/spec/models/page_aggregation_account_holding_spec.rb +2 -2
- data/spec/models/page_aggregation_account_spec.rb +2 -2
- data/spec/models/page_aggregation_account_transaction_spec.rb +2 -2
- data/spec/models/page_allocation_composition_spec.rb +2 -2
- data/spec/models/page_allocation_spec.rb +2 -2
- data/spec/models/page_answer_spec.rb +2 -2
- data/spec/models/page_application_spec.rb +2 -2
- data/spec/models/page_audit_log_spec.rb +2 -2
- data/spec/models/page_bank_link_spec.rb +2 -2
- data/spec/models/page_benchmark_spec.rb +2 -2
- data/spec/models/page_budget_spec.rb +2 -2
- data/spec/models/page_business_spec.rb +2 -2
- data/spec/models/page_card_program_spec.rb +2 -2
- data/spec/models/page_card_spec.rb +2 -2
- data/spec/models/page_client_business_card_vo_spec.rb +89 -0
- data/spec/models/page_client_response_spec.rb +2 -2
- data/spec/models/page_client_spec.rb +2 -2
- data/spec/models/page_client_status_spec.rb +2 -2
- data/spec/models/{page_customer_spec.rb → page_contact_spec.rb} +8 -8
- data/spec/models/page_customer_revenue_spec.rb +2 -2
- data/spec/models/page_decision_tree_spec.rb +2 -2
- data/spec/models/page_document_spec.rb +2 -2
- data/spec/models/page_external_account_transfer_spec.rb +2 -2
- data/spec/models/page_feature_spec.rb +2 -2
- data/spec/models/page_feature_track_spec.rb +2 -2
- data/spec/models/page_financial_statement_spec.rb +2 -2
- data/spec/models/page_funding_spec.rb +2 -2
- data/spec/models/{page_v_account_asset_size_spec.rb → page_funding_transaction_spec.rb} +8 -8
- data/spec/models/page_goal_spec.rb +2 -2
- data/spec/models/page_goal_track_spec.rb +2 -2
- data/spec/models/page_household_spec.rb +2 -2
- data/spec/models/{page_daily_deposit_spec.rb → page_institution_spec.rb} +8 -8
- data/spec/models/page_invoice_payment_spec.rb +2 -2
- data/spec/models/page_invoice_spec.rb +2 -2
- data/spec/models/page_model_asset_size_spec.rb +2 -2
- data/spec/models/page_model_comment_spec.rb +2 -2
- data/spec/models/page_model_holding_spec.rb +2 -2
- data/spec/models/page_model_spec.rb +2 -2
- data/spec/models/page_model_transaction_spec.rb +2 -2
- data/spec/models/page_mx_merchant_res_spec.rb +14 -2
- data/spec/models/page_node_relationship_spec.rb +2 -2
- data/spec/models/page_node_spec.rb +2 -2
- data/spec/models/page_notification_client_spec.rb +2 -2
- data/spec/models/page_notification_setting_spec.rb +2 -2
- data/spec/models/page_notification_spec.rb +2 -2
- data/spec/models/page_order_bulk_spec.rb +2 -2
- data/spec/models/page_order_spec.rb +2 -2
- data/spec/models/page_order_status_spec.rb +2 -2
- data/spec/models/page_order_track_spec.rb +2 -2
- data/spec/models/page_overflow_settings_spec.rb +2 -2
- data/spec/models/page_overflow_spec.rb +2 -2
- data/spec/models/page_portfolio_asset_size_log_spec.rb +2 -2
- data/spec/models/page_portfolio_comment_spec.rb +2 -2
- data/spec/models/page_portfolio_goal_spec.rb +2 -2
- data/spec/models/{page_daily_withdrawal_spec.rb → page_portfolio_holding_agg_spec.rb} +8 -8
- data/spec/models/page_portfolio_holding_log_spec.rb +2 -2
- data/spec/models/page_portfolio_spec.rb +2 -2
- data/spec/models/page_portfolio_transaction_spec.rb +2 -2
- data/spec/models/page_question_spec.rb +2 -2
- data/spec/models/page_questionnaire_spec.rb +2 -2
- data/spec/models/page_reason_code_spec.rb +2 -2
- data/spec/models/page_risk_profile_spec.rb +2 -2
- data/spec/models/page_roundup_settings_spec.rb +2 -2
- data/spec/models/page_roundup_spec.rb +2 -2
- data/spec/models/page_score_spec.rb +2 -2
- data/spec/models/page_security_exclusion_spec.rb +2 -2
- data/spec/models/page_security_price_spec.rb +2 -2
- data/spec/models/page_security_spec.rb +2 -2
- data/spec/models/page_spending_control_spec.rb +2 -2
- data/spec/models/page_stage_spec.rb +2 -2
- data/spec/models/page_transaction_code_spec.rb +2 -2
- data/spec/models/page_webhook_spec.rb +2 -2
- data/spec/models/pageable_spec.rb +71 -0
- data/spec/models/permission_vo_spec.rb +2 -2
- data/spec/models/portfolio_asset_size_log_spec.rb +2 -2
- data/spec/models/portfolio_comment_spec.rb +2 -2
- data/spec/models/portfolio_goal_map_spec.rb +2 -2
- data/spec/models/portfolio_goal_spec.rb +2 -2
- data/spec/models/portfolio_holding_agg_spec.rb +2 -2
- data/spec/models/portfolio_holding_log_spec.rb +2 -2
- data/spec/models/portfolio_spec.rb +2 -2
- data/spec/models/portfolio_transaction_spec.rb +26 -2
- data/spec/models/question_spec.rb +20 -2
- data/spec/models/questionnaire_spec.rb +8 -2
- data/spec/models/reason_code_spec.rb +2 -2
- data/spec/models/risk_profile_spec.rb +2 -2
- data/spec/models/roundup_co_spec.rb +2 -2
- data/spec/models/roundup_settings_spec.rb +2 -2
- data/spec/models/roundup_spec.rb +2 -2
- data/spec/models/score_spec.rb +2 -2
- data/spec/models/securities_composition_spec.rb +2 -2
- data/spec/models/securities_country_spec.rb +2 -2
- data/spec/models/security_composition_vo_spec.rb +2 -2
- data/spec/models/security_country_vo_spec.rb +2 -2
- data/spec/models/security_exclusion_spec.rb +2 -2
- data/spec/models/security_price_spec.rb +2 -2
- data/spec/models/security_spec.rb +2 -2
- data/spec/models/sort_spec.rb +2 -2
- data/spec/models/spending_control_spec.rb +8 -2
- data/spec/models/stage_spec.rb +14 -2
- data/spec/models/stat_spec.rb +2 -2
- data/spec/models/state_spec.rb +2 -2
- data/spec/models/statistic_resource_vo_spec.rb +2 -2
- data/spec/models/token_date_request_spec.rb +2 -2
- data/spec/models/transaction_code_spec.rb +11 -17
- data/spec/models/v_account_vo_spec.rb +2 -2
- data/spec/models/v_client_goal_view_data_spec.rb +2 -2
- data/spec/models/v_portfolio_vo_spec.rb +2 -2
- data/spec/models/webhook_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +62 -316
- data/docs/Account.md +0 -22
- data/docs/AccountAllocationMapping.md +0 -17
- data/docs/AccountApi.md +0 -1919
- data/docs/AccountMap.md +0 -9
- data/docs/AccountPermissionVO.md +0 -9
- data/docs/AccountPortfolioRebalanceRequest.md +0 -21
- data/docs/AccountStatus.md +0 -16
- data/docs/AccountType.md +0 -23
- data/docs/AclClientPermissionVO.md +0 -10
- data/docs/AdminClient.md +0 -18
- data/docs/AdminClientApi.md +0 -309
- data/docs/AggregationAccount.md +0 -30
- data/docs/AggregationAccountApi.md +0 -1702
- data/docs/AggregationAccountBalance.md +0 -18
- data/docs/AggregationAccountHolding.md +0 -26
- data/docs/AggregationAccountTransaction.md +0 -23
- data/docs/AggregationAccountsMap.md +0 -9
- data/docs/Allocation.md +0 -22
- data/docs/AllocationAggregatedVO.md +0 -13
- data/docs/AllocationApi.md +0 -872
- data/docs/AllocationComposition.md +0 -18
- data/docs/AllocationCompositionAggregatedVO.md +0 -19
- data/docs/AllocationCompositionModelHoldingsVO.md +0 -22
- data/docs/AllocationNodeMap.md +0 -8
- data/docs/Answer.md +0 -18
- data/docs/AnswerMap.md +0 -8
- data/docs/Application.md +0 -15
- data/docs/ApplicationApi.md +0 -309
- data/docs/AuditLog.md +0 -23
- data/docs/AuditLogApi.md +0 -191
- data/docs/AvailableDateDoubleVO.md +0 -14
- data/docs/BankCredit.md +0 -15
- data/docs/BankLink.md +0 -29
- data/docs/BankLinkMap.md +0 -9
- data/docs/Benchmark.md +0 -17
- data/docs/BenchmarkApi.md +0 -375
- data/docs/BenchmarkComposition.md +0 -9
- data/docs/Brokers.md +0 -9
- data/docs/Budget.md +0 -25
- data/docs/BudgetAggregationAccount.md +0 -8
- data/docs/BudgetApi.md +0 -315
- data/docs/BudgetObject.md +0 -10
- data/docs/BulkApi.md +0 -249
- data/docs/BulkTransaction.md +0 -13
- data/docs/BulkTransactionVO.md +0 -12
- data/docs/Business.md +0 -32
- data/docs/BusinessAddress.md +0 -15
- data/docs/BusinessApi.md +0 -523
- data/docs/Card.md +0 -35
- data/docs/CardAddress.md +0 -14
- data/docs/CardApi.md +0 -754
- data/docs/CardProgram.md +0 -23
- data/docs/Cash.md +0 -10
- data/docs/CategoriesMap.md +0 -9
- data/docs/CategoryInternalResponseVO.md +0 -10
- data/docs/CategoryResponseVO.md +0 -9
- data/docs/Check.md +0 -10
- data/docs/CheckImages.md +0 -9
- data/docs/Client.md +0 -39
- data/docs/ClientAccountMapping.md +0 -10
- data/docs/ClientAddress.md +0 -15
- data/docs/ClientApi.md +0 -1008
- data/docs/ClientRelationship.md +0 -10
- data/docs/ClientResponse.md +0 -17
- data/docs/ClientStatus.md +0 -16
- data/docs/ClientViewGoalData.md +0 -21
- data/docs/Country.md +0 -12
- data/docs/Currency.md +0 -11
- data/docs/Customer.md +0 -21
- data/docs/CustomerAddress.md +0 -14
- data/docs/CustomerApi.md +0 -616
- data/docs/CustomerRevenue.md +0 -16
- data/docs/DailyDeposit.md +0 -28
- data/docs/DailyWithdrawal.md +0 -29
- data/docs/DateDoubleVO.md +0 -10
- data/docs/DecisionTree.md +0 -17
- data/docs/DecisionTreeApi.md +0 -971
- data/docs/DecisionTreeCO.md +0 -9
- data/docs/DecisionTreeResultVO.md +0 -9
- data/docs/Document.md +0 -30
- data/docs/DocumentApi.md +0 -309
- data/docs/Employment.md +0 -11
- data/docs/ExternalAccountTransfer.md +0 -28
- data/docs/Feature.md +0 -18
- data/docs/FeatureApi.md +0 -610
- data/docs/FeatureTrack.md +0 -14
- data/docs/FinancialStatement.md +0 -23
- data/docs/FinancialStatementApi.md +0 -315
- data/docs/Funding.md +0 -37
- data/docs/FundingApi.md +0 -1601
- data/docs/FundingRequestMap.md +0 -8
- data/docs/FxRateView.md +0 -11
- data/docs/Goal.md +0 -24
- data/docs/GoalAccountMapping.md +0 -11
- data/docs/GoalApi.md +0 -841
- data/docs/GoalTrack.md +0 -26
- data/docs/GoalTrackAccounts.md +0 -8
- data/docs/Household.md +0 -18
- data/docs/HouseholdApi.md +0 -523
- data/docs/Investment.md +0 -16
- data/docs/Invoice.md +0 -32
- data/docs/InvoiceApi.md +0 -622
- data/docs/InvoicePayment.md +0 -15
- data/docs/JsonNode.md +0 -29
- data/docs/LineItems.md +0 -15
- data/docs/Location.md +0 -15
- data/docs/MXMerchantRes.md +0 -14
- data/docs/Member.md +0 -11
- data/docs/MerchantCategoryCode.md +0 -11
- data/docs/MerchantsMap.md +0 -9
- data/docs/Model.md +0 -29
- data/docs/ModelApi.md +0 -1580
- data/docs/ModelAssetSize.md +0 -16
- data/docs/ModelComment.md +0 -15
- data/docs/ModelHolding.md +0 -25
- data/docs/ModelHoldingVO.md +0 -11
- data/docs/ModelTransaction.md +0 -17
- data/docs/Node.md +0 -15
- data/docs/NodeRelationship.md +0 -18
- data/docs/Notification.md +0 -20
- data/docs/NotificationApi.md +0 -911
- data/docs/NotificationClient.md +0 -19
- data/docs/NotificationSetting.md +0 -19
- data/docs/Order.md +0 -27
- data/docs/OrderApi.md +0 -1764
- data/docs/OrderBulk.md +0 -18
- data/docs/OrderReconcileRequest.md +0 -12
- data/docs/OrderReconcileReturnObject.md +0 -12
- data/docs/OrderStatus.md +0 -14
- data/docs/OrderTrack.md +0 -20
- data/docs/OrderVoClone.md +0 -20
- data/docs/Overflow.md +0 -16
- data/docs/OverflowApi.md +0 -492
- data/docs/OverflowBankLinkMap.md +0 -9
- data/docs/OverflowSettings.md +0 -17
- data/docs/OverflowVO.md +0 -10
- data/docs/Ownership.md +0 -12
- data/docs/PageAccount.md +0 -16
- data/docs/PageAccountAllocationMapping.md +0 -16
- data/docs/PageAccountPermissionVO.md +0 -16
- data/docs/PageAccountStatus.md +0 -16
- data/docs/PageAccountType.md +0 -16
- data/docs/PageAdminClient.md +0 -16
- data/docs/PageAggregationAccount.md +0 -16
- data/docs/PageAggregationAccountBalance.md +0 -16
- data/docs/PageAggregationAccountHolding.md +0 -16
- data/docs/PageAggregationAccountTransaction.md +0 -16
- data/docs/PageAllocation.md +0 -16
- data/docs/PageAllocationComposition.md +0 -16
- data/docs/PageAnswer.md +0 -16
- data/docs/PageApplication.md +0 -16
- data/docs/PageAuditLog.md +0 -16
- data/docs/PageBankLink.md +0 -16
- data/docs/PageBenchmark.md +0 -16
- data/docs/PageBudget.md +0 -16
- data/docs/PageBusiness.md +0 -16
- data/docs/PageCard.md +0 -16
- data/docs/PageCardProgram.md +0 -16
- data/docs/PageClient.md +0 -16
- data/docs/PageClientResponse.md +0 -16
- data/docs/PageClientStatus.md +0 -16
- data/docs/PageCustomer.md +0 -16
- data/docs/PageCustomerRevenue.md +0 -16
- data/docs/PageDailyDeposit.md +0 -16
- data/docs/PageDailyWithdrawal.md +0 -16
- data/docs/PageDecisionTree.md +0 -16
- data/docs/PageDocument.md +0 -16
- data/docs/PageExternalAccountTransfer.md +0 -16
- data/docs/PageFeature.md +0 -16
- data/docs/PageFeatureTrack.md +0 -16
- data/docs/PageFinancialStatement.md +0 -16
- data/docs/PageFunding.md +0 -16
- data/docs/PageGoal.md +0 -16
- data/docs/PageGoalTrack.md +0 -16
- data/docs/PageHousehold.md +0 -16
- data/docs/PageInvoice.md +0 -16
- data/docs/PageInvoicePayment.md +0 -16
- data/docs/PageMXMerchantRes.md +0 -16
- data/docs/PageModel.md +0 -16
- data/docs/PageModelAssetSize.md +0 -16
- data/docs/PageModelComment.md +0 -16
- data/docs/PageModelHolding.md +0 -16
- data/docs/PageModelTransaction.md +0 -16
- data/docs/PageNode.md +0 -16
- data/docs/PageNodeRelationship.md +0 -16
- data/docs/PageNotification.md +0 -16
- data/docs/PageNotificationClient.md +0 -16
- data/docs/PageNotificationSetting.md +0 -16
- data/docs/PageOrder.md +0 -16
- data/docs/PageOrderBulk.md +0 -16
- data/docs/PageOrderStatus.md +0 -16
- data/docs/PageOrderTrack.md +0 -16
- data/docs/PageOverflow.md +0 -16
- data/docs/PageOverflowSettings.md +0 -16
- data/docs/PagePortfolio.md +0 -16
- data/docs/PagePortfolioAssetSizeLog.md +0 -16
- data/docs/PagePortfolioComment.md +0 -16
- data/docs/PagePortfolioGoal.md +0 -16
- data/docs/PagePortfolioHoldingLog.md +0 -16
- data/docs/PagePortfolioTransaction.md +0 -16
- data/docs/PageQuestion.md +0 -16
- data/docs/PageQuestionnaire.md +0 -16
- data/docs/PageReasonCode.md +0 -16
- data/docs/PageRiskProfile.md +0 -16
- data/docs/PageRoundup.md +0 -16
- data/docs/PageRoundupSettings.md +0 -16
- data/docs/PageScore.md +0 -16
- data/docs/PageSecurity.md +0 -16
- data/docs/PageSecurityExclusion.md +0 -16
- data/docs/PageSecurityPrice.md +0 -16
- data/docs/PageSpendingControl.md +0 -16
- data/docs/PageStage.md +0 -16
- data/docs/PageTransactionCode.md +0 -16
- data/docs/PageVAccountAssetSize.md +0 -16
- data/docs/PageWebhook.md +0 -16
- data/docs/PerformanceApi.md +0 -973
- data/docs/PermissionVO.md +0 -9
- data/docs/Portfolio.md +0 -22
- data/docs/PortfolioApi.md +0 -1902
- data/docs/PortfolioAssetSizeLog.md +0 -20
- data/docs/PortfolioComment.md +0 -16
- data/docs/PortfolioGoal.md +0 -14
- data/docs/PortfolioGoalMap.md +0 -9
- data/docs/PortfolioHoldingAgg.md +0 -14
- data/docs/PortfolioHoldingLog.md +0 -21
- data/docs/PortfolioTransaction.md +0 -37
- data/docs/Question.md +0 -23
- data/docs/Questionnaire.md +0 -17
- data/docs/QuestionnaireApi.md +0 -1212
- data/docs/ReasonCode.md +0 -17
- data/docs/ResourceApi.md +0 -534
- data/docs/RiskProfile.md +0 -18
- data/docs/RiskProfileApi.md +0 -309
- data/docs/Roundup.md +0 -15
- data/docs/RoundupApi.md +0 -492
- data/docs/RoundupCO.md +0 -12
- data/docs/RoundupSettings.md +0 -21
- data/docs/Score.md +0 -23
- data/docs/ScoreApi.md +0 -309
- data/docs/SecuritiesApi.md +0 -917
- data/docs/SecuritiesComposition.md +0 -11
- data/docs/SecuritiesCountry.md +0 -9
- data/docs/Security.md +0 -32
- data/docs/SecurityCompositionVO.md +0 -21
- data/docs/SecurityCountryVO.md +0 -9
- data/docs/SecurityExclusion.md +0 -18
- data/docs/SecurityPrice.md +0 -20
- data/docs/Sort.md +0 -13
- data/docs/SpendingControl.md +0 -21
- data/docs/SpendingControlApi.md +0 -309
- data/docs/Stage.md +0 -22
- data/docs/Stat.md +0 -9
- data/docs/State.md +0 -10
- data/docs/StatisticResourceVO.md +0 -11
- data/docs/TokenDateRequest.md +0 -13
- data/docs/TransactionCode.md +0 -20
- data/docs/UtilsApi.md +0 -911
- data/docs/VAccountAssetSize.md +0 -11
- data/docs/VAccountVO.md +0 -13
- data/docs/VClientGoalViewData.md +0 -13
- data/docs/VPortfolioVO.md +0 -11
- data/docs/Webhook.md +0 -15
- data/docs/WebhookApi.md +0 -309
- data/lib/nucleus_api/api/application_api.rb +0 -301
- data/lib/nucleus_api/api/audit_log_api.rb +0 -190
- data/lib/nucleus_api/api/feature_api.rb +0 -579
- data/lib/nucleus_api/api/notification_api.rb +0 -857
- data/lib/nucleus_api/api/performance_api.rb +0 -1131
- data/lib/nucleus_api/models/daily_withdrawal.rb +0 -405
- data/spec/api/application_api_spec.rb +0 -100
- data/spec/api/audit_log_api_spec.rb +0 -75
- data/spec/api/feature_api_spec.rb +0 -165
- data/spec/api/notification_api_spec.rb +0 -230
- data/spec/api/performance_api_spec.rb +0 -355
- data/spec/models/category_response_vo_spec.rb +0 -47
- data/spec/models/daily_withdrawal_spec.rb +0 -167
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -122,17 +122,16 @@ module NucleusApi
|
|
|
122
122
|
|
|
123
123
|
self
|
|
124
124
|
end
|
|
125
|
-
|
|
126
|
-
# Deserializes the data based on type
|
|
125
|
+
# Deserializes the data based on type
|
|
127
126
|
# @param string type Data type
|
|
128
127
|
# @param string value Value to be deserialized
|
|
129
128
|
# @return [Object] Deserialized data
|
|
130
129
|
def _deserialize(type, value)
|
|
131
130
|
case type.to_sym
|
|
132
131
|
when :DateTime
|
|
133
|
-
value
|
|
132
|
+
(value)
|
|
134
133
|
when :Date
|
|
135
|
-
value
|
|
134
|
+
(value)
|
|
136
135
|
when :String
|
|
137
136
|
value.to_s
|
|
138
137
|
when :Integer
|
|
@@ -164,7 +163,9 @@ module NucleusApi
|
|
|
164
163
|
temp_model.build_from_hash(value)
|
|
165
164
|
end
|
|
166
165
|
end
|
|
167
|
-
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
# Returns the string representation of the object
|
|
168
169
|
# @return [String] String presentation of the object
|
|
169
170
|
def to_s
|
|
170
171
|
to_hash.to_s
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -193,17 +193,16 @@ module NucleusApi
|
|
|
193
193
|
|
|
194
194
|
self
|
|
195
195
|
end
|
|
196
|
-
|
|
197
|
-
# Deserializes the data based on type
|
|
196
|
+
# Deserializes the data based on type
|
|
198
197
|
# @param string type Data type
|
|
199
198
|
# @param string value Value to be deserialized
|
|
200
199
|
# @return [Object] Deserialized data
|
|
201
200
|
def _deserialize(type, value)
|
|
202
201
|
case type.to_sym
|
|
203
202
|
when :DateTime
|
|
204
|
-
value
|
|
203
|
+
(value)
|
|
205
204
|
when :Date
|
|
206
|
-
value
|
|
205
|
+
(value)
|
|
207
206
|
when :String
|
|
208
207
|
value.to_s
|
|
209
208
|
when :Integer
|
|
@@ -235,7 +234,9 @@ module NucleusApi
|
|
|
235
234
|
temp_model.build_from_hash(value)
|
|
236
235
|
end
|
|
237
236
|
end
|
|
238
|
-
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
# Returns the string representation of the object
|
|
239
240
|
# @return [String] String presentation of the object
|
|
240
241
|
def to_s
|
|
241
242
|
to_hash.to_s
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -126,10 +126,6 @@ module NucleusApi
|
|
|
126
126
|
invalid_properties.push('invalid value for "stage_id", stage_id cannot be nil.')
|
|
127
127
|
end
|
|
128
128
|
|
|
129
|
-
if @status.nil?
|
|
130
|
-
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
131
|
-
end
|
|
132
|
-
|
|
133
129
|
invalid_properties
|
|
134
130
|
end
|
|
135
131
|
|
|
@@ -138,7 +134,6 @@ module NucleusApi
|
|
|
138
134
|
def valid?
|
|
139
135
|
return false if @client_id.nil?
|
|
140
136
|
return false if @stage_id.nil?
|
|
141
|
-
return false if @status.nil?
|
|
142
137
|
true
|
|
143
138
|
end
|
|
144
139
|
|
|
@@ -188,17 +183,16 @@ module NucleusApi
|
|
|
188
183
|
|
|
189
184
|
self
|
|
190
185
|
end
|
|
191
|
-
|
|
192
|
-
# Deserializes the data based on type
|
|
186
|
+
# Deserializes the data based on type
|
|
193
187
|
# @param string type Data type
|
|
194
188
|
# @param string value Value to be deserialized
|
|
195
189
|
# @return [Object] Deserialized data
|
|
196
190
|
def _deserialize(type, value)
|
|
197
191
|
case type.to_sym
|
|
198
192
|
when :DateTime
|
|
199
|
-
value
|
|
193
|
+
(value)
|
|
200
194
|
when :Date
|
|
201
|
-
value
|
|
195
|
+
(value)
|
|
202
196
|
when :String
|
|
203
197
|
value.to_s
|
|
204
198
|
when :Integer
|
|
@@ -230,7 +224,9 @@ module NucleusApi
|
|
|
230
224
|
temp_model.build_from_hash(value)
|
|
231
225
|
end
|
|
232
226
|
end
|
|
233
|
-
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
# Returns the string representation of the object
|
|
234
230
|
# @return [String] String presentation of the object
|
|
235
231
|
def to_s
|
|
236
232
|
to_hash.to_s
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -215,17 +215,16 @@ module NucleusApi
|
|
|
215
215
|
|
|
216
216
|
self
|
|
217
217
|
end
|
|
218
|
-
|
|
219
|
-
# Deserializes the data based on type
|
|
218
|
+
# Deserializes the data based on type
|
|
220
219
|
# @param string type Data type
|
|
221
220
|
# @param string value Value to be deserialized
|
|
222
221
|
# @return [Object] Deserialized data
|
|
223
222
|
def _deserialize(type, value)
|
|
224
223
|
case type.to_sym
|
|
225
224
|
when :DateTime
|
|
226
|
-
value
|
|
225
|
+
(value)
|
|
227
226
|
when :Date
|
|
228
|
-
value
|
|
227
|
+
(value)
|
|
229
228
|
when :String
|
|
230
229
|
value.to_s
|
|
231
230
|
when :Integer
|
|
@@ -257,7 +256,9 @@ module NucleusApi
|
|
|
257
256
|
temp_model.build_from_hash(value)
|
|
258
257
|
end
|
|
259
258
|
end
|
|
260
|
-
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
# Returns the string representation of the object
|
|
261
262
|
# @return [String] String presentation of the object
|
|
262
263
|
def to_s
|
|
263
264
|
to_hash.to_s
|
|
@@ -3,20 +3,25 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.20
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module NucleusApi
|
|
16
|
-
#
|
|
17
|
-
class
|
|
16
|
+
# Contact Object
|
|
17
|
+
class Contact
|
|
18
18
|
attr_accessor :address
|
|
19
19
|
|
|
20
|
+
attr_accessor :balances
|
|
21
|
+
|
|
22
|
+
# businessId
|
|
23
|
+
attr_accessor :business_id
|
|
24
|
+
|
|
20
25
|
# clientId
|
|
21
26
|
attr_accessor :client_id
|
|
22
27
|
|
|
@@ -39,6 +44,12 @@ module NucleusApi
|
|
|
39
44
|
# isActive
|
|
40
45
|
attr_accessor :is_active
|
|
41
46
|
|
|
47
|
+
# isCustomer
|
|
48
|
+
attr_accessor :is_customer
|
|
49
|
+
|
|
50
|
+
# isSupplier
|
|
51
|
+
attr_accessor :is_supplier
|
|
52
|
+
|
|
42
53
|
# lastName
|
|
43
54
|
attr_accessor :last_name
|
|
44
55
|
|
|
@@ -56,6 +67,8 @@ module NucleusApi
|
|
|
56
67
|
def self.attribute_map
|
|
57
68
|
{
|
|
58
69
|
:'address' => :'address',
|
|
70
|
+
:'balances' => :'balances',
|
|
71
|
+
:'business_id' => :'business_id',
|
|
59
72
|
:'client_id' => :'client_id',
|
|
60
73
|
:'company_name' => :'company_name',
|
|
61
74
|
:'create_date' => :'create_date',
|
|
@@ -64,6 +77,8 @@ module NucleusApi
|
|
|
64
77
|
:'id' => :'id',
|
|
65
78
|
:'identification_number' => :'identification_number',
|
|
66
79
|
:'is_active' => :'is_active',
|
|
80
|
+
:'is_customer' => :'is_customer',
|
|
81
|
+
:'is_supplier' => :'is_supplier',
|
|
67
82
|
:'last_name' => :'last_name',
|
|
68
83
|
:'metadata' => :'metadata',
|
|
69
84
|
:'secondary_id' => :'secondary_id',
|
|
@@ -75,7 +90,9 @@ module NucleusApi
|
|
|
75
90
|
# Attribute type mapping.
|
|
76
91
|
def self.swagger_types
|
|
77
92
|
{
|
|
78
|
-
:'address' => :'Array<
|
|
93
|
+
:'address' => :'Array<ContactAddress>',
|
|
94
|
+
:'balances' => :'Balances',
|
|
95
|
+
:'business_id' => :'String',
|
|
79
96
|
:'client_id' => :'String',
|
|
80
97
|
:'company_name' => :'String',
|
|
81
98
|
:'create_date' => :'DateTime',
|
|
@@ -84,6 +101,8 @@ module NucleusApi
|
|
|
84
101
|
:'id' => :'String',
|
|
85
102
|
:'identification_number' => :'String',
|
|
86
103
|
:'is_active' => :'BOOLEAN',
|
|
104
|
+
:'is_customer' => :'BOOLEAN',
|
|
105
|
+
:'is_supplier' => :'BOOLEAN',
|
|
87
106
|
:'last_name' => :'String',
|
|
88
107
|
:'metadata' => :'Hash<String, String>',
|
|
89
108
|
:'secondary_id' => :'String',
|
|
@@ -106,6 +125,14 @@ module NucleusApi
|
|
|
106
125
|
end
|
|
107
126
|
end
|
|
108
127
|
|
|
128
|
+
if attributes.has_key?(:'balances')
|
|
129
|
+
self.balances = attributes[:'balances']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.has_key?(:'business_id')
|
|
133
|
+
self.business_id = attributes[:'business_id']
|
|
134
|
+
end
|
|
135
|
+
|
|
109
136
|
if attributes.has_key?(:'client_id')
|
|
110
137
|
self.client_id = attributes[:'client_id']
|
|
111
138
|
end
|
|
@@ -138,6 +165,14 @@ module NucleusApi
|
|
|
138
165
|
self.is_active = attributes[:'is_active']
|
|
139
166
|
end
|
|
140
167
|
|
|
168
|
+
if attributes.has_key?(:'is_customer')
|
|
169
|
+
self.is_customer = attributes[:'is_customer']
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if attributes.has_key?(:'is_supplier')
|
|
173
|
+
self.is_supplier = attributes[:'is_supplier']
|
|
174
|
+
end
|
|
175
|
+
|
|
141
176
|
if attributes.has_key?(:'last_name')
|
|
142
177
|
self.last_name = attributes[:'last_name']
|
|
143
178
|
end
|
|
@@ -185,6 +220,8 @@ module NucleusApi
|
|
|
185
220
|
return true if self.equal?(o)
|
|
186
221
|
self.class == o.class &&
|
|
187
222
|
address == o.address &&
|
|
223
|
+
balances == o.balances &&
|
|
224
|
+
business_id == o.business_id &&
|
|
188
225
|
client_id == o.client_id &&
|
|
189
226
|
company_name == o.company_name &&
|
|
190
227
|
create_date == o.create_date &&
|
|
@@ -193,6 +230,8 @@ module NucleusApi
|
|
|
193
230
|
id == o.id &&
|
|
194
231
|
identification_number == o.identification_number &&
|
|
195
232
|
is_active == o.is_active &&
|
|
233
|
+
is_customer == o.is_customer &&
|
|
234
|
+
is_supplier == o.is_supplier &&
|
|
196
235
|
last_name == o.last_name &&
|
|
197
236
|
metadata == o.metadata &&
|
|
198
237
|
secondary_id == o.secondary_id &&
|
|
@@ -209,7 +248,7 @@ module NucleusApi
|
|
|
209
248
|
# Calculates hash code according to all attributes.
|
|
210
249
|
# @return [Fixnum] Hash code
|
|
211
250
|
def hash
|
|
212
|
-
[address, client_id, company_name, create_date, description, first_name, id, identification_number, is_active, last_name, metadata, secondary_id, status, update_date].hash
|
|
251
|
+
[address, balances, business_id, client_id, company_name, create_date, description, first_name, id, identification_number, is_active, is_customer, is_supplier, last_name, metadata, secondary_id, status, update_date].hash
|
|
213
252
|
end
|
|
214
253
|
|
|
215
254
|
# Builds the object from hash
|
|
@@ -231,16 +270,16 @@ module NucleusApi
|
|
|
231
270
|
self
|
|
232
271
|
end
|
|
233
272
|
|
|
234
|
-
|
|
273
|
+
# Deserializes the data based on type
|
|
235
274
|
# @param string type Data type
|
|
236
275
|
# @param string value Value to be deserialized
|
|
237
276
|
# @return [Object] Deserialized data
|
|
238
277
|
def _deserialize(type, value)
|
|
239
278
|
case type.to_sym
|
|
240
279
|
when :DateTime
|
|
241
|
-
value
|
|
280
|
+
(value)
|
|
242
281
|
when :Date
|
|
243
|
-
value
|
|
282
|
+
(value)
|
|
244
283
|
when :String
|
|
245
284
|
value.to_s
|
|
246
285
|
when :Integer
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
15
|
module NucleusApi
|
|
16
|
-
#
|
|
17
|
-
class
|
|
16
|
+
# ContactAddress Object
|
|
17
|
+
class ContactAddress
|
|
18
18
|
# addressLine1
|
|
19
19
|
attr_accessor :address_line1
|
|
20
20
|
|
|
@@ -181,17 +181,16 @@ module NucleusApi
|
|
|
181
181
|
|
|
182
182
|
self
|
|
183
183
|
end
|
|
184
|
-
|
|
185
|
-
# Deserializes the data based on type
|
|
184
|
+
# Deserializes the data based on type
|
|
186
185
|
# @param string type Data type
|
|
187
186
|
# @param string value Value to be deserialized
|
|
188
187
|
# @return [Object] Deserialized data
|
|
189
188
|
def _deserialize(type, value)
|
|
190
189
|
case type.to_sym
|
|
191
190
|
when :DateTime
|
|
192
|
-
value
|
|
191
|
+
(value)
|
|
193
192
|
when :Date
|
|
194
|
-
value
|
|
193
|
+
(value)
|
|
195
194
|
when :String
|
|
196
195
|
value.to_s
|
|
197
196
|
when :Integer
|
|
@@ -223,7 +222,9 @@ module NucleusApi
|
|
|
223
222
|
temp_model.build_from_hash(value)
|
|
224
223
|
end
|
|
225
224
|
end
|
|
226
|
-
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
# Returns the string representation of the object
|
|
227
228
|
# @return [String] String presentation of the object
|
|
228
229
|
def to_s
|
|
229
230
|
to_hash.to_s
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
#The Hydrogen Nucleus API
|
|
5
5
|
|
|
6
|
-
OpenAPI spec version: 1.
|
|
6
|
+
OpenAPI spec version: 1.9.0
|
|
7
7
|
Contact: info@hydrogenplatform.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
-
Swagger Codegen version: 2.4.
|
|
9
|
+
Swagger Codegen version: 2.4.20
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
13
13
|
require 'date'
|
|
14
14
|
|
|
15
|
-
module
|
|
15
|
+
module SwaggerClient
|
|
16
16
|
# Country Object
|
|
17
17
|
class Country
|
|
18
18
|
# alpha_2_code
|
|
@@ -30,6 +30,9 @@ module NucleusApi
|
|
|
30
30
|
# longitude
|
|
31
31
|
attr_accessor :longitude
|
|
32
32
|
|
|
33
|
+
# numericCode
|
|
34
|
+
attr_accessor :numeric_code
|
|
35
|
+
|
|
33
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
37
|
def self.attribute_map
|
|
35
38
|
{
|
|
@@ -37,7 +40,8 @@ module NucleusApi
|
|
|
37
40
|
:'alpha3_code' => :'alpha3_code',
|
|
38
41
|
:'country' => :'country',
|
|
39
42
|
:'latitude' => :'latitude',
|
|
40
|
-
:'longitude' => :'longitude'
|
|
43
|
+
:'longitude' => :'longitude',
|
|
44
|
+
:'numeric_code' => :'numeric_code'
|
|
41
45
|
}
|
|
42
46
|
end
|
|
43
47
|
|
|
@@ -48,7 +52,8 @@ module NucleusApi
|
|
|
48
52
|
:'alpha3_code' => :'String',
|
|
49
53
|
:'country' => :'String',
|
|
50
54
|
:'latitude' => :'Float',
|
|
51
|
-
:'longitude' => :'Float'
|
|
55
|
+
:'longitude' => :'Float',
|
|
56
|
+
:'numeric_code' => :'Integer'
|
|
52
57
|
}
|
|
53
58
|
end
|
|
54
59
|
|
|
@@ -79,6 +84,10 @@ module NucleusApi
|
|
|
79
84
|
if attributes.has_key?(:'longitude')
|
|
80
85
|
self.longitude = attributes[:'longitude']
|
|
81
86
|
end
|
|
87
|
+
|
|
88
|
+
if attributes.has_key?(:'numeric_code')
|
|
89
|
+
self.numeric_code = attributes[:'numeric_code']
|
|
90
|
+
end
|
|
82
91
|
end
|
|
83
92
|
|
|
84
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -93,6 +102,10 @@ module NucleusApi
|
|
|
93
102
|
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
94
103
|
end
|
|
95
104
|
|
|
105
|
+
if @numeric_code.nil?
|
|
106
|
+
invalid_properties.push('invalid value for "numeric_code", numeric_code cannot be nil.')
|
|
107
|
+
end
|
|
108
|
+
|
|
96
109
|
invalid_properties
|
|
97
110
|
end
|
|
98
111
|
|
|
@@ -101,6 +114,7 @@ module NucleusApi
|
|
|
101
114
|
def valid?
|
|
102
115
|
return false if @alpha2_code.nil?
|
|
103
116
|
return false if @country.nil?
|
|
117
|
+
return false if @numeric_code.nil?
|
|
104
118
|
true
|
|
105
119
|
end
|
|
106
120
|
|
|
@@ -113,7 +127,8 @@ module NucleusApi
|
|
|
113
127
|
alpha3_code == o.alpha3_code &&
|
|
114
128
|
country == o.country &&
|
|
115
129
|
latitude == o.latitude &&
|
|
116
|
-
longitude == o.longitude
|
|
130
|
+
longitude == o.longitude &&
|
|
131
|
+
numeric_code == o.numeric_code
|
|
117
132
|
end
|
|
118
133
|
|
|
119
134
|
# @see the `==` method
|
|
@@ -125,13 +140,14 @@ module NucleusApi
|
|
|
125
140
|
# Calculates hash code according to all attributes.
|
|
126
141
|
# @return [Fixnum] Hash code
|
|
127
142
|
def hash
|
|
128
|
-
[alpha2_code, alpha3_code, country, latitude, longitude].hash
|
|
143
|
+
[alpha2_code, alpha3_code, country, latitude, longitude, numeric_code].hash
|
|
129
144
|
end
|
|
130
145
|
|
|
131
146
|
# Builds the object from hash
|
|
132
147
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
133
148
|
# @return [Object] Returns the model itself
|
|
134
149
|
def build_from_hash(attributes)
|
|
150
|
+
return nil unless attributes.is_a?(Hash)
|
|
135
151
|
self.class.swagger_types.each_pair do |key, type|
|
|
136
152
|
if type =~ /\AArray<(.*)>/i
|
|
137
153
|
# check to ensure the input is an array given that the attribute
|
|
@@ -154,9 +170,9 @@ module NucleusApi
|
|
|
154
170
|
def _deserialize(type, value)
|
|
155
171
|
case type.to_sym
|
|
156
172
|
when :DateTime
|
|
157
|
-
value
|
|
173
|
+
DateTime.parse(value)
|
|
158
174
|
when :Date
|
|
159
|
-
value
|
|
175
|
+
Date.parse(value)
|
|
160
176
|
when :String
|
|
161
177
|
value.to_s
|
|
162
178
|
when :Integer
|
|
@@ -184,11 +200,12 @@ module NucleusApi
|
|
|
184
200
|
end
|
|
185
201
|
end
|
|
186
202
|
else # model
|
|
187
|
-
temp_model =
|
|
203
|
+
temp_model = SwaggerClient.const_get(type).new
|
|
188
204
|
temp_model.build_from_hash(value)
|
|
189
205
|
end
|
|
190
206
|
end
|
|
191
|
-
|
|
207
|
+
|
|
208
|
+
# Returns the string representation of the object
|
|
192
209
|
# @return [String] String presentation of the object
|
|
193
210
|
def to_s
|
|
194
211
|
to_hash.to_s
|
|
@@ -206,6 +223,7 @@ module NucleusApi
|
|
|
206
223
|
hash = {}
|
|
207
224
|
self.class.attribute_map.each_pair do |attr, param|
|
|
208
225
|
value = self.send(attr)
|
|
226
|
+
next if value.nil?
|
|
209
227
|
hash[param] = _to_hash(value)
|
|
210
228
|
end
|
|
211
229
|
hash
|