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