public class SwatchLayerFilterItem extends AbstractResponse<SwatchLayerFilterItem> implements LayerFilterItemInterface, SwatchLayerFilterItemInterface
optimisticData, responseData| Constructor and Description |
|---|
SwatchLayerFilterItem() |
SwatchLayerFilterItem(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
Integer |
getItemsCount()
Deprecated.
Use AggregationOption.count instead.
|
String |
getLabel()
Deprecated.
Use AggregationOption.label instead.
|
SwatchData |
getSwatchData()
Data required to render swatch filter item
|
String |
getValueString()
Deprecated.
Use AggregationOption.value instead.
|
SwatchLayerFilterItem |
setItemsCount(Integer arg) |
SwatchLayerFilterItem |
setLabel(String arg) |
SwatchLayerFilterItem |
setSwatchData(SwatchData arg) |
SwatchLayerFilterItem |
setValueString(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 SwatchLayerFilterItem()
public SwatchLayerFilterItem(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface LayerFilterItemInterfacegetGraphQlTypeName in interface SwatchLayerFilterItemInterface@Deprecated public Integer getItemsCount()
getItemsCount in interface LayerFilterItemInterfacepublic SwatchLayerFilterItem setItemsCount(Integer arg)
@Deprecated public String getLabel()
getLabel in interface LayerFilterItemInterfacepublic SwatchLayerFilterItem setLabel(String arg)
public SwatchData getSwatchData()
getSwatchData in interface SwatchLayerFilterItemInterfacepublic SwatchLayerFilterItem setSwatchData(SwatchData arg)
@Deprecated public String getValueString()
getValueString in interface LayerFilterItemInterfacepublic SwatchLayerFilterItem setValueString(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<SwatchLayerFilterItem>Copyright © 2022 Adobe. All rights reserved.