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