net.rrworld.henrikval.gen.model.BySeasonActRankWinsInner 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;
/**
* BySeasonActRankWinsInner
*/
@JsonTypeName("by_season_act_rank_wins_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 BySeasonActRankWinsInner {
private String patchedTier;
private Integer tier;
public BySeasonActRankWinsInner patchedTier(String patchedTier) {
this.patchedTier = patchedTier;
return this;
}
/**
* Get patchedTier
* @return patchedTier
*/
@Schema(name = "patched_tier", example = "Gold 1", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("patched_tier")
public String getPatchedTier() {
return patchedTier;
}
public void setPatchedTier(String patchedTier) {
this.patchedTier = patchedTier;
}
public BySeasonActRankWinsInner tier(Integer tier) {
this.tier = tier;
return this;
}
/**
* Get tier
* @return tier
*/
@Schema(name = "tier", example = "12", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("tier")
public Integer getTier() {
return tier;
}
public void setTier(Integer tier) {
this.tier = tier;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BySeasonActRankWinsInner bySeasonActRankWinsInner = (BySeasonActRankWinsInner) o;
return Objects.equals(this.patchedTier, bySeasonActRankWinsInner.patchedTier) &&
Objects.equals(this.tier, bySeasonActRankWinsInner.tier);
}
@Override
public int hashCode() {
return Objects.hash(patchedTier, tier);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BySeasonActRankWinsInner {\n");
sb.append(" patchedTier: ").append(toIndentedString(patchedTier)).append("\n");
sb.append(" tier: ").append(toIndentedString(tier)).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 ");
}
}