# 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_create import BulkUpsertRequestCreate

class TestBulkUpsertRequestCreate(unittest.TestCase):
    """BulkUpsertRequestCreate unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BulkUpsertRequestCreate:
        """Test BulkUpsertRequestCreate
            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 `BulkUpsertRequestCreate`
        """
        model = BulkUpsertRequestCreate()
        if include_optional:
            return BulkUpsertRequestCreate(
                ad_groups = [
                    pinterestsdk.models.ad_group_create_request.AdGroupCreateRequest()
                    ],
                ads = [
                    pinterestsdk.models.ad_create_request.AdCreateRequest()
                    ],
                campaigns = [
                    pinterestsdk.models.campaign_create_request.CampaignCreateRequest()
                    ],
                catalog_product_groups = [
                    null
                    ],
                keywords = [
                    pinterestsdk.models.keywords_request.KeywordsRequest(
                        keywords = [
                            pinterestsdk.models.keywords_common.KeywordsCommon(
                                bid = 56, 
                                match_type = 'BROAD', 
                                value = '', )
                            ], 
                        parent_id = '383791336903426391', )
                    ],
                labels = [
                    pinterestsdk.models.label_create_request.LabelCreateRequest(
                        labels = [
                            pinterestsdk.models.label_create_request_labels_inner.LabelCreateRequest_labels_inner(
                                label_type = 'BRAND', 
                                value = '', )
                            ], 
                        parent_id = '626753052072', )
                    ],
                product_groups = [
                    {"product_group_promotion":[{"slideshow_collections_description":"Description","creative_type":"REGULAR","collections_hero_pin_id":"123123","catalog_product_group_name":"catalogProductGroupName","collections_hero_destination_url":"http://www.pinterest.com","tracking_url":"https://www.pinterest.com","slideshow_collections_title":"Title","is_mdl":true,"status":"ACTIVE"},{"slideshow_collections_description":"Description","creative_type":"REGULAR","collections_hero_pin_id":"123123","catalog_product_group_name":"catalogProductGroupName","collections_hero_destination_url":"http://www.pinterest.com","tracking_url":"https://www.pinterest.com","slideshow_collections_title":"Title","is_mdl":true,"status":"ACTIVE"}],"ad_group_id":"2680059592705"}
                    ]
            )
        else:
            return BulkUpsertRequestCreate(
        )
        """

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

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