# coding: utf-8

"""
    QuantDB API

    Financial data API service using core business logic

    The version of the OpenAPI document: 
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from jinyanniu_databases_quantdb_client.models.asset import Asset

class TestAsset(unittest.TestCase):
    """Asset unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> Asset:
        """Test Asset
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `Asset`
        """
        model = Asset()
        if include_optional:
            return Asset(
                symbol = '',
                name = '',
                asset_type = '',
                exchange = '',
                currency = '',
                industry = '',
                concept = '',
                listing_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                total_shares = 56,
                circulating_shares = 56,
                market_cap = 56,
                pe_ratio = 1.337,
                pb_ratio = 1.337,
                roe = 1.337,
                last_updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                data_source = '',
                asset_id = 56,
                isin = ''
            )
        else:
            return Asset(
                symbol = '',
                name = '',
                asset_type = '',
                exchange = '',
                currency = '',
                asset_id = 56,
                isin = '',
        )
        """

    def testAsset(self):
        """Test Asset"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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