Class __Schema

  • All Implemented Interfaces:
    Serializable

    public class __Schema
    extends AbstractResponse<__Schema>
    A GraphQL Introspection defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, the entry points for query, mutation, and subscription operations.
    See Also:
    Serialized Form
    • Method Detail

      • getGraphQlTypeName

        public String getGraphQlTypeName()
      • getTypes

        public List<__Type> getTypes()
        A list of all types supported by this server.
      • getQueryType

        public __Type getQueryType()
        The type that query operations will be rooted at.
      • getMutationType

        public __Type getMutationType()
        If this server supports mutation, the type that mutation operations will be rooted at.
      • getDirectives

        public List<__Directive> getDirectives()
        'A list of all directives supported by this server.
      • getSubscriptionType

        public __Type getSubscriptionType()
        'If this server support subscription, the type that subscription operations will be rooted at.
      • setSubscriptionType

        public __Schema setSubscriptionType​(__Type arg)