class TheRockTrade {

  private final BigDecimal amount;
  private final Date date;
  private final BigDecimal price;
  private final long id;
  private final Side side;

  public TheRockTrade(
      @JsonProperty("amount") BigDecimal amount,
      @JsonProperty("date") Date date,
      @JsonProperty("price") BigDecimal price,
      @JsonProperty("id") long id,
      @JsonProperty("side") Side tradeSide) {
    this.amount = amount;
    this.date = date;
    this.price = price;
    this.id = id;
    this.side = tradeSide;
  }

  public BigDecimal getAmount() {
    return amount;
  }

  public Date getDate() {
    return date;
  }

  public BigDecimal getPrice() {
    return price;
  }

  public long getId() {
    return id;
  }

  public Side getSide() {
    return side;
  }

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}

  public enum Side {
    sell,
    buy,
    close_long,
    close_short
  }
}

    return "TheRockTrade [amount="
        + amount
        + ", date="
        + date
        + ", price="
        + price
        + ", id="
        + id
        + ", side="
        + side
        + "]";
  
<no_super_class>