com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2ServerStatsMatch 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;
/**
* Dota2ServerStatsMatch class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2ServerStatsMatch {
@SerializedName("server_steam_id")
private long serverSteamId;
@SerializedName("matchId")
private long matchId;
@SerializedName("timestamp")
private long timestamp;
@SerializedName("game_time")
private long gameTime;
@SerializedName("game_mode")
private int gameMode;
@SerializedName("league_id")
private int leagueId;
/**
* Getter for the field serverSteamId
.
*
* @return The serverSteamId
*/
public long getServerSteamId() {
return serverSteamId;
}
/**
* Setter for the field serverSteamId
.
*
* @param serverSteamId
* The server_steam_id
*/
public void setServerSteamId(long serverSteamId) {
this.serverSteamId = serverSteamId;
}
/**
* Getter for the field matchId
.
*
* @return The matchId
*/
public long getMatchId() {
return matchId;
}
/**
* Setter for the field matchId
.
*
* @param matchId
* The matchId
*/
public void setMatchId(long matchId) {
this.matchId = matchId;
}
/**
* Getter for the field timestamp
.
*
* @return The timestamp
*/
public long getTimestamp() {
return timestamp;
}
/**
* Setter for the field timestamp
.
*
* @param timestamp
* The timestamp
*/
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
/**
* Getter for the field gameTime
.
*
* @return The gameTime
*/
public long getGameTime() {
return gameTime;
}
/**
* Setter for the field gameTime
.
*
* @param gameTime
* The game_time
*/
public void setGameTime(long gameTime) {
this.gameTime = gameTime;
}
/**
* Getter for the field gameMode
.
*
* @return The gameMode
*/
public int getGameMode() {
return gameMode;
}
/**
* Setter for the field gameMode
.
*
* @param gameMode
* The game_mode
*/
public void setGameMode(int gameMode) {
this.gameMode = gameMode;
}
/**
* Getter for the field leagueId
.
*
* @return The leagueId
*/
public int getLeagueId() {
return leagueId;
}
/**
* Setter for the field leagueId
.
*
* @param leagueId
* The league_id
*/
public void setLeagueId(int leagueId) {
this.leagueId = leagueId;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy