io.sphere.sdk.queries.ResourceQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.queries;
public class ResourceQueryModelImpl extends QueryModelImpl implements ResourceQueryModel {
protected ResourceQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public final StringQuerySortingModel id() {
return stringModel("id");
}
@Override
public final TimestampSortingModel createdAt() {
return new TimestampSortingModelImpl<>(this, "createdAt");
}
@Override
public final TimestampSortingModel lastModifiedAt() {
return new TimestampSortingModelImpl<>(this, "lastModifiedAt");
}
public final QueryPredicate not(final QueryPredicate queryPredicateToNegate) {
return queryPredicateToNegate.negate();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy