io.sphere.sdk.customergroups.queries.CustomerGroupQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.customergroups.queries;
import io.sphere.sdk.customergroups.CustomerGroup;
import io.sphere.sdk.queries.DefaultModelQueryModelImpl;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
import java.util.Optional;
public class CustomerGroupQueryModel extends DefaultModelQueryModelImpl {
private CustomerGroupQueryModel(final Optional extends QueryModel> parent, final Optional pathSegment) {
super(parent, pathSegment);
}
static CustomerGroupQueryModel get() {
return new CustomerGroupQueryModel(Optional.>empty(), Optional.empty());
}
public StringQuerySortingModel name() {
return new StringQuerySortingModel<>(Optional.of(this), "name");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy