View Javadoc
1   package org.oxerr.youzan.dto.item;
2   
3   import java.io.Serializable;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   public class Trades implements Serializable {
8   
9   	private static final long serialVersionUID = 2016062101L;
10  
11  	private TradeDetail[] trades;
12  	private Integer totalResults;
13  	private Boolean hasNext;
14  
15  	public Trades(
16  		@JsonProperty("trades") TradeDetail[] trades,
17  		@JsonProperty("total_results") Integer totalResults,
18  		@JsonProperty("has_next") Boolean hasNext
19  	) {
20  		this.trades = trades;
21  		this.totalResults = totalResults;
22  		this.hasNext = hasNext;
23  	}
24  
25  	public TradeDetail[] getTrades() {
26  		return trades;
27  	}
28  
29  	public void setTrades(TradeDetail[] trades) {
30  		this.trades = trades;
31  	}
32  
33  	public Integer getTotalResults() {
34  		return totalResults;
35  	}
36  
37  	public void setTotalResults(Integer totalResults) {
38  		this.totalResults = totalResults;
39  	}
40  
41  	public Boolean getHasNext() {
42  		return hasNext;
43  	}
44  
45  	public void setHasNext(Boolean hasNext) {
46  		this.hasNext = hasNext;
47  	}
48  
49  }