public class __Directive extends AbstractResponse<__Directive>
optimisticData, responseData| Constructor and Description |
|---|
__Directive() |
__Directive(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<__InputValue> |
getArgs() |
String |
getDescription() |
String |
getGraphQlTypeName() |
List<__DirectiveLocation> |
getLocations() |
String |
getName() |
Boolean |
getOnField()
Deprecated.
Use `locations`.
|
Boolean |
getOnFragment()
Deprecated.
Use `locations`.
|
Boolean |
getOnOperation()
Deprecated.
Use `locations`.
|
__Directive |
setArgs(List<__InputValue> arg) |
__Directive |
setDescription(String arg) |
__Directive |
setLocations(List<__DirectiveLocation> arg) |
__Directive |
setName(String arg) |
__Directive |
setOnField(Boolean arg) |
__Directive |
setOnFragment(Boolean arg) |
__Directive |
setOnOperation(Boolean arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic __Directive()
public __Directive(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public String getName()
public __Directive setName(String arg)
public String getDescription()
public __Directive setDescription(String arg)
public List<__DirectiveLocation> getLocations()
public __Directive setLocations(List<__DirectiveLocation> arg)
public List<__InputValue> getArgs()
public __Directive setArgs(List<__InputValue> arg)
@Deprecated public Boolean getOnOperation()
public __Directive setOnOperation(Boolean arg)
@Deprecated public Boolean getOnFragment()
public __Directive setOnFragment(Boolean arg)
@Deprecated public Boolean getOnField()
public __Directive setOnField(Boolean arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<__Directive>Copyright © 2022 Adobe. All rights reserved.