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>
- 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
getDeprecationReason()
String
getDescription()
String
getGraphQlTypeName()
Boolean
getIsDeprecated()
String
getName()
__EnumValue
setDeprecationReason(String arg)
__EnumValue
setDescription(String arg)
__EnumValue
setIsDeprecated(Boolean 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()
-
setName
public __EnumValue setName(String arg)
-
getDescription
public String getDescription()
-
setDescription
public __EnumValue setDescription(String arg)
-
getIsDeprecated
public Boolean getIsDeprecated()
-
setIsDeprecated
public __EnumValue setIsDeprecated(Boolean arg)
-
getDeprecationReason
public String getDeprecationReason()
-
setDeprecationReason
public __EnumValue setDeprecationReason(String arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<__EnumValue>
-
-