net.rrworld.henrikval.gen.model.V3MmrDataPeakTier 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 com.fasterxml.jackson.annotation.JsonValue;
import net.rrworld.henrikval.gen.model.Tiers;
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;
/**
* V3MmrDataPeakTier
*/
@JsonTypeName("v3_mmr_data_peak_tier")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V3MmrDataPeakTier {
private Integer id;
private Tiers name;
public V3MmrDataPeakTier id(Integer id) {
this.id = id;
return this;
}
/**
* Get id
* minimum: 0
* maximum: 27
* @return id
*/
@Min(0) @Max(27)
@Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("id")
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public V3MmrDataPeakTier name(Tiers name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
*/
@Valid
@Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("name")
public Tiers getName() {
return name;
}
public void setName(Tiers name) {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V3MmrDataPeakTier v3MmrDataPeakTier = (V3MmrDataPeakTier) o;
return Objects.equals(this.id, v3MmrDataPeakTier.id) &&
Objects.equals(this.name, v3MmrDataPeakTier.name);
}
@Override
public int hashCode() {
return Objects.hash(id, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V3MmrDataPeakTier {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).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 ");
}
}