Revision 51837
Added by Tsampikos Livisianos about 6 years ago
Result.java | ||
---|---|---|
1 |
package eu.dnetlib.statsapi.entity;
|
|
1 |
package eu.dnetlib.statsapi.domain;
|
|
2 | 2 |
|
3 | 3 |
import com.fasterxml.jackson.annotation.JsonInclude; |
4 | 4 |
|
5 | 5 |
import java.io.Serializable; |
6 | 6 |
|
7 |
public class Result implements Serializable{ |
|
7 |
public class Result implements Serializable {
|
|
8 | 8 |
private final static long serialVersionUID = 1; |
9 | 9 |
|
10 | 10 |
private final String status; |
... | ... | |
12 | 12 |
|
13 | 13 |
private final Object statistics; |
14 | 14 |
|
15 |
public Result(String status, String code, Object statistics){
|
|
16 |
this.status = status; |
|
17 |
this.code = code; |
|
18 |
this.statistics = statistics; |
|
19 |
} |
|
15 |
public Result(String status, String code, Object statistics) {
|
|
16 |
this.status = status;
|
|
17 |
this.code = code;
|
|
18 |
this.statistics = statistics;
|
|
19 |
}
|
|
20 | 20 |
|
21 | 21 |
public String getStatus() { |
22 | 22 |
return status; |
Also available in: Unified diff
refactor everything