View Javadoc
1   package org.oxerr.peatio.rest.dto;
2   
3   import java.util.Date;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
7   
8   public class MarketTicker extends BaseObject {
9   
10  	private final Date at;
11  	private final Ticker ticker;
12  
13  	public MarketTicker(
14  			@JsonProperty("at")
15  			@JsonDeserialize(using = UnixTimestampDeserializer.class) Date at,
16  			@JsonProperty("ticker") Ticker ticker) {
17  		this.at = at;
18  		this.ticker = ticker;
19  	}
20  
21  	public Date getAt() {
22  		return at;
23  	}
24  
25  	public Ticker getTicker() {
26  		return ticker;
27  	}
28  
29  }