public static class Storefront.PageConnection extends AbstractResponse<Storefront.PageConnection>
optimisticData, responseData| Constructor and Description |
|---|
PageConnection() |
PageConnection(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Storefront.PageEdge> |
getEdges()
A list of edges.
|
java.lang.String |
getGraphQlTypeName() |
java.util.List<Storefront.Page> |
getNodes()
A list of the nodes contained in PageEdge.
|
Storefront.PageInfo |
getPageInfo()
Information to aid in pagination.
|
Storefront.PageConnection |
setEdges(java.util.List<Storefront.PageEdge> arg) |
Storefront.PageConnection |
setNodes(java.util.List<Storefront.Page> arg) |
Storefront.PageConnection |
setPageInfo(Storefront.PageInfo arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic PageConnection()
public PageConnection(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.util.List<Storefront.PageEdge> getEdges()
public Storefront.PageConnection setEdges(java.util.List<Storefront.PageEdge> arg)
public java.util.List<Storefront.Page> getNodes()
public Storefront.PageConnection setNodes(java.util.List<Storefront.Page> arg)
public Storefront.PageInfo getPageInfo()
public Storefront.PageConnection setPageInfo(Storefront.PageInfo arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.PageConnection>