# 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.team_response import TeamResponse

class TestTeamResponse(unittest.TestCase):
    """TeamResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> TeamResponse:
        """Test TeamResponse
            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 `TeamResponse`
        """
        model = TeamResponse()
        if include_optional:
            return 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, 
                    post_match_rating = dupr_backend.models.post_match_rating.PostMatchRating(
                        singles = 1.337, 
                        doubles = 1.337, ), 
                    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
            )
        else:
            return TeamResponse(
                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, ),
                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,
        )
        """

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

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