# 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.catalogs_product import CatalogsProduct

class TestCatalogsProduct(unittest.TestCase):
    """CatalogsProduct unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CatalogsProduct:
        """Test CatalogsProduct
            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 `CatalogsProduct`
        """
        model = CatalogsProduct()
        if include_optional:
            return CatalogsProduct(
                catalog_type = 'RETAIL',
                metadata = pinterestsdk.models.catalogs_creative_assets_product_metadata.CatalogsCreativeAssetsProductMetadata(
                    creative_assets_id = '123abc', 
                    visibility = 'VISIBLE', ),
                pin = pinterestsdk.models.pin.Pin(
                    alt_text = '', 
                    board_id = '4', 
                    board_owner = null, 
                    board_section_id = '4', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    creative_type = null, 
                    description = '', 
                    dominant_color = '', 
                    has_been_promoted = True, 
                    id = '4', 
                    is_owner = True, 
                    is_standard = True, 
                    link = '', 
                    media = null, 
                    parent_pin_id = '4', 
                    pin_metrics = {"90d":{"pin_click":7,"impression":2,"clickthrough":3},"lifetime_metrics":{"pin_click":7,"impression":2,"clickthrough":3,"reaction":10,"comment":2}}, 
                    title = '', )
            )
        else:
            return CatalogsProduct(
                catalog_type = 'RETAIL',
                metadata = pinterestsdk.models.catalogs_creative_assets_product_metadata.CatalogsCreativeAssetsProductMetadata(
                    creative_assets_id = '123abc', 
                    visibility = 'VISIBLE', ),
                pin = pinterestsdk.models.pin.Pin(
                    alt_text = '', 
                    board_id = '4', 
                    board_owner = null, 
                    board_section_id = '4', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    creative_type = null, 
                    description = '', 
                    dominant_color = '', 
                    has_been_promoted = True, 
                    id = '4', 
                    is_owner = True, 
                    is_standard = True, 
                    link = '', 
                    media = null, 
                    parent_pin_id = '4', 
                    pin_metrics = {"90d":{"pin_click":7,"impression":2,"clickthrough":3},"lifetime_metrics":{"pin_click":7,"impression":2,"clickthrough":3,"reaction":10,"comment":2}}, 
                    title = '', ),
        )
        """

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

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