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