# coding: utf-8

"""
    Vayu API

    The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities.           The API is secured using the Bearer Authentication scheme with JWT tokens.           To obtain a JWT token, please contact Vayu at team@withvayu.com

    The version of the OpenAPI document: 1.0.0
    Contact: dev@withvayu.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from openapi.models.product_group_products_inner_pricing_one_of3 import ProductGroupProductsInnerPricingOneOf3

class TestProductGroupProductsInnerPricingOneOf3(unittest.TestCase):
    """ProductGroupProductsInnerPricingOneOf3 unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ProductGroupProductsInnerPricingOneOf3:
        """Test ProductGroupProductsInnerPricingOneOf3
            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 `ProductGroupProductsInnerPricingOneOf3`
        """
        model = ProductGroupProductsInnerPricingOneOf3()
        if include_optional:
            return ProductGroupProductsInnerPricingOneOf3(
                type = 'TIERED',
                tiers = [
                    openapi.models.product_group_products_inner_pricing_one_of_3_tiers_inner.ProductGroup_products_inner_pricing_oneOf_3_tiers_inner(
                        from_inclusive = 0, 
                        to_exclusive = 0, 
                        rate = 0, 
                        flat_fee = 0, 
                        package_size = 0, )
                    ],
                subscription_cadence = openapi.models.product_group_products_inner_pricing_one_of_3_subscription_cadence.ProductGroup_products_inner_pricing_oneOf_3_subscriptionCadence(
                    unit = 'MONTH', 
                    value = 0, ),
                auto_upgrade = True,
                prorate = True,
                is_rev_share = True,
                base_amount = 0,
                usage_reset = 56
            )
        else:
            return ProductGroupProductsInnerPricingOneOf3(
                type = 'TIERED',
                tiers = [
                    openapi.models.product_group_products_inner_pricing_one_of_3_tiers_inner.ProductGroup_products_inner_pricing_oneOf_3_tiers_inner(
                        from_inclusive = 0, 
                        to_exclusive = 0, 
                        rate = 0, 
                        flat_fee = 0, 
                        package_size = 0, )
                    ],
        )
        """

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

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