# 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_create_request import AudienceCreateRequest

class TestAudienceCreateRequest(unittest.TestCase):
    """AudienceCreateRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> AudienceCreateRequest:
        """Test AudienceCreateRequest
            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 `AudienceCreateRequest`
        """
        model = AudienceCreateRequest()
        if include_optional:
            return AudienceCreateRequest(
                ad_account_id = '549755885175',
                name = 'string',
                rule = pinterestsdk.models.rule.Rule(
                    ad_account_id = '549755885175', 
                    ad_id = ["687201361754"], 
                    campaign_id = ["626744528398"], 
                    country = 'US', 
                    customer_list_id = '5497558859876', 
                    engagement_domain = ["www.somedomain.com"], 
                    engagement_type = 'click', 
                    engager_type = 1, 
                    event = 'checkout', 
                    event_data = pinterestsdk.models.event_data.EventData(
                        currency = null, 
                        lead_type = 'Newsletter', 
                        line_items = null, 
                        order_id = 'X-151481', 
                        order_quantity = 1, 
                        page_name = 'Our Favorite Pins on Pinterest', 
                        promo_code = 'WINTER10', 
                        property = 'Athleta', 
                        search_query = 'boots', 
                        value = '199.98', 
                        video_title = 'How to style your Parker Boots', ), 
                    event_source = {"=":["web","mobile"]}, 
                    ingestion_source = {"=":["tag"]}, 
                    objective_type = ["AWARENESS"], 
                    percentage = 3, 
                    pin_id = ["34567"], 
                    prefill = True, 
                    retention_days = 30, 
                    seed_id = ["2542620639259","2542620639261"], 
                    url = [
                        ''
                        ], 
                    visitor_source_id = '549755885175', ),
                audience_type = 'ACTALIKE',
                description = 'string'
            )
        else:
            return AudienceCreateRequest(
                name = 'string',
                rule = pinterestsdk.models.rule.Rule(
                    ad_account_id = '549755885175', 
                    ad_id = ["687201361754"], 
                    campaign_id = ["626744528398"], 
                    country = 'US', 
                    customer_list_id = '5497558859876', 
                    engagement_domain = ["www.somedomain.com"], 
                    engagement_type = 'click', 
                    engager_type = 1, 
                    event = 'checkout', 
                    event_data = pinterestsdk.models.event_data.EventData(
                        currency = null, 
                        lead_type = 'Newsletter', 
                        line_items = null, 
                        order_id = 'X-151481', 
                        order_quantity = 1, 
                        page_name = 'Our Favorite Pins on Pinterest', 
                        promo_code = 'WINTER10', 
                        property = 'Athleta', 
                        search_query = 'boots', 
                        value = '199.98', 
                        video_title = 'How to style your Parker Boots', ), 
                    event_source = {"=":["web","mobile"]}, 
                    ingestion_source = {"=":["tag"]}, 
                    objective_type = ["AWARENESS"], 
                    percentage = 3, 
                    pin_id = ["34567"], 
                    prefill = True, 
                    retention_days = 30, 
                    seed_id = ["2542620639259","2542620639261"], 
                    url = [
                        ''
                        ], 
                    visitor_source_id = '549755885175', ),
                audience_type = 'ACTALIKE',
        )
        """

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

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