Class __Field
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<__Field>
-
- org.topbraidlive.client.java.graphql.platform.__Field
-
- All Implemented Interfaces:
Serializable
public class __Field extends AbstractResponse<__Field>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<__InputValue>
getArgs()
String
getDeprecationReason()
String
getDescription()
String
getGraphQlTypeName()
Boolean
getIsDeprecated()
String
getName()
__Type
getType()
__Field
setArgs(List<__InputValue> arg)
__Field
setDeprecationReason(String arg)
__Field
setDescription(String arg)
__Field
setIsDeprecated(Boolean arg)
__Field
setName(String arg)
__Field
setType(__Type 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
-
__Field
public __Field()
-
__Field
public __Field(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getArgs
public List<__InputValue> getArgs()
-
setArgs
public __Field setArgs(List<__InputValue> arg)
-
getType
public __Type getType()
-
getIsDeprecated
public Boolean getIsDeprecated()
-
getDeprecationReason
public String getDeprecationReason()
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<__Field>
-
-