public class Aggregation extends AbstractResponse<Aggregation>
optimisticData, responseData| Constructor and Description |
|---|
Aggregation() |
Aggregation(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeCode()
Attribute code of the aggregation group.
|
Integer |
getCount()
The number of options in the aggregation group.
|
String |
getGraphQlTypeName() |
String |
getLabel()
The aggregation display name.
|
List<AggregationOption> |
getOptions()
Array of options for the aggregation.
|
Aggregation |
setAttributeCode(String arg) |
Aggregation |
setCount(Integer arg) |
Aggregation |
setLabel(String arg) |
Aggregation |
setOptions(List<AggregationOption> arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic Aggregation()
public Aggregation(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getAttributeCode()
public Aggregation setAttributeCode(String arg)
public Integer getCount()
public Aggregation setCount(Integer arg)
public String getLabel()
public Aggregation setLabel(String arg)
public List<AggregationOption> getOptions()
public Aggregation setOptions(List<AggregationOption> arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<Aggregation>Copyright © 2022 Adobe. All rights reserved.