# 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.bracket_request import BracketRequest

class TestBracketRequest(unittest.TestCase):
    """BracketRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> BracketRequest:
        """Test BracketRequest
            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 `BracketRequest`
        """
        model = BracketRequest()
        if include_optional:
            return BracketRequest(
                custom_code = 'BRACKET123',
                duration = ['yyyy-mm-dd','yyyy-mm-dd'],
                format = 'SINGLES/DOUBLES',
                elimination = 'SINGLE/DOUBLE/DOUBLE_PREVENTED/ROUND_ROBIN',
                player_group = 'MEN/WOMEN/MIXED/COED',
                rating_bracket = [3.1, 4.5],
                age_bracket = [27, 35],
                description = dupr_backend.models.league_content_request.LeagueContentRequest(
                    header = '<h1>header</h1>', 
                    header_type = 'text/html', 
                    content = '<h1>content</h1>', 
                    content_type = 'text/html', 
                    footer = '<h1>footer</h1>', 
                    footer_type = 'text/html', 
                    content_id = 45785789, ),
                match_bonus_points = 8,
                registration_date = ['yyyy-mm-dd','yyyy-mm-dd'],
                score_format = 1,
                member_fee = 500,
                non_member_fee = 500,
                max_team = 500,
                wait_list = 500,
                league_id = 4684651981,
                bracket_id = 45785789,
                name = 'Stillwater Pickleball',
                courts = 5,
                registration_date_time = ['yyyy-mm-ddTHH:mm:ss','yyyy-mm-ddTHH:mm:ss'],
                duration_date_time = ['yyyy-mm-ddTHH:mm:ss','yyyy-mm-ddTHH:mm:ss'],
                time_zone = 'IST',
                zone_name = 'IST'
            )
        else:
            return BracketRequest(
                duration = ['yyyy-mm-dd','yyyy-mm-dd'],
                format = 'SINGLES/DOUBLES',
                elimination = 'SINGLE/DOUBLE/DOUBLE_PREVENTED/ROUND_ROBIN',
                player_group = 'MEN/WOMEN/MIXED/COED',
                score_format = 1,
                wait_list = 500,
                bracket_id = 45785789,
        )
        """

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

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