io.sphere.sdk.zones.queries.ZoneQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.zones.queries;
import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
import io.sphere.sdk.zones.Zone;
public class ZoneQueryModel extends ResourceQueryModelImpl {
public static ZoneQueryModel of() {
return new ZoneQueryModel(null, null);
}
private ZoneQueryModel(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel name() {
return stringModel("name");
}
public LocationsCollectionQueryModel locations() {
return new LocationsCollectionQueryModelImpl<>(this, "locations");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy