io.sphere.sdk.reviews.search.ReviewRatingStatisticsFacetedSearchSearchModel Maven / Gradle / Ivy
package io.sphere.sdk.reviews.search;
import io.sphere.sdk.search.model.RangeTermFacetedSearchSearchModel;
import io.sphere.sdk.search.model.SearchModel;
import io.sphere.sdk.search.model.SearchModelImpl;
public final class ReviewRatingStatisticsFacetedSearchSearchModel extends SearchModelImpl {
public ReviewRatingStatisticsFacetedSearchSearchModel(final SearchModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public RangeTermFacetedSearchSearchModel averageRating() {
return numberSearchModel("averageRating").facetedAndFiltered();
}
public RangeTermFacetedSearchSearchModel count() {
return numberSearchModel("count").facetedAndFiltered();
}
public RangeTermFacetedSearchSearchModel highestRating() {
return numberSearchModel("highestRating").facetedAndFiltered();
}
public RangeTermFacetedSearchSearchModel lowestRating() {
return numberSearchModel("lowestRating").facetedAndFiltered();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy