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

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

/**
 * V1QueueStatusDataInnerGameRules
 */

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

  private Boolean overtimeWinByTwo;

  private Boolean allowLenientSurrender;

  private Boolean allowDropOut;

  private Boolean assignRandomAgents;

  private Boolean skipPregame;

  private Boolean allowOvertimeDrawVote;

  private Boolean overtimeWinByTwoCapped;

  private Boolean premierMode;

  public V1QueueStatusDataInnerGameRules overtimeWinByTwo(Boolean overtimeWinByTwo) {
    this.overtimeWinByTwo = overtimeWinByTwo;
    return this;
  }

  /**
   * Get overtimeWinByTwo
   * @return overtimeWinByTwo
   */
  
  @Schema(name = "overtime_win_by_two", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("overtime_win_by_two")
  public Boolean getOvertimeWinByTwo() {
    return overtimeWinByTwo;
  }

  public void setOvertimeWinByTwo(Boolean overtimeWinByTwo) {
    this.overtimeWinByTwo = overtimeWinByTwo;
  }

  public V1QueueStatusDataInnerGameRules allowLenientSurrender(Boolean allowLenientSurrender) {
    this.allowLenientSurrender = allowLenientSurrender;
    return this;
  }

  /**
   * Get allowLenientSurrender
   * @return allowLenientSurrender
   */
  
  @Schema(name = "allow_lenient_surrender", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("allow_lenient_surrender")
  public Boolean getAllowLenientSurrender() {
    return allowLenientSurrender;
  }

  public void setAllowLenientSurrender(Boolean allowLenientSurrender) {
    this.allowLenientSurrender = allowLenientSurrender;
  }

  public V1QueueStatusDataInnerGameRules allowDropOut(Boolean allowDropOut) {
    this.allowDropOut = allowDropOut;
    return this;
  }

  /**
   * Get allowDropOut
   * @return allowDropOut
   */
  
  @Schema(name = "allow_drop_out", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("allow_drop_out")
  public Boolean getAllowDropOut() {
    return allowDropOut;
  }

  public void setAllowDropOut(Boolean allowDropOut) {
    this.allowDropOut = allowDropOut;
  }

  public V1QueueStatusDataInnerGameRules assignRandomAgents(Boolean assignRandomAgents) {
    this.assignRandomAgents = assignRandomAgents;
    return this;
  }

  /**
   * Get assignRandomAgents
   * @return assignRandomAgents
   */
  
  @Schema(name = "assign_random_agents", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("assign_random_agents")
  public Boolean getAssignRandomAgents() {
    return assignRandomAgents;
  }

  public void setAssignRandomAgents(Boolean assignRandomAgents) {
    this.assignRandomAgents = assignRandomAgents;
  }

  public V1QueueStatusDataInnerGameRules skipPregame(Boolean skipPregame) {
    this.skipPregame = skipPregame;
    return this;
  }

  /**
   * Get skipPregame
   * @return skipPregame
   */
  
  @Schema(name = "skip_pregame", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("skip_pregame")
  public Boolean getSkipPregame() {
    return skipPregame;
  }

  public void setSkipPregame(Boolean skipPregame) {
    this.skipPregame = skipPregame;
  }

  public V1QueueStatusDataInnerGameRules allowOvertimeDrawVote(Boolean allowOvertimeDrawVote) {
    this.allowOvertimeDrawVote = allowOvertimeDrawVote;
    return this;
  }

  /**
   * Get allowOvertimeDrawVote
   * @return allowOvertimeDrawVote
   */
  
  @Schema(name = "allow_overtime_draw_vote", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("allow_overtime_draw_vote")
  public Boolean getAllowOvertimeDrawVote() {
    return allowOvertimeDrawVote;
  }

  public void setAllowOvertimeDrawVote(Boolean allowOvertimeDrawVote) {
    this.allowOvertimeDrawVote = allowOvertimeDrawVote;
  }

  public V1QueueStatusDataInnerGameRules overtimeWinByTwoCapped(Boolean overtimeWinByTwoCapped) {
    this.overtimeWinByTwoCapped = overtimeWinByTwoCapped;
    return this;
  }

  /**
   * Get overtimeWinByTwoCapped
   * @return overtimeWinByTwoCapped
   */
  
  @Schema(name = "overtime_win_by_two_capped", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("overtime_win_by_two_capped")
  public Boolean getOvertimeWinByTwoCapped() {
    return overtimeWinByTwoCapped;
  }

  public void setOvertimeWinByTwoCapped(Boolean overtimeWinByTwoCapped) {
    this.overtimeWinByTwoCapped = overtimeWinByTwoCapped;
  }

  public V1QueueStatusDataInnerGameRules premierMode(Boolean premierMode) {
    this.premierMode = premierMode;
    return this;
  }

  /**
   * Get premierMode
   * @return premierMode
   */
  
  @Schema(name = "premier_mode", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("premier_mode")
  public Boolean getPremierMode() {
    return premierMode;
  }

  public void setPremierMode(Boolean premierMode) {
    this.premierMode = premierMode;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    V1QueueStatusDataInnerGameRules v1QueueStatusDataInnerGameRules = (V1QueueStatusDataInnerGameRules) o;
    return Objects.equals(this.overtimeWinByTwo, v1QueueStatusDataInnerGameRules.overtimeWinByTwo) &&
        Objects.equals(this.allowLenientSurrender, v1QueueStatusDataInnerGameRules.allowLenientSurrender) &&
        Objects.equals(this.allowDropOut, v1QueueStatusDataInnerGameRules.allowDropOut) &&
        Objects.equals(this.assignRandomAgents, v1QueueStatusDataInnerGameRules.assignRandomAgents) &&
        Objects.equals(this.skipPregame, v1QueueStatusDataInnerGameRules.skipPregame) &&
        Objects.equals(this.allowOvertimeDrawVote, v1QueueStatusDataInnerGameRules.allowOvertimeDrawVote) &&
        Objects.equals(this.overtimeWinByTwoCapped, v1QueueStatusDataInnerGameRules.overtimeWinByTwoCapped) &&
        Objects.equals(this.premierMode, v1QueueStatusDataInnerGameRules.premierMode);
  }

  @Override
  public int hashCode() {
    return Objects.hash(overtimeWinByTwo, allowLenientSurrender, allowDropOut, assignRandomAgents, skipPregame, allowOvertimeDrawVote, overtimeWinByTwoCapped, premierMode);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1QueueStatusDataInnerGameRules {\n");
    sb.append("    overtimeWinByTwo: ").append(toIndentedString(overtimeWinByTwo)).append("\n");
    sb.append("    allowLenientSurrender: ").append(toIndentedString(allowLenientSurrender)).append("\n");
    sb.append("    allowDropOut: ").append(toIndentedString(allowDropOut)).append("\n");
    sb.append("    assignRandomAgents: ").append(toIndentedString(assignRandomAgents)).append("\n");
    sb.append("    skipPregame: ").append(toIndentedString(skipPregame)).append("\n");
    sb.append("    allowOvertimeDrawVote: ").append(toIndentedString(allowOvertimeDrawVote)).append("\n");
    sb.append("    overtimeWinByTwoCapped: ").append(toIndentedString(overtimeWinByTwoCapped)).append("\n");
    sb.append("    premierMode: ").append(toIndentedString(premierMode)).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