# 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.match_request import MatchRequest

class TestMatchRequest(unittest.TestCase):
    """MatchRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> MatchRequest:
        """Test MatchRequest
            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 `MatchRequest`
        """
        model = MatchRequest()
        if include_optional:
            return MatchRequest(
                venue = 'Dreamland Pickleball',
                location = 'Newport Beach, CA',
                tournament = 'Newport Beach Doubles Shootout',
                league = 'Example League',
                event_date = 'yyyy-MM-dd',
                team1 = dupr_backend.models.team.Team(
                    player1 = 4564651818, 
                    player2 = 9884984848, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                team2 = dupr_backend.models.team.Team(
                    player1 = 4564651818, 
                    player2 = 9884984848, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                score_format_id = 56168168161,
                format = 'SINGLES',
                event = 'event name',
                match_type = 'SIDE_ONLY/RALLY',
                club_id = 41224223332,
                notify = True,
                scores = [
                    dupr_backend.models.pair_integer_integer.PairIntegerInteger(
                        first = 56, 
                        second = 56, )
                    ]
            )
        else:
            return MatchRequest(
                event_date = 'yyyy-MM-dd',
                team1 = dupr_backend.models.team.Team(
                    player1 = 4564651818, 
                    player2 = 9884984848, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                team2 = dupr_backend.models.team.Team(
                    player1 = 4564651818, 
                    player2 = 9884984848, 
                    game1 = 7, 
                    game2 = 11, 
                    game3 = 0, 
                    game4 = 0, 
                    game5 = 0, 
                    winner = True, ),
                format = 'SINGLES',
                notify = True,
                scores = [
                    dupr_backend.models.pair_integer_integer.PairIntegerInteger(
                        first = 56, 
                        second = 56, )
                    ],
        )
        """

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

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