public class ImageSwatchData extends AbstractResponse<ImageSwatchData> implements SwatchDataInterface
optimisticData, responseData| Constructor and Description |
|---|
ImageSwatchData() |
ImageSwatchData(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
String |
getThumbnail()
Thumbnail swatch image URL
|
String |
getValue()
Value of swatch item (HEX color code, image link or textual value)
|
ImageSwatchData |
setThumbnail(String arg) |
ImageSwatchData |
setValue(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 ImageSwatchData()
public ImageSwatchData(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface SwatchDataInterfacepublic String getThumbnail()
public ImageSwatchData setThumbnail(String arg)
public String getValue()
getValue in interface SwatchDataInterfacepublic ImageSwatchData setValue(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ImageSwatchData>Copyright © 2022 Adobe. All rights reserved.