info.bitrich.xchangestream.okcoin.dto.WebSocketMessage Maven / Gradle / Ivy
package info.bitrich.xchangestream.okcoin.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
public class WebSocketMessage {
private final String event;
private final String channel;
public WebSocketMessage(
@JsonProperty("event") String event, @JsonProperty("channel") String channel) {
this.event = event;
this.channel = channel;
}
public String getEvent() {
return event;
}
public String getChannel() {
return channel;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy