# 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.targeting_template_create import TargetingTemplateCreate

class TestTargetingTemplateCreate(unittest.TestCase):
    """TargetingTemplateCreate unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> TargetingTemplateCreate:
        """Test TargetingTemplateCreate
            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 `TargetingTemplateCreate`
        """
        model = TargetingTemplateCreate()
        if include_optional:
            return TargetingTemplateCreate(
                auto_targeting_enabled = True,
                keywords = [{value=cats, match_type=EXACT_NEGATIVE}],
                name = 'Gaming',
                placement_group = 'ALL',
                targeting_attributes = pinterestsdk.models.targeting_spec.TargetingSpec(
                    age_bucket = ["35-44","50-54"], 
                    apptype = ["ipad","iphone"], 
                    audience_exclude = [
                        '4'
                        ], 
                    audience_include = [
                        '4'
                        ], 
                    gender = [
                        'unknown'
                        ], 
                    geo = [
                        ''
                        ], 
                    interest = [
                        ''
                        ], 
                    locale = [
                        ''
                        ], 
                    location = [
                        ''
                        ], 
                    maximum_age = '65+', 
                    minimum_age = '18', 
                    shopping_retargeting = [
                        {"lookback_window":30,"exclusion_window":14,"tag_types":[0,6]}
                        ], 
                    targeting_strategy = [
                        'CHOOSE_YOUR_OWN'
                        ], ),
                tracking_urls = {"impression":["URL1","URL2"],"click":["URL1","URL2"],"engagement":["URL1","URL2"],"buyable_button":["URL1","URL2"],"audience_verification":["URL1","URL2"]}
            )
        else:
            return TargetingTemplateCreate(
                name = 'Gaming',
                targeting_attributes = pinterestsdk.models.targeting_spec.TargetingSpec(
                    age_bucket = ["35-44","50-54"], 
                    apptype = ["ipad","iphone"], 
                    audience_exclude = [
                        '4'
                        ], 
                    audience_include = [
                        '4'
                        ], 
                    gender = [
                        'unknown'
                        ], 
                    geo = [
                        ''
                        ], 
                    interest = [
                        ''
                        ], 
                    locale = [
                        ''
                        ], 
                    location = [
                        ''
                        ], 
                    maximum_age = '65+', 
                    minimum_age = '18', 
                    shopping_retargeting = [
                        {"lookback_window":30,"exclusion_window":14,"tag_types":[0,6]}
                        ], 
                    targeting_strategy = [
                        'CHOOSE_YOUR_OWN'
                        ], ),
        )
        """

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

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