Interface GraphQlBaseRequest<T extends GraphQlBaseResult<? extends GraphQlBaseResource>>
-
- All Superinterfaces:
io.sphere.sdk.client.SphereRequest<T>
- All Known Implementing Classes:
FetchCustomObjectsGraphQlRequest
,GraphQlBaseRequestImpl
,ResourceKeyIdGraphQlRequest
public interface GraphQlBaseRequest<T extends GraphQlBaseResult<? extends GraphQlBaseResource>> extends io.sphere.sdk.client.SphereRequest<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphQlBaseRequest<T>
withLimit(long limit)
This method adds a limit to the request.GraphQlBaseRequest<T>
withPredicate(java.lang.String predicate)
This method adds a predicate string to the request.
-
-
-
Method Detail
-
withPredicate
GraphQlBaseRequest<T> withPredicate(java.lang.String predicate)
This method adds a predicate string to the request.- Parameters:
predicate
- - a string representing a query predicate.- Returns:
- - an instance of this class.
-
withLimit
GraphQlBaseRequest<T> withLimit(long limit)
This method adds a limit to the request.- Parameters:
limit
- - a number representing the query limit parameter- Returns:
- - an instance of this class
-
-