# coding: utf-8

"""
    ibl-data-manager

    API for iblai

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

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


import unittest

from iblai.models.item_paywall_config import ItemPaywallConfig

class TestItemPaywallConfig(unittest.TestCase):
    """ItemPaywallConfig unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ItemPaywallConfig:
        """Test ItemPaywallConfig
            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 `ItemPaywallConfig`
        """
        model = ItemPaywallConfig()
        if include_optional:
            return ItemPaywallConfig(
                item_type = 'mentor',
                item_id = '',
                item_name = '',
                is_enabled = True,
                description = '',
                allow_free_tier = True,
                stripe_product_id = '',
                trial_period_days = 56,
                grandfathering_strategy = 'free_forever',
                paywall_enabled_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                prices = [
                    iblai.models.item_price.ItemPrice(
                        id = '', 
                        name = '', 
                        description = '', 
                        amount = '-80728880', 
                        currency = '', 
                        interval = null, 
                        stripe_price_id = '', 
                        is_active = True, 
                        features = null, 
                        sort_order = 56, 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f')
            )
        else:
            return ItemPaywallConfig(
                item_type = 'mentor',
                item_id = '',
                item_name = '',
                stripe_product_id = '',
                paywall_enabled_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                prices = [
                    iblai.models.item_price.ItemPrice(
                        id = '', 
                        name = '', 
                        description = '', 
                        amount = '-80728880', 
                        currency = '', 
                        interval = null, 
                        stripe_price_id = '', 
                        is_active = True, 
                        features = null, 
                        sort_order = 56, 
                        created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), )
                    ],
                created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
        )
        """

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

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