# 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.single_wrapper_page_league_match_response import SingleWrapperPageLeagueMatchResponse

class TestSingleWrapperPageLeagueMatchResponse(unittest.TestCase):
    """SingleWrapperPageLeagueMatchResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SingleWrapperPageLeagueMatchResponse:
        """Test SingleWrapperPageLeagueMatchResponse
            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 `SingleWrapperPageLeagueMatchResponse`
        """
        model = SingleWrapperPageLeagueMatchResponse()
        if include_optional:
            return SingleWrapperPageLeagueMatchResponse(
                status = 'SUCCESS',
                message = 'Show this message to user.',
                result = dupr_backend.models.page_league_match_response.PageLeagueMatchResponse(
                    offset = 90, 
                    limit = 10, 
                    total = 100, 
                    hits = [
                        dupr_backend.models.league_match_response.LeagueMatchResponse(
                            league_match_id = 4684651981, 
                            match_id = 4684651981, 
                            registration_id = 4684651981, 
                            league_id = 4684651981, 
                            bracket_id = 4684651981, 
                            user_id = 4684651981, 
                            league_name = 'Dreamland Pickleball', 
                            bracket_name = 'Dreamland Pickleball bracket', 
                            event_format = 'SINGLES', 
                            score_format = dupr_backend.models.score_format_response.ScoreFormatResponse(
                                id = 56, 
                                format = 'Best 2 out of 3 Games to 11', 
                                variant = 'Game 3 to 15 or until win by 2', 
                                games = 1, 
                                winning_score = 11, 
                                priority = 1, ), 
                            match_date = 'yyyy-MM-dd', 
                            confirmed = True, 
                            teams = [
                                dupr_backend.models.team_response.TeamResponse(
                                    id = 56, 
                                    serial = 1, 
                                    player1 = dupr_backend.models.team_player_response.TeamPlayerResponse(
                                        id = 26518181881, 
                                        full_name = 'Brian Lara', 
                                        dupr_id = 'https://dupr-dev.s3.amazonaws.com/profile/image.png', 
                                        image_url = '', 
                                        allow_substitution = True, 
                                        post_match_rating = dupr_backend.models.post_match_rating.PostMatchRating(
                                            singles = 1.337, 
                                            doubles = 1.337, ), 
                                        validated_match = True, ), 
                                    player2 = dupr_backend.models.team_player_response.TeamPlayerResponse(
                                        id = 26518181881, 
                                        full_name = 'Brian Lara', 
                                        dupr_id = 'https://dupr-dev.s3.amazonaws.com/profile/image.png', 
                                        image_url = '', 
                                        allow_substitution = True, 
                                        validated_match = True, ), 
                                    game1 = 11, 
                                    game2 = -1, 
                                    game3 = -1, 
                                    game4 = -1, 
                                    game5 = -1, 
                                    winner = True, 
                                    delta = '-0.682', 
                                    team_rating = '4.659', 
                                    pre_match_rating_and_impact = 3.5, )
                                ], 
                            status = 'ACTIVE', 
                            match_score_added = True, 
                            league_match_status = 'ACTIVE', 
                            round = 1/2/3, 
                            start_date = ''yyyy-mm-dd', 
                            end_date = 'yyyy-mm-dd', 
                            venue = 'Dreamland Pickleball', 
                            location = 'Newport Beach, CA', 
                            is_forfeited = True, 
                            tag = 'EAST', 
                            in_queue = True, 
                            no_of_games = 3, 
                            tbd_1 = 4684651981, 
                            tbd_2 = 4684651981, 
                            match_slot = 1, 
                            is_bye_match = True, 
                            is_team_1_tbd = True, 
                            is_team_2_tbd = True, 
                            display_identity = 'IS20MDL2', 
                            is_next_round_confirmed = True, 
                            impacted_draw = True, 
                            forfeited = True, 
                            bye_match = True, 
                            next_round_confirmed = True, )
                        ], 
                    total_value_relation = 'GREATER_THAN_OR_EQUAL_TO', 
                    empty = False, 
                    has_previous = True, 
                    has_more = False, )
            )
        else:
            return SingleWrapperPageLeagueMatchResponse(
        )
        """

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

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