public static class Storefront.PageInfo extends AbstractResponse<Storefront.PageInfo>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndCursor()
The cursor corresponding to the last node in edges.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.Boolean |
getHasNextPage()
Whether there are more pages to fetch following the current page.
|
java.lang.Boolean |
getHasPreviousPage()
Whether there are any pages prior to the current page.
|
java.lang.String |
getStartCursor()
The cursor corresponding to the first node in edges.
|
Storefront.PageInfo |
setEndCursor(java.lang.String arg) |
Storefront.PageInfo |
setHasNextPage(java.lang.Boolean arg) |
Storefront.PageInfo |
setHasPreviousPage(java.lang.Boolean arg) |
Storefront.PageInfo |
setStartCursor(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic PageInfo()
public PageInfo(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getEndCursor()
public Storefront.PageInfo setEndCursor(java.lang.String arg)
public java.lang.Boolean getHasNextPage()
public Storefront.PageInfo setHasNextPage(java.lang.Boolean arg)
public java.lang.Boolean getHasPreviousPage()
public Storefront.PageInfo setHasPreviousPage(java.lang.Boolean arg)
public java.lang.String getStartCursor()
public Storefront.PageInfo setStartCursor(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.PageInfo>