public class AggregationOption extends AbstractResponse<AggregationOption> implements AggregationOptionInterface
optimisticData, responseData| Constructor and Description |
|---|
AggregationOption() |
AggregationOption(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCount()
The number of items that match the aggregation option.
|
String |
getGraphQlTypeName() |
String |
getLabel()
Aggregation option display label.
|
String |
getValue()
The internal ID that represents the value of the option.
|
AggregationOption |
setCount(Integer arg) |
AggregationOption |
setLabel(String arg) |
AggregationOption |
setValue(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 AggregationOption()
public AggregationOption(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
getGraphQlTypeName in interface AggregationOptionInterfacepublic Integer getCount()
getCount in interface AggregationOptionInterfacepublic AggregationOption setCount(Integer arg)
public String getLabel()
getLabel in interface AggregationOptionInterfacepublic AggregationOption setLabel(String arg)
public String getValue()
getValue in interface AggregationOptionInterfacepublic AggregationOption setValue(String arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<AggregationOption>Copyright © 2022 Adobe. All rights reserved.