public class __Schema extends AbstractResponse<__Schema>
optimisticData, responseData| Constructor and Description |
|---|
__Schema() |
__Schema(com.google.gson.JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
List<__Directive> |
getDirectives()
A list of all directives supported by this server.
|
String |
getGraphQlTypeName() |
__Type |
getMutationType()
If this server supports mutation, the type that mutation operations will be rooted at.
|
__Type |
getQueryType()
The type that query operations will be rooted at.
|
__Type |
getSubscriptionType()
If this server support subscription, the type that subscription operations will be rooted at.
|
List<__Type> |
getTypes()
A list of all types supported by this server.
|
__Schema |
setDirectives(List<__Directive> arg) |
__Schema |
setMutationType(__Type arg) |
__Schema |
setQueryType(__Type arg) |
__Schema |
setSubscriptionType(__Type arg) |
__Schema |
setTypes(List<__Type> arg) |
boolean |
unwrapsToObject(String key) |
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAliaspublic __Schema()
public __Schema(com.google.gson.JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic String getGraphQlTypeName()
public __Type getQueryType()
public __Type getMutationType()
public __Type getSubscriptionType()
public List<__Directive> getDirectives()
public __Schema setDirectives(List<__Directive> arg)
public boolean unwrapsToObject(String key)
unwrapsToObject in class AbstractResponse<__Schema>Copyright © 2022 Adobe. All rights reserved.