# 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_update_request import MatchUpdateRequest

class TestMatchUpdateRequest(unittest.TestCase):
    """MatchUpdateRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> MatchUpdateRequest:
        """Test MatchUpdateRequest
            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 `MatchUpdateRequest`
        """
        model = MatchUpdateRequest()
        if include_optional:
            return MatchUpdateRequest(
                match_source = 'DUPR/MANUAL/LEAGUE',
                match_id = 7737603024,
                requested_by = 'KO8731',
                reason = 'requested by player',
                league_id = 7396161624,
                bracket_id = 6806605627,
                league_match_id = 2090230022,
                venue = 'Dreamland Pickleball',
                location = 'Newport Beach, CA',
                league = 'Example League',
                event_date = 'yyyy-MM-dd',
                confirmed = True,
                teams = [
                    dupr_backend.models.team_update_request.TeamUpdateRequest(
                        id = 56, 
                        player1 = 56, 
                        player2 = 56, 
                        game1 = 11, 
                        game2 = -1, 
                        game3 = -1, 
                        game4 = -1, 
                        game5 = -1, 
                        winner = True, 
                        player_ids = [
                            56
                            ], )
                    ],
                created = '2020-03-04T17:21:16.000Z',
                event_name = 'event name',
                player_ids = [
                    56
                    ]
            )
        else:
            return MatchUpdateRequest(
                match_source = 'DUPR/MANUAL/LEAGUE',
                match_id = 7737603024,
                requested_by = 'KO8731',
                reason = 'requested by player',
                teams = [
                    dupr_backend.models.team_update_request.TeamUpdateRequest(
                        id = 56, 
                        player1 = 56, 
                        player2 = 56, 
                        game1 = 11, 
                        game2 = -1, 
                        game3 = -1, 
                        game4 = -1, 
                        game5 = -1, 
                        winner = True, 
                        player_ids = [
                            56
                            ], )
                    ],
                player_ids = [
                    56
                    ],
        )
        """

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

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