Ejemplo n.º 1
0
    def __init__(self,
                 id=None,
                 name=None,
                 short_name=None,
                 abbreviation=None,
                 _configuration=None):  # noqa: E501
        """Conference - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._name = None
        self._short_name = None
        self._abbreviation = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if short_name is not None:
            self.short_name = short_name
        if abbreviation is not None:
            self.abbreviation = abbreviation
Ejemplo n.º 2
0
    def __init__(self, season=None, week=None, name=None, position=None, team=None, opponent=None, average_ppa=None, _configuration=None):  # noqa: E501
        """PlayerGamePPA - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._week = None
        self._name = None
        self._position = None
        self._team = None
        self._opponent = None
        self._average_ppa = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if week is not None:
            self.week = week
        if name is not None:
            self.name = name
        if position is not None:
            self.position = position
        if team is not None:
            self.team = team
        if opponent is not None:
            self.opponent = opponent
        if average_ppa is not None:
            self.average_ppa = average_ppa
Ejemplo n.º 3
0
    def __init__(self,
                 season=None,
                 week=None,
                 season_type=None,
                 first_game_start=None,
                 last_game_start=None,
                 _configuration=None):  # noqa: E501
        """Week - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._week = None
        self._season_type = None
        self._first_game_start = None
        self._last_game_start = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if week is not None:
            self.week = week
        if season_type is not None:
            self.season_type = season_type
        if first_game_start is not None:
            self.first_game_start = first_game_start
        if last_game_start is not None:
            self.last_game_start = last_game_start
Ejemplo n.º 4
0
    def __init__(self,
                 year=None,
                 team=None,
                 conference=None,
                 division=None,
                 rating=None,
                 ranking=None,
                 _configuration=None):  # noqa: E501
        """TeamSRSRating - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._year = None
        self._team = None
        self._conference = None
        self._division = None
        self._rating = None
        self._ranking = None
        self.discriminator = None

        if year is not None:
            self.year = year
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if division is not None:
            self.division = division
        if rating is not None:
            self.rating = rating
        if ranking is not None:
            self.ranking = ranking
Ejemplo n.º 5
0
    def __init__(self,
                 year=None,
                 rank=None,
                 team=None,
                 points=None,
                 _configuration=None):  # noqa: E501
        """TeamRecruitingRank - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._year = None
        self._rank = None
        self._team = None
        self._points = None
        self.discriminator = None

        if year is not None:
            self.year = year
        if rank is not None:
            self.rank = rank
        if team is not None:
            self.team = team
        if points is not None:
            self.points = points
Ejemplo n.º 6
0
    def __init__(self,
                 location=None,
                 nickname=None,
                 display_name=None,
                 logo=None,
                 _configuration=None):  # noqa: E501
        """DraftTeam - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._location = None
        self._nickname = None
        self._display_name = None
        self._logo = None
        self.discriminator = None

        if location is not None:
            self.location = location
        if nickname is not None:
            self.nickname = nickname
        if display_name is not None:
            self.display_name = display_name
        if logo is not None:
            self.logo = logo
Ejemplo n.º 7
0
    def __init__(self, year=None, team=None, conference=None, division=None, total=None, conference_games=None, home_games=None, away_games=None, _configuration=None):  # noqa: E501
        """TeamRecord - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._year = None
        self._team = None
        self._conference = None
        self._division = None
        self._total = None
        self._conference_games = None
        self._home_games = None
        self._away_games = None
        self.discriminator = None

        if year is not None:
            self.year = year
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if division is not None:
            self.division = division
        if total is not None:
            self.total = total
        if conference_games is not None:
            self.conference_games = conference_games
        if home_games is not None:
            self.home_games = home_games
        if away_games is not None:
            self.away_games = away_games
Ejemplo n.º 8
0
    def __init__(self,
                 season=None,
                 team=None,
                 conference=None,
                 offense=None,
                 defense=None,
                 _configuration=None):  # noqa: E501
        """TeamPPA - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._team = None
        self._conference = None
        self._offense = None
        self._defense = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if offense is not None:
            self.offense = offense
        if defense is not None:
            self.defense = defense
