# coding: utf-8

"""
    Platform API

    _OpenAPI specification for the **Platform API** of **Empire**, the allocation and nomination platform of BritNed_  ---  Additional documentation available in the API's [GitHub repository](https://github.com/britned/empire-platform-api) 

    The version of the OpenAPI document: 6.0.5
    Contact: britned.info@britned.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from empire_platform_api_public_client.models.buy_now_offer import BuyNowOffer

class TestBuyNowOffer(unittest.TestCase):
    """BuyNowOffer unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BuyNowOffer:
        """Test BuyNowOffer
            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 `BuyNowOffer`
        """
        model = BuyNowOffer()
        if include_optional:
            return BuyNowOffer(
                mtu_size = 'MTU_15_MINS',
                next_price_change_at = '2022-01-04T00:00:00.000Z',
                mtus = [
                    empire_platform_api_public_client.models.buy_now_offer_mtus.BuyNowOffer_mtus(
                        mtu = '2022-01-04T10:00:00.000Z', 
                        validity_period = empire_platform_api_public_client.models.date_time_period.DateTimePeriod(
                            start = '2022-01-04T00:00:00.000Z', 
                            end = '2022-01-04T00:00:00.000Z', ), 
                        locked = True, 
                        current_price = 1.337, 
                        next_price = 1.337, 
                        oc = 56, 
                        status = 'NOT_YET_AVAILABLE', 
                        allocated_ac = 56, 
                        participant_count = 0, 
                        total_price = 1.337, 
                        expired_oc = 56, )
                    ]
            )
        else:
            return BuyNowOffer(
                mtu_size = 'MTU_15_MINS',
                mtus = [
                    empire_platform_api_public_client.models.buy_now_offer_mtus.BuyNowOffer_mtus(
                        mtu = '2022-01-04T10:00:00.000Z', 
                        validity_period = empire_platform_api_public_client.models.date_time_period.DateTimePeriod(
                            start = '2022-01-04T00:00:00.000Z', 
                            end = '2022-01-04T00:00:00.000Z', ), 
                        locked = True, 
                        current_price = 1.337, 
                        next_price = 1.337, 
                        oc = 56, 
                        status = 'NOT_YET_AVAILABLE', 
                        allocated_ac = 56, 
                        participant_count = 0, 
                        total_price = 1.337, 
                        expired_oc = 56, )
                    ],
        )
        """

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

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