# 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_asset_response import GetAssetResponse

class TestGetAssetResponse(unittest.TestCase):
    """GetAssetResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> GetAssetResponse:
        """Test GetAssetResponse
            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 `GetAssetResponse`
        """
        model = GetAssetResponse()
        if include_optional:
            return GetAssetResponse(
                asset = canva_alpha_ti.models.asset.Asset(
                    type = 'image', 
                    id = 'Msd59349ff', 
                    name = 'My Awesome Upload', 
                    tags = ["image","holiday","best day ever"], 
                    import_status = canva_alpha_ti.models.import_status.ImportStatus(
                        state = 'success', 
                        error = canva_alpha_ti.models.import_error.ImportError(
                            code = 'file_too_big', 
                            message = '', ), ), 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    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>', ), )
            )
        else:
            return GetAssetResponse(
                asset = canva_alpha_ti.models.asset.Asset(
                    type = 'image', 
                    id = 'Msd59349ff', 
                    name = 'My Awesome Upload', 
                    tags = ["image","holiday","best day ever"], 
                    import_status = canva_alpha_ti.models.import_status.ImportStatus(
                        state = 'success', 
                        error = canva_alpha_ti.models.import_error.ImportError(
                            code = 'file_too_big', 
                            message = '', ), ), 
                    created_at = 1377396000, 
                    updated_at = 1692928800, 
                    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>', ), ),
        )
        """

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

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