public class ProductVideo extends AbstractResponse<ProductVideo> implements MediaGalleryInterface
optimisticData, responseData| Constructor and Description |
|---|
ProductVideo() |
ProductVideo(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDisabled()
Whether the image is hidden from view.
|
String |
getGraphQlTypeName() |
String |
getLabel()
The label of the product image or video.
|
Integer |
getPosition()
The media item's position after it has been sorted.
|
String |
getUrl()
The URL of the product image or video.
|
ProductMediaGalleryEntriesVideoContent |
getVideoContent()
Contains a ProductMediaGalleryEntriesVideoContent object.
|
ProductVideo |
setDisabled(Boolean arg) |
ProductVideo |
setLabel(String arg) |
ProductVideo |
setPosition(Integer arg) |
ProductVideo |
setUrl(String arg) |
ProductVideo |
setVideoContent(ProductMediaGalleryEntriesVideoContent arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsStringpublic ProductVideo()
public ProductVideo(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface MediaGalleryInterfacepublic Boolean getDisabled()
getDisabled in interface MediaGalleryInterfacepublic ProductVideo setDisabled(Boolean arg)
public String getLabel()
getLabel in interface MediaGalleryInterfacepublic ProductVideo setLabel(String arg)
public Integer getPosition()
getPosition in interface MediaGalleryInterfacepublic ProductVideo setPosition(Integer arg)
public String getUrl()
getUrl in interface MediaGalleryInterfacepublic ProductVideo setUrl(String arg)
public ProductMediaGalleryEntriesVideoContent getVideoContent()
public ProductVideo setVideoContent(ProductMediaGalleryEntriesVideoContent arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ProductVideo>Copyright © 2022 Adobe. All rights reserved.