net.rrworld.henrikval.gen.model.V4MatchAbilities 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;
/**
* V4MatchAbilities
*/
@JsonTypeName("v4_match_abilities")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V4MatchAbilities {
private Integer grenade = null;
private Integer ability1 = null;
private Integer ability2 = null;
private Integer ultimate = null;
public V4MatchAbilities grenade(Integer grenade) {
this.grenade = grenade;
return this;
}
/**
* Get grenade
* @return grenade
*/
@Schema(name = "grenade", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("grenade")
public Integer getGrenade() {
return grenade;
}
public void setGrenade(Integer grenade) {
this.grenade = grenade;
}
public V4MatchAbilities ability1(Integer ability1) {
this.ability1 = ability1;
return this;
}
/**
* Get ability1
* @return ability1
*/
@Schema(name = "ability_1", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("ability_1")
public Integer getAbility1() {
return ability1;
}
public void setAbility1(Integer ability1) {
this.ability1 = ability1;
}
public V4MatchAbilities ability2(Integer ability2) {
this.ability2 = ability2;
return this;
}
/**
* Get ability2
* @return ability2
*/
@Schema(name = "ability_2", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("ability_2")
public Integer getAbility2() {
return ability2;
}
public void setAbility2(Integer ability2) {
this.ability2 = ability2;
}
public V4MatchAbilities ultimate(Integer ultimate) {
this.ultimate = ultimate;
return this;
}
/**
* Get ultimate
* @return ultimate
*/
@Schema(name = "ultimate", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("ultimate")
public Integer getUltimate() {
return ultimate;
}
public void setUltimate(Integer ultimate) {
this.ultimate = ultimate;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V4MatchAbilities v4MatchAbilities = (V4MatchAbilities) o;
return Objects.equals(this.grenade, v4MatchAbilities.grenade) &&
Objects.equals(this.ability1, v4MatchAbilities.ability1) &&
Objects.equals(this.ability2, v4MatchAbilities.ability2) &&
Objects.equals(this.ultimate, v4MatchAbilities.ultimate);
}
@Override
public int hashCode() {
return Objects.hash(grenade, ability1, ability2, ultimate);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4MatchAbilities {\n");
sb.append(" grenade: ").append(toIndentedString(grenade)).append("\n");
sb.append(" ability1: ").append(toIndentedString(ability1)).append("\n");
sb.append(" ability2: ").append(toIndentedString(ability2)).append("\n");
sb.append(" ultimate: ").append(toIndentedString(ultimate)).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 ");
}
}