dnet45/modules/dnet-openaire-usage-stats-sushilite/src/main/java/eu/dnetlib/usagestats/sushilite/domain/Instance.java @ 52891
1 |
package eu.dnetlib.usagestats.sushilite.domain; |
---|---|
2 |
|
3 |
import com.fasterxml.jackson.annotation.JsonProperty; |
4 |
|
5 |
/**
|
6 |
* Created by tsampikos on 31/10/2016.
|
7 |
*/
|
8 |
public class Instance { |
9 |
private String metricType; |
10 |
private String count; |
11 |
|
12 |
public Instance() { |
13 |
}
|
14 |
|
15 |
public Instance(String type, String count) { |
16 |
this.metricType = type; |
17 |
this.count = count; |
18 |
}
|
19 |
|
20 |
@JsonProperty("MetricType") |
21 |
public String getMetricType() { |
22 |
return metricType; |
23 |
}
|
24 |
|
25 |
@JsonProperty("Count") |
26 |
public String getCount() { |
27 |
return count; |
28 |
}
|
29 |
}
|