io.sphere.sdk.search.TermStats Maven / Gradle / Ivy
package io.sphere.sdk.search;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
public class TermStats extends Base {
private final String term;
private final Long count;
@JsonCreator
private TermStats(final String term, final Long count) {
this.term = term;
this.count = count;
}
public String getTerm() {
return term;
}
public Long getCount() {
return count;
}
public static TermStats of(final String term, final long count) {
return new TermStats(term, count);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy