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