All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.rrworld.henrikval.gen.model.V3LeaderboardDataPlayersInner Maven / Gradle / Ivy

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 org.springframework.format.annotation.DateTimeFormat;
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;

/**
 * V3LeaderboardDataPlayersInner
 */

@JsonTypeName("v3_leaderboard_data_players_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 V3LeaderboardDataPlayersInner {

  private String card;

  private String title;

  private Boolean isBanned;

  private Boolean isAnonymized;

  private String puuid;

  private String name;

  private String tag;

  private Integer leaderboardRank;

  private Integer tier;

  private Integer rr;

  private Integer wins;

  @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
  private OffsetDateTime updatedAt;

  public V3LeaderboardDataPlayersInner card(String card) {
    this.card = card;
    return this;
  }

  /**
   * Get card
   * @return card
   */
  
  @Schema(name = "card", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("card")
  public String getCard() {
    return card;
  }

  public void setCard(String card) {
    this.card = card;
  }

  public V3LeaderboardDataPlayersInner title(String title) {
    this.title = title;
    return this;
  }

  /**
   * Get title
   * @return title
   */
  
  @Schema(name = "title", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("title")
  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public V3LeaderboardDataPlayersInner isBanned(Boolean isBanned) {
    this.isBanned = isBanned;
    return this;
  }

  /**
   * Get isBanned
   * @return isBanned
   */
  
  @Schema(name = "is_banned", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("is_banned")
  public Boolean getIsBanned() {
    return isBanned;
  }

  public void setIsBanned(Boolean isBanned) {
    this.isBanned = isBanned;
  }

  public V3LeaderboardDataPlayersInner isAnonymized(Boolean isAnonymized) {
    this.isAnonymized = isAnonymized;
    return this;
  }

  /**
   * Get isAnonymized
   * @return isAnonymized
   */
  
  @Schema(name = "is_anonymized", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("is_anonymized")
  public Boolean getIsAnonymized() {
    return isAnonymized;
  }

  public void setIsAnonymized(Boolean isAnonymized) {
    this.isAnonymized = isAnonymized;
  }

  public V3LeaderboardDataPlayersInner 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 V3LeaderboardDataPlayersInner name(String name) {
    this.name = name;
    return this;
  }

  /**
   * Get name
   * @return name
   */
  
  @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("name")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public V3LeaderboardDataPlayersInner tag(String tag) {
    this.tag = tag;
    return this;
  }

  /**
   * Get tag
   * @return tag
   */
  
  @Schema(name = "tag", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("tag")
  public String getTag() {
    return tag;
  }

  public void setTag(String tag) {
    this.tag = tag;
  }

  public V3LeaderboardDataPlayersInner leaderboardRank(Integer leaderboardRank) {
    this.leaderboardRank = leaderboardRank;
    return this;
  }

  /**
   * Get leaderboardRank
   * @return leaderboardRank
   */
  
  @Schema(name = "leaderboard_rank", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("leaderboard_rank")
  public Integer getLeaderboardRank() {
    return leaderboardRank;
  }

  public void setLeaderboardRank(Integer leaderboardRank) {
    this.leaderboardRank = leaderboardRank;
  }

  public V3LeaderboardDataPlayersInner tier(Integer tier) {
    this.tier = tier;
    return this;
  }

  /**
   * Get tier
   * @return tier
   */
  
  @Schema(name = "tier", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("tier")
  public Integer getTier() {
    return tier;
  }

  public void setTier(Integer tier) {
    this.tier = tier;
  }

  public V3LeaderboardDataPlayersInner rr(Integer rr) {
    this.rr = rr;
    return this;
  }

  /**
   * Get rr
   * @return rr
   */
  
  @Schema(name = "rr", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("rr")
  public Integer getRr() {
    return rr;
  }

  public void setRr(Integer rr) {
    this.rr = rr;
  }

  public V3LeaderboardDataPlayersInner wins(Integer wins) {
    this.wins = wins;
    return this;
  }

  /**
   * Get wins
   * @return wins
   */
  
  @Schema(name = "wins", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("wins")
  public Integer getWins() {
    return wins;
  }

  public void setWins(Integer wins) {
    this.wins = wins;
  }

  public V3LeaderboardDataPlayersInner updatedAt(OffsetDateTime updatedAt) {
    this.updatedAt = updatedAt;
    return this;
  }

  /**
   * Get updatedAt
   * @return updatedAt
   */
  @Valid 
  @Schema(name = "updated_at", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("updated_at")
  public OffsetDateTime getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(OffsetDateTime updatedAt) {
    this.updatedAt = updatedAt;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V3LeaderboardDataPlayersInner v3LeaderboardDataPlayersInner = (V3LeaderboardDataPlayersInner) o;
    return Objects.equals(this.card, v3LeaderboardDataPlayersInner.card) &&
        Objects.equals(this.title, v3LeaderboardDataPlayersInner.title) &&
        Objects.equals(this.isBanned, v3LeaderboardDataPlayersInner.isBanned) &&
        Objects.equals(this.isAnonymized, v3LeaderboardDataPlayersInner.isAnonymized) &&
        Objects.equals(this.puuid, v3LeaderboardDataPlayersInner.puuid) &&
        Objects.equals(this.name, v3LeaderboardDataPlayersInner.name) &&
        Objects.equals(this.tag, v3LeaderboardDataPlayersInner.tag) &&
        Objects.equals(this.leaderboardRank, v3LeaderboardDataPlayersInner.leaderboardRank) &&
        Objects.equals(this.tier, v3LeaderboardDataPlayersInner.tier) &&
        Objects.equals(this.rr, v3LeaderboardDataPlayersInner.rr) &&
        Objects.equals(this.wins, v3LeaderboardDataPlayersInner.wins) &&
        Objects.equals(this.updatedAt, v3LeaderboardDataPlayersInner.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(card, title, isBanned, isAnonymized, puuid, name, tag, leaderboardRank, tier, rr, wins, updatedAt);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V3LeaderboardDataPlayersInner {\n");
    sb.append("    card: ").append(toIndentedString(card)).append("\n");
    sb.append("    title: ").append(toIndentedString(title)).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("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    tag: ").append(toIndentedString(tag)).append("\n");
    sb.append("    leaderboardRank: ").append(toIndentedString(leaderboardRank)).append("\n");
    sb.append("    tier: ").append(toIndentedString(tier)).append("\n");
    sb.append("    rr: ").append(toIndentedString(rr)).append("\n");
    sb.append("    wins: ").append(toIndentedString(wins)).append("\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).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    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy