unit-openapi-python-sdk 0.0.2__py3-none-any.whl → 0.9.0__py3-none-any.whl
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.
- unit_finance_sdk/__init__.py +1090 -0
- unit_finance_sdk/api/__init__.py +13 -0
- unit_finance_sdk/api/accounts_api.py +5206 -0
- unit_finance_sdk/api/applications_api.py +1866 -0
- unit_finance_sdk/api/cards_api.py +3636 -0
- unit_finance_sdk/api/check_deposits_api.py +3370 -0
- unit_finance_sdk/api/counterparties_api.py +1853 -0
- unit_finance_sdk/api/customers_api.py +1899 -0
- unit_finance_sdk/api/fees_api.py +604 -0
- unit_finance_sdk/api/payments_api.py +6892 -0
- unit_finance_sdk/api/transactions_api.py +1497 -0
- unit_finance_sdk/api_client.py +804 -0
- unit_finance_sdk/api_response.py +21 -0
- unit_finance_sdk/configuration.py +606 -0
- unit_finance_sdk/exceptions.py +218 -0
- unit_finance_sdk/models/__init__.py +529 -0
- unit_finance_sdk/models/account_end_of_day.py +122 -0
- unit_finance_sdk/models/account_end_of_day_attributes.py +110 -0
- unit_finance_sdk/models/account_end_of_day_relationships.py +115 -0
- unit_finance_sdk/models/account_hold.py +122 -0
- unit_finance_sdk/models/account_hold_attributes.py +114 -0
- unit_finance_sdk/models/account_low_balance_closure_transaction.py +122 -0
- unit_finance_sdk/models/account_low_balance_closure_transaction_attributes.py +118 -0
- unit_finance_sdk/models/account_low_balance_closure_transaction_relationships.py +120 -0
- unit_finance_sdk/models/ach_counterparty.py +122 -0
- unit_finance_sdk/models/ach_counterparty_attributes.py +118 -0
- unit_finance_sdk/models/ach_payment.py +122 -0
- unit_finance_sdk/models/ach_payment_attributes.py +137 -0
- unit_finance_sdk/models/ach_payment_relationships.py +130 -0
- unit_finance_sdk/models/ach_received_payment.py +122 -0
- unit_finance_sdk/models/ach_received_payment_attributes.py +138 -0
- unit_finance_sdk/models/ach_received_payment_relationships.py +130 -0
- unit_finance_sdk/models/add_account_owners200_response.py +105 -0
- unit_finance_sdk/models/add_account_owners_request.py +109 -0
- unit_finance_sdk/models/address_type.py +112 -0
- unit_finance_sdk/models/adjustment_transaction.py +122 -0
- unit_finance_sdk/models/adjustment_transaction_attributes.py +114 -0
- unit_finance_sdk/models/annual_income_type.py +41 -0
- unit_finance_sdk/models/annual_revenue_type.py +45 -0
- unit_finance_sdk/models/application_document.py +116 -0
- unit_finance_sdk/models/application_document_attributes.py +126 -0
- unit_finance_sdk/models/archive_customer_data.py +114 -0
- unit_finance_sdk/models/archive_customer_data_attributes.py +101 -0
- unit_finance_sdk/models/archive_customer_request.py +105 -0
- unit_finance_sdk/models/atm_transaction.py +122 -0
- unit_finance_sdk/models/atm_transaction_attributes.py +134 -0
- unit_finance_sdk/models/atm_transaction_relationships.py +120 -0
- unit_finance_sdk/models/authorized_user_type.py +117 -0
- unit_finance_sdk/models/batch_release.py +122 -0
- unit_finance_sdk/models/batch_release_attributes.py +113 -0
- unit_finance_sdk/models/batch_release_relationships.py +110 -0
- unit_finance_sdk/models/beneficial_owner.py +116 -0
- unit_finance_sdk/models/beneficial_owner_attributes.py +140 -0
- unit_finance_sdk/models/beneficial_owner_request_type.py +136 -0
- unit_finance_sdk/models/beneficial_owner_type.py +142 -0
- unit_finance_sdk/models/book_payment.py +122 -0
- unit_finance_sdk/models/book_payment_attributes.py +116 -0
- unit_finance_sdk/models/book_payment_relationships.py +135 -0
- unit_finance_sdk/models/book_transaction.py +122 -0
- unit_finance_sdk/models/book_transaction_attributes.py +118 -0
- unit_finance_sdk/models/book_transaction_relationships.py +135 -0
- unit_finance_sdk/models/business_annual_revenue_type.py +40 -0
- unit_finance_sdk/models/business_application.py +122 -0
- unit_finance_sdk/models/business_application_attributes.py +197 -0
- unit_finance_sdk/models/business_application_relationships.py +131 -0
- unit_finance_sdk/models/business_contact_type.py +115 -0
- unit_finance_sdk/models/business_credit_card.py +118 -0
- unit_finance_sdk/models/business_customer.py +122 -0
- unit_finance_sdk/models/business_customer_attributes.py +188 -0
- unit_finance_sdk/models/business_customer_relationships.py +125 -0
- unit_finance_sdk/models/business_debit_card.py +122 -0
- unit_finance_sdk/models/business_debit_card_attributes.py +148 -0
- unit_finance_sdk/models/business_number_of_employees_type.py +40 -0
- unit_finance_sdk/models/business_vertical_type.py +66 -0
- unit_finance_sdk/models/business_virtual_credit_card.py +118 -0
- unit_finance_sdk/models/business_virtual_debit_card.py +122 -0
- unit_finance_sdk/models/business_virtual_debit_card_attributes.py +141 -0
- unit_finance_sdk/models/business_wallet_customer.py +122 -0
- unit_finance_sdk/models/business_wallet_customer_attributes.py +124 -0
- unit_finance_sdk/models/business_wallet_customer_relationships.py +105 -0
- unit_finance_sdk/models/cancel_application201_response.py +115 -0
- unit_finance_sdk/models/cancel_application_data.py +114 -0
- unit_finance_sdk/models/cancel_application_data_attributes.py +101 -0
- unit_finance_sdk/models/cancel_application_request.py +105 -0
- unit_finance_sdk/models/cancel_payment200_response.py +105 -0
- unit_finance_sdk/models/cancel_payment200_response_data.py +140 -0
- unit_finance_sdk/models/card_reversal_transaction.py +122 -0
- unit_finance_sdk/models/card_reversal_transaction_attributes.py +114 -0
- unit_finance_sdk/models/card_reversal_transaction_relationships.py +125 -0
- unit_finance_sdk/models/card_transaction.py +122 -0
- unit_finance_sdk/models/card_transaction_attributes.py +152 -0
- unit_finance_sdk/models/card_transaction_attributes_card_verification_data.py +101 -0
- unit_finance_sdk/models/card_transaction_attributes_merchant.py +109 -0
- unit_finance_sdk/models/card_transaction_relationships.py +125 -0
- unit_finance_sdk/models/cash_deposit_barcode.py +122 -0
- unit_finance_sdk/models/cash_deposit_barcode_attributes.py +108 -0
- unit_finance_sdk/models/cash_deposit_barcode_relationships.py +110 -0
- unit_finance_sdk/models/cash_deposit_transaction.py +122 -0
- unit_finance_sdk/models/cash_deposit_transaction_attributes.py +112 -0
- unit_finance_sdk/models/cash_flow_type.py +37 -0
- unit_finance_sdk/models/chargeback_transaction.py +122 -0
- unit_finance_sdk/models/chargeback_transaction_attributes.py +118 -0
- unit_finance_sdk/models/chargeback_transaction_relationships.py +125 -0
- unit_finance_sdk/models/check_counterparty_type.py +105 -0
- unit_finance_sdk/models/check_deposit.py +122 -0
- unit_finance_sdk/models/check_deposit_attributes.py +124 -0
- unit_finance_sdk/models/check_deposit_relationships.py +120 -0
- unit_finance_sdk/models/check_deposit_transaction.py +122 -0
- unit_finance_sdk/models/check_deposit_transaction_attributes.py +112 -0
- unit_finance_sdk/models/check_deposit_transaction_relationships.py +120 -0
- unit_finance_sdk/models/check_payment_transaction.py +122 -0
- unit_finance_sdk/models/check_payment_transaction_relationships.py +120 -0
- unit_finance_sdk/models/clear_ach_debit_payment200_response.py +105 -0
- unit_finance_sdk/models/close_account_request.py +151 -0
- unit_finance_sdk/models/close_card200_response.py +105 -0
- unit_finance_sdk/models/close_credit_account_data.py +114 -0
- unit_finance_sdk/models/close_credit_account_data_attributes.py +103 -0
- unit_finance_sdk/models/close_credit_account_request.py +105 -0
- unit_finance_sdk/models/close_deposit_account_data.py +114 -0
- unit_finance_sdk/models/close_deposit_account_data_attributes.py +105 -0
- unit_finance_sdk/models/close_deposit_account_request.py +105 -0
- unit_finance_sdk/models/close_wallet_data.py +114 -0
- unit_finance_sdk/models/close_wallet_data_attributes.py +105 -0
- unit_finance_sdk/models/close_wallet_request.py +105 -0
- unit_finance_sdk/models/coordinates_type.py +103 -0
- unit_finance_sdk/models/counterparty_balance.py +122 -0
- unit_finance_sdk/models/counterparty_balance_attributes.py +103 -0
- unit_finance_sdk/models/counterparty_balance_relationships.py +110 -0
- unit_finance_sdk/models/counterparty_type.py +107 -0
- unit_finance_sdk/models/create_a_book_payment_data.py +120 -0
- unit_finance_sdk/models/create_a_book_payment_data_attributes.py +109 -0
- unit_finance_sdk/models/create_a_book_payment_data_relationships.py +110 -0
- unit_finance_sdk/models/create_a_book_payment_request.py +105 -0
- unit_finance_sdk/models/create_a_wire_payment_data.py +120 -0
- unit_finance_sdk/models/create_a_wire_payment_data_attributes.py +113 -0
- unit_finance_sdk/models/create_a_wire_payment_request.py +105 -0
- unit_finance_sdk/models/create_account201_response.py +105 -0
- unit_finance_sdk/models/create_account_hold201_response.py +105 -0
- unit_finance_sdk/models/create_account_hold_data.py +120 -0
- unit_finance_sdk/models/create_account_hold_data_attributes.py +108 -0
- unit_finance_sdk/models/create_account_hold_request.py +105 -0
- unit_finance_sdk/models/create_account_request.py +151 -0
- unit_finance_sdk/models/create_ach_payment_data.py +120 -0
- unit_finance_sdk/models/create_ach_payment_data_attributes.py +123 -0
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data.py +120 -0
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_attributes.py +119 -0
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_relationships.py +110 -0
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_request.py +105 -0
- unit_finance_sdk/models/create_ach_payment_plaid_token_data.py +120 -0
- unit_finance_sdk/models/create_ach_payment_plaid_token_data_attributes.py +123 -0
- unit_finance_sdk/models/create_ach_payment_plaid_token_request.py +105 -0
- unit_finance_sdk/models/create_ach_payment_request.py +105 -0
- unit_finance_sdk/models/create_application201_response.py +115 -0
- unit_finance_sdk/models/create_application201_response_included_inner.py +140 -0
- unit_finance_sdk/models/create_application_request.py +151 -0
- unit_finance_sdk/models/create_batch_releases201_response.py +109 -0
- unit_finance_sdk/models/create_batch_releases_data.py +114 -0
- unit_finance_sdk/models/create_batch_releases_data_attributes.py +117 -0
- unit_finance_sdk/models/create_batch_releases_request.py +105 -0
- unit_finance_sdk/models/create_bulk_payment201_response.py +105 -0
- unit_finance_sdk/models/create_bulk_payment201_response_data.py +107 -0
- unit_finance_sdk/models/create_bulk_payment201_response_data_attributes.py +101 -0
- unit_finance_sdk/models/create_bulk_payment_request.py +109 -0
- unit_finance_sdk/models/create_bulk_payment_request_data_inner.py +179 -0
- unit_finance_sdk/models/create_business_application_data.py +114 -0
- unit_finance_sdk/models/create_business_application_data_attributes.py +189 -0
- unit_finance_sdk/models/create_business_application_request.py +105 -0
- unit_finance_sdk/models/create_business_credit_card_data.py +120 -0
- unit_finance_sdk/models/create_business_credit_card_data_attributes.py +148 -0
- unit_finance_sdk/models/create_business_credit_card_request.py +105 -0
- unit_finance_sdk/models/create_business_debit_card_data.py +120 -0
- unit_finance_sdk/models/create_business_debit_card_request.py +105 -0
- unit_finance_sdk/models/create_business_virtual_credit_card_data.py +120 -0
- unit_finance_sdk/models/create_business_virtual_credit_card_data_attributes.py +137 -0
- unit_finance_sdk/models/create_business_virtual_credit_card_request.py +105 -0
- unit_finance_sdk/models/create_business_virtual_debit_card_data.py +120 -0
- unit_finance_sdk/models/create_business_virtual_debit_card_data_attributes.py +137 -0
- unit_finance_sdk/models/create_business_virtual_debit_card_request.py +105 -0
- unit_finance_sdk/models/create_business_wallet_customer201_response.py +105 -0
- unit_finance_sdk/models/create_business_wallet_customer_data.py +114 -0
- unit_finance_sdk/models/create_business_wallet_customer_data_attributes.py +119 -0
- unit_finance_sdk/models/create_business_wallet_customer_request.py +105 -0
- unit_finance_sdk/models/create_card201_response.py +105 -0
- unit_finance_sdk/models/create_card201_response_data.py +196 -0
- unit_finance_sdk/models/create_card_request.py +193 -0
- unit_finance_sdk/models/create_check_deposit201_response.py +105 -0
- unit_finance_sdk/models/create_check_deposit_data.py +120 -0
- unit_finance_sdk/models/create_check_deposit_data_attributes.py +109 -0
- unit_finance_sdk/models/create_check_deposit_request.py +105 -0
- unit_finance_sdk/models/create_check_deposit_send_link201_response.py +105 -0
- unit_finance_sdk/models/create_check_deposit_send_link201_response_data.py +108 -0
- unit_finance_sdk/models/create_check_deposit_send_link_data.py +120 -0
- unit_finance_sdk/models/create_check_deposit_send_link_data_attributes.py +103 -0
- unit_finance_sdk/models/create_check_deposit_send_link_data_relationships.py +115 -0
- unit_finance_sdk/models/create_check_deposit_send_link_request.py +105 -0
- unit_finance_sdk/models/create_counterparty201_response.py +105 -0
- unit_finance_sdk/models/create_counterparty_body.py +137 -0
- unit_finance_sdk/models/create_counterparty_data.py +120 -0
- unit_finance_sdk/models/create_counterparty_data_attributes.py +115 -0
- unit_finance_sdk/models/create_counterparty_request.py +105 -0
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data.py +120 -0
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data_attributes.py +113 -0
- unit_finance_sdk/models/create_counterparty_with_plaid_token_request.py +105 -0
- unit_finance_sdk/models/create_credit_account_data.py +120 -0
- unit_finance_sdk/models/create_credit_account_data_attributes.py +107 -0
- unit_finance_sdk/models/create_credit_account_request.py +105 -0
- unit_finance_sdk/models/create_deposit_account_data.py +120 -0
- unit_finance_sdk/models/create_deposit_account_data_attributes.py +105 -0
- unit_finance_sdk/models/create_deposit_account_data_relationships.py +105 -0
- unit_finance_sdk/models/create_deposit_account_request.py +105 -0
- unit_finance_sdk/models/create_fee201_response.py +105 -0
- unit_finance_sdk/models/create_fee_data.py +120 -0
- unit_finance_sdk/models/create_fee_data_attributes.py +107 -0
- unit_finance_sdk/models/create_fee_data_relationships.py +105 -0
- unit_finance_sdk/models/create_fee_request.py +105 -0
- unit_finance_sdk/models/create_individual_application_data.py +114 -0
- unit_finance_sdk/models/create_individual_application_data_attributes.py +158 -0
- unit_finance_sdk/models/create_individual_application_request.py +105 -0
- unit_finance_sdk/models/create_individual_debit_card_data.py +120 -0
- unit_finance_sdk/models/create_individual_debit_card_data_attributes.py +119 -0
- unit_finance_sdk/models/create_individual_debit_card_request.py +105 -0
- unit_finance_sdk/models/create_individual_virtual_debit_card_data.py +120 -0
- unit_finance_sdk/models/create_individual_virtual_debit_card_data_attributes.py +107 -0
- unit_finance_sdk/models/create_individual_virtual_debit_card_request.py +105 -0
- unit_finance_sdk/models/create_payment201_response.py +105 -0
- unit_finance_sdk/models/create_payment201_response_data.py +154 -0
- unit_finance_sdk/models/create_payment_request.py +179 -0
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data_attributes.py +117 -0
- unit_finance_sdk/models/create_recurring_credit_ach_payment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_credit_book_payment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_credit_book_payment_data_attributes.py +115 -0
- unit_finance_sdk/models/create_recurring_credit_book_payment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data.py +120 -0
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data_attributes.py +119 -0
- unit_finance_sdk/models/create_recurring_debit_ach_payment_request.py +105 -0
- unit_finance_sdk/models/create_recurring_payment201_response.py +105 -0
- unit_finance_sdk/models/create_recurring_payment_request.py +151 -0
- unit_finance_sdk/models/create_schedule_type.py +112 -0
- unit_finance_sdk/models/create_sole_proprietor_application_data.py +114 -0
- unit_finance_sdk/models/create_sole_proprietor_application_data_attributes.py +174 -0
- unit_finance_sdk/models/create_sole_proprietor_application_request.py +105 -0
- unit_finance_sdk/models/create_wallet_data.py +120 -0
- unit_finance_sdk/models/create_wallet_data_attributes.py +105 -0
- unit_finance_sdk/models/create_wallet_request.py +105 -0
- unit_finance_sdk/models/credit_account.py +122 -0
- unit_finance_sdk/models/credit_account_attributes.py +130 -0
- unit_finance_sdk/models/credit_account_relationships.py +105 -0
- unit_finance_sdk/models/currency_conversion_type.py +105 -0
- unit_finance_sdk/models/deposit_account.py +122 -0
- unit_finance_sdk/models/deposit_account_attributes.py +138 -0
- unit_finance_sdk/models/deposit_account_relationships.py +110 -0
- unit_finance_sdk/models/device_fingerprint_type.py +103 -0
- unit_finance_sdk/models/dishonored_ach_transaction.py +122 -0
- unit_finance_sdk/models/dishonored_ach_transaction_attributes.py +124 -0
- unit_finance_sdk/models/dispute_transaction.py +122 -0
- unit_finance_sdk/models/dispute_transaction_attributes.py +116 -0
- unit_finance_sdk/models/dispute_transaction_relationships.py +120 -0
- unit_finance_sdk/models/error_document.py +109 -0
- unit_finance_sdk/models/error_document_errors_inner.py +115 -0
- unit_finance_sdk/models/error_document_errors_inner_source.py +101 -0
- unit_finance_sdk/models/fee.py +122 -0
- unit_finance_sdk/models/fee_attributes.py +105 -0
- unit_finance_sdk/models/fee_relationships.py +105 -0
- unit_finance_sdk/models/fee_reversal.py +122 -0
- unit_finance_sdk/models/fee_reversal_attributes.py +103 -0
- unit_finance_sdk/models/fee_reversal_relationships.py +110 -0
- unit_finance_sdk/models/fee_reversal_transaction.py +122 -0
- unit_finance_sdk/models/fee_reversal_transaction_relationships.py +120 -0
- unit_finance_sdk/models/fee_transaction.py +122 -0
- unit_finance_sdk/models/freeze_account_request.py +151 -0
- unit_finance_sdk/models/freeze_card_data.py +114 -0
- unit_finance_sdk/models/freeze_card_data_attributes.py +101 -0
- unit_finance_sdk/models/freeze_card_request.py +105 -0
- unit_finance_sdk/models/freeze_credit_account_data.py +114 -0
- unit_finance_sdk/models/freeze_credit_account_request.py +105 -0
- unit_finance_sdk/models/freeze_deposit_account_data.py +114 -0
- unit_finance_sdk/models/freeze_deposit_account_data_attributes.py +103 -0
- unit_finance_sdk/models/freeze_deposit_account_request.py +105 -0
- unit_finance_sdk/models/freeze_wallet_data.py +114 -0
- unit_finance_sdk/models/freeze_wallet_data_attributes.py +103 -0
- unit_finance_sdk/models/freeze_wallet_request.py +105 -0
- unit_finance_sdk/models/full_name_type.py +103 -0
- unit_finance_sdk/models/generate_barcode_data.py +120 -0
- unit_finance_sdk/models/generate_barcode_data_attributes.py +101 -0
- unit_finance_sdk/models/generate_barcode_data_relationships.py +110 -0
- unit_finance_sdk/models/generate_cash_deposit_barcode200_response.py +105 -0
- unit_finance_sdk/models/generate_cash_deposit_barcode_request.py +105 -0
- unit_finance_sdk/models/get_account_balance_history200_response.py +115 -0
- unit_finance_sdk/models/get_account_limits200_response.py +105 -0
- unit_finance_sdk/models/get_account_limits200_response_data.py +105 -0
- unit_finance_sdk/models/get_available_deposit_products200_response.py +109 -0
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner.py +107 -0
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner_attributes.py +101 -0
- unit_finance_sdk/models/get_card200_response.py +115 -0
- unit_finance_sdk/models/get_card_pin_status200_response.py +105 -0
- unit_finance_sdk/models/get_check_deposit200_response.py +115 -0
- unit_finance_sdk/models/get_counterparty_balance200_response.py +105 -0
- unit_finance_sdk/models/get_customer200_response.py +115 -0
- unit_finance_sdk/models/get_expected_ach_completion_date200_response.py +105 -0
- unit_finance_sdk/models/get_expected_ach_completion_date200_response_data.py +103 -0
- unit_finance_sdk/models/get_expected_ach_completion_date_data.py +120 -0
- unit_finance_sdk/models/get_expected_ach_completion_date_data_attributes.py +108 -0
- unit_finance_sdk/models/get_expected_ach_completion_date_request.py +105 -0
- unit_finance_sdk/models/get_received_payment200_response.py +115 -0
- unit_finance_sdk/models/get_transaction200_response.py +115 -0
- unit_finance_sdk/models/get_wire_drawdown200_response.py +115 -0
- unit_finance_sdk/models/individual_application.py +122 -0
- unit_finance_sdk/models/individual_application_attributes.py +154 -0
- unit_finance_sdk/models/individual_application_relationships.py +121 -0
- unit_finance_sdk/models/individual_customer.py +118 -0
- unit_finance_sdk/models/individual_customer_relationships.py +115 -0
- unit_finance_sdk/models/individual_debit_card.py +122 -0
- unit_finance_sdk/models/individual_debit_card_attributes.py +120 -0
- unit_finance_sdk/models/individual_virtual_debit_card.py +122 -0
- unit_finance_sdk/models/individual_virtual_debit_card_attributes.py +112 -0
- unit_finance_sdk/models/industry_type.py +47 -0
- unit_finance_sdk/models/interest_share_transaction.py +122 -0
- unit_finance_sdk/models/interest_share_transaction_relationships.py +120 -0
- unit_finance_sdk/models/interest_transaction.py +122 -0
- unit_finance_sdk/models/list200_response.py +115 -0
- unit_finance_sdk/models/list200_response_data_inner.py +140 -0
- unit_finance_sdk/models/list_account_holds200_response.py +115 -0
- unit_finance_sdk/models/list_accounts200_response.py +111 -0
- unit_finance_sdk/models/list_accounts200_response_data_inner.py +154 -0
- unit_finance_sdk/models/list_cards200_response.py +119 -0
- unit_finance_sdk/models/list_cards200_response_data_inner.py +168 -0
- unit_finance_sdk/models/list_check_deposits200_response.py +125 -0
- unit_finance_sdk/models/list_counterparties200_response.py +109 -0
- unit_finance_sdk/models/list_customers200_response.py +115 -0
- unit_finance_sdk/models/list_customers200_response_data_inner.py +140 -0
- unit_finance_sdk/models/list_received_payments200_response.py +125 -0
- unit_finance_sdk/models/list_received_payments200_response_data_inner.py +140 -0
- unit_finance_sdk/models/list_recurring_payments200_response.py +115 -0
- unit_finance_sdk/models/list_recurring_payments200_response_data_inner.py +154 -0
- unit_finance_sdk/models/list_store_locations200_response.py +115 -0
- unit_finance_sdk/models/list_transactions200_response.py +125 -0
- unit_finance_sdk/models/list_transactions200_response_included_inner.py +140 -0
- unit_finance_sdk/models/list_wire_drawdowns200_response.py +125 -0
- unit_finance_sdk/models/meta.py +105 -0
- unit_finance_sdk/models/meta_pagination.py +105 -0
- unit_finance_sdk/models/negative_balance_coverage_transaction.py +122 -0
- unit_finance_sdk/models/number_of_employees_type.py +44 -0
- unit_finance_sdk/models/occupation_type.py +58 -0
- unit_finance_sdk/models/officer.py +122 -0
- unit_finance_sdk/models/officer_attributes.py +142 -0
- unit_finance_sdk/models/officer_relationships.py +110 -0
- unit_finance_sdk/models/officer_request_type.py +136 -0
- unit_finance_sdk/models/officer_type.py +144 -0
- unit_finance_sdk/models/originated_ach_transaction.py +122 -0
- unit_finance_sdk/models/originated_ach_transaction_attributes.py +126 -0
- unit_finance_sdk/models/originated_ach_transaction_relationships.py +125 -0
- unit_finance_sdk/models/payment_advance_transaction.py +122 -0
- unit_finance_sdk/models/payment_advance_transaction_attributes.py +112 -0
- unit_finance_sdk/models/payment_advance_transaction_relationships.py +115 -0
- unit_finance_sdk/models/payment_canceled_transaction.py +122 -0
- unit_finance_sdk/models/payment_canceled_transaction_relationships.py +125 -0
- unit_finance_sdk/models/phone_type.py +103 -0
- unit_finance_sdk/models/pin_status.py +114 -0
- unit_finance_sdk/models/pin_status_attributes.py +101 -0
- unit_finance_sdk/models/product_type.py +38 -0
- unit_finance_sdk/models/purchase_transaction.py +122 -0
- unit_finance_sdk/models/purchase_transaction_attributes.py +164 -0
- unit_finance_sdk/models/purchase_transaction_attributes_merchant.py +109 -0
- unit_finance_sdk/models/purchase_transaction_relationships.py +130 -0
- unit_finance_sdk/models/push_to_card_reversal_transaction.py +122 -0
- unit_finance_sdk/models/push_to_card_reversal_transaction_relationships.py +130 -0
- unit_finance_sdk/models/push_to_card_transaction.py +122 -0
- unit_finance_sdk/models/push_to_card_transaction_relationships.py +125 -0
- unit_finance_sdk/models/real_time_counterparty_type.py +105 -0
- unit_finance_sdk/models/realtime_received_payment.py +122 -0
- unit_finance_sdk/models/realtime_received_payment_attributes.py +120 -0
- unit_finance_sdk/models/realtime_received_payment_relationships.py +115 -0
- unit_finance_sdk/models/received_ach_transaction.py +122 -0
- unit_finance_sdk/models/received_ach_transaction_attributes.py +124 -0
- unit_finance_sdk/models/recurring_credit_ach_payment.py +122 -0
- unit_finance_sdk/models/recurring_credit_ach_payment_attributes.py +122 -0
- unit_finance_sdk/models/recurring_credit_ach_payment_relationships.py +120 -0
- unit_finance_sdk/models/recurring_credit_book_payment.py +122 -0
- unit_finance_sdk/models/recurring_credit_book_payment_attributes.py +122 -0
- unit_finance_sdk/models/recurring_credit_book_payment_relationships.py +120 -0
- unit_finance_sdk/models/recurring_debit_ach_payment.py +122 -0
- unit_finance_sdk/models/relationship.py +110 -0
- unit_finance_sdk/models/relationship_data.py +146 -0
- unit_finance_sdk/models/release_account_hold_data.py +114 -0
- unit_finance_sdk/models/release_account_hold_data_attributes.py +103 -0
- unit_finance_sdk/models/release_account_hold_request.py +105 -0
- unit_finance_sdk/models/release_transaction.py +122 -0
- unit_finance_sdk/models/release_transaction_attributes.py +130 -0
- unit_finance_sdk/models/remove_account_owners_request.py +109 -0
- unit_finance_sdk/models/reopen_account200_response.py +105 -0
- unit_finance_sdk/models/reopen_account200_response_data.py +140 -0
- unit_finance_sdk/models/repaid_payment_advance_transaction.py +122 -0
- unit_finance_sdk/models/repaid_payment_advance_transaction_attributes.py +112 -0
- unit_finance_sdk/models/repaid_payment_advance_transaction_relationships.py +120 -0
- unit_finance_sdk/models/replace_card200_response.py +105 -0
- unit_finance_sdk/models/replace_card200_response_data.py +140 -0
- unit_finance_sdk/models/replace_card_data.py +114 -0
- unit_finance_sdk/models/replace_card_data_attributes.py +105 -0
- unit_finance_sdk/models/replace_card_request.py +105 -0
- unit_finance_sdk/models/requested_product_type.py +40 -0
- unit_finance_sdk/models/resource_identifier.py +103 -0
- unit_finance_sdk/models/returned_ach_transaction.py +122 -0
- unit_finance_sdk/models/returned_ach_transaction_attributes.py +120 -0
- unit_finance_sdk/models/returned_ach_transaction_relationships.py +120 -0
- unit_finance_sdk/models/returned_check_deposit_transaction.py +122 -0
- unit_finance_sdk/models/returned_check_deposit_transaction_attributes.py +114 -0
- unit_finance_sdk/models/returned_check_payment_transaction.py +122 -0
- unit_finance_sdk/models/returned_check_payment_transaction_attributes.py +114 -0
- unit_finance_sdk/models/returned_received_ach_transaction.py +122 -0
- unit_finance_sdk/models/returned_received_ach_transaction_attributes.py +116 -0
- unit_finance_sdk/models/returned_received_ach_transaction_relationships.py +120 -0
- unit_finance_sdk/models/returned_wire_transaction.py +122 -0
- unit_finance_sdk/models/returned_wire_transaction_attributes.py +118 -0
- unit_finance_sdk/models/reverse_fee201_response.py +105 -0
- unit_finance_sdk/models/reverse_fee_data.py +120 -0
- unit_finance_sdk/models/reverse_fee_data_attributes.py +105 -0
- unit_finance_sdk/models/reverse_fee_data_relationships.py +110 -0
- unit_finance_sdk/models/reverse_fee_request.py +105 -0
- unit_finance_sdk/models/reward_transaction.py +122 -0
- unit_finance_sdk/models/reward_transaction_attributes.py +118 -0
- unit_finance_sdk/models/reward_transaction_relationships.py +125 -0
- unit_finance_sdk/models/rich_merchant_data_type.py +131 -0
- unit_finance_sdk/models/rich_merchant_data_type_address.py +107 -0
- unit_finance_sdk/models/rich_merchant_data_type_categories_inner.py +103 -0
- unit_finance_sdk/models/schedule_type.py +114 -0
- unit_finance_sdk/models/send_drawdown_payment200_response.py +105 -0
- unit_finance_sdk/models/send_drawdown_payment_data.py +114 -0
- unit_finance_sdk/models/send_drawdown_payment_data_attributes.py +103 -0
- unit_finance_sdk/models/send_drawdown_payment_request.py +105 -0
- unit_finance_sdk/models/sole_proprietor_annual_revenue_type.py +40 -0
- unit_finance_sdk/models/sole_proprietor_number_of_employees_type.py +39 -0
- unit_finance_sdk/models/source_of_income_type.py +41 -0
- unit_finance_sdk/models/store_location.py +116 -0
- unit_finance_sdk/models/store_location_attributes.py +123 -0
- unit_finance_sdk/models/to_many_relationship.py +109 -0
- unit_finance_sdk/models/total_accrued_interest_type.py +101 -0
- unit_finance_sdk/models/transaction.py +588 -0
- unit_finance_sdk/models/update_account_request.py +151 -0
- unit_finance_sdk/models/update_ach_payment_data.py +114 -0
- unit_finance_sdk/models/update_ach_payment_data_attributes.py +103 -0
- unit_finance_sdk/models/update_ach_payment_request.py +105 -0
- unit_finance_sdk/models/update_ach_received_payment_data.py +114 -0
- unit_finance_sdk/models/update_ach_received_payment_data_attributes.py +101 -0
- unit_finance_sdk/models/update_ach_received_payment_request.py +105 -0
- unit_finance_sdk/models/update_application_request.py +165 -0
- unit_finance_sdk/models/update_book_payment_data.py +114 -0
- unit_finance_sdk/models/update_book_payment_data_attributes.py +101 -0
- unit_finance_sdk/models/update_book_payment_request.py +105 -0
- unit_finance_sdk/models/update_book_transaction_data.py +120 -0
- unit_finance_sdk/models/update_book_transaction_data_attributes.py +103 -0
- unit_finance_sdk/models/update_book_transaction_request.py +105 -0
- unit_finance_sdk/models/update_business_application_data.py +114 -0
- unit_finance_sdk/models/update_business_application_data_attributes.py +121 -0
- unit_finance_sdk/models/update_business_application_request.py +105 -0
- unit_finance_sdk/models/update_business_beneficial_owner201_response.py +105 -0
- unit_finance_sdk/models/update_business_beneficial_owner_data.py +120 -0
- unit_finance_sdk/models/update_business_beneficial_owner_data_attributes.py +110 -0
- unit_finance_sdk/models/update_business_beneficial_owner_data_relationships.py +105 -0
- unit_finance_sdk/models/update_business_beneficial_owner_request.py +105 -0
- unit_finance_sdk/models/update_business_customer_data.py +114 -0
- unit_finance_sdk/models/update_business_customer_data_attributes.py +170 -0
- unit_finance_sdk/models/update_business_customer_officer200_response.py +105 -0
- unit_finance_sdk/models/update_business_customer_officer_data.py +114 -0
- unit_finance_sdk/models/update_business_customer_officer_data_attributes.py +110 -0
- unit_finance_sdk/models/update_business_customer_officer_request.py +105 -0
- unit_finance_sdk/models/update_business_customer_request.py +105 -0
- unit_finance_sdk/models/update_business_officer_data.py +114 -0
- unit_finance_sdk/models/update_business_officer_data_attributes.py +108 -0
- unit_finance_sdk/models/update_business_officer_request.py +105 -0
- unit_finance_sdk/models/update_card200_response.py +105 -0
- unit_finance_sdk/models/update_card200_response_data.py +168 -0
- unit_finance_sdk/models/update_card_data.py +114 -0
- unit_finance_sdk/models/update_card_data_attributes.py +121 -0
- unit_finance_sdk/models/update_card_request.py +105 -0
- unit_finance_sdk/models/update_chargeback_transaction_data.py +120 -0
- unit_finance_sdk/models/update_chargeback_transaction_data_attributes.py +103 -0
- unit_finance_sdk/models/update_chargeback_transaction_request.py +105 -0
- unit_finance_sdk/models/update_check_deposit_request.py +105 -0
- unit_finance_sdk/models/update_counterparty200_response.py +111 -0
- unit_finance_sdk/models/update_counterparty_data.py +114 -0
- unit_finance_sdk/models/update_counterparty_data_attributes.py +107 -0
- unit_finance_sdk/models/update_counterparty_request.py +105 -0
- unit_finance_sdk/models/update_credit_account_data.py +114 -0
- unit_finance_sdk/models/update_credit_account_data_attributes.py +103 -0
- unit_finance_sdk/models/update_credit_account_request.py +105 -0
- unit_finance_sdk/models/update_customer200_response.py +105 -0
- unit_finance_sdk/models/update_customer_request.py +137 -0
- unit_finance_sdk/models/update_data.py +114 -0
- unit_finance_sdk/models/update_data_attributes.py +103 -0
- unit_finance_sdk/models/update_deposit_account_data.py +114 -0
- unit_finance_sdk/models/update_deposit_account_data_attributes.py +103 -0
- unit_finance_sdk/models/update_deposit_account_request.py +105 -0
- unit_finance_sdk/models/update_individual_application_data.py +114 -0
- unit_finance_sdk/models/update_individual_application_data_attributes.py +110 -0
- unit_finance_sdk/models/update_individual_application_request.py +105 -0
- unit_finance_sdk/models/update_individual_customer_data.py +114 -0
- unit_finance_sdk/models/update_individual_customer_data_attributes.py +149 -0
- unit_finance_sdk/models/update_individual_customer_request.py +105 -0
- unit_finance_sdk/models/update_payment200_response.py +105 -0
- unit_finance_sdk/models/update_payment200_response_data.py +140 -0
- unit_finance_sdk/models/update_payment_request.py +137 -0
- unit_finance_sdk/models/update_realtime_received_payment_data.py +114 -0
- unit_finance_sdk/models/update_realtime_received_payment_request.py +105 -0
- unit_finance_sdk/models/update_received_payment200_response.py +105 -0
- unit_finance_sdk/models/update_received_payment_request.py +137 -0
- unit_finance_sdk/models/update_sole_proprietor_application_data.py +114 -0
- unit_finance_sdk/models/update_sole_proprietor_application_data_attributes.py +112 -0
- unit_finance_sdk/models/update_sole_proprietor_application_request.py +105 -0
- unit_finance_sdk/models/update_tags_data.py +114 -0
- unit_finance_sdk/models/update_tags_data_attributes.py +101 -0
- unit_finance_sdk/models/update_tags_request.py +105 -0
- unit_finance_sdk/models/update_transaction200_response.py +105 -0
- unit_finance_sdk/models/update_transaction_request.py +137 -0
- unit_finance_sdk/models/update_wallet_data.py +114 -0
- unit_finance_sdk/models/update_wallet_data_attributes.py +105 -0
- unit_finance_sdk/models/update_wallet_request.py +105 -0
- unit_finance_sdk/models/wallet_account.py +122 -0
- unit_finance_sdk/models/wallet_account_attributes.py +128 -0
- unit_finance_sdk/models/wire_counterparty_type.py +111 -0
- unit_finance_sdk/models/wire_drawdown.py +122 -0
- unit_finance_sdk/models/wire_drawdown_attributes.py +128 -0
- unit_finance_sdk/models/wire_drawdown_relationships.py +115 -0
- unit_finance_sdk/models/wire_payment.py +122 -0
- unit_finance_sdk/models/wire_payment_attributes.py +122 -0
- unit_finance_sdk/models/wire_payment_relationships.py +125 -0
- unit_finance_sdk/models/wire_transaction.py +122 -0
- unit_finance_sdk/models/wire_transaction_attributes.py +132 -0
- unit_finance_sdk/models/write_off_transaction.py +122 -0
- unit_finance_sdk/py.typed +0 -0
- unit_finance_sdk/rest.py +263 -0
- unit_openapi_python_sdk-0.9.0.dist-info/METADATA +730 -0
- unit_openapi_python_sdk-0.9.0.dist-info/RECORD +535 -0
- {unit_openapi_python_sdk-0.0.2.dist-info → unit_openapi_python_sdk-0.9.0.dist-info}/WHEEL +1 -1
- unit_openapi_python_sdk-0.9.0.dist-info/top_level.txt +1 -0
- unit_openapi_python_sdk-0.0.2.dist-info/LICENSE.md +0 -373
- unit_openapi_python_sdk-0.0.2.dist-info/METADATA +0 -18
- unit_openapi_python_sdk-0.0.2.dist-info/RECORD +0 -5
- unit_openapi_python_sdk-0.0.2.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unit_finance_sdk.models.freeze_deposit_account_data_attributes import FreezeDepositAccountDataAttributes
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
from pydantic_core import to_jsonable_python
|
|
26
|
+
|
|
27
|
+
class FreezeCreditAccountData(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
FreezeCreditAccountData
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
type: StrictStr
|
|
32
|
+
attributes: FreezeDepositAccountDataAttributes
|
|
33
|
+
additional_properties: Dict[str, Any] = {}
|
|
34
|
+
__properties: ClassVar[List[str]] = ["type", "attributes"]
|
|
35
|
+
|
|
36
|
+
@field_validator('type')
|
|
37
|
+
def type_validate_enum(cls, value):
|
|
38
|
+
"""Validates the enum"""
|
|
39
|
+
if value not in set(['creditAccountFreeze']):
|
|
40
|
+
raise ValueError("must be one of enum values ('creditAccountFreeze')")
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
model_config = ConfigDict(
|
|
44
|
+
validate_by_name=True,
|
|
45
|
+
validate_by_alias=True,
|
|
46
|
+
validate_assignment=True,
|
|
47
|
+
protected_namespaces=(),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def to_str(self) -> str:
|
|
52
|
+
"""Returns the string representation of the model using alias"""
|
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
54
|
+
|
|
55
|
+
def to_json(self) -> str:
|
|
56
|
+
"""Returns the JSON representation of the model using alias"""
|
|
57
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of FreezeCreditAccountData from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
74
|
+
"""
|
|
75
|
+
excluded_fields: Set[str] = set([
|
|
76
|
+
"additional_properties",
|
|
77
|
+
])
|
|
78
|
+
|
|
79
|
+
_dict = self.model_dump(
|
|
80
|
+
by_alias=True,
|
|
81
|
+
exclude=excluded_fields,
|
|
82
|
+
exclude_none=True,
|
|
83
|
+
)
|
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of attributes
|
|
85
|
+
if self.attributes:
|
|
86
|
+
_dict['attributes'] = self.attributes.to_dict()
|
|
87
|
+
# puts key-value pairs in additional_properties in the top level
|
|
88
|
+
if self.additional_properties is not None:
|
|
89
|
+
for _key, _value in self.additional_properties.items():
|
|
90
|
+
_dict[_key] = _value
|
|
91
|
+
|
|
92
|
+
return _dict
|
|
93
|
+
|
|
94
|
+
@classmethod
|
|
95
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
96
|
+
"""Create an instance of FreezeCreditAccountData from a dict"""
|
|
97
|
+
if obj is None:
|
|
98
|
+
return None
|
|
99
|
+
|
|
100
|
+
if not isinstance(obj, dict):
|
|
101
|
+
return cls.model_validate(obj)
|
|
102
|
+
|
|
103
|
+
_obj = cls.model_validate({
|
|
104
|
+
"type": obj.get("type"),
|
|
105
|
+
"attributes": FreezeDepositAccountDataAttributes.from_dict(obj["attributes"]) if obj.get("attributes") is not None else None
|
|
106
|
+
})
|
|
107
|
+
# store additional fields in additional_properties
|
|
108
|
+
for _key in obj.keys():
|
|
109
|
+
if _key not in cls.__properties:
|
|
110
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
111
|
+
|
|
112
|
+
return _obj
|
|
113
|
+
|
|
114
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unit_finance_sdk.models.freeze_credit_account_data import FreezeCreditAccountData
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
from pydantic_core import to_jsonable_python
|
|
26
|
+
|
|
27
|
+
class FreezeCreditAccountRequest(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
FreezeCreditAccountRequest
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
data: FreezeCreditAccountData
|
|
32
|
+
additional_properties: Dict[str, Any] = {}
|
|
33
|
+
__properties: ClassVar[List[str]] = ["data"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
validate_by_name=True,
|
|
37
|
+
validate_by_alias=True,
|
|
38
|
+
validate_assignment=True,
|
|
39
|
+
protected_namespaces=(),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def to_str(self) -> str:
|
|
44
|
+
"""Returns the string representation of the model using alias"""
|
|
45
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
46
|
+
|
|
47
|
+
def to_json(self) -> str:
|
|
48
|
+
"""Returns the JSON representation of the model using alias"""
|
|
49
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of FreezeCreditAccountRequest from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
"additional_properties",
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of data
|
|
77
|
+
if self.data:
|
|
78
|
+
_dict['data'] = self.data.to_dict()
|
|
79
|
+
# puts key-value pairs in additional_properties in the top level
|
|
80
|
+
if self.additional_properties is not None:
|
|
81
|
+
for _key, _value in self.additional_properties.items():
|
|
82
|
+
_dict[_key] = _value
|
|
83
|
+
|
|
84
|
+
return _dict
|
|
85
|
+
|
|
86
|
+
@classmethod
|
|
87
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
88
|
+
"""Create an instance of FreezeCreditAccountRequest from a dict"""
|
|
89
|
+
if obj is None:
|
|
90
|
+
return None
|
|
91
|
+
|
|
92
|
+
if not isinstance(obj, dict):
|
|
93
|
+
return cls.model_validate(obj)
|
|
94
|
+
|
|
95
|
+
_obj = cls.model_validate({
|
|
96
|
+
"data": FreezeCreditAccountData.from_dict(obj["data"]) if obj.get("data") is not None else None
|
|
97
|
+
})
|
|
98
|
+
# store additional fields in additional_properties
|
|
99
|
+
for _key in obj.keys():
|
|
100
|
+
if _key not in cls.__properties:
|
|
101
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
102
|
+
|
|
103
|
+
return _obj
|
|
104
|
+
|
|
105
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unit_finance_sdk.models.freeze_deposit_account_data_attributes import FreezeDepositAccountDataAttributes
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
from pydantic_core import to_jsonable_python
|
|
26
|
+
|
|
27
|
+
class FreezeDepositAccountData(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
FreezeDepositAccountData
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
type: StrictStr
|
|
32
|
+
attributes: FreezeDepositAccountDataAttributes
|
|
33
|
+
additional_properties: Dict[str, Any] = {}
|
|
34
|
+
__properties: ClassVar[List[str]] = ["type", "attributes"]
|
|
35
|
+
|
|
36
|
+
@field_validator('type')
|
|
37
|
+
def type_validate_enum(cls, value):
|
|
38
|
+
"""Validates the enum"""
|
|
39
|
+
if value not in set(['accountFreeze']):
|
|
40
|
+
raise ValueError("must be one of enum values ('accountFreeze')")
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
model_config = ConfigDict(
|
|
44
|
+
validate_by_name=True,
|
|
45
|
+
validate_by_alias=True,
|
|
46
|
+
validate_assignment=True,
|
|
47
|
+
protected_namespaces=(),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def to_str(self) -> str:
|
|
52
|
+
"""Returns the string representation of the model using alias"""
|
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
54
|
+
|
|
55
|
+
def to_json(self) -> str:
|
|
56
|
+
"""Returns the JSON representation of the model using alias"""
|
|
57
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of FreezeDepositAccountData from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
74
|
+
"""
|
|
75
|
+
excluded_fields: Set[str] = set([
|
|
76
|
+
"additional_properties",
|
|
77
|
+
])
|
|
78
|
+
|
|
79
|
+
_dict = self.model_dump(
|
|
80
|
+
by_alias=True,
|
|
81
|
+
exclude=excluded_fields,
|
|
82
|
+
exclude_none=True,
|
|
83
|
+
)
|
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of attributes
|
|
85
|
+
if self.attributes:
|
|
86
|
+
_dict['attributes'] = self.attributes.to_dict()
|
|
87
|
+
# puts key-value pairs in additional_properties in the top level
|
|
88
|
+
if self.additional_properties is not None:
|
|
89
|
+
for _key, _value in self.additional_properties.items():
|
|
90
|
+
_dict[_key] = _value
|
|
91
|
+
|
|
92
|
+
return _dict
|
|
93
|
+
|
|
94
|
+
@classmethod
|
|
95
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
96
|
+
"""Create an instance of FreezeDepositAccountData from a dict"""
|
|
97
|
+
if obj is None:
|
|
98
|
+
return None
|
|
99
|
+
|
|
100
|
+
if not isinstance(obj, dict):
|
|
101
|
+
return cls.model_validate(obj)
|
|
102
|
+
|
|
103
|
+
_obj = cls.model_validate({
|
|
104
|
+
"type": obj.get("type"),
|
|
105
|
+
"attributes": FreezeDepositAccountDataAttributes.from_dict(obj["attributes"]) if obj.get("attributes") is not None else None
|
|
106
|
+
})
|
|
107
|
+
# store additional fields in additional_properties
|
|
108
|
+
for _key in obj.keys():
|
|
109
|
+
if _key not in cls.__properties:
|
|
110
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
111
|
+
|
|
112
|
+
return _obj
|
|
113
|
+
|
|
114
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
from pydantic_core import to_jsonable_python
|
|
25
|
+
|
|
26
|
+
class FreezeDepositAccountDataAttributes(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
FreezeDepositAccountDataAttributes
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
reason: StrictStr = Field(description="The reason for freezing the account. Either Fraud or Other, with a specified reasonText.")
|
|
31
|
+
reason_text: Optional[StrictStr] = Field(default=None, description="Optional. The free-text reason for freezing the account (up to 255 characters) when Other is specified.", alias="reasonText")
|
|
32
|
+
additional_properties: Dict[str, Any] = {}
|
|
33
|
+
__properties: ClassVar[List[str]] = ["reason", "reasonText"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
validate_by_name=True,
|
|
37
|
+
validate_by_alias=True,
|
|
38
|
+
validate_assignment=True,
|
|
39
|
+
protected_namespaces=(),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def to_str(self) -> str:
|
|
44
|
+
"""Returns the string representation of the model using alias"""
|
|
45
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
46
|
+
|
|
47
|
+
def to_json(self) -> str:
|
|
48
|
+
"""Returns the JSON representation of the model using alias"""
|
|
49
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of FreezeDepositAccountDataAttributes from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
"additional_properties",
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# puts key-value pairs in additional_properties in the top level
|
|
77
|
+
if self.additional_properties is not None:
|
|
78
|
+
for _key, _value in self.additional_properties.items():
|
|
79
|
+
_dict[_key] = _value
|
|
80
|
+
|
|
81
|
+
return _dict
|
|
82
|
+
|
|
83
|
+
@classmethod
|
|
84
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
85
|
+
"""Create an instance of FreezeDepositAccountDataAttributes from a dict"""
|
|
86
|
+
if obj is None:
|
|
87
|
+
return None
|
|
88
|
+
|
|
89
|
+
if not isinstance(obj, dict):
|
|
90
|
+
return cls.model_validate(obj)
|
|
91
|
+
|
|
92
|
+
_obj = cls.model_validate({
|
|
93
|
+
"reason": obj.get("reason"),
|
|
94
|
+
"reasonText": obj.get("reasonText")
|
|
95
|
+
})
|
|
96
|
+
# store additional fields in additional_properties
|
|
97
|
+
for _key in obj.keys():
|
|
98
|
+
if _key not in cls.__properties:
|
|
99
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
100
|
+
|
|
101
|
+
return _obj
|
|
102
|
+
|
|
103
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unit_finance_sdk.models.freeze_deposit_account_data import FreezeDepositAccountData
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
from pydantic_core import to_jsonable_python
|
|
26
|
+
|
|
27
|
+
class FreezeDepositAccountRequest(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
FreezeDepositAccountRequest
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
data: FreezeDepositAccountData
|
|
32
|
+
additional_properties: Dict[str, Any] = {}
|
|
33
|
+
__properties: ClassVar[List[str]] = ["data"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
validate_by_name=True,
|
|
37
|
+
validate_by_alias=True,
|
|
38
|
+
validate_assignment=True,
|
|
39
|
+
protected_namespaces=(),
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def to_str(self) -> str:
|
|
44
|
+
"""Returns the string representation of the model using alias"""
|
|
45
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
46
|
+
|
|
47
|
+
def to_json(self) -> str:
|
|
48
|
+
"""Returns the JSON representation of the model using alias"""
|
|
49
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of FreezeDepositAccountRequest from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
"additional_properties",
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of data
|
|
77
|
+
if self.data:
|
|
78
|
+
_dict['data'] = self.data.to_dict()
|
|
79
|
+
# puts key-value pairs in additional_properties in the top level
|
|
80
|
+
if self.additional_properties is not None:
|
|
81
|
+
for _key, _value in self.additional_properties.items():
|
|
82
|
+
_dict[_key] = _value
|
|
83
|
+
|
|
84
|
+
return _dict
|
|
85
|
+
|
|
86
|
+
@classmethod
|
|
87
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
88
|
+
"""Create an instance of FreezeDepositAccountRequest from a dict"""
|
|
89
|
+
if obj is None:
|
|
90
|
+
return None
|
|
91
|
+
|
|
92
|
+
if not isinstance(obj, dict):
|
|
93
|
+
return cls.model_validate(obj)
|
|
94
|
+
|
|
95
|
+
_obj = cls.model_validate({
|
|
96
|
+
"data": FreezeDepositAccountData.from_dict(obj["data"]) if obj.get("data") is not None else None
|
|
97
|
+
})
|
|
98
|
+
# store additional fields in additional_properties
|
|
99
|
+
for _key in obj.keys():
|
|
100
|
+
if _key not in cls.__properties:
|
|
101
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
102
|
+
|
|
103
|
+
return _obj
|
|
104
|
+
|
|
105
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unit API
|
|
5
|
+
|
|
6
|
+
JSON:API-compliant banking API.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.9.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unit_finance_sdk.models.freeze_wallet_data_attributes import FreezeWalletDataAttributes
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
from pydantic_core import to_jsonable_python
|
|
26
|
+
|
|
27
|
+
class FreezeWalletData(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
FreezeWalletData
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
type: StrictStr
|
|
32
|
+
attributes: FreezeWalletDataAttributes
|
|
33
|
+
additional_properties: Dict[str, Any] = {}
|
|
34
|
+
__properties: ClassVar[List[str]] = ["type", "attributes"]
|
|
35
|
+
|
|
36
|
+
@field_validator('type')
|
|
37
|
+
def type_validate_enum(cls, value):
|
|
38
|
+
"""Validates the enum"""
|
|
39
|
+
if value not in set(['walletAccountFreeze']):
|
|
40
|
+
raise ValueError("must be one of enum values ('walletAccountFreeze')")
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
model_config = ConfigDict(
|
|
44
|
+
validate_by_name=True,
|
|
45
|
+
validate_by_alias=True,
|
|
46
|
+
validate_assignment=True,
|
|
47
|
+
protected_namespaces=(),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def to_str(self) -> str:
|
|
52
|
+
"""Returns the string representation of the model using alias"""
|
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
54
|
+
|
|
55
|
+
def to_json(self) -> str:
|
|
56
|
+
"""Returns the JSON representation of the model using alias"""
|
|
57
|
+
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of FreezeWalletData from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
* Fields in `self.additional_properties` are added to the output dict.
|
|
74
|
+
"""
|
|
75
|
+
excluded_fields: Set[str] = set([
|
|
76
|
+
"additional_properties",
|
|
77
|
+
])
|
|
78
|
+
|
|
79
|
+
_dict = self.model_dump(
|
|
80
|
+
by_alias=True,
|
|
81
|
+
exclude=excluded_fields,
|
|
82
|
+
exclude_none=True,
|
|
83
|
+
)
|
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of attributes
|
|
85
|
+
if self.attributes:
|
|
86
|
+
_dict['attributes'] = self.attributes.to_dict()
|
|
87
|
+
# puts key-value pairs in additional_properties in the top level
|
|
88
|
+
if self.additional_properties is not None:
|
|
89
|
+
for _key, _value in self.additional_properties.items():
|
|
90
|
+
_dict[_key] = _value
|
|
91
|
+
|
|
92
|
+
return _dict
|
|
93
|
+
|
|
94
|
+
@classmethod
|
|
95
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
96
|
+
"""Create an instance of FreezeWalletData from a dict"""
|
|
97
|
+
if obj is None:
|
|
98
|
+
return None
|
|
99
|
+
|
|
100
|
+
if not isinstance(obj, dict):
|
|
101
|
+
return cls.model_validate(obj)
|
|
102
|
+
|
|
103
|
+
_obj = cls.model_validate({
|
|
104
|
+
"type": obj.get("type"),
|
|
105
|
+
"attributes": FreezeWalletDataAttributes.from_dict(obj["attributes"]) if obj.get("attributes") is not None else None
|
|
106
|
+
})
|
|
107
|
+
# store additional fields in additional_properties
|
|
108
|
+
for _key in obj.keys():
|
|
109
|
+
if _key not in cls.__properties:
|
|
110
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
111
|
+
|
|
112
|
+
return _obj
|
|
113
|
+
|
|
114
|
+
|