public static class Storefront.Filter extends AbstractResponse<Storefront.Filter>
optimisticData, responseData| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getId()
A unique identifier.
|
java.lang.String |
getLabel()
A human-friendly string for this filter.
|
Storefront.FilterType |
getType()
An enumeration that denotes the type of data this filter represents.
|
java.util.List<Storefront.FilterValue> |
getValues()
The list of values for this filter.
|
Storefront.Filter |
setId(java.lang.String arg) |
Storefront.Filter |
setLabel(java.lang.String arg) |
Storefront.Filter |
setType(Storefront.FilterType arg) |
Storefront.Filter |
setValues(java.util.List<Storefront.FilterValue> arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic Filter()
public Filter(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getId()
public Storefront.Filter setId(java.lang.String arg)
public java.lang.String getLabel()
public Storefront.Filter setLabel(java.lang.String arg)
public Storefront.FilterType getType()
public Storefront.Filter setType(Storefront.FilterType arg)
public java.util.List<Storefront.FilterValue> getValues()
public Storefront.Filter setValues(java.util.List<Storefront.FilterValue> arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.Filter>