in messages/src/main/java/com/epam/deltix/timebase/messages/universal/TradeEntry.java [838:889]
public StringBuilder toString(StringBuilder str) {
str.append("{ \"$type\": \"TradeEntry\"");
if (hasPrice()) {
str.append(", \"price\": ");
Decimal64Utils.appendTo(getPrice(), str);
}
if (hasSize()) {
str.append(", \"size\": ");
Decimal64Utils.appendTo(getSize(), str);
}
if (hasCondition()) {
str.append(", \"condition\": \"").append(getCondition()).append("\"");
}
if (hasTradeType()) {
str.append(", \"tradeType\": \"").append(getTradeType()).append("\"");
}
if (hasSellerNumberOfOrders()) {
str.append(", \"sellerNumberOfOrders\": ").append(getSellerNumberOfOrders());
}
if (hasBuyerNumberOfOrders()) {
str.append(", \"buyerNumberOfOrders\": ").append(getBuyerNumberOfOrders());
}
if (hasSellerOrderId()) {
str.append(", \"sellerOrderId\": \"").append(getSellerOrderId()).append("\"");
}
if (hasBuyerOrderId()) {
str.append(", \"buyerOrderId\": \"").append(getBuyerOrderId()).append("\"");
}
if (hasSellerParticipantId()) {
str.append(", \"sellerParticipantId\": \"").append(getSellerParticipantId()).append("\"");
}
if (hasBuyerParticipantId()) {
str.append(", \"buyerParticipantId\": \"").append(getBuyerParticipantId()).append("\"");
}
if (hasSide()) {
str.append(", \"side\": \"").append(getSide()).append("\"");
}
if (hasMatchId()) {
str.append(", \"matchId\": \"").append(getMatchId()).append("\"");
}
if (hasExchangeId()) {
str.append(", \"exchangeId\": ").append(getExchangeId());
}
if (hasIsImplied()) {
str.append(", \"isImplied\": ").append(isImplied());
}
if (hasContractId()) {
str.append(", \"contractId\": ").append(getContractId());
}
str.append("}");
return str;
}