info.bitrich.xchangestream.btcmarkets.dto.BTCMarketsWebSocketOrderbookMessage Maven / Gradle / Ivy
package info.bitrich.xchangestream.btcmarkets.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.List;
public class BTCMarketsWebSocketOrderbookMessage {
public final String marketId;
public final String timestamp;
public final List> bids;
public final List> asks;
public final String messageType;
public BTCMarketsWebSocketOrderbookMessage(
@JsonProperty("marketId") String marketId,
@JsonProperty("timestamp") String timestamp,
@JsonProperty("bids") List> bids,
@JsonProperty("asks") List> asks,
@JsonProperty("messageType") String messageType) {
this.marketId = marketId;
this.timestamp = timestamp;
this.bids = bids;
this.asks = asks;
this.messageType = messageType;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy