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

fi.metatavu.edelphi.rest.model.QueryPageLive2DOptions Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
package fi.metatavu.edelphi.rest.model;

import java.time.*;
import java.util.*;

import javax.validation.constraints.*;
import javax.validation.Valid;


import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;


public class QueryPageLive2DOptions   {
  private @Valid QueryPageLive2DAnswersVisibleOption answersVisible = null;  private @Valid QueryPageLive2DAxis axisX = null;  private @Valid QueryPageLive2DAxis axisY = null;

  /**
   **/
  public QueryPageLive2DOptions answersVisible(QueryPageLive2DAnswersVisibleOption answersVisible) {
    this.answersVisible = answersVisible;
    return this;
  }

  
  @ApiModelProperty(value = "")
  @JsonProperty("answersVisible")
  public QueryPageLive2DAnswersVisibleOption getAnswersVisible() {
    return answersVisible;
  }
  public void setAnswersVisible(QueryPageLive2DAnswersVisibleOption answersVisible) {
    this.answersVisible = answersVisible;
  }

  /**
   **/
  public QueryPageLive2DOptions axisX(QueryPageLive2DAxis axisX) {
    this.axisX = axisX;
    return this;
  }

  
  @ApiModelProperty(value = "")
  @JsonProperty("axisX")
  public QueryPageLive2DAxis getAxisX() {
    return axisX;
  }
  public void setAxisX(QueryPageLive2DAxis axisX) {
    this.axisX = axisX;
  }

  /**
   **/
  public QueryPageLive2DOptions axisY(QueryPageLive2DAxis axisY) {
    this.axisY = axisY;
    return this;
  }

  
  @ApiModelProperty(value = "")
  @JsonProperty("axisY")
  public QueryPageLive2DAxis getAxisY() {
    return axisY;
  }
  public void setAxisY(QueryPageLive2DAxis axisY) {
    this.axisY = axisY;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    QueryPageLive2DOptions queryPageLive2DOptions = (QueryPageLive2DOptions) o;
    return Objects.equals(answersVisible, queryPageLive2DOptions.answersVisible) &&
        Objects.equals(axisX, queryPageLive2DOptions.axisX) &&
        Objects.equals(axisY, queryPageLive2DOptions.axisY);
  }

  @Override
  public int hashCode() {
    return Objects.hash(answersVisible, axisX, axisY);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class QueryPageLive2DOptions {\n");
    
    sb.append("    answersVisible: ").append(toIndentedString(answersVisible)).append("\n");
    sb.append("    axisX: ").append(toIndentedString(axisX)).append("\n");
    sb.append("    axisY: ").append(toIndentedString(axisY)).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(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy