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()StringgetDeprecationReason()StringgetDescription()StringgetGraphQlTypeName()BooleangetIsDeprecated()StringgetName()__TypegetType()__FieldsetArgs(List<__InputValue> arg)__FieldsetDeprecationReason(String arg)__FieldsetDescription(String arg)__FieldsetIsDeprecated(Boolean arg)__FieldsetName(String arg)__FieldsetType(__Type arg)booleanunwrapsToObject(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:
unwrapsToObjectin classAbstractResponse<__Field>
-
-