All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.QueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
import io.sphere.sdk.reviews.queries.ReviewRatingStatisticsQueryModel;
import io.sphere.sdk.reviews.queries.ReviewRatingStatisticsQueryModelImpl;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
import io.sphere.sdk.types.queries.WithCustomQueryModel;

public class ChannelQueryModel extends CustomResourceQueryModelImpl implements WithCustomQueryModel {
    private ChannelQueryModel(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    public static ChannelQueryModel of() {
        return new ChannelQueryModel(null, null);
    }

    public StringQuerySortingModel key() {
        return stringModel("key");
    }

    public ReviewRatingStatisticsQueryModel reviewRatingStatistics() {
        return new ReviewRatingStatisticsQueryModelImpl<>(this, "reviewRatingStatistics");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy