# 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_update_request import ProductGroupPromotionUpdateRequest

class TestProductGroupPromotionUpdateRequest(unittest.TestCase):
    """ProductGroupPromotionUpdateRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ProductGroupPromotionUpdateRequest:
        """Test ProductGroupPromotionUpdateRequest
            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 `ProductGroupPromotionUpdateRequest`
        """
        model = ProductGroupPromotionUpdateRequest()
        if include_optional:
            return ProductGroupPromotionUpdateRequest(
                ad_group_id = '2680059592705',
                product_group_promotion = [
                    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', )
                    ]
            )
        else:
            return ProductGroupPromotionUpdateRequest(
                ad_group_id = '2680059592705',
                product_group_promotion = [
                    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', )
                    ],
        )
        """

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

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