public static class Storefront.ProductEdge extends AbstractResponse<Storefront.ProductEdge>
optimisticData, responseData| Constructor and Description |
|---|
ProductEdge() |
ProductEdge(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCursor()
A cursor for use in pagination.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.Product |
getNode()
The item at the end of ProductEdge.
|
Storefront.ProductEdge |
setCursor(java.lang.String arg) |
Storefront.ProductEdge |
setNode(Storefront.Product arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ProductEdge()
public ProductEdge(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getCursor()
public Storefront.ProductEdge setCursor(java.lang.String arg)
public Storefront.Product getNode()
public Storefront.ProductEdge setNode(Storefront.Product arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ProductEdge>