public class KeyValue extends AbstractResponse<KeyValue>
optimisticData, responseData| Constructor and Description |
|---|
KeyValue() |
KeyValue(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
String |
getGraphQlTypeName() |
String |
getName()
The name part of the name/value pair
|
String |
getValue()
The value part of the name/value pair
|
KeyValue |
setName(String arg) |
KeyValue |
setValue(String arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic KeyValue()
public KeyValue(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getName()
public String getValue()
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<KeyValue>Copyright © 2022 Adobe. All rights reserved.