class GateioPublicTrade {

    private final long date;
    private final BigDecimal price;
    private final BigDecimal amount;
    private final String tradeId;
    private final GateioOrderType type;

    private GateioPublicTrade(
        @JsonProperty("date") String date,
        @JsonProperty("rate") BigDecimal price,
        @JsonProperty("amount") BigDecimal amount,
        @JsonProperty("tradeID") String tradeId,
        @JsonProperty("timestamp") long timestamp,
        @JsonProperty("type") GateioOrderType type) {

      this.date = timestamp;
      this.price = price;
      this.amount = amount;
      this.tradeId = tradeId;
      this.type = type;
    }

    public long getDate() {

      return date;
    }

    public BigDecimal getPrice() {

      return price;
    }

    public BigDecimal getAmount() {

      return amount;
    }

    public String getTradeId() {

      return tradeId;
    }

    public GateioOrderType getType() {

      return type;
    }

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


      return "BTERPublicTrade [date="
          + date
          + ", price="
          + price
          + ", amount="
          + amount
          + ", tradeId="
          + tradeId
          + ", type="
          + type
          + "]";
    
<methods>public java.lang.String getMessage() ,public boolean isResult() ,public java.lang.String toString() <variables>private final non-sealed java.lang.String message,private final non-sealed boolean result