package org.knowm.xchange.bitfinex.v2.dto.marketdata;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@JsonFormat(shape = JsonFormat.Shape.ARRAY)
@AllArgsConstructor
@NoArgsConstructor
@Getter
public class BitfinexTicker {

  private String symbol;
  private BigDecimal frr;
  private BigDecimal bid;
  private BigDecimal bidPeriod;
  private BigDecimal bidSize;
  private BigDecimal ask;
  private BigDecimal askPeriod;
  private BigDecimal askSize;
  private BigDecimal dailyChange;
  private BigDecimal dailyChangePerc;
  private BigDecimal lastPrice;
  private BigDecimal volume;
  private BigDecimal high;
  private BigDecimal low;
  private Object placeHolder0;
  private Object placeHolder1;
  private BigDecimal frrAmountAvailable;

  @Override
  public String toString() {
    return "BitfinexTicker{"
        + "symbol='"
        + symbol
        + '\''
        + ", frr="
        + frr
        + ", bid="
        + bid
        + ", bidPeriod="
        + bidPeriod
        + ", bidSize="
        + bidSize
        + ", askPeriod="
        + askPeriod
        + ", askSize="
        + askSize
        + ", dailyChange="
        + dailyChange
        + ", dailyChangePerc="
        + dailyChangePerc
        + ", lastPrice="
        + lastPrice
        + ", volume="
        + volume
        + ", high="
        + high
        + ", low="
        + low
        + ", placeHolder0="
        + placeHolder0
        + ", placeHolder1="
        + placeHolder1
        + ", frrAmountAvailable="
        + frrAmountAvailable
        + '}';
  }
}

@@ -217,16 +217,40 @@
 tructor;
+%0Aimport lombok.ToString;
 %0A%0A@JsonF
@@ -334,16 +334,26 @@
 @Getter%0A
+@ToString%0A
 public c
@@ -850,16 +850,16 @@
 older1;%0A
+
   privat
@@ -894,811 +894,7 @@
 ble;
-%0A%0A  @Override%0A  public String toString() %7B%0A    return %22BitfinexTicker%7B%22%0A        + %22symbol='%22%0A        + symbol%0A        + '%5C''%0A        + %22, frr=%22%0A        + frr%0A        + %22, bid=%22%0A        + bid%0A        + %22, bidPeriod=%22%0A        + bidPeriod%0A        + %22, bidSize=%22%0A        + bidSize%0A        + %22, askPeriod=%22%0A        + askPeriod%0A        + %22, askSize=%22%0A        + askSize%0A        + %22, dailyChange=%22%0A        + dailyChange%0A        + %22, dailyChangePerc=%22%0A        + dailyChangePerc%0A        + %22, lastPrice=%22%0A        + lastPrice%0A        + %22, volume=%22%0A        + volume%0A        + %22, high=%22%0A        + high%0A        + %22, low=%22%0A        + low%0A        + %22, placeHolder0=%22%0A        + placeHolder0%0A        + %22, placeHolder1=%22%0A        + placeHolder1%0A        + %22, frrAmountAvailable=%22%0A        + frrAmountAvailable%0A        + '%7D';%0A  %7D
 %0A%7D%0A

use lombok ToString