# 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_spec import TargetingSpec

class TestTargetingSpec(unittest.TestCase):
    """TargetingSpec unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

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

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

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