class PoloniexMarginPostionResponse {
  @JsonProperty("amount")
  private BigDecimal amount;

  @JsonProperty("total")
  private BigDecimal total;

  @JsonProperty("basePrice")
  private BigDecimal basePrice;

  @JsonProperty("liquidationPrice")
  private BigDecimal liquidationPrice;

  @JsonProperty("pl")
  private BigDecimal pl;

  @JsonProperty("lendingFees")
  private BigDecimal lendingFees;

  @JsonProperty("type")
  private String type;

  @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();

  public BigDecimal getAmount() {
    return amount;
  }

  public BigDecimal getTotal() {
    return total;
  }

  public BigDecimal getBasePrice() {
    return basePrice;
  }

  public BigDecimal getLiquidationPrice() {
    return liquidationPrice;
  }

  public BigDecimal getPl() {
    return pl;
  }

  public BigDecimal getLendingFees() {
    return lendingFees;
  }

  public String getType() {
    return type;
  }

  public Map<String, Object> getAdditionalProperties() {
    return additionalProperties;
  }

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

    return "PoloniexMarginPostionResponse{"
        + "amount="
        + amount
        + ", total="
        + total
        + ", basePrice="
        + basePrice
        + ", liquidationPrice="
        + liquidationPrice
        + ", pl="
        + pl
        + ", lendingFees="
        + lendingFees
        + ", type='"
        + type
        + '\''
        + '}';
  
<no_super_class>