# 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.dataset_value import DatasetValue

class TestDatasetValue(unittest.TestCase):
    """DatasetValue unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> DatasetValue:
        """Test DatasetValue
            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 `DatasetValue`
        """
        model = DatasetValue()
        if include_optional:
            return DatasetValue(
                type = 'image',
                asset_id = 'Msd59349ff',
                text = 'It was like this when I got here!',
                chart_data = {"rows":[{"cells":[{"type":"string","value":"Geographic Region"},{"type":"string","value":"Sales (millions AUD)"},{"type":"string","value":"Target (millions AUD)"},{"type":"string","value":"Target met?"},{"type":"string","value":"Date met"}]},{"cells":[{"type":"string","value":"Asia Pacific"},{"type":"number","value":10.2},{"type":"number","value":10},{"type":"boolean","value":true},{"type":"date","value":1721944387}]},{"cells":[{"type":"string","value":"EMEA"},{"type":"number","value":13.8},{"type":"number","value":14},{"type":"boolean","value":false},{"type":"date"}]}]}
            )
        else:
            return DatasetValue(
                type = 'image',
                asset_id = 'Msd59349ff',
                text = 'It was like this when I got here!',
                chart_data = {"rows":[{"cells":[{"type":"string","value":"Geographic Region"},{"type":"string","value":"Sales (millions AUD)"},{"type":"string","value":"Target (millions AUD)"},{"type":"string","value":"Target met?"},{"type":"string","value":"Date met"}]},{"cells":[{"type":"string","value":"Asia Pacific"},{"type":"number","value":10.2},{"type":"number","value":10},{"type":"boolean","value":true},{"type":"date","value":1721944387}]},{"cells":[{"type":"string","value":"EMEA"},{"type":"number","value":13.8},{"type":"number","value":14},{"type":"boolean","value":false},{"type":"date"}]}]},
        )
        """

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

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