io.sphere.sdk.customobjects.queries.CustomObjectQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.customobjects.queries;
import io.sphere.sdk.customobjects.CustomObject;
import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
/**
* Metamodel to explore for which fields can be queried in a {@link io.sphere.sdk.customobjects.CustomObject}.
* @param The type of the value of the custom object.
*/
public class CustomObjectQueryModel extends ResourceQueryModelImpl> {
public static CustomObjectQueryModel of() {
return new CustomObjectQueryModel<>(null, null);
}
private CustomObjectQueryModel(final QueryModel> parent, final String pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel> container() {
return stringModel("container");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy