All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.rrworld.henrikval.gen.model.V4MatchPlayersInnerEconomySpent Maven / Gradle / Ivy

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;

/**
 * V4MatchPlayersInnerEconomySpent
 */

@JsonTypeName("v4_match_players_inner_economy_spent")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-09-26T19:32:28.190871Z[Etc/UTC]", comments = "Generator version: 7.8.0")
public class V4MatchPlayersInnerEconomySpent {

  private Integer overall;

  private Integer average;

  public V4MatchPlayersInnerEconomySpent overall(Integer overall) {
    this.overall = overall;
    return this;
  }

  /**
   * Get overall
   * @return overall
   */
  
  @Schema(name = "overall", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("overall")
  public Integer getOverall() {
    return overall;
  }

  public void setOverall(Integer overall) {
    this.overall = overall;
  }

  public V4MatchPlayersInnerEconomySpent average(Integer average) {
    this.average = average;
    return this;
  }

  /**
   * Get average
   * @return average
   */
  
  @Schema(name = "average", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("average")
  public Integer getAverage() {
    return average;
  }

  public void setAverage(Integer average) {
    this.average = average;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V4MatchPlayersInnerEconomySpent v4MatchPlayersInnerEconomySpent = (V4MatchPlayersInnerEconomySpent) o;
    return Objects.equals(this.overall, v4MatchPlayersInnerEconomySpent.overall) &&
        Objects.equals(this.average, v4MatchPlayersInnerEconomySpent.average);
  }

  @Override
  public int hashCode() {
    return Objects.hash(overall, average);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V4MatchPlayersInnerEconomySpent {\n");
    sb.append("    overall: ").append(toIndentedString(overall)).append("\n");
    sb.append("    average: ").append(toIndentedString(average)).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    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy