public static class Storefront.VideoSource extends AbstractResponse<Storefront.VideoSource>
optimisticData, responseData| Constructor and Description |
|---|
VideoSource() |
VideoSource(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormat()
The format of the video source.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.Integer |
getHeight()
The height of the video.
|
java.lang.String |
getMimeType()
The video MIME type.
|
java.lang.String |
getUrl()
The URL of the video.
|
java.lang.Integer |
getWidth()
The width of the video.
|
Storefront.VideoSource |
setFormat(java.lang.String arg) |
Storefront.VideoSource |
setHeight(java.lang.Integer arg) |
Storefront.VideoSource |
setMimeType(java.lang.String arg) |
Storefront.VideoSource |
setUrl(java.lang.String arg) |
Storefront.VideoSource |
setWidth(java.lang.Integer arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic VideoSource()
public VideoSource(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getFormat()
public Storefront.VideoSource setFormat(java.lang.String arg)
public java.lang.Integer getHeight()
public Storefront.VideoSource setHeight(java.lang.Integer arg)
public java.lang.String getMimeType()
public Storefront.VideoSource setMimeType(java.lang.String arg)
public java.lang.String getUrl()
public Storefront.VideoSource setUrl(java.lang.String arg)
public java.lang.Integer getWidth()
public Storefront.VideoSource setWidth(java.lang.Integer arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.VideoSource>