View Javadoc
1   package org.oxerr.okcoin.rest.dto;
2   
3   import com.fasterxml.jackson.annotation.JsonProperty;
4   
5   public class AccountRecords extends ErrorResult {
6   
7   	private static final long serialVersionUID = 2015060701L;
8   
9   	private final AccountRecord[] records;
10  	private final String symbol;
11  
12  	public AccountRecords(
13  		@JsonProperty("result") Boolean result,
14  		@JsonProperty("error_code") int errorCode,
15  		@JsonProperty("records") AccountRecord[] records,
16  		@JsonProperty("symbol") String symbol) {
17  		super(result, errorCode);
18  		this.records = records;
19  		this.symbol = symbol;
20  	}
21  
22  	public AccountRecord[] getRecords() {
23  		return records;
24  	}
25  
26  	public String getSymbol() {
27  		return symbol;
28  	}
29  
30  }