Ejemplo n.º 9
0
    def __init__(self,
                 id=None,
                 team=None,
                 name=None,
                 first_name=None,
                 last_name=None,
                 weight=None,
                 height=None,
                 jersey=None,
                 position=None,
                 hometown=None,
                 team_color=None,
                 team_color_secondary=None,
                 _configuration=None):  # noqa: E501
        """PlayerSearchResult - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._team = None
        self._name = None
        self._first_name = None
        self._last_name = None
        self._weight = None
        self._height = None
        self._jersey = None
        self._position = None
        self._hometown = None
        self._team_color = None
        self._team_color_secondary = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if team is not None:
            self.team = team
        if name is not None:
            self.name = name
        if first_name is not None:
            self.first_name = first_name
        if last_name is not None:
            self.last_name = last_name
        if weight is not None:
            self.weight = weight
        if height is not None:
            self.height = height
        if jersey is not None:
            self.jersey = jersey
        if position is not None:
            self.position = position
        if hometown is not None:
            self.hometown = hometown
        if team_color is not None:
            self.team_color = team_color
        if team_color_secondary is not None:
            self.team_color_secondary = team_color_secondary
Ejemplo n.º 10
0
    def __init__(self,
                 id=None,
                 season=None,
                 week=None,
                 season_type=None,
                 home_team=None,
                 home_conference=None,
                 home_score=None,
                 away_team=None,
                 away_conference=None,
                 away_score=None,
                 lines=None,
                 _configuration=None):  # noqa: E501
        """GameLines - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._season = None
        self._week = None
        self._season_type = None
        self._home_team = None
        self._home_conference = None
        self._home_score = None
        self._away_team = None
        self._away_conference = None
        self._away_score = None
        self._lines = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if season is not None:
            self.season = season
        if week is not None:
            self.week = week
        if season_type is not None:
            self.season_type = season_type
        if home_team is not None:
            self.home_team = home_team
        if home_conference is not None:
            self.home_conference = home_conference
        if home_score is not None:
            self.home_score = home_score
        if away_team is not None:
            self.away_team = away_team
        if away_conference is not None:
            self.away_conference = away_conference
        if away_score is not None:
            self.away_score = away_score
        if lines is not None:
            self.lines = lines
Ejemplo n.º 11
0
    def __init__(self, id=None, name=None, _configuration=None):  # noqa: E501
        """PlayStatType - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._name = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
Ejemplo n.º 12
0
    def __init__(self, id=None, teams=None, _configuration=None):  # noqa: E501
        """PlayerGame - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._teams = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if teams is not None:
            self.teams = teams
Ejemplo n.º 13
0
    def __init__(self,
                 year=None,
                 team=None,
                 conference=None,
                 rating=None,
                 ranking=None,
                 second_order_wins=None,
                 sos=None,
                 offense=None,
                 defense=None,
                 special_teams=None,
                 _configuration=None):  # noqa: E501
        """TeamSPRating - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._year = None
        self._team = None
        self._conference = None
        self._rating = None
        self._ranking = None
        self._second_order_wins = None
        self._sos = None
        self._offense = None
        self._defense = None
        self._special_teams = None
        self.discriminator = None

        if year is not None:
            self.year = year
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if rating is not None:
            self.rating = rating
        if ranking is not None:
            self.ranking = ranking
        if second_order_wins is not None:
            self.second_order_wins = second_order_wins
        if sos is not None:
            self.sos = sos
        if offense is not None:
            self.offense = offense
        if defense is not None:
            self.defense = defense
        if special_teams is not None:
            self.special_teams = special_teams
Ejemplo n.º 14
0
    def __init__(self, id=None, school=None, mascot=None, abbreviation=None, alt_name_1=None, alt_name_2=None, alt_name_3=None, conference=None, division=None, color=None, alt_color=None, logos=None, location=None, _configuration=None):  # noqa: E501
        """Team - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._school = None
        self._mascot = None
        self._abbreviation = None
        self._alt_name_1 = None
        self._alt_name_2 = None
        self._alt_name_3 = None
        self._conference = None
        self._division = None
        self._color = None
        self._alt_color = None
        self._logos = None
        self._location = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if school is not None:
            self.school = school
        if mascot is not None:
            self.mascot = mascot
        if abbreviation is not None:
            self.abbreviation = abbreviation
        if alt_name_1 is not None:
            self.alt_name_1 = alt_name_1
        if alt_name_2 is not None:
            self.alt_name_2 = alt_name_2
        if alt_name_3 is not None:
            self.alt_name_3 = alt_name_3
        if conference is not None:
            self.conference = conference
        if division is not None:
            self.division = division
        if color is not None:
            self.color = color
        if alt_color is not None:
            self.alt_color = alt_color
        if logos is not None:
            self.logos = logos
        if location is not None:
            self.location = location
