View Javadoc
1   package org.oxerr.okcoin.rest.dto;
2   
3   import com.fasterxml.jackson.annotation.JsonProperty;
4   
5   public class Result extends BaseObject {
6   
7   	private static final long serialVersionUID = 2013122001L;
8   
9   	private final int errorNum;
10  
11  	private final int resultCode;
12  
13  	public Result(
14  			@JsonProperty("errorNum") final int errorNum,
15  			@JsonProperty("resultCode") final int resultCode) {
16  		this.errorNum = errorNum;
17  		this.resultCode = resultCode;
18  	}
19  
20  	/**
21  	 * @return the errorNum
22  	 */
23  	public int getErrorNum() {
24  		return errorNum;
25  	}
26  
27  	/**
28  	 * @return the resultCode
29  	 */
30  	public int getResultCode() {
31  		return resultCode;
32  	}
33  
34  }