# coding: utf-8

"""
    Pinterest REST API

    Pinterest's REST API

    The version of the OpenAPI document: 5.23.0
    Contact: blah+oapicf@cliffano.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from pinterestsdk.models.product_group_promotion_response_item import ProductGroupPromotionResponseItem

class TestProductGroupPromotionResponseItem(unittest.TestCase):
    """ProductGroupPromotionResponseItem unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ProductGroupPromotionResponseItem:
        """Test ProductGroupPromotionResponseItem
            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 `ProductGroupPromotionResponseItem`
        """
        model = ProductGroupPromotionResponseItem()
        if include_optional:
            return ProductGroupPromotionResponseItem(
                data = pinterestsdk.models.product_group_promotion.ProductGroupPromotion(
                    ad_group_id = '2680059592705', 
                    bid_in_micro_currency = 14000000, 
                    catalog_product_group_id = '1231235', 
                    catalog_product_group_name = 'catalogProductGroupName', 
                    collections_header_type = 'SHOP_THIS_COLLECTION', 
                    collections_hero_destination_url = 'http://www.pinterest.com', 
                    collections_hero_pin_id = '123123', 
                    creative_type = 'REGULAR', 
                    customizable_cta_type = 'SHOP_NOW', 
                    definition = '*/product_type_0='kitchen'/product_type_1='beverage appliances'', 
                    grid_click_type = 'CLOSEUP', 
                    id = '2680059592705', 
                    included = True, 
                    is_generate_background = True, 
                    is_mdl = True, 
                    parent_id = '1231234', 
                    preferred_media_type = 'VIDEO', 
                    relative_definition = 'product_type_1='beverage appliances'', 
                    selected_image_tag = 'holiday_sale', 
                    selected_video_tag = 'holiday_sale', 
                    slideshow_collections_description = 'slideshow description', 
                    slideshow_collections_title = 'slideshow title', 
                    status = 'ACTIVE', 
                    tracking_url = 'https://www.pinterest.com', ),
                exceptions = [
                    pinterestsdk.models.generic_exception_class_to_be_used_within_schemas.Generic exception class to be used within schemas(
                        code = 2, 
                        message = 'Advertiser not found.', )
                    ]
            )
        else:
            return ProductGroupPromotionResponseItem(
        )
        """

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

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