# coding: utf-8

"""
    DUPR Backend APIs

    Internal RESTful APIs to access DUPR ratings, users and provide matches.

    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 dupr_backend.models.open_play_event import OpenPlayEvent

class TestOpenPlayEvent(unittest.TestCase):
    """OpenPlayEvent unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> OpenPlayEvent:
        """Test OpenPlayEvent
            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 `OpenPlayEvent`
        """
        model = OpenPlayEvent()
        if include_optional:
            return OpenPlayEvent(
                id = 56,
                name = '',
                var_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                time = dupr_backend.models.time_range.TimeRange(
                    start = '14:30:00', 
                    end = '14:30:00', ),
                location = '',
                max_players = 56,
                rating = dupr_backend.models.rating_range.RatingRange(
                    min = 1.337, 
                    max = 1.337, ),
                description = '',
                registered_players = 56,
                creator = dupr_backend.models.creator.Creator(
                    id = 56, 
                    name = '', 
                    email = '', )
            )
        else:
            return OpenPlayEvent(
                id = 56,
                var_date = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(),
                time = dupr_backend.models.time_range.TimeRange(
                    start = '14:30:00', 
                    end = '14:30:00', ),
                max_players = 56,
                creator = dupr_backend.models.creator.Creator(
                    id = 56, 
                    name = '', 
                    email = '', ),
        )
        """

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

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