io.sphere.sdk.reviews.queries.ReviewByIdGet Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasByIdGetEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasByIdGetEndpoint.
in the source class io.sphere.sdk.reviews.Review.
To render this class the handlebars template 'queries/byFieldGetInterface.hbs' has been used.
*/
package io.sphere.sdk.reviews.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.reviews.Review;
import io.sphere.sdk.reviews.expansion.ReviewExpansionModel;
import io.sphere.sdk.models.Identifiable;
import java.util.List;
/**
* Retrieves a review by a known ID.
{@include.example io.sphere.sdk.reviews.queries.ReviewByIdGetIntegrationTest#execution() }
*/
public interface ReviewByIdGet extends MetaModelGetDsl> {
static ReviewByIdGet of(final String id) {
return new ReviewByIdGetImpl(id);
}
static ReviewByIdGet of(final Identifiable resource) {
return of(resource.getId());
}
@Override
List> expansionPaths();
@Override
ReviewByIdGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
ReviewByIdGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
ReviewByIdGet withExpansionPaths(final List> expansionPaths);
}