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