net.rrworld.henrikval.gen.model.PlayerAbilityCasts 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;
/**
* PlayerAbilityCasts
*/
@JsonTypeName("player_ability_casts")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class PlayerAbilityCasts {
private Integer cCast = null;
private Integer qCast = null;
private Integer eCast = null;
private Integer xCast = null;
public PlayerAbilityCasts cCast(Integer cCast) {
this.cCast = cCast;
return this;
}
/**
* Get cCast
* @return cCast
*/
@Schema(name = "c_cast", example = "16", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("c_cast")
public Integer getcCast() {
return cCast;
}
public void setcCast(Integer cCast) {
this.cCast = cCast;
}
public PlayerAbilityCasts qCast(Integer qCast) {
this.qCast = qCast;
return this;
}
/**
* Get qCast
* @return qCast
*/
@Schema(name = "q_cast", example = "5", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("q_cast")
public Integer getqCast() {
return qCast;
}
public void setqCast(Integer qCast) {
this.qCast = qCast;
}
public PlayerAbilityCasts eCast(Integer eCast) {
this.eCast = eCast;
return this;
}
/**
* Get eCast
* @return eCast
*/
@Schema(name = "e_cast", example = "26", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("e_cast")
public Integer geteCast() {
return eCast;
}
public void seteCast(Integer eCast) {
this.eCast = eCast;
}
public PlayerAbilityCasts xCast(Integer xCast) {
this.xCast = xCast;
return this;
}
/**
* Get xCast
* @return xCast
*/
@Schema(name = "x_cast", example = "0", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("x_cast")
public Integer getxCast() {
return xCast;
}
public void setxCast(Integer xCast) {
this.xCast = xCast;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PlayerAbilityCasts playerAbilityCasts = (PlayerAbilityCasts) o;
return Objects.equals(this.cCast, playerAbilityCasts.cCast) &&
Objects.equals(this.qCast, playerAbilityCasts.qCast) &&
Objects.equals(this.eCast, playerAbilityCasts.eCast) &&
Objects.equals(this.xCast, playerAbilityCasts.xCast);
}
@Override
public int hashCode() {
return Objects.hash(cCast, qCast, eCast, xCast);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PlayerAbilityCasts {\n");
sb.append(" cCast: ").append(toIndentedString(cCast)).append("\n");
sb.append(" qCast: ").append(toIndentedString(qCast)).append("\n");
sb.append(" eCast: ").append(toIndentedString(eCast)).append("\n");
sb.append(" xCast: ").append(toIndentedString(xCast)).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 ");
}
}