net.rrworld.henrikval.gen.model.V1LifetimeMatchesItemStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of henrikapi-val-client Show documentation
Show all versions of henrikapi-val-client Show documentation
Valorant Java client based on HenrikDev-API
The newest version!
package net.rrworld.henrikval.gen.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.math.BigDecimal;
import net.rrworld.henrikval.gen.model.V1LifetimeMatchesItemMetaMap;
import net.rrworld.henrikval.gen.model.V1LifetimeMatchesItemStatsDamage;
import net.rrworld.henrikval.gen.model.V1LifetimeMatchesItemStatsShots;
import java.time.OffsetDateTime;
import javax.validation.Valid;
import javax.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.*;
import javax.annotation.Generated;
/**
* V1LifetimeMatchesItemStats
*/
@JsonTypeName("v1_lifetime_matches_item_stats")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V1LifetimeMatchesItemStats {
private String puuid;
private String team;
private BigDecimal level;
private V1LifetimeMatchesItemMetaMap character;
private BigDecimal tier;
private BigDecimal score;
private BigDecimal kills;
private BigDecimal deaths;
private BigDecimal assists;
private V1LifetimeMatchesItemStatsShots shots;
private V1LifetimeMatchesItemStatsDamage damage;
public V1LifetimeMatchesItemStats puuid(String puuid) {
this.puuid = puuid;
return this;
}
/**
* Get puuid
* @return puuid
*/
@Schema(name = "puuid", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("puuid")
public String getPuuid() {
return puuid;
}
public void setPuuid(String puuid) {
this.puuid = puuid;
}
public V1LifetimeMatchesItemStats team(String team) {
this.team = team;
return this;
}
/**
* Get team
* @return team
*/
@Schema(name = "team", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("team")
public String getTeam() {
return team;
}
public void setTeam(String team) {
this.team = team;
}
public V1LifetimeMatchesItemStats level(BigDecimal level) {
this.level = level;
return this;
}
/**
* Get level
* @return level
*/
@Valid
@Schema(name = "level", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("level")
public BigDecimal getLevel() {
return level;
}
public void setLevel(BigDecimal level) {
this.level = level;
}
public V1LifetimeMatchesItemStats character(V1LifetimeMatchesItemMetaMap character) {
this.character = character;
return this;
}
/**
* Get character
* @return character
*/
@Valid
@Schema(name = "character", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("character")
public V1LifetimeMatchesItemMetaMap getCharacter() {
return character;
}
public void setCharacter(V1LifetimeMatchesItemMetaMap character) {
this.character = character;
}
public V1LifetimeMatchesItemStats tier(BigDecimal tier) {
this.tier = tier;
return this;
}
/**
* Get tier
* @return tier
*/
@Valid
@Schema(name = "tier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("tier")
public BigDecimal getTier() {
return tier;
}
public void setTier(BigDecimal tier) {
this.tier = tier;
}
public V1LifetimeMatchesItemStats score(BigDecimal score) {
this.score = score;
return this;
}
/**
* Get score
* @return score
*/
@Valid
@Schema(name = "score", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("score")
public BigDecimal getScore() {
return score;
}
public void setScore(BigDecimal score) {
this.score = score;
}
public V1LifetimeMatchesItemStats kills(BigDecimal kills) {
this.kills = kills;
return this;
}
/**
* Get kills
* @return kills
*/
@Valid
@Schema(name = "kills", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("kills")
public BigDecimal getKills() {
return kills;
}
public void setKills(BigDecimal kills) {
this.kills = kills;
}
public V1LifetimeMatchesItemStats deaths(BigDecimal deaths) {
this.deaths = deaths;
return this;
}
/**
* Get deaths
* @return deaths
*/
@Valid
@Schema(name = "deaths", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("deaths")
public BigDecimal getDeaths() {
return deaths;
}
public void setDeaths(BigDecimal deaths) {
this.deaths = deaths;
}
public V1LifetimeMatchesItemStats assists(BigDecimal assists) {
this.assists = assists;
return this;
}
/**
* Get assists
* @return assists
*/
@Valid
@Schema(name = "assists", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("assists")
public BigDecimal getAssists() {
return assists;
}
public void setAssists(BigDecimal assists) {
this.assists = assists;
}
public V1LifetimeMatchesItemStats shots(V1LifetimeMatchesItemStatsShots shots) {
this.shots = shots;
return this;
}
/**
* Get shots
* @return shots
*/
@Valid
@Schema(name = "shots", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("shots")
public V1LifetimeMatchesItemStatsShots getShots() {
return shots;
}
public void setShots(V1LifetimeMatchesItemStatsShots shots) {
this.shots = shots;
}
public V1LifetimeMatchesItemStats damage(V1LifetimeMatchesItemStatsDamage damage) {
this.damage = damage;
return this;
}
/**
* Get damage
* @return damage
*/
@Valid
@Schema(name = "damage", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("damage")
public V1LifetimeMatchesItemStatsDamage getDamage() {
return damage;
}
public void setDamage(V1LifetimeMatchesItemStatsDamage damage) {
this.damage = damage;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1LifetimeMatchesItemStats v1LifetimeMatchesItemStats = (V1LifetimeMatchesItemStats) o;
return Objects.equals(this.puuid, v1LifetimeMatchesItemStats.puuid) &&
Objects.equals(this.team, v1LifetimeMatchesItemStats.team) &&
Objects.equals(this.level, v1LifetimeMatchesItemStats.level) &&
Objects.equals(this.character, v1LifetimeMatchesItemStats.character) &&
Objects.equals(this.tier, v1LifetimeMatchesItemStats.tier) &&
Objects.equals(this.score, v1LifetimeMatchesItemStats.score) &&
Objects.equals(this.kills, v1LifetimeMatchesItemStats.kills) &&
Objects.equals(this.deaths, v1LifetimeMatchesItemStats.deaths) &&
Objects.equals(this.assists, v1LifetimeMatchesItemStats.assists) &&
Objects.equals(this.shots, v1LifetimeMatchesItemStats.shots) &&
Objects.equals(this.damage, v1LifetimeMatchesItemStats.damage);
}
@Override
public int hashCode() {
return Objects.hash(puuid, team, level, character, tier, score, kills, deaths, assists, shots, damage);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1LifetimeMatchesItemStats {\n");
sb.append(" puuid: ").append(toIndentedString(puuid)).append("\n");
sb.append(" team: ").append(toIndentedString(team)).append("\n");
sb.append(" level: ").append(toIndentedString(level)).append("\n");
sb.append(" character: ").append(toIndentedString(character)).append("\n");
sb.append(" tier: ").append(toIndentedString(tier)).append("\n");
sb.append(" score: ").append(toIndentedString(score)).append("\n");
sb.append(" kills: ").append(toIndentedString(kills)).append("\n");
sb.append(" deaths: ").append(toIndentedString(deaths)).append("\n");
sb.append(" assists: ").append(toIndentedString(assists)).append("\n");
sb.append(" shots: ").append(toIndentedString(shots)).append("\n");
sb.append(" damage: ").append(toIndentedString(damage)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}