# 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.pin import Pin

class TestPin(unittest.TestCase):
    """Pin unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> Pin:
        """Test Pin
            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 `Pin`
        """
        model = Pin()
        if include_optional:
            return Pin(
                alt_text = '',
                board_id = '4',
                board_owner = pinterestsdk.models.board_owner_containing_the_username/.Board owner containing the username.(
                    username = '', ),
                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 = 'REGULAR',
                description = '',
                dominant_color = '',
                has_been_promoted = True,
                id = '4',
                is_owner = True,
                is_standard = True,
                link = '',
                media = pinterestsdk.models.pin_media_response_object/.Pin media response object.(),
                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 Pin(
                id = '4',
        )
        """

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

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