io.sphere.sdk.reviews.queries.ReviewQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.reviews.queries;
import io.sphere.sdk.customers.Customer;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.reviews.Review;
import io.sphere.sdk.states.State;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
import io.sphere.sdk.types.queries.WithCustomQueryModel;
public final class ReviewQueryModel extends CustomResourceQueryModelImpl implements WithCustomQueryModel {
public static ReviewQueryModel of() {
return new ReviewQueryModel(null, null);
}
private ReviewQueryModel(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel key() {
return stringModel("key");
}
public StringQuerySortingModel uniquenessValue() {
return stringModel("uniquenessValue");
}
public StringQuerySortingModel title() {
return stringModel("title");
}
public StringQuerySortingModel text() {
return stringModel("text");
}
public StringQuerySortingModel authorName() {
return stringModel("authorName");
}
public LocaleQuerySortingModel locale() {
return localeQuerySortingModel("locale");
}
public AnyReferenceQueryModel target() {
return anyReferenceModel("target");
}
public IntegerQuerySortingModel rating() {
return integerModel("rating");
}
public ReferenceOptionalQueryModel state() {
return referenceOptionalModel("state");
}
public BooleanQueryModel includedInStatistics() {
return booleanModel("includedInStatistics");
}
public ReferenceOptionalQueryModel customer() {
return referenceOptionalModel("customer");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy