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