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

net.rrworld.henrikval.gen.model.V4MatchRoundsInnerStatsInnerEconomy 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 net.rrworld.henrikval.gen.model.V4MatchRoundsInnerStatsInnerEconomyArmor;
import net.rrworld.henrikval.gen.model.V4MatchRoundsInnerStatsInnerEconomyWeapon;
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;

/**
 * V4MatchRoundsInnerStatsInnerEconomy
 */

@JsonTypeName("v4_match_rounds_inner_stats_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 V4MatchRoundsInnerStatsInnerEconomy {

  private Integer loadoutValue;

  private Integer remaining;

  private V4MatchRoundsInnerStatsInnerEconomyWeapon weapon;

  private V4MatchRoundsInnerStatsInnerEconomyArmor armor = null;

  public V4MatchRoundsInnerStatsInnerEconomy loadoutValue(Integer loadoutValue) {
    this.loadoutValue = loadoutValue;
    return this;
  }

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

  public void setLoadoutValue(Integer loadoutValue) {
    this.loadoutValue = loadoutValue;
  }

  public V4MatchRoundsInnerStatsInnerEconomy remaining(Integer remaining) {
    this.remaining = remaining;
    return this;
  }

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

  public void setRemaining(Integer remaining) {
    this.remaining = remaining;
  }

  public V4MatchRoundsInnerStatsInnerEconomy weapon(V4MatchRoundsInnerStatsInnerEconomyWeapon weapon) {
    this.weapon = weapon;
    return this;
  }

  /**
   * Get weapon
   * @return weapon
   */
  @Valid 
  @Schema(name = "weapon", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("weapon")
  public V4MatchRoundsInnerStatsInnerEconomyWeapon getWeapon() {
    return weapon;
  }

  public void setWeapon(V4MatchRoundsInnerStatsInnerEconomyWeapon weapon) {
    this.weapon = weapon;
  }

  public V4MatchRoundsInnerStatsInnerEconomy armor(V4MatchRoundsInnerStatsInnerEconomyArmor armor) {
    this.armor = armor;
    return this;
  }

  /**
   * Get armor
   * @return armor
   */
  @Valid 
  @Schema(name = "armor", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("armor")
  public V4MatchRoundsInnerStatsInnerEconomyArmor getArmor() {
    return armor;
  }

  public void setArmor(V4MatchRoundsInnerStatsInnerEconomyArmor armor) {
    this.armor = armor;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V4MatchRoundsInnerStatsInnerEconomy v4MatchRoundsInnerStatsInnerEconomy = (V4MatchRoundsInnerStatsInnerEconomy) o;
    return Objects.equals(this.loadoutValue, v4MatchRoundsInnerStatsInnerEconomy.loadoutValue) &&
        Objects.equals(this.remaining, v4MatchRoundsInnerStatsInnerEconomy.remaining) &&
        Objects.equals(this.weapon, v4MatchRoundsInnerStatsInnerEconomy.weapon) &&
        Objects.equals(this.armor, v4MatchRoundsInnerStatsInnerEconomy.armor);
  }

  @Override
  public int hashCode() {
    return Objects.hash(loadoutValue, remaining, weapon, armor);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V4MatchRoundsInnerStatsInnerEconomy {\n");
    sb.append("    loadoutValue: ").append(toIndentedString(loadoutValue)).append("\n");
    sb.append("    remaining: ").append(toIndentedString(remaining)).append("\n");
    sb.append("    weapon: ").append(toIndentedString(weapon)).append("\n");
    sb.append("    armor: ").append(toIndentedString(armor)).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