public static class Storefront.ExternalVideo extends <any> implements Storefront.Media, Storefront.Node
| Constructor and Description |
|---|
ExternalVideo() |
ExternalVideo(ID id) |
ExternalVideo(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 |
getEmbeddedUrl()
The URL.
|
java.lang.String |
getGraphQlTypeName() |
Storefront.MediaHost |
getHost()
The host of the external video.
|
ID |
getId()
Globally unique identifier.
|
Storefront.MediaContentType |
getMediaContentType()
The media content type.
|
Storefront.Image |
getPreviewImage()
The preview image for the media.
|
Storefront.ExternalVideo |
setAlt(java.lang.String arg) |
Storefront.ExternalVideo |
setEmbeddedUrl(java.lang.String arg) |
Storefront.ExternalVideo |
setHost(Storefront.MediaHost arg) |
Storefront.ExternalVideo |
setMediaContentType(Storefront.MediaContentType arg) |
Storefront.ExternalVideo |
setPreviewImage(Storefront.Image arg) |
boolean |
unwrapsToObject(java.lang.String key) |
public ExternalVideo()
public ExternalVideo(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic ExternalVideo(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.ExternalVideo setAlt(java.lang.String arg)
public java.lang.String getEmbeddedUrl()
public Storefront.ExternalVideo setEmbeddedUrl(java.lang.String arg)
public Storefront.MediaHost getHost()
public Storefront.ExternalVideo setHost(Storefront.MediaHost arg)
public ID getId()
getId in interface Storefront.Nodepublic Storefront.MediaContentType getMediaContentType()
getMediaContentType in interface Storefront.Mediapublic Storefront.ExternalVideo setMediaContentType(Storefront.MediaContentType arg)
public Storefront.Image getPreviewImage()
getPreviewImage in interface Storefront.Mediapublic Storefront.ExternalVideo setPreviewImage(Storefront.Image arg)
public boolean unwrapsToObject(java.lang.String key)