# 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.audience_insights_response import AudienceInsightsResponse

class TestAudienceInsightsResponse(unittest.TestCase):
    """AudienceInsightsResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> AudienceInsightsResponse:
        """Test AudienceInsightsResponse
            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 `AudienceInsightsResponse`
        """
        model = AudienceInsightsResponse()
        if include_optional:
            return AudienceInsightsResponse(
                categories = [
                    pinterestsdk.models.audience_category.AudienceCategory(
                        id = '1234567', 
                        index = 1.2, 
                        key = '1234567', 
                        name = 'travel', 
                        ratio = 0.551, 
                        subcategories = [
                            pinterestsdk.models.audience_subcategory.AudienceSubcategory(
                                id = '958862518888', 
                                index = 1.2, 
                                key = '958862518888', 
                                name = 'travel destinations', 
                                ratio = 0.482, )
                            ], )
                    ],
                var_date = '2022-10-09',
                demographics = pinterestsdk.models.audience_demographics.AudienceDemographics(
                    ages = [
                        {"name":"United States","key":"us","ratio":0.551}
                        ], 
                    countries = [
                        {"name":"United States","key":"us","ratio":0.551}
                        ], 
                    devices = [
                        {"name":"United States","key":"us","ratio":0.551}
                        ], 
                    genders = [
                        {"name":"United States","key":"us","ratio":0.551}
                        ], 
                    metros = [
                        {"name":"United States","key":"us","ratio":0.551}
                        ], ),
                size = 10000,
                size_is_upper_bound = True,
                type = 'YOUR_TOTAL_AUDIENCE'
            )
        else:
            return AudienceInsightsResponse(
        )
        """

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

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