com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2FantasyProPlayerInfo 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.SerializedName;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Dota2FantasyProPlayerInfo class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2FantasyProPlayerInfo {
@SerializedName("account_id")
private int accountId;
private String name;
@SerializedName("country_code")
private String countryCode;
@SerializedName("fantasy_role")
private int fantasyRole;
@SerializedName("team_id")
private int teamId;
@SerializedName("team_name")
private String teamName;
@SerializedName("team_tag")
private String teamTag;
@SerializedName("is_locked")
private boolean isLocked;
@SerializedName("is_pro")
private boolean isPro;
@SerializedName("locked_until")
private long lockedUntil;
private long timestamp;
/**
* Getter for the field accountId
.
*
* @return a int
*/
public int getAccountId() {
return accountId;
}
/**
* Setter for the field accountId
.
*
* @param accountId
* a int
*/
public void setAccountId(int accountId) {
this.accountId = accountId;
}
/**
* Getter for the field name
.
*
* @return a {@link java.lang.String} object
*/
public String getName() {
return name;
}
/**
* Setter for the field name
.
*
* @param name
* a {@link java.lang.String} object
*/
public void setName(String name) {
this.name = name;
}
/**
* Getter for the field countryCode
.
*
* @return a {@link java.lang.String} object
*/
public String getCountryCode() {
return countryCode;
}
/**
* Setter for the field countryCode
.
*
* @param countryCode
* a {@link java.lang.String} object
*/
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
/**
* Getter for the field fantasyRole
.
*
* @return a int
*/
public int getFantasyRole() {
return fantasyRole;
}
/**
* Setter for the field fantasyRole
.
*
* @param fantasyRole
* a int
*/
public void setFantasyRole(int fantasyRole) {
this.fantasyRole = fantasyRole;
}
/**
* Getter for the field teamId
.
*
* @return a int
*/
public int getTeamId() {
return teamId;
}
/**
* Setter for the field teamId
.
*
* @param teamId
* a int
*/
public void setTeamId(int teamId) {
this.teamId = teamId;
}
/**
* Getter for the field teamName
.
*
* @return a {@link java.lang.String} object
*/
public String getTeamName() {
return teamName;
}
/**
* Setter for the field teamName
.
*
* @param teamName
* a {@link java.lang.String} object
*/
public void setTeamName(String teamName) {
this.teamName = teamName;
}
/**
* Getter for the field teamTag
.
*
* @return a {@link java.lang.String} object
*/
public String getTeamTag() {
return teamTag;
}
/**
* Setter for the field teamTag
.
*
* @param teamTag
* a {@link java.lang.String} object
*/
public void setTeamTag(String teamTag) {
this.teamTag = teamTag;
}
/**
* isLocked.
*
* @return a boolean
*/
public boolean isLocked() {
return isLocked;
}
/**
* setLocked.
*
* @param locked
* a boolean
*/
public void setLocked(boolean locked) {
isLocked = locked;
}
/**
* isPro.
*
* @return a boolean
*/
public boolean isPro() {
return isPro;
}
/**
* setPro.
*
* @param pro
* a boolean
*/
public void setPro(boolean pro) {
isPro = pro;
}
/**
* Getter for the field lockedUntil
.
*
* @return a long
*/
public long getLockedUntil() {
return lockedUntil;
}
/**
* Setter for the field lockedUntil
.
*
* @param lockedUntil
* a long
*/
public void setLockedUntil(long lockedUntil) {
this.lockedUntil = lockedUntil;
}
/**
* Getter for the field timestamp
.
*
* @return a long
*/
public long getTimestamp() {
return timestamp;
}
/**
* Setter for the field timestamp
.
*
* @param timestamp
* a long
*/
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy