# 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_alpha_ti.models.get_design_import_job_response import GetDesignImportJobResponse

class TestGetDesignImportJobResponse(unittest.TestCase):
    """GetDesignImportJobResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetDesignImportJobResponse:
        """Test GetDesignImportJobResponse
            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 `GetDesignImportJobResponse`
        """
        model = GetDesignImportJobResponse()
        if include_optional:
            return GetDesignImportJobResponse(
                job = canva_alpha_ti.models.design_import_job.DesignImportJob(
                    id = 'e08861ae-3b29-45db-8dc1-1fe0bf7f1cc8', 
                    status = 'success', 
                    result = canva_alpha_ti.models.design_import_job_result.DesignImportJobResult(
                        designs = [
                            canva_alpha_ti.models.design_summary.DesignSummary(
                                id = 'DAFVztcvd9z', 
                                title = 'My summer holiday', 
                                url = 'https://www.canva.com/design/DAFVztcvd9z/edit', 
                                thumbnail = canva_alpha_ti.models.thumbnail.Thumbnail(
                                    width = 595, 
                                    height = 335, 
                                    url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), 
                                urls = canva_alpha_ti.models.design_links.DesignLinks(
                                    edit_url = 'https://www.canva.com/api/design/{token}/edit', 
                                    view_url = 'https://www.canva.com/api/design/{token}/view', ), 
                                created_at = 1377396000, 
                                updated_at = 1692928800, 
                                page_count = 3, )
                            ], ), 
                    error = canva_alpha_ti.models.design_import_error.DesignImportError(
                        code = 'design_creation_throttled', 
                        message = 'We're sorry, but the file upload quota has exceeded. Please try again later.', ), )
            )
        else:
            return GetDesignImportJobResponse(
                job = canva_alpha_ti.models.design_import_job.DesignImportJob(
                    id = 'e08861ae-3b29-45db-8dc1-1fe0bf7f1cc8', 
                    status = 'success', 
                    result = canva_alpha_ti.models.design_import_job_result.DesignImportJobResult(
                        designs = [
                            canva_alpha_ti.models.design_summary.DesignSummary(
                                id = 'DAFVztcvd9z', 
                                title = 'My summer holiday', 
                                url = 'https://www.canva.com/design/DAFVztcvd9z/edit', 
                                thumbnail = canva_alpha_ti.models.thumbnail.Thumbnail(
                                    width = 595, 
                                    height = 335, 
                                    url = 'https://document-export.canva.com/Vczz9/zF9vzVtdADc/2/thumbnail/0001.png?<query-string>', ), 
                                urls = canva_alpha_ti.models.design_links.DesignLinks(
                                    edit_url = 'https://www.canva.com/api/design/{token}/edit', 
                                    view_url = 'https://www.canva.com/api/design/{token}/view', ), 
                                created_at = 1377396000, 
                                updated_at = 1692928800, 
                                page_count = 3, )
                            ], ), 
                    error = canva_alpha_ti.models.design_import_error.DesignImportError(
                        code = 'design_creation_throttled', 
                        message = 'We're sorry, but the file upload quota has exceeded. Please try again later.', ), ),
        )
        """

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

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