
io.sphere.client.model.facets.RangeFacetResultRaw Maven / Gradle / Ivy
package io.sphere.client.model.facets;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.List;
/** Aggregated counts for a numeric range facet, returned as a part of {@link io.sphere.client.model.SearchResult}. */
public class RangeFacetResultRaw implements FacetResult {
private final List items;
@JsonCreator
public RangeFacetResultRaw(@JsonProperty("ranges") List items) {
this.items = items;
}
/** A list of individual ranges for this range facet and their respective counts. */
public List getItems() {
return items;
}
@Override
public String toString() {
return "RangeFacetResultRaw{" +
"items=" + items +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy