public class ProductImage extends AbstractResponse<ProductImage> implements MediaGalleryInterface
optimisticData, responseData| Constructor and Description |
|---|
ProductImage() |
ProductImage(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.
|
ProductImage |
setDisabled(Boolean arg) |
ProductImage |
setLabel(String arg) |
ProductImage |
setPosition(Integer arg) |
ProductImage |
setUrl(String 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 ProductImage()
public ProductImage(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface MediaGalleryInterfacepublic Boolean getDisabled()
getDisabled in interface MediaGalleryInterfacepublic ProductImage setDisabled(Boolean arg)
public String getLabel()
getLabel in interface MediaGalleryInterfacepublic ProductImage setLabel(String arg)
public Integer getPosition()
getPosition in interface MediaGalleryInterfacepublic ProductImage setPosition(Integer arg)
public String getUrl()
getUrl in interface MediaGalleryInterfacepublic ProductImage setUrl(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ProductImage>Copyright © 2022 Adobe. All rights reserved.