# coding: utf-8

"""
    Intervals.icu API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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

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


import unittest

from intervals_icu_client.models.new_custom_item import NewCustomItem

class TestNewCustomItem(unittest.TestCase):
    """NewCustomItem unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> NewCustomItem:
        """Test NewCustomItem
            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 `NewCustomItem`
        """
        model = NewCustomItem()
        if include_optional:
            return NewCustomItem(
                id = 56,
                athlete_id = '',
                type = 'FITNESS_CHART',
                visibility = 'PRIVATE',
                name = '',
                description = '',
                image = '',
                content = {
                    'key' : None
                    },
                usage_count = 56,
                index = 56,
                hide_script = True,
                hidden_by_id = '',
                updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                from_athlete = intervals_icu_client.models.athlete_search_result.AthleteSearchResult(
                    id = '', 
                    name = '', 
                    profile_medium = '', 
                    city = '', 
                    state = '', 
                    country = '', 
                    timezone = '', 
                    sex = '', 
                    bio = '', 
                    website = '', 
                    email = '', ),
                from_id = 56,
                required_items_created = [
                    intervals_icu_client.models.new_custom_item.NewCustomItem(
                        id = 56, 
                        athlete_id = '', 
                        type = 'FITNESS_CHART', 
                        visibility = 'PRIVATE', 
                        name = '', 
                        description = '', 
                        image = '', 
                        content = {
                            'key' : None
                            }, 
                        usage_count = 56, 
                        index = 56, 
                        hide_script = True, 
                        hidden_by_id = '', 
                        updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                        from_athlete = intervals_icu_client.models.athlete_search_result.AthleteSearchResult(
                            id = '', 
                            name = '', 
                            profile_medium = '', 
                            city = '', 
                            state = '', 
                            country = '', 
                            timezone = '', 
                            sex = '', 
                            bio = '', 
                            website = '', 
                            email = '', ), 
                        from_id = 56, 
                        required_items_created = [
                            intervals_icu_client.models.new_custom_item.NewCustomItem(
                                id = 56, 
                                athlete_id = '', 
                                type = 'FITNESS_CHART', 
                                visibility = 'PRIVATE', 
                                name = '', 
                                description = '', 
                                image = '', 
                                usage_count = 56, 
                                index = 56, 
                                hide_script = True, 
                                hidden_by_id = '', 
                                updated = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                                from_id = 56, )
                            ], )
                    ]
            )
        else:
            return NewCustomItem(
        )
        """

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

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