# 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.bulk_upsert_request_update import BulkUpsertRequestUpdate

class TestBulkUpsertRequestUpdate(unittest.TestCase):
    """BulkUpsertRequestUpdate unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BulkUpsertRequestUpdate:
        """Test BulkUpsertRequestUpdate
            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 `BulkUpsertRequestUpdate`
        """
        model = BulkUpsertRequestUpdate()
        if include_optional:
            return BulkUpsertRequestUpdate(
                ad_groups = [
                    pinterestsdk.models.ad_group_update_request.AdGroupUpdateRequest()
                    ],
                ads = [
                    pinterestsdk.models.ad_update_request.AdUpdateRequest()
                    ],
                campaigns = [
                    pinterestsdk.models.campaign_update_request.CampaignUpdateRequest()
                    ],
                catalog_product_groups = [
                    null
                    ],
                keywords = [
                    pinterestsdk.models.keyword_update.KeywordUpdate(
                        archived = False, 
                        bid = 56, 
                        id = '2886364308355', )
                    ],
                labels = [
                    pinterestsdk.models.label_bulk_update_request.LabelBulkUpdateRequest(
                        id = '1106385754497', 
                        status = 'ARCHIVED', 
                        value = '', )
                    ],
                product_groups = [
                    {"product_group_promotion":[{"catalog_product_group_id":"1234123","slideshow_collections_description":"Description","creative_type":"REGULAR","collections_hero_pin_id":"123123","catalog_product_group_name":"ProductGroupName","collections_hero_destination_url":"http://www.pinterest.com","tracking_url":"https://www.pinterest.com","slideshow_collections_title":"Title","status":"ACTIVE","id":"2680059592705"},{"catalog_product_group_id":"1231231","slideshow_collections_description":"Other description","creative_type":"REGULAR","collections_hero_pin_id":"123124","catalog_product_group_name":"ProductGroupName","collections_hero_destination_url":"http://www.pinterest.com","tracking_url":"https://www.pinterest.com","slideshow_collections_title":"Title","status":"ACTIVE","id":"2680059592706"}],"ad_group_id":"26823439592705"}
                    ]
            )
        else:
            return BulkUpsertRequestUpdate(
        )
        """

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

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