Ejemplo n.º 15
0
    def __init__(self,
                 name=None,
                 abbreviation=None,
                 _configuration=None):  # noqa: E501
        """DraftPosition - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._name = None
        self._abbreviation = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if abbreviation is not None:
            self.abbreviation = abbreviation
Ejemplo n.º 16
0
    def __init__(self, first_name=None, last_name=None, seasons=None, _configuration=None):  # noqa: E501
        """Coach - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._first_name = None
        self._last_name = None
        self._seasons = None
        self.discriminator = None

        if first_name is not None:
            self.first_name = first_name
        if last_name is not None:
            self.last_name = last_name
        if seasons is not None:
            self.seasons = seasons
Ejemplo n.º 17
0
    def __init__(self,
                 teams=None,
                 players=None,
                 _configuration=None):  # noqa: E501
        """BoxScore - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._teams = None
        self._players = None
        self.discriminator = None

        if teams is not None:
            self.teams = teams
        if players is not None:
            self.players = players
Ejemplo n.º 18
0
    def __init__(self,
                 yard_line=None,
                 predicted_points=None,
                 _configuration=None):  # noqa: E501
        """PredictedPoints - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._yard_line = None
        self._predicted_points = None
        self.discriminator = None

        if yard_line is not None:
            self.yard_line = yard_line
        if predicted_points is not None:
            self.predicted_points = predicted_points
Ejemplo n.º 19
0
    def __init__(self, id=None, season=None, week=None, season_type=None, start_time=None, is_start_time_tbd=None, home_team=None, home_conference=None, away_team=None, away_conference=None, media_type=None, outlet=None, _configuration=None):  # noqa: E501
        """GameMedia - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._season = None
        self._week = None
        self._season_type = None
        self._start_time = None
        self._is_start_time_tbd = None
        self._home_team = None
        self._home_conference = None
        self._away_team = None
        self._away_conference = None
        self._media_type = None
        self._outlet = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if season is not None:
            self.season = season
        if week is not None:
            self.week = week
        if season_type is not None:
            self.season_type = season_type
        if start_time is not None:
            self.start_time = start_time
        if is_start_time_tbd is not None:
            self.is_start_time_tbd = is_start_time_tbd
        if home_team is not None:
            self.home_team = home_team
        if home_conference is not None:
            self.home_conference = home_conference
        if away_team is not None:
            self.away_team = away_team
        if away_conference is not None:
            self.away_conference = away_conference
        if media_type is not None:
            self.media_type = media_type
        if outlet is not None:
            self.outlet = outlet
Ejemplo n.º 20
0
    def __init__(self, school=None, year=None, games=None, wins=None, losses=None, ties=None, preseason_rank=None, postseason_rank=None, srs=None, sp_overall=None, sp_offense=None, sp_defense=None, _configuration=None):  # noqa: E501
        """TeamSeason - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._school = None
        self._year = None
        self._games = None
        self._wins = None
        self._losses = None
        self._ties = None
        self._preseason_rank = None
        self._postseason_rank = None
        self._srs = None
        self._sp_overall = None
        self._sp_offense = None
        self._sp_defense = None
        self.discriminator = None

        if school is not None:
            self.school = school
        if year is not None:
            self.year = year
        if games is not None:
            self.games = games
        if wins is not None:
            self.wins = wins
        if losses is not None:
            self.losses = losses
        if ties is not None:
            self.ties = ties
        if preseason_rank is not None:
            self.preseason_rank = preseason_rank
        if postseason_rank is not None:
            self.postseason_rank = postseason_rank
        if srs is not None:
            self.srs = srs
        if sp_overall is not None:
            self.sp_overall = sp_overall
        if sp_offense is not None:
            self.sp_offense = sp_offense
        if sp_defense is not None:
            self.sp_defense = sp_defense
Ejemplo n.º 21
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration

        # Use the pool property to lazily initialize the ThreadPool.
        self._pool = None
        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'Swagger-Codegen/3.3.3/python'
        self.client_side_validation = configuration.client_side_validation
Ejemplo n.º 22
0
    def __init__(self, season=None, season_type=None, week=None, polls=None, _configuration=None):  # noqa: E501
        """RankingWeek - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._season_type = None
        self._week = None
        self._polls = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if season_type is not None:
            self.season_type = season_type
        if week is not None:
            self.week = week
        if polls is not None:
            self.polls = polls
Ejemplo n.º 23
0
    def __init__(self,
                 team1=None,
                 team2=None,
                 start_year=None,
                 end_year=None,
                 team1_wins=None,
                 team2_wins=None,
                 ties=None,
                 games=None,
                 _configuration=None):  # noqa: E501
        """TeamMatchup - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._team1 = None
        self._team2 = None
        self._start_year = None
        self._end_year = None
        self._team1_wins = None
        self._team2_wins = None
        self._ties = None
        self._games = None
        self.discriminator = None

        if team1 is not None:
            self.team1 = team1
        if team2 is not None:
            self.team2 = team2
        if start_year is not None:
            self.start_year = start_year
        if end_year is not None:
            self.end_year = end_year
        if team1_wins is not None:
            self.team1_wins = team1_wins
        if team2_wins is not None:
            self.team2_wins = team2_wins
        if ties is not None:
            self.ties = ties
        if games is not None:
            self.games = games
