public static class Storefront.PageEdge extends AbstractResponse<Storefront.PageEdge>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCursor()
A cursor for use in pagination.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.Page |
getNode()
The item at the end of PageEdge.
|
Storefront.PageEdge |
setCursor(java.lang.String arg) |
Storefront.PageEdge |
setNode(Storefront.Page arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic PageEdge()
public PageEdge(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getCursor()
public Storefront.PageEdge setCursor(java.lang.String arg)
public Storefront.Page getNode()
public Storefront.PageEdge setNode(Storefront.Page arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.PageEdge>