io.sphere.sdk.channels.queries.ChannelQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.channels.queries;
import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.channels.ChannelRole;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.reviews.queries.ReviewRatingStatisticsQueryModel;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
final class ChannelQueryModelImpl extends CustomResourceQueryModelImpl implements ChannelQueryModel {
ChannelQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public StringQuerySortingModel key() {
return stringModel("key");
}
@Override
public ReviewRatingStatisticsQueryModel reviewRatingStatistics() {
return ReviewRatingStatisticsQueryModel.of(this, "reviewRatingStatistics");
}
@Override
public SphereEnumerationCollectionQueryModel roles() {
return enumerationQueryModel("roles");
}
@Override
public LocalizedStringOptionalQueryModel name() {
return localizedStringQuerySortingModel("name");
}
@Override
public LocalizedStringOptionalQueryModel description() {
return localizedStringQuerySortingModel("description");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy