net.rrworld.henrikval.gen.model.V4MatchRoundsInnerStatsInnerEconomyArmor 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.util.UUID;
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;
/**
* V4MatchRoundsInnerStatsInnerEconomyArmor
*/
@JsonTypeName("v4_match_rounds_inner_stats_inner_economy_armor")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V4MatchRoundsInnerStatsInnerEconomyArmor {
private UUID id;
private String name;
public V4MatchRoundsInnerStatsInnerEconomyArmor id(UUID id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
*/
@Valid
@Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("id")
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public V4MatchRoundsInnerStatsInnerEconomyArmor name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
*/
@Schema(name = "name", example = "Heavy Armor", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V4MatchRoundsInnerStatsInnerEconomyArmor v4MatchRoundsInnerStatsInnerEconomyArmor = (V4MatchRoundsInnerStatsInnerEconomyArmor) o;
return Objects.equals(this.id, v4MatchRoundsInnerStatsInnerEconomyArmor.id) &&
Objects.equals(this.name, v4MatchRoundsInnerStatsInnerEconomyArmor.name);
}
@Override
public int hashCode() {
return Objects.hash(id, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4MatchRoundsInnerStatsInnerEconomyArmor {\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 ");
}
}