net.rrworld.henrikval.gen.model.V4MatchPlayersInnerEconomy 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.V4MatchPlayersInnerEconomySpent;
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;
/**
* V4MatchPlayersInnerEconomy
*/
@JsonTypeName("v4_match_players_inner_economy")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V4MatchPlayersInnerEconomy {
private V4MatchPlayersInnerEconomySpent spent;
private V4MatchPlayersInnerEconomySpent loadoutValue;
public V4MatchPlayersInnerEconomy spent(V4MatchPlayersInnerEconomySpent spent) {
this.spent = spent;
return this;
}
/**
* Get spent
* @return spent
*/
@Valid
@Schema(name = "spent", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("spent")
public V4MatchPlayersInnerEconomySpent getSpent() {
return spent;
}
public void setSpent(V4MatchPlayersInnerEconomySpent spent) {
this.spent = spent;
}
public V4MatchPlayersInnerEconomy loadoutValue(V4MatchPlayersInnerEconomySpent loadoutValue) {
this.loadoutValue = loadoutValue;
return this;
}
/**
* Get loadoutValue
* @return loadoutValue
*/
@Valid
@Schema(name = "loadout_value", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("loadout_value")
public V4MatchPlayersInnerEconomySpent getLoadoutValue() {
return loadoutValue;
}
public void setLoadoutValue(V4MatchPlayersInnerEconomySpent loadoutValue) {
this.loadoutValue = loadoutValue;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V4MatchPlayersInnerEconomy v4MatchPlayersInnerEconomy = (V4MatchPlayersInnerEconomy) o;
return Objects.equals(this.spent, v4MatchPlayersInnerEconomy.spent) &&
Objects.equals(this.loadoutValue, v4MatchPlayersInnerEconomy.loadoutValue);
}
@Override
public int hashCode() {
return Objects.hash(spent, loadoutValue);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4MatchPlayersInnerEconomy {\n");
sb.append(" spent: ").append(toIndentedString(spent)).append("\n");
sb.append(" loadoutValue: ").append(toIndentedString(loadoutValue)).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 ");
}
}