net.rrworld.henrikval.gen.model.LeaderboardInner 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.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;
/**
* LeaderboardInner
*/
@JsonTypeName("leaderboard_inner")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class LeaderboardInner {
private String playerCardID;
private String titleID;
private Boolean isBanned;
private Boolean isAnonymized;
private String puuid;
private String gameName;
private String tagLine;
private Integer leaderboardRank;
private Integer rankedRating;
private Integer numberOfWins;
private Integer competitiveTier;
public LeaderboardInner playerCardID(String playerCardID) {
this.playerCardID = playerCardID;
return this;
}
/**
* Get playerCardID
* @return playerCardID
*/
@Schema(name = "PlayerCardID", example = "8edf22c5-4489-ab41-769a-07adb4c454d6", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("PlayerCardID")
public String getPlayerCardID() {
return playerCardID;
}
public void setPlayerCardID(String playerCardID) {
this.playerCardID = playerCardID;
}
public LeaderboardInner titleID(String titleID) {
this.titleID = titleID;
return this;
}
/**
* Get titleID
* @return titleID
*/
@Schema(name = "TitleID", example = "82de085a-4c2b-da95-a139-048e4ce83dae", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("TitleID")
public String getTitleID() {
return titleID;
}
public void setTitleID(String titleID) {
this.titleID = titleID;
}
public LeaderboardInner isBanned(Boolean isBanned) {
this.isBanned = isBanned;
return this;
}
/**
* Get isBanned
* @return isBanned
*/
@Schema(name = "IsBanned", example = "false", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("IsBanned")
public Boolean getIsBanned() {
return isBanned;
}
public void setIsBanned(Boolean isBanned) {
this.isBanned = isBanned;
}
public LeaderboardInner isAnonymized(Boolean isAnonymized) {
this.isAnonymized = isAnonymized;
return this;
}
/**
* Get isAnonymized
* @return isAnonymized
*/
@Schema(name = "IsAnonymized", example = "false", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("IsAnonymized")
public Boolean getIsAnonymized() {
return isAnonymized;
}
public void setIsAnonymized(Boolean isAnonymized) {
this.isAnonymized = isAnonymized;
}
public LeaderboardInner puuid(String puuid) {
this.puuid = puuid;
return this;
}
/**
* Get puuid
* @return puuid
*/
@Schema(name = "puuid", example = "c3b5b276-a43d-53f2-a897-038bc60b6682", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("puuid")
public String getPuuid() {
return puuid;
}
public void setPuuid(String puuid) {
this.puuid = puuid;
}
public LeaderboardInner gameName(String gameName) {
this.gameName = gameName;
return this;
}
/**
* Get gameName
* @return gameName
*/
@Schema(name = "gameName", example = "Liquid ScreaM", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("gameName")
public String getGameName() {
return gameName;
}
public void setGameName(String gameName) {
this.gameName = gameName;
}
public LeaderboardInner tagLine(String tagLine) {
this.tagLine = tagLine;
return this;
}
/**
* Get tagLine
* @return tagLine
*/
@Schema(name = "tagLine", example = "1TAP", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("tagLine")
public String getTagLine() {
return tagLine;
}
public void setTagLine(String tagLine) {
this.tagLine = tagLine;
}
public LeaderboardInner leaderboardRank(Integer leaderboardRank) {
this.leaderboardRank = leaderboardRank;
return this;
}
/**
* Get leaderboardRank
* @return leaderboardRank
*/
@Schema(name = "leaderboardRank", example = "1", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("leaderboardRank")
public Integer getLeaderboardRank() {
return leaderboardRank;
}
public void setLeaderboardRank(Integer leaderboardRank) {
this.leaderboardRank = leaderboardRank;
}
public LeaderboardInner rankedRating(Integer rankedRating) {
this.rankedRating = rankedRating;
return this;
}
/**
* Get rankedRating
* @return rankedRating
*/
@Schema(name = "rankedRating", example = "1222", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("rankedRating")
public Integer getRankedRating() {
return rankedRating;
}
public void setRankedRating(Integer rankedRating) {
this.rankedRating = rankedRating;
}
public LeaderboardInner numberOfWins(Integer numberOfWins) {
this.numberOfWins = numberOfWins;
return this;
}
/**
* Get numberOfWins
* @return numberOfWins
*/
@Schema(name = "numberOfWins", example = "67", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("numberOfWins")
public Integer getNumberOfWins() {
return numberOfWins;
}
public void setNumberOfWins(Integer numberOfWins) {
this.numberOfWins = numberOfWins;
}
public LeaderboardInner competitiveTier(Integer competitiveTier) {
this.competitiveTier = competitiveTier;
return this;
}
/**
* Get competitiveTier
* @return competitiveTier
*/
@Schema(name = "competitiveTier", example = "24", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("competitiveTier")
public Integer getCompetitiveTier() {
return competitiveTier;
}
public void setCompetitiveTier(Integer competitiveTier) {
this.competitiveTier = competitiveTier;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LeaderboardInner leaderboardInner = (LeaderboardInner) o;
return Objects.equals(this.playerCardID, leaderboardInner.playerCardID) &&
Objects.equals(this.titleID, leaderboardInner.titleID) &&
Objects.equals(this.isBanned, leaderboardInner.isBanned) &&
Objects.equals(this.isAnonymized, leaderboardInner.isAnonymized) &&
Objects.equals(this.puuid, leaderboardInner.puuid) &&
Objects.equals(this.gameName, leaderboardInner.gameName) &&
Objects.equals(this.tagLine, leaderboardInner.tagLine) &&
Objects.equals(this.leaderboardRank, leaderboardInner.leaderboardRank) &&
Objects.equals(this.rankedRating, leaderboardInner.rankedRating) &&
Objects.equals(this.numberOfWins, leaderboardInner.numberOfWins) &&
Objects.equals(this.competitiveTier, leaderboardInner.competitiveTier);
}
@Override
public int hashCode() {
return Objects.hash(playerCardID, titleID, isBanned, isAnonymized, puuid, gameName, tagLine, leaderboardRank, rankedRating, numberOfWins, competitiveTier);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LeaderboardInner {\n");
sb.append(" playerCardID: ").append(toIndentedString(playerCardID)).append("\n");
sb.append(" titleID: ").append(toIndentedString(titleID)).append("\n");
sb.append(" isBanned: ").append(toIndentedString(isBanned)).append("\n");
sb.append(" isAnonymized: ").append(toIndentedString(isAnonymized)).append("\n");
sb.append(" puuid: ").append(toIndentedString(puuid)).append("\n");
sb.append(" gameName: ").append(toIndentedString(gameName)).append("\n");
sb.append(" tagLine: ").append(toIndentedString(tagLine)).append("\n");
sb.append(" leaderboardRank: ").append(toIndentedString(leaderboardRank)).append("\n");
sb.append(" rankedRating: ").append(toIndentedString(rankedRating)).append("\n");
sb.append(" numberOfWins: ").append(toIndentedString(numberOfWins)).append("\n");
sb.append(" competitiveTier: ").append(toIndentedString(competitiveTier)).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 ");
}
}