# coding: utf-8

"""
    Canva Connect API

    API for building integrations with Canva via a REST api

    The version of the OpenAPI document: latest
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from canva_ti.models.get_design_pages_response import GetDesignPagesResponse

class TestGetDesignPagesResponse(unittest.TestCase):
    """GetDesignPagesResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetDesignPagesResponse:
        """Test GetDesignPagesResponse
            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 `GetDesignPagesResponse`
        """
        model = GetDesignPagesResponse()
        if include_optional:
            return GetDesignPagesResponse(
                items = [
                    canva_ti.models.design_page.DesignPage(
                        index = 1, 
                        thumbnail = canva_ti.models.thumbnail.Thumbnail(
                            width = 595, 
                            height = 335, 
                            url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), )
                    ]
            )
        else:
            return GetDesignPagesResponse(
                items = [
                    canva_ti.models.design_page.DesignPage(
                        index = 1, 
                        thumbnail = canva_ti.models.thumbnail.Thumbnail(
                            width = 595, 
                            height = 335, 
                            url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), )
                    ],
        )
        """

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

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