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

info.bitrich.xchangestream.coinjar.dto.CoinjarHeartbeat Maven / Gradle / Ivy

The newest version!
package info.bitrich.xchangestream.coinjar.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.Maps;
import java.util.Map;

public class CoinjarHeartbeat {

  @JsonProperty("topic")
  public final String topic = "phoenix";

  @JsonProperty("event")
  public final String event = "heartbeat";

  @JsonProperty("payload")
  @JsonInclude(JsonInclude.Include.ALWAYS)
  public final Map payload = Maps.newHashMap();

  @JsonProperty("ref")
  public final Integer ref;

  public CoinjarHeartbeat(Integer ref) {
    this.ref = ref;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy