content: package com.github.misterchangray.libs.binance.api.client.domain.general;
  
  import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  import com.github.misterchangray.libs.binance.api.client.constant.BinanceApiConstants;
  import org.apache.commons.lang3.builder.ToStringBuilder;
  
  /**
   * Exchange Filters define trading rules an exchange.
   *
   * The MAX_NUM_ORDERS filter defines the maximum number of orders an account is allowed to have open on the exchange. Note that both "algo" orders and normal orders are counted for this filter.
   *
   * The MAX_ALGO_ORDERS filter defines the maximum number of "algo" orders an account is allowed to have open on the exchange. "Algo" orders are STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
   */
  @JsonIgnoreProperties(ignoreUnknown = true)
  public class ExchangeFilter {
  
    private FilterType filterType;
  
    private Integer limit;
  
    public FilterType getFilterType() {
      return filterType;
    }
  
    public void setFilterType(FilterType filterType) {
      this.filterType = filterType;
    }
  
    public Integer getLimit() {
      return limit;
    }
  
    public void setLimit(Integer limit) {
      this.limit = limit;
    }
  
    @Override
    public String toString() {
      return new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)
          .append("filterType", filterType)
          .append("limit", limit)
          .toString();
    }
  }
  