# 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_media_source import PinMediaSource

class TestPinMediaSource(unittest.TestCase):
    """PinMediaSource unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PinMediaSource:
        """Test PinMediaSource
            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 `PinMediaSource`
        """
        model = PinMediaSource()
        if include_optional:
            return PinMediaSource(
                content_type = 'image/jpeg',
                data = '2',
                is_standard = True,
                source_type = 'pin_url',
                url = '',
                cover_image_content_type = 'image/jpeg',
                cover_image_data = '',
                cover_image_key_frame_time = 0,
                cover_image_url = '',
                media_id = '4',
                index = 0,
                items = [
                    pinterestsdk.models.pin_media_source_images_url_item.PinMediaSourceImagesURLItem(
                        description = '', 
                        link = '', 
                        title = '', 
                        url = '', )
                    ],
                is_affiliate_link = True
            )
        else:
            return PinMediaSource(
                content_type = 'image/jpeg',
                data = '2',
                source_type = 'pin_url',
                url = '',
                media_id = '4',
                items = [
                    pinterestsdk.models.pin_media_source_images_url_item.PinMediaSourceImagesURLItem(
                        description = '', 
                        link = '', 
                        title = '', 
                        url = '', )
                    ],
        )
        """

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

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