public class BucketEntity {
private String key;
-
+
@JsonProperty("doc_count")
private int docCount;
public BucketEntity() {
-
+
}
-
+
public BucketEntity(String name, int value) {
this.key = name;
this.docCount = value;
}
-
+
public String getKey() {
return key;
}
public void setDocCount(int docCount) {
this.docCount = docCount;
}
-
-
-}
+
+
+}