exchange.apexpro.connector.model.event.AllTickersEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apexpro-connector-java Show documentation
Show all versions of apexpro-connector-java Show documentation
A lightweight library to ApeX-Protocol
package exchange.apexpro.connector.model.event;
import exchange.apexpro.connector.model.market.Ticker;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.List;
@Data
public class AllTickersEvent {
private String topic; //Same as request args
private String eventType; //Snapshot or delta
private Long eventTime;
private Long updateId;
List tickers;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE)
.append("topic",topic)
.append("eventType", eventType)
.append("eventTime", eventTime)
.append("updateId", updateId)
.append("tickers", tickers)
.toString();
}
}