Ejemplo n.º 24
0
    def __init__(self,
                 id=None,
                 season=None,
                 week=None,
                 team=None,
                 conference=None,
                 opponnent=None,
                 offense=None,
                 defense=None,
                 _configuration=None):  # noqa: E501
        """GamePPA - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._season = None
        self._week = None
        self._team = None
        self._conference = None
        self._opponnent = None
        self._offense = None
        self._defense = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if season is not None:
            self.season = season
        if week is not None:
            self.week = week
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if opponnent is not None:
            self.opponnent = opponnent
        if offense is not None:
            self.offense = offense
        if defense is not None:
            self.defense = defense
Ejemplo n.º 25
0
    def __init__(self,
                 season=None,
                 season_type=None,
                 week=None,
                 game_id=None,
                 home_team=None,
                 away_team=None,
                 spread=None,
                 home_win_prob=None,
                 _configuration=None):  # noqa: E501
        """PregameWP - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._season_type = None
        self._week = None
        self._game_id = None
        self._home_team = None
        self._away_team = None
        self._spread = None
        self._home_win_prob = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if season_type is not None:
            self.season_type = season_type
        if week is not None:
            self.week = week
        if game_id is not None:
            self.game_id = game_id
        if home_team is not None:
            self.home_team = home_team
        if away_team is not None:
            self.away_team = away_team
        if spread is not None:
            self.spread = spread
        if home_win_prob is not None:
            self.home_win_prob = home_win_prob
Ejemplo n.º 26
0
    def __init__(self,
                 season=None,
                 id=None,
                 name=None,
                 position=None,
                 team=None,
                 conference=None,
                 average_ppa=None,
                 total_ppa=None,
                 _configuration=None):  # noqa: E501
        """PlayerSeasonPPA - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._id = None
        self._name = None
        self._position = None
        self._team = None
        self._conference = None
        self._average_ppa = None
        self._total_ppa = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if position is not None:
            self.position = position
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if average_ppa is not None:
            self.average_ppa = average_ppa
        if total_ppa is not None:
            self.total_ppa = total_ppa
Ejemplo n.º 27
0
    def __init__(self,
                 season=None,
                 player_id=None,
                 player=None,
                 team=None,
                 conference=None,
                 category=None,
                 stat_type=None,
                 stat=None,
                 _configuration=None):  # noqa: E501
        """PlayerSeasonStat - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._player_id = None
        self._player = None
        self._team = None
        self._conference = None
        self._category = None
        self._stat_type = None
        self._stat = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if player_id is not None:
            self.player_id = player_id
        if player is not None:
            self.player = player
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if category is not None:
            self.category = category
        if stat_type is not None:
            self.stat_type = stat_type
        if stat is not None:
            self.stat = stat
Ejemplo n.º 28
0
    def __init__(self,
                 year=None,
                 school=None,
                 talent=None,
                 _configuration=None):  # noqa: E501
        """TeamTalent - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._year = None
        self._school = None
        self._talent = None
        self.discriminator = None

        if year is not None:
            self.year = year
        if school is not None:
            self.school = school
        if talent is not None:
            self.talent = talent
Ejemplo n.º 29
0
    def __init__(self,
                 id=None,
                 text=None,
                 abbreviation=None,
                 _configuration=None):  # noqa: E501
        """PlayType - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._id = None
        self._text = None
        self._abbreviation = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if text is not None:
            self.text = text
        if abbreviation is not None:
            self.abbreviation = abbreviation
Ejemplo n.º 30
0
    def __init__(self, season=None, team=None, conference=None, stat_name=None, stat_value=None, _configuration=None):  # noqa: E501
        """TeamSeasonStat - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._season = None
        self._team = None
        self._conference = None
        self._stat_name = None
        self._stat_value = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if team is not None:
            self.team = team
        if conference is not None:
            self.conference = conference
        if stat_name is not None:
            self.stat_name = stat_name
        if stat_value is not None:
            self.stat_value = stat_value