All Downloads are FREE. Search and download functionalities are using the official Maven repository.

estonlabs.cxtl.exchanges.binance.fapi.domain.stream.BinanceInboundContainer Maven / Gradle / Ivy

There is a newer version: 1.4.14
Show newest version
package estonlabs.cxtl.exchanges.binance.fapi.domain.stream;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import estonlabs.cxtl.common.stream.managed.InboundContainer;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,        // Use the name of the type as the identifier
        property = "e"                     // The JSON property that determines the type
)
@JsonSubTypes({
        @JsonSubTypes.Type(value = OrderTradeUpdate.class, name = "ORDER_TRADE_UPDATE"),
        @JsonSubTypes.Type(value = AccountUpdate.class, name = "ACCOUNT_UPDATE"),
        @JsonSubTypes.Type(value = OrderBookStreamData.class, name = "depthUpdate"),
        @JsonSubTypes.Type(value = BookTickerStreamData.class, name = "bookTicker")
})
public interface BinanceInboundContainer extends InboundContainer {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy