Class _EnumValue
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<_EnumValue>
-
- org.topbraidlive.client.java.graphql.platform._EnumValue
-
- All Implemented Interfaces:
Serializable
public class _EnumValue extends AbstractResponse<_EnumValue>
Metadata about an enum value.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description _EnumValue()
_EnumValue(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEncodedValue()
The JSON-encoded RDF node, for internal use for now.String
getGraphQlTypeName()
String
getLabel()
The display label of the enum value.String
getName()
The GraphQL name of the enum value._EnumValue
setEncodedValue(String arg)
_EnumValue
setLabel(String arg)
_EnumValue
setName(String arg)
boolean
unwrapsToObject(String key)
-
Methods inherited from class com.shopify.graphql.support.AbstractResponse
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAlias
-
-
-
-
Constructor Detail
-
_EnumValue
public _EnumValue()
-
_EnumValue
public _EnumValue(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getName
public String getName()
The GraphQL name of the enum value.
-
setName
public _EnumValue setName(String arg)
-
getLabel
public String getLabel()
The display label of the enum value.
-
setLabel
public _EnumValue setLabel(String arg)
-
getEncodedValue
public String getEncodedValue()
The JSON-encoded RDF node, for internal use for now.
-
setEncodedValue
public _EnumValue setEncodedValue(String arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<_EnumValue>
-
-