All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2LiveLeagueGame Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
/*
 * Copyright (c) 2022 Asynchronous Game Query Library
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.ibasco.agql.protocols.valve.dota2.webapi.pojos;

import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.List;

/**
 * 

Dota2LiveLeagueGame class.

* * @author Rafael Luis Ibasco */ public class Dota2LiveLeagueGame { private List players = new ArrayList<>(); @SerializedName("radiant_team") private Dota2LiveLeagueTeamInfo radiantTeam = new Dota2LiveLeagueTeamInfo(); @SerializedName("dire_team") private Dota2LiveLeagueTeamInfo direTeam = new Dota2LiveLeagueTeamInfo(); @SerializedName("lobby_id") private long lobbyId; @SerializedName("match_id") private long matchId; @SerializedName("spectators") private int numOfSpectators; @SerializedName("series_id") private int seriesId; @SerializedName("game_number") private int gameNumber; @SerializedName("league_id") private int leagueId; @SerializedName("stream_delay_s") private int streamDelay; @SerializedName("radiant_series_wins") private int radiantSeriesWins; @SerializedName("dire_series_wins") private int direSeriesWins; @SerializedName("series_type") private int seriesType; @SerializedName("league_series_id") private int leagueSeriesId; @SerializedName("league_game_id") private int leagueGameId; @SerializedName("stage_name") private String stageName; @SerializedName("league_tier") private int leagueTier; @SerializedName("scoreboard") private Dota2ScoreboardStats scoreboard = new Dota2ScoreboardStats(); /** *

Getter for the field scoreboard.

* * @return a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2ScoreboardStats} object */ public Dota2ScoreboardStats getScoreboard() { return scoreboard; } /** *

Setter for the field scoreboard.

* * @param scoreboard * a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2ScoreboardStats} object */ public void setScoreboard(Dota2ScoreboardStats scoreboard) { this.scoreboard = scoreboard; } /** *

Getter for the field players.

* * @return a {@link java.util.List} object */ public List getPlayers() { return players; } /** *

Setter for the field players.

* * @param players * a {@link java.util.List} object */ public void setPlayers(List players) { this.players = players; } /** *

Getter for the field radiantTeam.

* * @return a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2LiveLeagueTeamInfo} object */ public Dota2LiveLeagueTeamInfo getRadiantTeam() { return radiantTeam; } /** *

Setter for the field radiantTeam.

* * @param radiantTeam * a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2LiveLeagueTeamInfo} object */ public void setRadiantTeam(Dota2LiveLeagueTeamInfo radiantTeam) { this.radiantTeam = radiantTeam; } /** *

Getter for the field direTeam.

* * @return a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2LiveLeagueTeamInfo} object */ public Dota2LiveLeagueTeamInfo getDireTeam() { return direTeam; } /** *

Setter for the field direTeam.

* * @param direTeam * a {@link com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2LiveLeagueTeamInfo} object */ public void setDireTeam(Dota2LiveLeagueTeamInfo direTeam) { this.direTeam = direTeam; } /** *

Getter for the field lobbyId.

* * @return a long */ public long getLobbyId() { return lobbyId; } /** *

Setter for the field lobbyId.

* * @param lobbyId * a long */ public void setLobbyId(long lobbyId) { this.lobbyId = lobbyId; } /** *

Getter for the field matchId.

* * @return a long */ public long getMatchId() { return matchId; } /** *

Setter for the field matchId.

* * @param matchId * a long */ public void setMatchId(long matchId) { this.matchId = matchId; } /** *

Getter for the field numOfSpectators.

* * @return a int */ public int getNumOfSpectators() { return numOfSpectators; } /** *

Setter for the field numOfSpectators.

* * @param numOfSpectators * a int */ public void setNumOfSpectators(int numOfSpectators) { this.numOfSpectators = numOfSpectators; } /** *

Getter for the field seriesId.

* * @return a int */ public int getSeriesId() { return seriesId; } /** *

Setter for the field seriesId.

* * @param seriesId * a int */ public void setSeriesId(int seriesId) { this.seriesId = seriesId; } /** *

Getter for the field gameNumber.

* * @return a int */ public int getGameNumber() { return gameNumber; } /** *

Setter for the field gameNumber.

* * @param gameNumber * a int */ public void setGameNumber(int gameNumber) { this.gameNumber = gameNumber; } /** *

Getter for the field leagueId.

* * @return a int */ public int getLeagueId() { return leagueId; } /** *

Setter for the field leagueId.

* * @param leagueId * a int */ public void setLeagueId(int leagueId) { this.leagueId = leagueId; } /** *

Getter for the field streamDelay.

* * @return a int */ public int getStreamDelay() { return streamDelay; } /** *

Setter for the field streamDelay.

* * @param streamDelay * a int */ public void setStreamDelay(int streamDelay) { this.streamDelay = streamDelay; } /** *

Getter for the field radiantSeriesWins.

* * @return a int */ public int getRadiantSeriesWins() { return radiantSeriesWins; } /** *

Setter for the field radiantSeriesWins.

* * @param radiantSeriesWins * a int */ public void setRadiantSeriesWins(int radiantSeriesWins) { this.radiantSeriesWins = radiantSeriesWins; } /** *

Getter for the field direSeriesWins.

* * @return a int */ public int getDireSeriesWins() { return direSeriesWins; } /** *

Setter for the field direSeriesWins.

* * @param direSeriesWins * a int */ public void setDireSeriesWins(int direSeriesWins) { this.direSeriesWins = direSeriesWins; } /** *

Getter for the field seriesType.

* * @return a int */ public int getSeriesType() { return seriesType; } /** *

Setter for the field seriesType.

* * @param seriesType * a int */ public void setSeriesType(int seriesType) { this.seriesType = seriesType; } /** *

Getter for the field leagueSeriesId.

* * @return a int */ public int getLeagueSeriesId() { return leagueSeriesId; } /** *

Setter for the field leagueSeriesId.

* * @param leagueSeriesId * a int */ public void setLeagueSeriesId(int leagueSeriesId) { this.leagueSeriesId = leagueSeriesId; } /** *

Getter for the field leagueGameId.

* * @return a int */ public int getLeagueGameId() { return leagueGameId; } /** *

Setter for the field leagueGameId.

* * @param leagueGameId * a int */ public void setLeagueGameId(int leagueGameId) { this.leagueGameId = leagueGameId; } /** *

Getter for the field stageName.

* * @return a {@link java.lang.String} object */ public String getStageName() { return stageName; } /** *

Setter for the field stageName.

* * @param stageName * a {@link java.lang.String} object */ public void setStageName(String stageName) { this.stageName = stageName; } /** *

Getter for the field leagueTier.

* * @return a int */ public int getLeagueTier() { return leagueTier; } /** *

Setter for the field leagueTier.

* * @param leagueTier * a int */ public void setLeagueTier(int leagueTier) { this.leagueTier = leagueTier; } /** {@inheritDoc} */ @Override public String toString() { return ReflectionToStringBuilder.toString(this, ToStringStyle.NO_CLASS_NAME_STYLE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy