net.rrworld.henrikval.gen.model.V2mmr 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 net.rrworld.henrikval.gen.model.V2mmrData;
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;
/**
* V2mmr
*/
@JsonTypeName("v2mmr")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V2mmr {
private Integer status;
private V2mmrData data;
public V2mmr status(Integer status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
*/
@Schema(name = "status", example = "200", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("status")
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public V2mmr data(V2mmrData data) {
this.data = data;
return this;
}
/**
* Get data
* @return data
*/
@Valid
@Schema(name = "data", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("data")
public V2mmrData getData() {
return data;
}
public void setData(V2mmrData data) {
this.data = data;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V2mmr v2mmr = (V2mmr) o;
return Objects.equals(this.status, v2mmr.status) &&
Objects.equals(this.data, v2mmr.data);
}
@Override
public int hashCode() {
return Objects.hash(status, data);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V2mmr {\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" data: ").append(toIndentedString(data)).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 ");
}
}