Class __Directive
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<__Directive>
-
- org.topbraidlive.client.java.graphql.platform.__Directive
-
- All Implemented Interfaces:
Serializable
public class __Directive extends AbstractResponse<__Directive>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description __Directive()__Directive(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<__InputValue>getArgs()StringgetDescription()StringgetGraphQlTypeName()List<__DirectiveLocation>getLocations()StringgetName()BooleangetOnField()Deprecated.Use `locations`.BooleangetOnFragment()Deprecated.Use `locations`.BooleangetOnOperation()Deprecated.Use `locations`.__DirectivesetArgs(List<__InputValue> arg)__DirectivesetDescription(String arg)__DirectivesetLocations(List<__DirectiveLocation> arg)__DirectivesetName(String arg)__DirectivesetOnField(Boolean arg)__DirectivesetOnFragment(Boolean arg)__DirectivesetOnOperation(Boolean 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
-
__Directive
public __Directive()
-
__Directive
public __Directive(com.google.gson.JsonObject fields) throws SchemaViolationError- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getName
public String getName()
-
setName
public __Directive setName(String arg)
-
getDescription
public String getDescription()
-
setDescription
public __Directive setDescription(String arg)
-
getLocations
public List<__DirectiveLocation> getLocations()
-
setLocations
public __Directive setLocations(List<__DirectiveLocation> arg)
-
getArgs
public List<__InputValue> getArgs()
-
setArgs
public __Directive setArgs(List<__InputValue> arg)
-
getOnOperation
@Deprecated public Boolean getOnOperation()
Deprecated.Use `locations`.
-
setOnOperation
public __Directive setOnOperation(Boolean arg)
-
getOnFragment
@Deprecated public Boolean getOnFragment()
Deprecated.Use `locations`.
-
setOnFragment
public __Directive setOnFragment(Boolean arg)
-
getOnField
@Deprecated public Boolean getOnField()
Deprecated.Use `locations`.
-
setOnField
public __Directive setOnField(Boolean arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObjectin classAbstractResponse<__Directive>
-
-