com.ibasco.agql.protocols.valve.dota2.webapi.pojos.Dota2MatchPlayer 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.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.ArrayList;
import java.util.List;
/**
* Dota2MatchPlayer class.
*
* @author Rafael Luis Ibasco
*/
public class Dota2MatchPlayer {
@SerializedName("account_id")
private long accountId;
@SerializedName("player_slot")
private int playerSlot;
@SerializedName("hero_id")
private int heroId;
@SerializedName("item_0")
private int item0;
@SerializedName("item_1")
private int item1;
@SerializedName("item_2")
private int item2;
@SerializedName("item_3")
private int item3;
@SerializedName("item_4")
private int item4;
@SerializedName("item_5")
private int item5;
@SerializedName("kills")
private int kills;
@SerializedName("deaths")
private int deaths;
@SerializedName("assists")
private int assists;
@SerializedName("leaver_status")
private int leaverStatus;
@SerializedName("last_hits")
private int lastHits;
@SerializedName("denies")
private int denies;
@SerializedName("gold_per_min")
private int goldPerMin;
@SerializedName("xp_per_min")
private int xpPerMin;
@SerializedName("level")
private int level;
@SerializedName("hero_damage")
private int heroDamage;
@SerializedName("tower_damage")
private int towerDamage;
@SerializedName("hero_healing")
private int heroHealing;
@SerializedName("gold")
private int gold;
@SerializedName("gold_spent")
private int goldSpent;
@SerializedName("scaled_hero_damage")
private int scaledHeroDamage;
@SerializedName("scaled_tower_damage")
private int scaledTowerDamage;
@SerializedName("scaled_hero_healing")
private int scaledHeroHealing;
@SerializedName("ability_upgrades")
private List abilityUpgrades = new ArrayList<>();
/**
* Getter for the field accountId
.
*
* @return The accountId
*/
public long getAccountId() {
return accountId;
}
/**
* Setter for the field accountId
.
*
* @param accountId
* The account_id
*/
public void setAccountId(long accountId) {
this.accountId = accountId;
}
/**
* Getter for the field playerSlot
.
*
* @return The playerSlot
*/
public int getPlayerSlot() {
return playerSlot;
}
/**
* Setter for the field playerSlot
.
*
* @param playerSlot
* The player_slot
*/
public void setPlayerSlot(int playerSlot) {
this.playerSlot = playerSlot;
}
/**
* Getter for the field heroId
.
*
* @return The heroId
*/
public int getHeroId() {
return heroId;
}
/**
* Setter for the field heroId
.
*
* @param heroId
* The hero_id
*/
public void setHeroId(int heroId) {
this.heroId = heroId;
}
/**
* Getter for the field item0
.
*
* @return The item0
*/
public int getItem0() {
return item0;
}
/**
* Setter for the field item0
.
*
* @param item0
* The item_0
*/
public void setItem0(int item0) {
this.item0 = item0;
}
/**
* Getter for the field item1
.
*
* @return The item1
*/
public int getItem1() {
return item1;
}
/**
* Setter for the field item1
.
*
* @param item1
* The item_1
*/
public void setItem1(int item1) {
this.item1 = item1;
}
/**
* Getter for the field item2
.
*
* @return The item2
*/
public int getItem2() {
return item2;
}
/**
* Setter for the field item2
.
*
* @param item2
* The item_2
*/
public void setItem2(int item2) {
this.item2 = item2;
}
/**
* Getter for the field item3
.
*
* @return The item3
*/
public int getItem3() {
return item3;
}
/**
* Setter for the field item3
.
*
* @param item3
* The item_3
*/
public void setItem3(int item3) {
this.item3 = item3;
}
/**
* Getter for the field item4
.
*
* @return The item4
*/
public int getItem4() {
return item4;
}
/**
* Setter for the field item4
.
*
* @param item4
* The item_4
*/
public void setItem4(int item4) {
this.item4 = item4;
}
/**
* Getter for the field item5
.
*
* @return The item5
*/
public int getItem5() {
return item5;
}
/**
* Setter for the field item5
.
*
* @param item5
* The item_5
*/
public void setItem5(int item5) {
this.item5 = item5;
}
/**
* Getter for the field kills
.
*
* @return The kills
*/
public int getKills() {
return kills;
}
/**
* Setter for the field kills
.
*
* @param kills
* The kills
*/
public void setKills(int kills) {
this.kills = kills;
}
/**
* Getter for the field deaths
.
*
* @return The deaths
*/
public int getDeaths() {
return deaths;
}
/**
* Setter for the field deaths
.
*
* @param deaths
* The deaths
*/
public void setDeaths(int deaths) {
this.deaths = deaths;
}
/**
* Getter for the field assists
.
*
* @return The assists
*/
public int getAssists() {
return assists;
}
/**
* Setter for the field assists
.
*
* @param assists
* The assists
*/
public void setAssists(int assists) {
this.assists = assists;
}
/**
* Getter for the field leaverStatus
.
*
* @return The leaverStatus
*/
public int getLeaverStatus() {
return leaverStatus;
}
/**
* Setter for the field leaverStatus
.
*
* @param leaverStatus
* The leaver_status
*/
public void setLeaverStatus(int leaverStatus) {
this.leaverStatus = leaverStatus;
}
/**
* Getter for the field lastHits
.
*
* @return The lastHits
*/
public int getLastHits() {
return lastHits;
}
/**
* Setter for the field lastHits
.
*
* @param lastHits
* The last_hits
*/
public void setLastHits(int lastHits) {
this.lastHits = lastHits;
}
/**
* Getter for the field denies
.
*
* @return The denies
*/
public int getDenies() {
return denies;
}
/**
* Setter for the field denies
.
*
* @param denies
* The denies
*/
public void setDenies(int denies) {
this.denies = denies;
}
/**
* Getter for the field goldPerMin
.
*
* @return The goldPerMin
*/
public int getGoldPerMin() {
return goldPerMin;
}
/**
* Setter for the field goldPerMin
.
*
* @param goldPerMin
* The gold_per_min
*/
public void setGoldPerMin(int goldPerMin) {
this.goldPerMin = goldPerMin;
}
/**
* Getter for the field xpPerMin
.
*
* @return The xpPerMin
*/
public int getXpPerMin() {
return xpPerMin;
}
/**
* Setter for the field xpPerMin
.
*
* @param xpPerMin
* The xp_per_min
*/
public void setXpPerMin(int xpPerMin) {
this.xpPerMin = xpPerMin;
}
/**
* Getter for the field level
.
*
* @return The level
*/
public int getLevel() {
return level;
}
/**
* Setter for the field level
.
*
* @param level
* The level
*/
public void setLevel(int level) {
this.level = level;
}
/**
* Getter for the field heroDamage
.
*
* @return The heroDamage
*/
public int getHeroDamage() {
return heroDamage;
}
/**
* Setter for the field heroDamage
.
*
* @param heroDamage
* The hero_damage
*/
public void setHeroDamage(int heroDamage) {
this.heroDamage = heroDamage;
}
/**
* Getter for the field towerDamage
.
*
* @return The towerDamage
*/
public int getTowerDamage() {
return towerDamage;
}
/**
* Setter for the field towerDamage
.
*
* @param towerDamage
* The tower_damage
*/
public void setTowerDamage(int towerDamage) {
this.towerDamage = towerDamage;
}
/**
* Getter for the field heroHealing
.
*
* @return The heroHealing
*/
public int getHeroHealing() {
return heroHealing;
}
/**
* Setter for the field heroHealing
.
*
* @param heroHealing
* The hero_healing
*/
public void setHeroHealing(int heroHealing) {
this.heroHealing = heroHealing;
}
/**
* Getter for the field gold
.
*
* @return The gold
*/
public int getGold() {
return gold;
}
/**
* Setter for the field gold
.
*
* @param gold
* The gold
*/
public void setGold(int gold) {
this.gold = gold;
}
/**
* Getter for the field goldSpent
.
*
* @return The goldSpent
*/
public int getGoldSpent() {
return goldSpent;
}
/**
* Setter for the field goldSpent
.
*
* @param goldSpent
* The gold_spent
*/
public void setGoldSpent(int goldSpent) {
this.goldSpent = goldSpent;
}
/**
* Getter for the field scaledHeroDamage
.
*
* @return The scaledHeroDamage
*/
public int getScaledHeroDamage() {
return scaledHeroDamage;
}
/**
* Setter for the field scaledHeroDamage
.
*
* @param scaledHeroDamage
* The scaled_hero_damage
*/
public void setScaledHeroDamage(int scaledHeroDamage) {
this.scaledHeroDamage = scaledHeroDamage;
}
/**
* Getter for the field scaledTowerDamage
.
*
* @return The scaledTowerDamage
*/
public int getScaledTowerDamage() {
return scaledTowerDamage;
}
/**
* Setter for the field scaledTowerDamage
.
*
* @param scaledTowerDamage
* The scaled_tower_damage
*/
public void setScaledTowerDamage(int scaledTowerDamage) {
this.scaledTowerDamage = scaledTowerDamage;
}
/**
* Getter for the field scaledHeroHealing
.
*
* @return The scaledHeroHealing
*/
public int getScaledHeroHealing() {
return scaledHeroHealing;
}
/**
* Setter for the field scaledHeroHealing
.
*
* @param scaledHeroHealing
* The scaled_hero_healing
*/
public void setScaledHeroHealing(int scaledHeroHealing) {
this.scaledHeroHealing = scaledHeroHealing;
}
/**
* Getter for the field abilityUpgrades
.
*
* @return The abilityUpgrades
*/
public List getAbilityUpgrades() {
return abilityUpgrades;
}
/**
* Setter for the field abilityUpgrades
.
*
* @param abilityUpgrades
* The ability_upgrades
*/
public void setAbilityUpgrades(List abilityUpgrades) {
this.abilityUpgrades = abilityUpgrades;
}
/** {@inheritDoc} */
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.NO_CLASS_NAME_STYLE);
}
}