com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2ServerStatsTeam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agql-dota2-webapi Show documentation
Show all versions of agql-dota2-webapi Show documentation
Implementation for the Dota 2 Web API Interfaces
/*
* 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.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.List;
/**
* Dota2ServerStatsTeam class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2ServerStatsTeam {
@SerializedName("team_number")
private int teamNumber;
@SerializedName("team_id")
private int teamId;
@SerializedName("team_name")
private String teamName;
@SerializedName("team_logo")
private String teamLogo;
@SerializedName("score")
private int score;
@SerializedName("players")
private List players = new ArrayList();
/**
* Getter for the field teamNumber
.
*
* @return The teamNumber
*/
public int getTeamNumber() {
return teamNumber;
}
/**
* Setter for the field teamNumber
.
*
* @param teamNumber
* The team_number
*/
public void setTeamNumber(int teamNumber) {
this.teamNumber = teamNumber;
}
/**
* Getter for the field teamId
.
*
* @return The teamId
*/
public int getTeamId() {
return teamId;
}
/**
* Setter for the field teamId
.
*
* @param teamId
* The team_id
*/
public void setTeamId(int teamId) {
this.teamId = teamId;
}
/**
* Getter for the field teamName
.
*
* @return The teamName
*/
public String getTeamName() {
return teamName;
}
/**
* Setter for the field teamName
.
*
* @param teamName
* The team_name
*/
public void setTeamName(String teamName) {
this.teamName = teamName;
}
/**
* Getter for the field teamLogo
.
*
* @return The teamLogo
*/
public String getTeamLogo() {
return teamLogo;
}
/**
* Setter for the field teamLogo
.
*
* @param teamLogo
* The team_logo
*/
public void setTeamLogo(String teamLogo) {
this.teamLogo = teamLogo;
}
/**
* Getter for the field score
.
*
* @return The score
*/
public int getScore() {
return score;
}
/**
* Setter for the field score
.
*
* @param score
* The score
*/
public void setScore(int score) {
this.score = score;
}
/**
* Getter for the field players
.
*
* @return The players
*/
public List getPlayers() {
return players;
}
/**
* Setter for the field players
.
*
* @param players
* The players
*/
public void setPlayers(List players) {
this.players = players;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy