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

info.bitrich.xchangestream.cexio.dto.CexioWebSocketAuth Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;

public class CexioWebSocketAuth {

  private final String key;
  private final String signature;
  private final long timestamp;

  public CexioWebSocketAuth(
      @JsonProperty("key") String key,
      @JsonProperty("signature") String signature,
      @JsonProperty("timestamp") long timestamp) {
    this.key = key;
    this.signature = signature;
    this.timestamp = timestamp;
  }

  public String getKey() {
    return key;
  }

  public String getSignature() {
    return signature;
  }

  public long getTimestamp() {
    return timestamp;
  }

  @Override
  public String toString() {
    return "CexioWebSocketAuth{"
        + "key='"
        + key
        + '\''
        + ", signature='"
        + signature
        + '\''
        + ", timestamp="
        + timestamp
        + '}';
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy