public class SwatchData extends AbstractResponse<SwatchData>
optimisticData, responseData| Constructor and Description |
|---|
SwatchData() |
SwatchData(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
String |
getType()
Type of swatch filter item: 1 - text, 2 - image
|
String |
getValue()
Value for swatch item (text or image link)
|
SwatchData |
setType(String arg) |
SwatchData |
setValue(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic SwatchData()
public SwatchData(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getType()
public SwatchData setType(String arg)
public String getValue()
public SwatchData setValue(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SwatchData>Copyright © 2022 Adobe. All rights reserved.