public class ComparableAttribute extends AbstractResponse<ComparableAttribute>
optimisticData, responseData| Constructor and Description |
|---|
ComparableAttribute() |
ComparableAttribute(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
An attribute code that is enabled for product comparisons
|
String |
getGraphQlTypeName() |
String |
getLabel()
The label of the attribute code
|
ComparableAttribute |
setCode(String arg) |
ComparableAttribute |
setLabel(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic ComparableAttribute()
public ComparableAttribute(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getCode()
public ComparableAttribute setCode(String arg)
public String getLabel()
public ComparableAttribute setLabel(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<ComparableAttribute>Copyright © 2022 Adobe. All rights reserved.