public static class Storefront.UnknownNode extends AbstractResponse<Storefront.UnknownNode> implements Storefront.Node
optimisticData, responseData| Constructor and Description |
|---|
UnknownNode() |
UnknownNode(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.Node |
create(JsonObject fields) |
java.lang.String |
getGraphQlTypeName() |
ID |
getId()
A globally-unique ID.
|
Storefront.UnknownNode |
setId(ID arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic UnknownNode()
public UnknownNode(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic static Storefront.Node create(JsonObject fields) throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic Storefront.UnknownNode setId(ID arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.UnknownNode>