com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2League 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.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Dota2League class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2League {
@SerializedName("leagueid")
private int leagueId;
private String name;
private String description;
private String tournamentUrl;
private int itemdef;
/**
* 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 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 description
.
*
* @return a {@link java.lang.String} object
*/
public String getDescription() {
return description;
}
/**
* Setter for the field description
.
*
* @param description
* a {@link java.lang.String} object
*/
public void setDescription(String description) {
this.description = description;
}
/**
* Getter for the field tournamentUrl
.
*
* @return a {@link java.lang.String} object
*/
public String getTournamentUrl() {
return tournamentUrl;
}
/**
* Setter for the field tournamentUrl
.
*
* @param tournamentUrl
* a {@link java.lang.String} object
*/
public void setTournamentUrl(String tournamentUrl) {
this.tournamentUrl = tournamentUrl;
}
/**
* Getter for the field itemdef
.
*
* @return a int
*/
public int getItemdef() {
return itemdef;
}
/**
* Setter for the field itemdef
.
*
* @param itemdef
* a int
*/
public void setItemdef(int itemdef) {
this.itemdef = itemdef;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy