apimatic-mx-apis-sdk 0.0.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 +7 -0
- data/LICENSE +28 -0
- data/README.md +207 -0
- data/bin/console +15 -0
- data/lib/mx_platform_api/api_helper.rb +10 -0
- data/lib/mx_platform_api/apis/accounts_api.rb +619 -0
- data/lib/mx_platform_api/apis/ach_return_api.rb +115 -0
- data/lib/mx_platform_api/apis/base_api.rb +67 -0
- data/lib/mx_platform_api/apis/budgets_api.rb +212 -0
- data/lib/mx_platform_api/apis/categories_api.rb +377 -0
- data/lib/mx_platform_api/apis/goals_api.rb +223 -0
- data/lib/mx_platform_api/apis/insights_api.rb +415 -0
- data/lib/mx_platform_api/apis/institutions_api.rb +159 -0
- data/lib/mx_platform_api/apis/investment_holdings_api.rb +191 -0
- data/lib/mx_platform_api/apis/jobs_api.rb +48 -0
- data/lib/mx_platform_api/apis/managed_data_deprecated_api.rb +773 -0
- data/lib/mx_platform_api/apis/members_api.rb +639 -0
- data/lib/mx_platform_api/apis/merchants_api.rb +98 -0
- data/lib/mx_platform_api/apis/microdeposits_api.rb +219 -0
- data/lib/mx_platform_api/apis/monthly_cash_flow_profile_api.rb +75 -0
- data/lib/mx_platform_api/apis/notifications_api.rb +115 -0
- data/lib/mx_platform_api/apis/processor_token_api.rb +141 -0
- data/lib/mx_platform_api/apis/rewards_api.rb +149 -0
- data/lib/mx_platform_api/apis/spending_plan_api.rb +621 -0
- data/lib/mx_platform_api/apis/statements_api.rb +165 -0
- data/lib/mx_platform_api/apis/taggings_api.rb +184 -0
- data/lib/mx_platform_api/apis/tags_api.rb +185 -0
- data/lib/mx_platform_api/apis/transaction_rules_api.rb +163 -0
- data/lib/mx_platform_api/apis/transactions_api.rb +1223 -0
- data/lib/mx_platform_api/apis/users_api.rb +188 -0
- data/lib/mx_platform_api/apis/verifiable_credentials_api.rb +114 -0
- data/lib/mx_platform_api/apis/widgets_api.rb +135 -0
- data/lib/mx_platform_api/client.rb +225 -0
- data/lib/mx_platform_api/configuration.rb +182 -0
- data/lib/mx_platform_api/exceptions/api_exception.rb +21 -0
- data/lib/mx_platform_api/http/api_response.rb +19 -0
- data/lib/mx_platform_api/http/auth/basic_auth.rb +62 -0
- data/lib/mx_platform_api/http/auth/bearer_auth.rb +53 -0
- data/lib/mx_platform_api/http/http_call_back.rb +10 -0
- data/lib/mx_platform_api/http/http_method_enum.rb +10 -0
- data/lib/mx_platform_api/http/http_request.rb +10 -0
- data/lib/mx_platform_api/http/http_response.rb +10 -0
- data/lib/mx_platform_api/http/proxy_settings.rb +22 -0
- data/lib/mx_platform_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/mx_platform_api/logging/sdk_logger.rb +17 -0
- data/lib/mx_platform_api/models/account_create_request.rb +309 -0
- data/lib/mx_platform_api/models/account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/account_number.rb +199 -0
- data/lib/mx_platform_api/models/account_number_response.rb +215 -0
- data/lib/mx_platform_api/models/account_numbers_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_owner.rb +186 -0
- data/lib/mx_platform_api/models/account_owner_response.rb +219 -0
- data/lib/mx_platform_api/models/account_owners_response_body.rb +95 -0
- data/lib/mx_platform_api/models/account_ownership.rb +45 -0
- data/lib/mx_platform_api/models/account_response.rb +814 -0
- data/lib/mx_platform_api/models/account_response_body.rb +75 -0
- data/lib/mx_platform_api/models/account_type.rb +80 -0
- data/lib/mx_platform_api/models/account_type1.rb +80 -0
- data/lib/mx_platform_api/models/account_update_request.rb +301 -0
- data/lib/mx_platform_api/models/account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request.rb +75 -0
- data/lib/mx_platform_api/models/accounts_merge_request_body.rb +75 -0
- data/lib/mx_platform_api/models/accounts_response_body.rb +94 -0
- data/lib/mx_platform_api/models/ach_response.rb +424 -0
- data/lib/mx_platform_api/models/ach_return_create_request.rb +256 -0
- data/lib/mx_platform_api/models/ach_return_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_return_response_body.rb +76 -0
- data/lib/mx_platform_api/models/ach_returns_response_body.rb +95 -0
- data/lib/mx_platform_api/models/authorization_code_request.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_request_body.rb +77 -0
- data/lib/mx_platform_api/models/authorization_code_response.rb +76 -0
- data/lib/mx_platform_api/models/authorization_code_response_body.rb +77 -0
- data/lib/mx_platform_api/models/base_model.rb +110 -0
- data/lib/mx_platform_api/models/budget_create_request.rb +115 -0
- data/lib/mx_platform_api/models/budget_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_response.rb +246 -0
- data/lib/mx_platform_api/models/budget_response_body.rb +75 -0
- data/lib/mx_platform_api/models/budget_update_request.rb +96 -0
- data/lib/mx_platform_api/models/budget_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/categories_response_body.rb +95 -0
- data/lib/mx_platform_api/models/category_create_request.rb +93 -0
- data/lib/mx_platform_api/models/category_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/category_response.rb +160 -0
- data/lib/mx_platform_api/models/category_response_body.rb +75 -0
- data/lib/mx_platform_api/models/category_update_request.rb +85 -0
- data/lib/mx_platform_api/models/category_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/challenge_response.rb +159 -0
- data/lib/mx_platform_api/models/challenges_response_body.rb +95 -0
- data/lib/mx_platform_api/models/channel.rb +47 -0
- data/lib/mx_platform_api/models/classification.rb +85 -0
- data/lib/mx_platform_api/models/color_scheme.rb +43 -0
- data/lib/mx_platform_api/models/connection_status.rb +118 -0
- data/lib/mx_platform_api/models/credential_request.rb +85 -0
- data/lib/mx_platform_api/models/credential_response.rb +133 -0
- data/lib/mx_platform_api/models/credentials_response_body.rb +95 -0
- data/lib/mx_platform_api/models/credit_card_product.rb +276 -0
- data/lib/mx_platform_api/models/credit_card_product_response.rb +77 -0
- data/lib/mx_platform_api/models/data_request.rb +76 -0
- data/lib/mx_platform_api/models/date_range.rb +87 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response.rb +115 -0
- data/lib/mx_platform_api/models/date_range_category_totals_response_body.rb +88 -0
- data/lib/mx_platform_api/models/deep_link_params.rb +131 -0
- data/lib/mx_platform_api/models/enhance_transaction_response.rb +371 -0
- data/lib/mx_platform_api/models/enhance_transactions_request.rb +143 -0
- data/lib/mx_platform_api/models/enhance_transactions_request_body.rb +85 -0
- data/lib/mx_platform_api/models/enhance_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/error.rb +106 -0
- data/lib/mx_platform_api/models/federal_insurance_status.rb +42 -0
- data/lib/mx_platform_api/models/geolocation.rb +108 -0
- data/lib/mx_platform_api/models/goal_request.rb +179 -0
- data/lib/mx_platform_api/models/goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_response.rb +241 -0
- data/lib/mx_platform_api/models/goal_response_body.rb +74 -0
- data/lib/mx_platform_api/models/goal_type_name.rb +36 -0
- data/lib/mx_platform_api/models/goals_response.rb +241 -0
- data/lib/mx_platform_api/models/goals_response_body.rb +94 -0
- data/lib/mx_platform_api/models/image_option_response.rb +110 -0
- data/lib/mx_platform_api/models/insight_response.rb +338 -0
- data/lib/mx_platform_api/models/insight_response_body.rb +75 -0
- data/lib/mx_platform_api/models/insight_update_request.rb +87 -0
- data/lib/mx_platform_api/models/insight_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/insights_response_body.rb +94 -0
- data/lib/mx_platform_api/models/institution_response.rb +290 -0
- data/lib/mx_platform_api/models/institution_response_body.rb +76 -0
- data/lib/mx_platform_api/models/institutions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/investment_holding_response.rb +513 -0
- data/lib/mx_platform_api/models/investment_holding_response_body.rb +77 -0
- data/lib/mx_platform_api/models/investment_holdings_deactivation.rb +85 -0
- data/lib/mx_platform_api/models/investment_holdings_response_body.rb +95 -0
- data/lib/mx_platform_api/models/iso_country_code.rb +36 -0
- data/lib/mx_platform_api/models/item_type.rb +52 -0
- data/lib/mx_platform_api/models/job_response.rb +203 -0
- data/lib/mx_platform_api/models/job_response_body.rb +74 -0
- data/lib/mx_platform_api/models/managed_account_create_request.rb +422 -0
- data/lib/mx_platform_api/models/managed_account_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_account_update_request.rb +428 -0
- data/lib/mx_platform_api/models/managed_account_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_create_request.rb +105 -0
- data/lib/mx_platform_api/models/managed_member_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_member_update_request.rb +95 -0
- data/lib/mx_platform_api/models/managed_member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request.rb +282 -0
- data/lib/mx_platform_api/models/managed_transaction_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request.rb +289 -0
- data/lib/mx_platform_api/models/managed_transaction_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/member_create_request.rb +154 -0
- data/lib/mx_platform_api/models/member_create_request_body.rb +152 -0
- data/lib/mx_platform_api/models/member_elements.rb +96 -0
- data/lib/mx_platform_api/models/member_response.rb +406 -0
- data/lib/mx_platform_api/models/member_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_response_with_job_error.rb +406 -0
- data/lib/mx_platform_api/models/member_response_with_job_error_body.rb +75 -0
- data/lib/mx_platform_api/models/member_resume_request.rb +85 -0
- data/lib/mx_platform_api/models/member_resume_request_body.rb +75 -0
- data/lib/mx_platform_api/models/member_status_response.rb +236 -0
- data/lib/mx_platform_api/models/member_status_response_body.rb +75 -0
- data/lib/mx_platform_api/models/member_update_request.rb +133 -0
- data/lib/mx_platform_api/models/member_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/members_response_body.rb +94 -0
- data/lib/mx_platform_api/models/merchant.rb +105 -0
- data/lib/mx_platform_api/models/merchant_location_response.rb +208 -0
- data/lib/mx_platform_api/models/merchant_location_response_body.rb +77 -0
- data/lib/mx_platform_api/models/merchant_response.rb +136 -0
- data/lib/mx_platform_api/models/merchant_response_body.rb +75 -0
- data/lib/mx_platform_api/models/merchants_response_body.rb +95 -0
- data/lib/mx_platform_api/models/micro_deposit.rb +223 -0
- data/lib/mx_platform_api/models/microdeposit_elements.rb +141 -0
- data/lib/mx_platform_api/models/microdeposit_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposit_response.rb +149 -0
- data/lib/mx_platform_api/models/microdeposit_response_body.rb +85 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request.rb +88 -0
- data/lib/mx_platform_api/models/microdeposit_verify_request_body.rb +77 -0
- data/lib/mx_platform_api/models/microdeposits_response_body.rb +95 -0
- data/lib/mx_platform_api/models/monthly_account_balance.rb +123 -0
- data/lib/mx_platform_api/models/monthly_account_balances_response_body.rb +85 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request.rb +95 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_profile_request_body.rb +81 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response.rb +157 -0
- data/lib/mx_platform_api/models/monthly_cash_flow_response_body.rb +81 -0
- data/lib/mx_platform_api/models/notification_request.rb +83 -0
- data/lib/mx_platform_api/models/notification_request_body.rb +76 -0
- data/lib/mx_platform_api/models/notification_response.rb +204 -0
- data/lib/mx_platform_api/models/notification_response_body.rb +76 -0
- data/lib/mx_platform_api/models/notifications_response_body.rb +85 -0
- data/lib/mx_platform_api/models/oauth_window_response.rb +91 -0
- data/lib/mx_platform_api/models/oauth_window_response_body.rb +75 -0
- data/lib/mx_platform_api/models/option_response.rb +99 -0
- data/lib/mx_platform_api/models/pagination_response.rb +106 -0
- data/lib/mx_platform_api/models/parent_class.rb +84 -0
- data/lib/mx_platform_api/models/payment_account.rb +183 -0
- data/lib/mx_platform_api/models/payment_account1.rb +213 -0
- data/lib/mx_platform_api/models/payment_account_body.rb +77 -0
- data/lib/mx_platform_api/models/processor_account_number.rb +168 -0
- data/lib/mx_platform_api/models/processor_account_number_body.rb +85 -0
- data/lib/mx_platform_api/models/processor_owner.rb +155 -0
- data/lib/mx_platform_api/models/processor_owner_body.rb +95 -0
- data/lib/mx_platform_api/models/property_type.rb +69 -0
- data/lib/mx_platform_api/models/recurrence_type.rb +26 -0
- data/lib/mx_platform_api/models/repeating_transaction.rb +102 -0
- data/lib/mx_platform_api/models/repeating_transaction_response.rb +203 -0
- data/lib/mx_platform_api/models/repeating_transaction_type.rb +44 -0
- data/lib/mx_platform_api/models/repeating_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/reposition_request.rb +82 -0
- data/lib/mx_platform_api/models/reposition_request_body.rb +84 -0
- data/lib/mx_platform_api/models/reposition_response_body.rb +84 -0
- data/lib/mx_platform_api/models/reward.rb +187 -0
- data/lib/mx_platform_api/models/reward_elements.rb +156 -0
- data/lib/mx_platform_api/models/reward_response_body.rb +75 -0
- data/lib/mx_platform_api/models/rewards_response_body.rb +94 -0
- data/lib/mx_platform_api/models/scheduled_payment_response.rb +208 -0
- data/lib/mx_platform_api/models/scheduled_payments_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_account_response.rb +142 -0
- data/lib/mx_platform_api/models/spending_plan_accounts_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_create_request_body.rb +124 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_item_response.rb +224 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_items_response_body.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_iteration_response.rb +162 -0
- data/lib/mx_platform_api/models/spending_plan_iterations_response.rb +95 -0
- data/lib/mx_platform_api/models/spending_plan_response.rb +129 -0
- data/lib/mx_platform_api/models/spending_plans_response_body.rb +95 -0
- data/lib/mx_platform_api/models/split_transaction_request.rb +106 -0
- data/lib/mx_platform_api/models/split_transaction_request_body.rb +75 -0
- data/lib/mx_platform_api/models/split_transactions_response_body.rb +85 -0
- data/lib/mx_platform_api/models/statement_response.rb +157 -0
- data/lib/mx_platform_api/models/statement_response_body.rb +76 -0
- data/lib/mx_platform_api/models/statements_response_body.rb +95 -0
- data/lib/mx_platform_api/models/status.rb +36 -0
- data/lib/mx_platform_api/models/style.rb +74 -0
- data/lib/mx_platform_api/models/supported_product.rb +56 -0
- data/lib/mx_platform_api/models/supported_product1.rb +52 -0
- data/lib/mx_platform_api/models/tag_create_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_response.rb +99 -0
- data/lib/mx_platform_api/models/tag_response_body.rb +74 -0
- data/lib/mx_platform_api/models/tag_update_request.rb +72 -0
- data/lib/mx_platform_api/models/tag_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/tagging_create_request.rb +83 -0
- data/lib/mx_platform_api/models/tagging_create_request_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_response.rb +130 -0
- data/lib/mx_platform_api/models/tagging_response_body.rb +75 -0
- data/lib/mx_platform_api/models/tagging_update_request.rb +73 -0
- data/lib/mx_platform_api/models/tagging_update_request_body.rb +75 -0
- data/lib/mx_platform_api/models/taggings_response_body.rb +94 -0
- data/lib/mx_platform_api/models/tags_response_body.rb +94 -0
- data/lib/mx_platform_api/models/token_request_body.rb +75 -0
- data/lib/mx_platform_api/models/token_response.rb +114 -0
- data/lib/mx_platform_api/models/token_response_body.rb +84 -0
- data/lib/mx_platform_api/models/track_type_name.rb +44 -0
- data/lib/mx_platform_api/models/transaction_create_request.rb +192 -0
- data/lib/mx_platform_api/models/transaction_create_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_create_response_body.rb +595 -0
- data/lib/mx_platform_api/models/transaction_includes_response.rb +643 -0
- data/lib/mx_platform_api/models/transaction_response.rb +597 -0
- data/lib/mx_platform_api/models/transaction_response_body.rb +76 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request.rb +98 -0
- data/lib/mx_platform_api/models/transaction_rule_create_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_response.rb +152 -0
- data/lib/mx_platform_api/models/transaction_rule_response_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request.rb +103 -0
- data/lib/mx_platform_api/models/transaction_rule_update_request_body.rb +77 -0
- data/lib/mx_platform_api/models/transaction_rules_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transaction_type.rb +36 -0
- data/lib/mx_platform_api/models/transaction_update_request.rb +74 -0
- data/lib/mx_platform_api/models/transaction_update_request_body.rb +76 -0
- data/lib/mx_platform_api/models/transactions_response_body.rb +95 -0
- data/lib/mx_platform_api/models/transactions_response_body_includes.rb +95 -0
- data/lib/mx_platform_api/models/type.rb +36 -0
- data/lib/mx_platform_api/models/update_goal_request.rb +185 -0
- data/lib/mx_platform_api/models/update_goal_request_body.rb +74 -0
- data/lib/mx_platform_api/models/use_case.rb +36 -0
- data/lib/mx_platform_api/models/user_create_request.rb +105 -0
- data/lib/mx_platform_api/models/user_create_request_body.rb +74 -0
- data/lib/mx_platform_api/models/user_response.rb +119 -0
- data/lib/mx_platform_api/models/user_response_body.rb +74 -0
- data/lib/mx_platform_api/models/user_update_request.rb +105 -0
- data/lib/mx_platform_api/models/user_update_request_body.rb +74 -0
- data/lib/mx_platform_api/models/users_response_body.rb +94 -0
- data/lib/mx_platform_api/models/users_widget_urls_request.rb +76 -0
- data/lib/mx_platform_api/models/vc_response.rb +77 -0
- data/lib/mx_platform_api/models/widget_request.rb +466 -0
- data/lib/mx_platform_api/models/widget_response.rb +100 -0
- data/lib/mx_platform_api/models/widget_response_body.rb +76 -0
- data/lib/mx_platform_api/models/widget_type.rb +149 -0
- data/lib/mx_platform_api/utilities/date_time_helper.rb +11 -0
- data/lib/mx_platform_api/utilities/file_wrapper.rb +28 -0
- data/lib/mx_platform_api.rb +313 -0
- metadata +370 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# MemberElements Model.
|
|
8
|
+
class MemberElements < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The unique identifier for an account. Defined by MX.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :account_guid
|
|
15
|
+
|
|
16
|
+
# The unique identifier for the member. Defined by MX.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :member_guid
|
|
19
|
+
|
|
20
|
+
# The unique identifier for the user. Defined by MX.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :user_guid
|
|
23
|
+
|
|
24
|
+
# A mapping from model property names to API property names.
|
|
25
|
+
def self.names
|
|
26
|
+
@_hash = {} if @_hash.nil?
|
|
27
|
+
@_hash['account_guid'] = 'account_guid'
|
|
28
|
+
@_hash['member_guid'] = 'member_guid'
|
|
29
|
+
@_hash['user_guid'] = 'user_guid'
|
|
30
|
+
@_hash
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# An array for optional fields
|
|
34
|
+
def self.optionals
|
|
35
|
+
%w[
|
|
36
|
+
account_guid
|
|
37
|
+
member_guid
|
|
38
|
+
user_guid
|
|
39
|
+
]
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# An array for nullable fields
|
|
43
|
+
def self.nullables
|
|
44
|
+
[]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def initialize(account_guid: SKIP, member_guid: SKIP, user_guid: SKIP,
|
|
48
|
+
additional_properties: nil)
|
|
49
|
+
# Add additional model properties to the instance
|
|
50
|
+
additional_properties = {} if additional_properties.nil?
|
|
51
|
+
|
|
52
|
+
@account_guid = account_guid unless account_guid == SKIP
|
|
53
|
+
@member_guid = member_guid unless member_guid == SKIP
|
|
54
|
+
@user_guid = user_guid unless user_guid == SKIP
|
|
55
|
+
@additional_properties = additional_properties
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Creates an instance of the object from a hash.
|
|
59
|
+
def self.from_hash(hash)
|
|
60
|
+
return nil unless hash
|
|
61
|
+
|
|
62
|
+
# Extract variables from the hash.
|
|
63
|
+
account_guid = hash.key?('account_guid') ? hash['account_guid'] : SKIP
|
|
64
|
+
member_guid = hash.key?('member_guid') ? hash['member_guid'] : SKIP
|
|
65
|
+
user_guid = hash.key?('user_guid') ? hash['user_guid'] : SKIP
|
|
66
|
+
|
|
67
|
+
# Create a new hash for additional properties, removing known properties.
|
|
68
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
69
|
+
|
|
70
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
71
|
+
new_hash, proc { |value| value }
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
# Create object from extracted values.
|
|
75
|
+
MemberElements.new(account_guid: account_guid,
|
|
76
|
+
member_guid: member_guid,
|
|
77
|
+
user_guid: user_guid,
|
|
78
|
+
additional_properties: additional_properties)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Provides a human-readable string representation of the object.
|
|
82
|
+
def to_s
|
|
83
|
+
class_name = self.class.name.split('::').last
|
|
84
|
+
"<#{class_name} account_guid: #{@account_guid}, member_guid: #{@member_guid}, user_guid:"\
|
|
85
|
+
" #{@user_guid}, additional_properties: #{@additional_properties}>"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
89
|
+
def inspect
|
|
90
|
+
class_name = self.class.name.split('::').last
|
|
91
|
+
"<#{class_name} account_guid: #{@account_guid.inspect}, member_guid:"\
|
|
92
|
+
" #{@member_guid.inspect}, user_guid: #{@user_guid.inspect}, additional_properties:"\
|
|
93
|
+
" #{@additional_properties}>"
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# MemberResponse Model.
|
|
8
|
+
class MemberResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The date and time the most recent aggregation-type job was started, given
|
|
13
|
+
# in ISO 8601 format with a time component.
|
|
14
|
+
# A job will automatically be started when a member is created or its
|
|
15
|
+
# credentials are updated, unless the `skip_aggregation` parameter is used.
|
|
16
|
+
# Jobs can also be started via manual aggregations, background aggregations,
|
|
17
|
+
# API endpoints, or when opening an MX widget.
|
|
18
|
+
# A job can be a normal aggregation, or a premium job such as
|
|
19
|
+
# identification, verification, fetching statements, or fetching an extended
|
|
20
|
+
# transaction history.
|
|
21
|
+
# If a member is deleted and then re-created with the `skip_aggregation`
|
|
22
|
+
# parameter set to `true` or if it is re-created within the throttle window
|
|
23
|
+
# (typically three hours), the previous value will be returned.
|
|
24
|
+
# @return [String]
|
|
25
|
+
attr_accessor :aggregated_at
|
|
26
|
+
|
|
27
|
+
# Indicates whether background aggregation is disabled for the `member`.
|
|
28
|
+
# @return [TrueClass | FalseClass]
|
|
29
|
+
attr_accessor :background_aggregation_is_disabled
|
|
30
|
+
|
|
31
|
+
# The status of a user's connection to an institution. See [Member
|
|
32
|
+
# Connection
|
|
33
|
+
# Status](/api-reference/platform-api/reference/members#member-connection-st
|
|
34
|
+
# atuses).
|
|
35
|
+
# @return [ConnectionStatus]
|
|
36
|
+
attr_accessor :connection_status
|
|
37
|
+
|
|
38
|
+
# A human-readable message describing the connection status. See [Member
|
|
39
|
+
# Connection
|
|
40
|
+
# Status](/api-reference/platform-api/reference/members#member-connection-st
|
|
41
|
+
# atuses).
|
|
42
|
+
# @return [String]
|
|
43
|
+
attr_accessor :connection_status_message
|
|
44
|
+
|
|
45
|
+
# A human-readable message describing the connection status. See [Member
|
|
46
|
+
# Connection
|
|
47
|
+
# Status](/api-reference/platform-api/reference/members#member-connection-st
|
|
48
|
+
# atuses).
|
|
49
|
+
# @return [Object]
|
|
50
|
+
attr_accessor :error
|
|
51
|
+
|
|
52
|
+
# The unique identifier for the member. Defined by MX.
|
|
53
|
+
# @return [String]
|
|
54
|
+
attr_accessor :guid
|
|
55
|
+
|
|
56
|
+
# The unique partner-defined identifier for the member.
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :id
|
|
59
|
+
|
|
60
|
+
# The code identifying a financial institution.
|
|
61
|
+
# @return [String]
|
|
62
|
+
attr_accessor :institution_code
|
|
63
|
+
|
|
64
|
+
# The unique identifier for the institution. Defined by MX.
|
|
65
|
+
# @return [String]
|
|
66
|
+
attr_accessor :institution_guid
|
|
67
|
+
|
|
68
|
+
# Indicates whether the member was being aggregated at the time of the
|
|
69
|
+
# request.
|
|
70
|
+
# @return [TrueClass | FalseClass]
|
|
71
|
+
attr_accessor :is_being_aggregated
|
|
72
|
+
|
|
73
|
+
# Indicates whether the member is managed by the user or the MX partner.
|
|
74
|
+
# Members created with the managed member feature will have this field set
|
|
75
|
+
# to `false`.
|
|
76
|
+
# @return [TrueClass | FalseClass]
|
|
77
|
+
attr_accessor :is_managed_by_user
|
|
78
|
+
|
|
79
|
+
# Indicates whether the transaction was manually created or belongs to a
|
|
80
|
+
# manual account.
|
|
81
|
+
# @return [TrueClass | FalseClass]
|
|
82
|
+
attr_accessor :is_manual
|
|
83
|
+
|
|
84
|
+
# Indicates whether the member uses OAuth to authenticate. Defaults to
|
|
85
|
+
# `false`.
|
|
86
|
+
# @return [TrueClass | FalseClass]
|
|
87
|
+
attr_accessor :is_oauth
|
|
88
|
+
|
|
89
|
+
# Additional information you stored about the `member`.
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :metadata
|
|
92
|
+
|
|
93
|
+
# (Deprecated) This field is no longer used and will be removed at a future
|
|
94
|
+
# date.
|
|
95
|
+
# @return [Integer]
|
|
96
|
+
attr_accessor :most_recent_job_detail_code
|
|
97
|
+
|
|
98
|
+
# (Deprecated) This field is no longer used and will be removed at a future
|
|
99
|
+
# date.
|
|
100
|
+
# @return [TrueClass | FalseClass]
|
|
101
|
+
attr_accessor :most_recent_job_detail_text
|
|
102
|
+
|
|
103
|
+
# The unique identifier for the most recent job. Defined by MX.
|
|
104
|
+
# @return [String]
|
|
105
|
+
attr_accessor :most_recent_job_guid
|
|
106
|
+
|
|
107
|
+
# The name of the `member`.
|
|
108
|
+
# @return [String]
|
|
109
|
+
attr_accessor :name
|
|
110
|
+
|
|
111
|
+
# Internal field used by MX in some circumstances. When set to `true`, MX
|
|
112
|
+
# will not attempt to aggregate the member. It will be set to `false`
|
|
113
|
+
# automatically when the member's credentials are updated.
|
|
114
|
+
# @return [TrueClass | FalseClass]
|
|
115
|
+
attr_accessor :needs_updated_credentials
|
|
116
|
+
|
|
117
|
+
# When connecting a member using OAuth, this field will contain the URL to
|
|
118
|
+
# send the user to in order to authenticate, otherwise it will be blank.
|
|
119
|
+
# @return [String]
|
|
120
|
+
attr_accessor :oauth_window_uri
|
|
121
|
+
|
|
122
|
+
# The date and time when the member was last successfully aggregated,
|
|
123
|
+
# represented in ISO 8601 format with a timestamp.
|
|
124
|
+
# @return [String]
|
|
125
|
+
attr_accessor :successfully_aggregated_at
|
|
126
|
+
|
|
127
|
+
# The use case associated with the member. Valid values are `PFM` and/or
|
|
128
|
+
# `MONEY_MOVEMENT`. Only set this if you've met with MX and have opted in to
|
|
129
|
+
# using this field.
|
|
130
|
+
# @return [Array[UseCase]]
|
|
131
|
+
attr_accessor :use_cases
|
|
132
|
+
|
|
133
|
+
# The unique identifier for the user. Defined by MX.
|
|
134
|
+
# @return [String]
|
|
135
|
+
attr_accessor :user_guid
|
|
136
|
+
|
|
137
|
+
# The unique partner-defined identifier for the user.
|
|
138
|
+
# @return [String]
|
|
139
|
+
attr_accessor :user_id
|
|
140
|
+
|
|
141
|
+
# A mapping from model property names to API property names.
|
|
142
|
+
def self.names
|
|
143
|
+
@_hash = {} if @_hash.nil?
|
|
144
|
+
@_hash['aggregated_at'] = 'aggregated_at'
|
|
145
|
+
@_hash['background_aggregation_is_disabled'] =
|
|
146
|
+
'background_aggregation_is_disabled'
|
|
147
|
+
@_hash['connection_status'] = 'connection_status'
|
|
148
|
+
@_hash['connection_status_message'] = 'connection_status_message'
|
|
149
|
+
@_hash['error'] = 'error'
|
|
150
|
+
@_hash['guid'] = 'guid'
|
|
151
|
+
@_hash['id'] = 'id'
|
|
152
|
+
@_hash['institution_code'] = 'institution_code'
|
|
153
|
+
@_hash['institution_guid'] = 'institution_guid'
|
|
154
|
+
@_hash['is_being_aggregated'] = 'is_being_aggregated'
|
|
155
|
+
@_hash['is_managed_by_user'] = 'is_managed_by_user'
|
|
156
|
+
@_hash['is_manual'] = 'is_manual'
|
|
157
|
+
@_hash['is_oauth'] = 'is_oauth'
|
|
158
|
+
@_hash['metadata'] = 'metadata'
|
|
159
|
+
@_hash['most_recent_job_detail_code'] = 'most_recent_job_detail_code'
|
|
160
|
+
@_hash['most_recent_job_detail_text'] = 'most_recent_job_detail_text'
|
|
161
|
+
@_hash['most_recent_job_guid'] = 'most_recent_job_guid'
|
|
162
|
+
@_hash['name'] = 'name'
|
|
163
|
+
@_hash['needs_updated_credentials'] = 'needs_updated_credentials'
|
|
164
|
+
@_hash['oauth_window_uri'] = 'oauth_window_uri'
|
|
165
|
+
@_hash['successfully_aggregated_at'] = 'successfully_aggregated_at'
|
|
166
|
+
@_hash['use_cases'] = 'use_cases'
|
|
167
|
+
@_hash['user_guid'] = 'user_guid'
|
|
168
|
+
@_hash['user_id'] = 'user_id'
|
|
169
|
+
@_hash
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# An array for optional fields
|
|
173
|
+
def self.optionals
|
|
174
|
+
%w[
|
|
175
|
+
aggregated_at
|
|
176
|
+
background_aggregation_is_disabled
|
|
177
|
+
connection_status
|
|
178
|
+
connection_status_message
|
|
179
|
+
error
|
|
180
|
+
guid
|
|
181
|
+
id
|
|
182
|
+
institution_code
|
|
183
|
+
institution_guid
|
|
184
|
+
is_being_aggregated
|
|
185
|
+
is_managed_by_user
|
|
186
|
+
is_manual
|
|
187
|
+
is_oauth
|
|
188
|
+
metadata
|
|
189
|
+
most_recent_job_detail_code
|
|
190
|
+
most_recent_job_detail_text
|
|
191
|
+
most_recent_job_guid
|
|
192
|
+
name
|
|
193
|
+
needs_updated_credentials
|
|
194
|
+
oauth_window_uri
|
|
195
|
+
successfully_aggregated_at
|
|
196
|
+
use_cases
|
|
197
|
+
user_guid
|
|
198
|
+
user_id
|
|
199
|
+
]
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# An array for nullable fields
|
|
203
|
+
def self.nullables
|
|
204
|
+
%w[
|
|
205
|
+
aggregated_at
|
|
206
|
+
connection_status
|
|
207
|
+
connection_status_message
|
|
208
|
+
error
|
|
209
|
+
guid
|
|
210
|
+
id
|
|
211
|
+
institution_code
|
|
212
|
+
is_being_aggregated
|
|
213
|
+
is_managed_by_user
|
|
214
|
+
is_manual
|
|
215
|
+
is_oauth
|
|
216
|
+
metadata
|
|
217
|
+
most_recent_job_detail_code
|
|
218
|
+
most_recent_job_detail_text
|
|
219
|
+
most_recent_job_guid
|
|
220
|
+
name
|
|
221
|
+
needs_updated_credentials
|
|
222
|
+
oauth_window_uri
|
|
223
|
+
successfully_aggregated_at
|
|
224
|
+
user_guid
|
|
225
|
+
user_id
|
|
226
|
+
]
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
def initialize(aggregated_at: SKIP,
|
|
230
|
+
background_aggregation_is_disabled: SKIP,
|
|
231
|
+
connection_status: SKIP, connection_status_message: SKIP,
|
|
232
|
+
error: SKIP, guid: SKIP, id: SKIP, institution_code: SKIP,
|
|
233
|
+
institution_guid: SKIP, is_being_aggregated: SKIP,
|
|
234
|
+
is_managed_by_user: SKIP, is_manual: SKIP, is_oauth: SKIP,
|
|
235
|
+
metadata: SKIP, most_recent_job_detail_code: SKIP,
|
|
236
|
+
most_recent_job_detail_text: SKIP,
|
|
237
|
+
most_recent_job_guid: SKIP, name: SKIP,
|
|
238
|
+
needs_updated_credentials: SKIP, oauth_window_uri: SKIP,
|
|
239
|
+
successfully_aggregated_at: SKIP, use_cases: SKIP,
|
|
240
|
+
user_guid: SKIP, user_id: SKIP, additional_properties: nil)
|
|
241
|
+
# Add additional model properties to the instance
|
|
242
|
+
additional_properties = {} if additional_properties.nil?
|
|
243
|
+
|
|
244
|
+
@aggregated_at = aggregated_at unless aggregated_at == SKIP
|
|
245
|
+
unless background_aggregation_is_disabled == SKIP
|
|
246
|
+
@background_aggregation_is_disabled =
|
|
247
|
+
background_aggregation_is_disabled
|
|
248
|
+
end
|
|
249
|
+
@connection_status = connection_status unless connection_status == SKIP
|
|
250
|
+
unless connection_status_message == SKIP
|
|
251
|
+
@connection_status_message =
|
|
252
|
+
connection_status_message
|
|
253
|
+
end
|
|
254
|
+
@error = error unless error == SKIP
|
|
255
|
+
@guid = guid unless guid == SKIP
|
|
256
|
+
@id = id unless id == SKIP
|
|
257
|
+
@institution_code = institution_code unless institution_code == SKIP
|
|
258
|
+
@institution_guid = institution_guid unless institution_guid == SKIP
|
|
259
|
+
@is_being_aggregated = is_being_aggregated unless is_being_aggregated == SKIP
|
|
260
|
+
@is_managed_by_user = is_managed_by_user unless is_managed_by_user == SKIP
|
|
261
|
+
@is_manual = is_manual unless is_manual == SKIP
|
|
262
|
+
@is_oauth = is_oauth unless is_oauth == SKIP
|
|
263
|
+
@metadata = metadata unless metadata == SKIP
|
|
264
|
+
unless most_recent_job_detail_code == SKIP
|
|
265
|
+
@most_recent_job_detail_code =
|
|
266
|
+
most_recent_job_detail_code
|
|
267
|
+
end
|
|
268
|
+
unless most_recent_job_detail_text == SKIP
|
|
269
|
+
@most_recent_job_detail_text =
|
|
270
|
+
most_recent_job_detail_text
|
|
271
|
+
end
|
|
272
|
+
@most_recent_job_guid = most_recent_job_guid unless most_recent_job_guid == SKIP
|
|
273
|
+
@name = name unless name == SKIP
|
|
274
|
+
unless needs_updated_credentials == SKIP
|
|
275
|
+
@needs_updated_credentials =
|
|
276
|
+
needs_updated_credentials
|
|
277
|
+
end
|
|
278
|
+
@oauth_window_uri = oauth_window_uri unless oauth_window_uri == SKIP
|
|
279
|
+
unless successfully_aggregated_at == SKIP
|
|
280
|
+
@successfully_aggregated_at =
|
|
281
|
+
successfully_aggregated_at
|
|
282
|
+
end
|
|
283
|
+
@use_cases = use_cases unless use_cases == SKIP
|
|
284
|
+
@user_guid = user_guid unless user_guid == SKIP
|
|
285
|
+
@user_id = user_id unless user_id == SKIP
|
|
286
|
+
@additional_properties = additional_properties
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# Creates an instance of the object from a hash.
|
|
290
|
+
def self.from_hash(hash)
|
|
291
|
+
return nil unless hash
|
|
292
|
+
|
|
293
|
+
# Extract variables from the hash.
|
|
294
|
+
aggregated_at = hash.key?('aggregated_at') ? hash['aggregated_at'] : SKIP
|
|
295
|
+
background_aggregation_is_disabled =
|
|
296
|
+
hash.key?('background_aggregation_is_disabled') ? hash['background_aggregation_is_disabled'] : SKIP
|
|
297
|
+
connection_status =
|
|
298
|
+
hash.key?('connection_status') ? hash['connection_status'] : SKIP
|
|
299
|
+
connection_status_message =
|
|
300
|
+
hash.key?('connection_status_message') ? hash['connection_status_message'] : SKIP
|
|
301
|
+
error = hash.key?('error') ? hash['error'] : SKIP
|
|
302
|
+
guid = hash.key?('guid') ? hash['guid'] : SKIP
|
|
303
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
304
|
+
institution_code =
|
|
305
|
+
hash.key?('institution_code') ? hash['institution_code'] : SKIP
|
|
306
|
+
institution_guid =
|
|
307
|
+
hash.key?('institution_guid') ? hash['institution_guid'] : SKIP
|
|
308
|
+
is_being_aggregated =
|
|
309
|
+
hash.key?('is_being_aggregated') ? hash['is_being_aggregated'] : SKIP
|
|
310
|
+
is_managed_by_user =
|
|
311
|
+
hash.key?('is_managed_by_user') ? hash['is_managed_by_user'] : SKIP
|
|
312
|
+
is_manual = hash.key?('is_manual') ? hash['is_manual'] : SKIP
|
|
313
|
+
is_oauth = hash.key?('is_oauth') ? hash['is_oauth'] : SKIP
|
|
314
|
+
metadata = hash.key?('metadata') ? hash['metadata'] : SKIP
|
|
315
|
+
most_recent_job_detail_code =
|
|
316
|
+
hash.key?('most_recent_job_detail_code') ? hash['most_recent_job_detail_code'] : SKIP
|
|
317
|
+
most_recent_job_detail_text =
|
|
318
|
+
hash.key?('most_recent_job_detail_text') ? hash['most_recent_job_detail_text'] : SKIP
|
|
319
|
+
most_recent_job_guid =
|
|
320
|
+
hash.key?('most_recent_job_guid') ? hash['most_recent_job_guid'] : SKIP
|
|
321
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
322
|
+
needs_updated_credentials =
|
|
323
|
+
hash.key?('needs_updated_credentials') ? hash['needs_updated_credentials'] : SKIP
|
|
324
|
+
oauth_window_uri =
|
|
325
|
+
hash.key?('oauth_window_uri') ? hash['oauth_window_uri'] : SKIP
|
|
326
|
+
successfully_aggregated_at =
|
|
327
|
+
hash.key?('successfully_aggregated_at') ? hash['successfully_aggregated_at'] : SKIP
|
|
328
|
+
use_cases = hash.key?('use_cases') ? hash['use_cases'] : SKIP
|
|
329
|
+
user_guid = hash.key?('user_guid') ? hash['user_guid'] : SKIP
|
|
330
|
+
user_id = hash.key?('user_id') ? hash['user_id'] : SKIP
|
|
331
|
+
|
|
332
|
+
# Create a new hash for additional properties, removing known properties.
|
|
333
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
334
|
+
|
|
335
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
336
|
+
new_hash, proc { |value| value }
|
|
337
|
+
)
|
|
338
|
+
|
|
339
|
+
# Create object from extracted values.
|
|
340
|
+
MemberResponse.new(aggregated_at: aggregated_at,
|
|
341
|
+
background_aggregation_is_disabled: background_aggregation_is_disabled,
|
|
342
|
+
connection_status: connection_status,
|
|
343
|
+
connection_status_message: connection_status_message,
|
|
344
|
+
error: error,
|
|
345
|
+
guid: guid,
|
|
346
|
+
id: id,
|
|
347
|
+
institution_code: institution_code,
|
|
348
|
+
institution_guid: institution_guid,
|
|
349
|
+
is_being_aggregated: is_being_aggregated,
|
|
350
|
+
is_managed_by_user: is_managed_by_user,
|
|
351
|
+
is_manual: is_manual,
|
|
352
|
+
is_oauth: is_oauth,
|
|
353
|
+
metadata: metadata,
|
|
354
|
+
most_recent_job_detail_code: most_recent_job_detail_code,
|
|
355
|
+
most_recent_job_detail_text: most_recent_job_detail_text,
|
|
356
|
+
most_recent_job_guid: most_recent_job_guid,
|
|
357
|
+
name: name,
|
|
358
|
+
needs_updated_credentials: needs_updated_credentials,
|
|
359
|
+
oauth_window_uri: oauth_window_uri,
|
|
360
|
+
successfully_aggregated_at: successfully_aggregated_at,
|
|
361
|
+
use_cases: use_cases,
|
|
362
|
+
user_guid: user_guid,
|
|
363
|
+
user_id: user_id,
|
|
364
|
+
additional_properties: additional_properties)
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
# Provides a human-readable string representation of the object.
|
|
368
|
+
def to_s
|
|
369
|
+
class_name = self.class.name.split('::').last
|
|
370
|
+
"<#{class_name} aggregated_at: #{@aggregated_at}, background_aggregation_is_disabled:"\
|
|
371
|
+
" #{@background_aggregation_is_disabled}, connection_status: #{@connection_status},"\
|
|
372
|
+
" connection_status_message: #{@connection_status_message}, error: #{@error}, guid:"\
|
|
373
|
+
" #{@guid}, id: #{@id}, institution_code: #{@institution_code}, institution_guid:"\
|
|
374
|
+
" #{@institution_guid}, is_being_aggregated: #{@is_being_aggregated}, is_managed_by_user:"\
|
|
375
|
+
" #{@is_managed_by_user}, is_manual: #{@is_manual}, is_oauth: #{@is_oauth}, metadata:"\
|
|
376
|
+
" #{@metadata}, most_recent_job_detail_code: #{@most_recent_job_detail_code},"\
|
|
377
|
+
" most_recent_job_detail_text: #{@most_recent_job_detail_text}, most_recent_job_guid:"\
|
|
378
|
+
" #{@most_recent_job_guid}, name: #{@name}, needs_updated_credentials:"\
|
|
379
|
+
" #{@needs_updated_credentials}, oauth_window_uri: #{@oauth_window_uri},"\
|
|
380
|
+
" successfully_aggregated_at: #{@successfully_aggregated_at}, use_cases: #{@use_cases},"\
|
|
381
|
+
" user_guid: #{@user_guid}, user_id: #{@user_id}, additional_properties:"\
|
|
382
|
+
" #{@additional_properties}>"
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
386
|
+
def inspect
|
|
387
|
+
class_name = self.class.name.split('::').last
|
|
388
|
+
"<#{class_name} aggregated_at: #{@aggregated_at.inspect},"\
|
|
389
|
+
" background_aggregation_is_disabled: #{@background_aggregation_is_disabled.inspect},"\
|
|
390
|
+
" connection_status: #{@connection_status.inspect}, connection_status_message:"\
|
|
391
|
+
" #{@connection_status_message.inspect}, error: #{@error.inspect}, guid: #{@guid.inspect},"\
|
|
392
|
+
" id: #{@id.inspect}, institution_code: #{@institution_code.inspect}, institution_guid:"\
|
|
393
|
+
" #{@institution_guid.inspect}, is_being_aggregated: #{@is_being_aggregated.inspect},"\
|
|
394
|
+
" is_managed_by_user: #{@is_managed_by_user.inspect}, is_manual: #{@is_manual.inspect},"\
|
|
395
|
+
" is_oauth: #{@is_oauth.inspect}, metadata: #{@metadata.inspect},"\
|
|
396
|
+
" most_recent_job_detail_code: #{@most_recent_job_detail_code.inspect},"\
|
|
397
|
+
" most_recent_job_detail_text: #{@most_recent_job_detail_text.inspect},"\
|
|
398
|
+
" most_recent_job_guid: #{@most_recent_job_guid.inspect}, name: #{@name.inspect},"\
|
|
399
|
+
" needs_updated_credentials: #{@needs_updated_credentials.inspect}, oauth_window_uri:"\
|
|
400
|
+
" #{@oauth_window_uri.inspect}, successfully_aggregated_at:"\
|
|
401
|
+
" #{@successfully_aggregated_at.inspect}, use_cases: #{@use_cases.inspect}, user_guid:"\
|
|
402
|
+
" #{@user_guid.inspect}, user_id: #{@user_id.inspect}, additional_properties:"\
|
|
403
|
+
" #{@additional_properties}>"
|
|
404
|
+
end
|
|
405
|
+
end
|
|
406
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# mx_platform_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module MxPlatformApi
|
|
7
|
+
# MemberResponseBody Model.
|
|
8
|
+
class MemberResponseBody < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [MemberResponse]
|
|
14
|
+
attr_accessor :member
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['member'] = 'member'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
member
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(member: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@member = member unless member == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
member = MemberResponse.from_hash(hash['member']) if hash['member']
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
MemberResponseBody.new(member: member,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} member: #{@member}, additional_properties: #{@additional_properties}>"
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
69
|
+
def inspect
|
|
70
|
+
class_name = self.class.name.split('::').last
|
|
71
|
+
"<#{class_name} member: #{@member.inspect}, additional_properties:"\
|
|
72
|
+
" #{@additional_properties}>"
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|