示例#1
0
    def __init__(self, team=None, player=None, stars=None, weight=None, multiplier=None, mvp=None, power=None, local_vars_configuration=None):  # noqa: E501
        """TerritoryTurnPlayers - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._team = None
        self._player = None
        self._stars = None
        self._weight = None
        self._multiplier = None
        self._mvp = None
        self._power = None
        self.discriminator = None

        if team is not None:
            self.team = team
        if player is not None:
            self.player = player
        if stars is not None:
            self.stars = stars
        if weight is not None:
            self.weight = weight
        if multiplier is not None:
            self.multiplier = multiplier
        if mvp is not None:
            self.mvp = mvp
        if power is not None:
            self.power = power
示例#2
0
    def __init__(self, territory=None, owner=None, players=None, star_breakdown=None, team_power=None, territory_power=None, chance=None, local_vars_configuration=None):  # noqa: E501
        """TeamOdds - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._territory = None
        self._owner = None
        self._players = None
        self._star_breakdown = None
        self._team_power = None
        self._territory_power = None
        self._chance = None
        self.discriminator = None

        if territory is not None:
            self.territory = territory
        if owner is not None:
            self.owner = owner
        if players is not None:
            self.players = players
        if star_breakdown is not None:
            self.star_breakdown = star_breakdown
        if team_power is not None:
            self.team_power = team_power
        if territory_power is not None:
            self.territory_power = territory_power
        if chance is not None:
            self.chance = chance
示例#3
0
    def __init__(self,
                 overall=None,
                 total_turns=None,
                 game_turns=None,
                 mvps=None,
                 streak=None,
                 awards=None,
                 local_vars_configuration=None):  # noqa: E501
        """PlayerRatings - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._overall = None
        self._total_turns = None
        self._game_turns = None
        self._mvps = None
        self._streak = None
        self._awards = None
        self.discriminator = None

        if overall is not None:
            self.overall = overall
        if total_turns is not None:
            self.total_turns = total_turns
        if game_turns is not None:
            self.game_turns = game_turns
        if mvps is not None:
            self.mvps = mvps
        if streak is not None:
            self.streak = streak
        if awards is not None:
            self.awards = awards
示例#4
0
    def __init__(self,
                 id=None,
                 name=None,
                 short_name=None,
                 owner=None,
                 neighbors=None,
                 local_vars_configuration=None):  # noqa: E501
        """Territory - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._short_name = None
        self._owner = None
        self._neighbors = 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 owner is not None:
            self.owner = owner
        if neighbors is not None:
            self.neighbors = neighbors
    def __init__(self,
                 team=None,
                 player=None,
                 turns_played=None,
                 mvps=None,
                 last_turn=None,
                 local_vars_configuration=None):  # noqa: E501
        """TeamPlayer - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._team = None
        self._player = None
        self._turns_played = None
        self._mvps = None
        self._last_turn = None
        self.discriminator = None

        if team is not None:
            self.team = team
        if player is not None:
            self.player = player
        if turns_played is not None:
            self.turns_played = turns_played
        if mvps is not None:
            self.mvps = mvps
        if last_turn is not None:
            self.last_turn = last_turn
    def __init__(self,
                 id=None,
                 name=None,
                 logo=None,
                 colors=None,
                 local_vars_configuration=None):  # noqa: E501
        """Team - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._logo = None
        self._colors = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if logo is not None:
            self.logo = logo
        if colors is not None:
            self.colors = colors
示例#7
0
    def __init__(self,
                 name=None,
                 team=None,
                 ratings=None,
                 stats=None,
                 turns=None,
                 local_vars_configuration=None):  # noqa: E501
        """Player - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._name = None
        self._team = None
        self._ratings = None
        self._stats = None
        self._turns = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if team is not None:
            self.team = team
        if ratings is not None:
            self.ratings = ratings
        if stats is not None:
            self.stats = stats
        if turns is not None:
            self.turns = turns
示例#8
0
    def __init__(self,
                 ones=None,
                 twos=None,
                 threes=None,
                 fours=None,
                 fives=None,
                 local_vars_configuration=None):  # noqa: E501
        """TeamHistoryStarBreakdown - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._ones = None
        self._twos = None
        self._threes = None
        self._fours = None
        self._fives = None
        self.discriminator = None

        if ones is not None:
            self.ones = ones
        if twos is not None:
            self.twos = twos
        if threes is not None:
            self.threes = threes
        if fours is not None:
            self.fours = fours
        if fives is not None:
            self.fives = fives
    def __init__(self,
                 team=None,
                 players=None,
                 mercs=None,
                 stars=None,
                 territories=None,
                 local_vars_configuration=None):  # noqa: E501
        """TeamStrength - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._team = None
        self._players = None
        self._mercs = None
        self._stars = None
        self._territories = None
        self.discriminator = None

        if team is not None:
            self.team = team
        if players is not None:
            self.players = players
        if mercs is not None:
            self.mercs = mercs
        if stars is not None:
            self.stars = stars
        if territories is not None:
            self.territories = territories
    def __init__(self,
                 occupier=None,
                 winner=None,
                 teams=None,
                 players=None,
                 local_vars_configuration=None):  # noqa: E501
        """TerritoryTurn - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._occupier = None
        self._winner = None
        self._teams = None
        self._players = None
        self.discriminator = None

        if occupier is not None:
            self.occupier = occupier
        if winner is not None:
            self.winner = winner
        if teams is not None:
            self.teams = teams
        if players is not None:
            self.players = players
    def __init__(self,
                 season=None,
                 day=None,
                 territory=None,
                 owner=None,
                 local_vars_configuration=None):  # noqa: E501
        """TerritoryHistory - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._season = None
        self._day = None
        self._territory = None
        self._owner = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if day is not None:
            self.day = day
        if territory is not None:
            self.territory = territory
        if owner is not None:
            self.owner = owner
示例#12
0
    def __init__(self,
                 id=None,
                 season=None,
                 day=None,
                 complete=None,
                 active=None,
                 local_vars_configuration=None):  # noqa: E501
        """Turn - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._season = None
        self._day = None
        self._complete = None
        self._active = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if season is not None:
            self.season = season
        if day is not None:
            self.day = day
        if complete is not None:
            self.complete = complete
        if active is not None:
            self.active = active
