public static class Storefront.Model3d extends <any> implements Storefront.Media, Storefront.Node
| Constructor and Description |
|---|
Model3d() |
Model3d(ID id) |
Model3d(JsonObject fields) |
| 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()
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) |
public Model3d()
public Model3d(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic Model3d(ID id)
public java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.MediagetGraphQlTypeName in interface Storefront.Nodepublic java.lang.String getAlt()
getAlt in interface Storefront.Mediapublic Storefront.Model3d setAlt(java.lang.String arg)
public ID getId()
getId in interface Storefront.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)