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

net.rrworld.henrikval.gen.model.V4MatchCoachesInner 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.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;

/**
 * V4MatchCoachesInner
 */

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

  private UUID puuid;

  private String teamId;

  public V4MatchCoachesInner puuid(UUID puuid) {
    this.puuid = puuid;
    return this;
  }

  /**
   * Get puuid
   * @return puuid
   */
  @Valid 
  @Schema(name = "puuid", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("puuid")
  public UUID getPuuid() {
    return puuid;
  }

  public void setPuuid(UUID puuid) {
    this.puuid = puuid;
  }

  public V4MatchCoachesInner teamId(String teamId) {
    this.teamId = teamId;
    return this;
  }

  /**
   * Get teamId
   * @return teamId
   */
  
  @Schema(name = "team_id", example = "Red", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("team_id")
  public String getTeamId() {
    return teamId;
  }

  public void setTeamId(String teamId) {
    this.teamId = teamId;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V4MatchCoachesInner v4MatchCoachesInner = (V4MatchCoachesInner) o;
    return Objects.equals(this.puuid, v4MatchCoachesInner.puuid) &&
        Objects.equals(this.teamId, v4MatchCoachesInner.teamId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(puuid, teamId);
  }

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