示例#13
0
    def __init__(self,
                 season=None,
                 day=None,
                 stars=None,
                 mvp=None,
                 territory=None,
                 team=None,
                 local_vars_configuration=None):  # noqa: E501
        """PlayerTurns - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._season = None
        self._day = None
        self._stars = None
        self._mvp = None
        self._territory = None
        self._team = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if day is not None:
            self.day = day
        if stars is not None:
            self.stars = stars
        if mvp is not None:
            self.mvp = mvp
        if territory is not None:
            self.territory = territory
        if team is not None:
            self.team = team
    def __init__(self,
                 primary=None,
                 secondary=None,
                 local_vars_configuration=None):  # noqa: E501
        """PlayerTeamColors - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._primary = None
        self._secondary = None
        self.discriminator = None

        if primary is not None:
            self.primary = primary
        if secondary is not None:
            self.secondary = secondary
示例#15
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration
        self.pool_threads = pool_threads

        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 = 'OpenAPI-Generator/1.2.1/python'
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 sequence=None,
                 season=None,
                 day=None,
                 players=None,
                 territories=None,
                 star_power=None,
                 effective_power=None,
                 star_breakdown=None,
                 local_vars_configuration=None):  # noqa: E501
        """TeamHistory - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._sequence = None
        self._season = None
        self._day = None
        self._players = None
        self._territories = None
        self._star_power = None
        self._effective_power = None
        self._star_breakdown = None
        self.discriminator = None

        if sequence is not None:
            self.sequence = sequence
        if season is not None:
            self.season = season
        if day is not None:
            self.day = day
        if players is not None:
            self.players = players
        if territories is not None:
            self.territories = territories
        if star_power is not None:
            self.star_power = star_power
        if effective_power is not None:
            self.effective_power = effective_power
        if star_breakdown is not None:
            self.star_breakdown = star_breakdown
    def __init__(self,
                 season=None,
                 day=None,
                 stars=None,
                 local_vars_configuration=None):  # noqa: E501
        """TeamPlayerLastTurn - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._season = None
        self._day = None
        self._stars = None
        self.discriminator = None

        if season is not None:
            self.season = season
        if day is not None:
            self.day = day
        if stars is not None:
            self.stars = stars
    def __init__(self,
                 team=None,
                 color=None,
                 secondary_color=None,
                 players=None,
                 power=None,
                 chance=None,
                 breakdown=None,
                 local_vars_configuration=None):  # noqa: E501
        """TerritoryTurnTeams - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._team = None
        self._color = None
        self._secondary_color = None
        self._players = None
        self._power = None
        self._chance = None
        self._breakdown = None
        self.discriminator = None

        if team is not None:
            self.team = team
        if color is not None:
            self.color = color
        if secondary_color is not None:
            self.secondary_color = secondary_color
        if players is not None:
            self.players = players
        if power is not None:
            self.power = power
        if chance is not None:
            self.chance = chance
        if breakdown is not None:
            self.breakdown = breakdown
    def __init__(self,
                 rank=None,
                 name=None,
                 logo=None,
                 territory_count=None,
                 player_count=None,
                 merc_count=None,
                 star_power=None,
                 local_vars_configuration=None):  # noqa: E501
        """LeaderboardTeam - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._rank = None
        self._name = None
        self._logo = None
        self._territory_count = None
        self._player_count = None
        self._merc_count = None
        self._star_power = None
        self.discriminator = None

        if rank is not None:
            self.rank = rank
        if name is not None:
            self.name = name
        if logo is not None:
            self.logo = logo
        if territory_count is not None:
            self.territory_count = territory_count
        if player_count is not None:
            self.player_count = player_count
        if merc_count is not None:
            self.merc_count = merc_count
        if star_power is not None:
            self.star_power = star_power