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