# coding: utf-8

"""
    TrueLayer Resource API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: v1.0
    Contact: rienafairefr@gmail.com
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import truelayer
from truelayer.models.api_response_account import APIResponseAccount  # noqa: E501
from truelayer.rest import ApiException

class TestAPIResponseAccount(unittest.TestCase):
    """APIResponseAccount unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test APIResponseAccount
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = truelayer.models.api_response_account.APIResponseAccount()  # noqa: E501
        if include_optional :
            return APIResponseAccount(
                results = [
                    truelayer.models.account.Account(
                        account_id = '0', 
                        account_number = truelayer.models.account_number.AccountNumber(
                            iban = '0', 
                            number = '0', 
                            sort_code = '0', 
                            swift_bic = '0', ), 
                        account_type = '0', 
                        currency = '0', 
                        description = '0', 
                        display_name = '0', 
                        provider = truelayer.models.provider_info.ProviderInfo(
                            display_name = '0', 
                            logo_uri = '0', 
                            provider_id = '0', ), 
                        update_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ], 
                results_uri = '0', 
                status = 'Queued', 
                task_id = '0'
            )
        else :
            return APIResponseAccount(
        )

    def testAPIResponseAccount(self):
        """Test APIResponseAccount"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
