com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2TeamDetails Maven / Gradle / Ivy
/*
* 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.Expose;
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;
/**
* Dota2TeamDetails class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2TeamDetails {
@SerializedName("members")
@Expose
private List members = new ArrayList<>();
@SerializedName("team_id")
@Expose
private int teamId;
@SerializedName("name")
@Expose
private String name;
@SerializedName("tag")
@Expose
private String tag;
@SerializedName("time_created")
@Expose
private int timeCreated;
@SerializedName("pro")
@Expose
private boolean pro;
@SerializedName("locked")
@Expose
private boolean locked;
@SerializedName("ugc_logo")
@Expose
private String ugcLogo;
@SerializedName("ugc_base_logo")
@Expose
private String ugcBaseLogo;
@SerializedName("ugc_banner_logo")
@Expose
private String ugcBannerLogo;
@SerializedName("ugc_sponsor_logo")
@Expose
private String ugcSponsorLogo;
@SerializedName("country_code")
@Expose
private String countryCode;
@SerializedName("url")
@Expose
private String url;
@SerializedName("wins")
@Expose
private int wins;
@SerializedName("losses")
@Expose
private int losses;
@SerializedName("rank")
@Expose
private int rank;
@SerializedName("calibration_games_remaining")
@Expose
private int calibrationGamesRemaining;
@SerializedName("games_played_total")
@Expose
private int gamesPlayedTotal;
@SerializedName("games_played_matchmaking")
@Expose
private int gamesPlayedMatchmaking;
@SerializedName("leagues_participated")
@Expose
private List leaguesParticipated = new ArrayList<>();
@SerializedName("top_match_ids")
@Expose
private List topMatchIds = new ArrayList<>();
@SerializedName("recent_match_ids")
@Expose
private List recentMatchIds = new ArrayList<>();
/**
* Getter for the field members
.
*
* @return The members
*/
public List getMembers() {
return members;
}
/**
* Setter for the field members
.
*
* @param members
* The members
*/
public void setMembers(List members) {
this.members = members;
}
/**
* 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 name
.
*
* @return The name
*/
public String getName() {
return name;
}
/**
* Setter for the field name
.
*
* @param name
* The name
*/
public void setName(String name) {
this.name = name;
}
/**
* Getter for the field tag
.
*
* @return The tag
*/
public String getTag() {
return tag;
}
/**
* Setter for the field tag
.
*
* @param tag
* The tag
*/
public void setTag(String tag) {
this.tag = tag;
}
/**
* Getter for the field timeCreated
.
*
* @return The timeCreated
*/
public int getTimeCreated() {
return timeCreated;
}
/**
* Setter for the field timeCreated
.
*
* @param timeCreated
* The time_created
*/
public void setTimeCreated(int timeCreated) {
this.timeCreated = timeCreated;
}
/**
* isPro.
*
* @return The pro
*/
public boolean isPro() {
return pro;
}
/**
* Setter for the field pro
.
*
* @param pro
* The pro
*/
public void setPro(boolean pro) {
this.pro = pro;
}
/**
* isLocked.
*
* @return The locked
*/
public boolean isLocked() {
return locked;
}
/**
* Setter for the field locked
.
*
* @param locked
* The locked
*/
public void setLocked(boolean locked) {
this.locked = locked;
}
/**
* Getter for the field ugcLogo
.
*
* @return The ugcLogo
*/
public String getUgcLogo() {
return ugcLogo;
}
/**
* Setter for the field ugcLogo
.
*
* @param ugcLogo
* The ugc_logo
*/
public void setUgcLogo(String ugcLogo) {
this.ugcLogo = ugcLogo;
}
/**
* Getter for the field ugcBaseLogo
.
*
* @return The ugcBaseLogo
*/
public String getUgcBaseLogo() {
return ugcBaseLogo;
}
/**
* Setter for the field ugcBaseLogo
.
*
* @param ugcBaseLogo
* The ugc_base_logo
*/
public void setUgcBaseLogo(String ugcBaseLogo) {
this.ugcBaseLogo = ugcBaseLogo;
}
/**
* Getter for the field ugcBannerLogo
.
*
* @return The ugcBannerLogo
*/
public String getUgcBannerLogo() {
return ugcBannerLogo;
}
/**
* Setter for the field ugcBannerLogo
.
*
* @param ugcBannerLogo
* The ugc_banner_logo
*/
public void setUgcBannerLogo(String ugcBannerLogo) {
this.ugcBannerLogo = ugcBannerLogo;
}
/**
* Getter for the field ugcSponsorLogo
.
*
* @return The ugcSponsorLogo
*/
public String getUgcSponsorLogo() {
return ugcSponsorLogo;
}
/**
* Setter for the field ugcSponsorLogo
.
*
* @param ugcSponsorLogo
* The ugc_sponsor_logo
*/
public void setUgcSponsorLogo(String ugcSponsorLogo) {
this.ugcSponsorLogo = ugcSponsorLogo;
}
/**
* Getter for the field countryCode
.
*
* @return The countryCode
*/
public String getCountryCode() {
return countryCode;
}
/**
* Setter for the field countryCode
.
*
* @param countryCode
* The country_code
*/
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
/**
* Getter for the field url
.
*
* @return The url
*/
public String getUrl() {
return url;
}
/**
* Setter for the field url
.
*
* @param url
* The url
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Getter for the field wins
.
*
* @return The wins
*/
public int getWins() {
return wins;
}
/**
* Setter for the field wins
.
*
* @param wins
* The wins
*/
public void setWins(int wins) {
this.wins = wins;
}
/**
* Getter for the field losses
.
*
* @return The losses
*/
public int getLosses() {
return losses;
}
/**
* Setter for the field losses
.
*
* @param losses
* The losses
*/
public void setLosses(int losses) {
this.losses = losses;
}
/**
* Getter for the field rank
.
*
* @return The rank
*/
public int getRank() {
return rank;
}
/**
* Setter for the field rank
.
*
* @param rank
* The rank
*/
public void setRank(int rank) {
this.rank = rank;
}
/**
* Getter for the field calibrationGamesRemaining
.
*
* @return The calibrationGamesRemaining
*/
public int getCalibrationGamesRemaining() {
return calibrationGamesRemaining;
}
/**
* Setter for the field calibrationGamesRemaining
.
*
* @param calibrationGamesRemaining
* The calibration_games_remaining
*/
public void setCalibrationGamesRemaining(int calibrationGamesRemaining) {
this.calibrationGamesRemaining = calibrationGamesRemaining;
}
/**
* Getter for the field gamesPlayedTotal
.
*
* @return The gamesPlayedTotal
*/
public int getGamesPlayedTotal() {
return gamesPlayedTotal;
}
/**
* Setter for the field gamesPlayedTotal
.
*
* @param gamesPlayedTotal
* The games_played_total
*/
public void setGamesPlayedTotal(int gamesPlayedTotal) {
this.gamesPlayedTotal = gamesPlayedTotal;
}
/**
* Getter for the field gamesPlayedMatchmaking
.
*
* @return The gamesPlayedMatchmaking
*/
public int getGamesPlayedMatchmaking() {
return gamesPlayedMatchmaking;
}
/**
* Setter for the field gamesPlayedMatchmaking
.
*
* @param gamesPlayedMatchmaking
* The games_played_matchmaking
*/
public void setGamesPlayedMatchmaking(int gamesPlayedMatchmaking) {
this.gamesPlayedMatchmaking = gamesPlayedMatchmaking;
}
/**
* Getter for the field leaguesParticipated
.
*
* @return The leaguesParticipated
*/
public List getLeaguesParticipated() {
return leaguesParticipated;
}
/**
* Setter for the field leaguesParticipated
.
*
* @param leaguesParticipated
* The leagues_participated
*/
public void setLeaguesParticipated(List leaguesParticipated) {
this.leaguesParticipated = leaguesParticipated;
}
/**
* Getter for the field topMatchIds
.
*
* @return The topMatchIds
*/
public List getTopMatchIds() {
return topMatchIds;
}
/**
* Setter for the field topMatchIds
.
*
* @param topMatchIds
* The top_match_ids
*/
public void setTopMatchIds(List topMatchIds) {
this.topMatchIds = topMatchIds;
}
/**
* Getter for the field recentMatchIds
.
*
* @return The recentMatchIds
*/
public List getRecentMatchIds() {
return recentMatchIds;
}
/**
* Setter for the field recentMatchIds
.
*
* @param recentMatchIds
* The recent_match_ids
*/
public void setRecentMatchIds(List recentMatchIds) {
this.recentMatchIds = recentMatchIds;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}