
com.xeiam.xchange.poloniex.dto.marketdata.PoloniexMarketData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-poloniex Show documentation
Show all versions of xchange-poloniex Show documentation
XChange implementation for the Poloniex Exchange
The newest version!
package com.xeiam.xchange.poloniex.dto.marketdata;
/**
* @author Zach Holmes
*/
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({ "last", "lowestAsk", "highestBid", "percentChange", "baseVolume", "quoteVolume" })
public class PoloniexMarketData {
@JsonProperty("last")
private BigDecimal last;
@JsonProperty("lowestAsk")
private BigDecimal lowestAsk;
@JsonProperty("highestBid")
private BigDecimal highestBid;
@JsonProperty("percentChange")
private BigDecimal percentChange;
@JsonProperty("baseVolume")
private BigDecimal baseVolume;
@JsonProperty("quoteVolume")
private BigDecimal quoteVolume;
@JsonIgnore
private Map additionalProperties = new HashMap();
@JsonProperty("last")
public BigDecimal getLast() {
return last;
}
@JsonProperty("last")
public void setLast(BigDecimal last) {
this.last = last;
}
@JsonProperty("lowestAsk")
public BigDecimal getLowestAsk() {
return lowestAsk;
}
@JsonProperty("lowestAsk")
public void setLowestAsk(BigDecimal lowestAsk) {
this.lowestAsk = lowestAsk;
}
@JsonProperty("highestBid")
public BigDecimal getHighestBid() {
return highestBid;
}
@JsonProperty("highestBid")
public void setHighestBid(BigDecimal highestBid) {
this.highestBid = highestBid;
}
@JsonProperty("percentChange")
public BigDecimal getPercentChange() {
return percentChange;
}
@JsonProperty("percentChange")
public void setPercentChange(BigDecimal percentChange) {
this.percentChange = percentChange;
}
@JsonProperty("baseVolume")
public BigDecimal getBaseVolume() {
return baseVolume;
}
@JsonProperty("baseVolume")
public void setBaseVolume(BigDecimal baseVolume) {
this.baseVolume = baseVolume;
}
@JsonProperty("quoteVolume")
public BigDecimal getQuoteVolume() {
return quoteVolume;
}
@JsonProperty("quoteVolume")
public void setQuoteVolume(BigDecimal quoteVolume) {
this.quoteVolume = quoteVolume;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
@Override
public String toString() {
return "PoloniexMarketData [last=" + last + ", lowestAsk=" + lowestAsk + ", highestBid=" + highestBid + ", percentChange=" + percentChange
+ ", baseVolume=" + baseVolume + ", quoteVolume=" + quoteVolume + ", additionalProperties=" + additionalProperties + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy