/*
 * Bybit API
 * ## REST API for the Bybit Exchange. Base URI: [https://api.bybit.com]  
 *
 * OpenAPI spec version: 0.2.10
 * Contact: support@bybit.com
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */


package io.swagger.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;

/**
 * LotSizeFilter
 */
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-11-12T14:39:31.513+08:00")
public class LotSizeFilter {
  @SerializedName("min_trading_qty")
  private Object minTradingQty = null;

  @SerializedName("max_trading_qty")
  private Object maxTradingQty = null;

  @SerializedName("qty_step")
  private Object qtyStep = null;

  public LotSizeFilter minTradingQty(Object minTradingQty) {
    this.minTradingQty = minTradingQty;
    return this;
  }

   /**
   * Get minTradingQty
   * @return minTradingQty
  **/
  @ApiModelProperty(value = "")
  public Object getMinTradingQty() {
    return minTradingQty;
  }

  public void setMinTradingQty(Object minTradingQty) {
    this.minTradingQty = minTradingQty;
  }

  public LotSizeFilter maxTradingQty(Object maxTradingQty) {
    this.maxTradingQty = maxTradingQty;
    return this;
  }

   /**
   * Get maxTradingQty
   * @return maxTradingQty
  **/
  @ApiModelProperty(value = "")
  public Object getMaxTradingQty() {
    return maxTradingQty;
  }

  public void setMaxTradingQty(Object maxTradingQty) {
    this.maxTradingQty = maxTradingQty;
  }

  public LotSizeFilter qtyStep(Object qtyStep) {
    this.qtyStep = qtyStep;
    return this;
  }

   /**
   * Get qtyStep
   * @return qtyStep
  **/
  @ApiModelProperty(value = "")
  public Object getQtyStep() {
    return qtyStep;
  }

  public void setQtyStep(Object qtyStep) {
    this.qtyStep = qtyStep;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LotSizeFilter lotSizeFilter = (LotSizeFilter) o;
    return Objects.equals(this.minTradingQty, lotSizeFilter.minTradingQty) &&
        Objects.equals(this.maxTradingQty, lotSizeFilter.maxTradingQty) &&
        Objects.equals(this.qtyStep, lotSizeFilter.qtyStep);
  }

  @Override
  public int hashCode() {
    return Objects.hash(minTradingQty, maxTradingQty, qtyStep);
  }


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

}

