public static class Storefront.Model3d extends AbstractResponse<Storefront.Model3d> implements Storefront.Media, Storefront.Node
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlt()
A word or phrase to share the nature or contents of a media.
|
java.lang.String |
getGraphQlTypeName() |
ID |
getId()
A globally-unique identifier.
|
Storefront.MediaContentType |
getMediaContentType()
The media content type.
|
Storefront.Image |
getPreviewImage()
The preview image for the media.
|
java.util.List<Storefront.Model3dSource> |
getSources()
The sources for a 3d model.
|
Storefront.Model3d |
setAlt(java.lang.String arg) |
Storefront.Model3d |
setMediaContentType(Storefront.MediaContentType arg) |
Storefront.Model3d |
setPreviewImage(Storefront.Image arg) |
Storefront.Model3d |
setSources(java.util.List<Storefront.Model3dSource> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Model3d()
public Model3d(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.MediagetGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic java.lang.String getAlt()
getAlt in interface Storefront.Mediapublic Storefront.Model3d setAlt(java.lang.String arg)
public ID getId()
getId in interface Storefront.NodegetId in interface Nodepublic Storefront.MediaContentType getMediaContentType()
getMediaContentType in interface Storefront.Mediapublic Storefront.Model3d setMediaContentType(Storefront.MediaContentType arg)
public Storefront.Image getPreviewImage()
getPreviewImage in interface Storefront.Mediapublic Storefront.Model3d setPreviewImage(Storefront.Image arg)
public java.util.List<Storefront.Model3dSource> getSources()
public Storefront.Model3d setSources(java.util.List<Storefront.Model3dSource> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Model3d>