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