All Implemented Interfaces:

public class Query extends Object implements GraphQLRequestObject
generated by graphql-java-generator
See Also:
  • Constructor Details

    • Query

      public Query()
  • Method Details

    • setBoards

      public void setBoards(List<Board> boards)
    • getBoards

      public List<Board> getBoards()
    • setNbBoards

      public void setNbBoards(Integer nbBoards)
    • getNbBoards

      public Integer getNbBoards()
    • setTopics

      public void setTopics(List<Topic> topics)
    • getTopics

      public List<Topic> getTopics()
    • setFindTopics

      public void setFindTopics(List<Topic> findTopics)
    • getFindTopics

      public List<Topic> getFindTopics()
    • set__schema

      public void set__schema(__Schema __schema)
    • get__schema

      public __Schema get__schema()
    • set__type

      public void set__type(__Type __type)
    • get__type

      public __Type get__type()
    • set__typename

      public void set__typename(String __typename)
    • get__typename

      public String get__typename()
    • setAliasValue

      public void setAliasValue(String aliasName, Object aliasDeserializedValue)
      This method is called during the json deserialization process, by the GraphQLObjectMapper, each time an alias value is read from the json.
      aliasName -
      aliasDeserializedValue -
    • getAliasValue

      public Object getAliasValue(String alias)
      Retrieves the value for the given alias, as it has been received for this object in the GraphQL response.
      This method should not be used for Custom Scalars, as the parser doesn't know if this alias is a custom scalar, and which custom scalar to use at deserialization time. In most case, a value will then be provided by this method with a basis json deserialization, but this value won't be the proper custom scalar value.
      alias -
    • toString

      public String toString()
      toString in class Object
    • builder

      public static Query.Builder builder()
    • getExtensions

      public com.fasterxml.jackson.databind.JsonNode getExtensions()
    • setExtensions

      public void setExtensions(com.fasterxml.jackson.databind.JsonNode extensionsParam)
      Specified by:
      setExtensions in interface GraphQLRequestObject
    • getExtensionsAsMap

      public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensionsAsMap()
      Returns the extensions as a map. The values can't be deserialized, as their type is unknown.
    • getExtensionsField

      public <T> T getExtensionsField(String key, Class<T> t) throws com.fasterxml.jackson.core.JsonProcessingException
      Parse the value for the given _key_, as found in the extensions field of the GraphQL server's response, into the given _t_ class.
      Type Parameters:
      T -
      key -
      t -
      null if the key is not in the extensions map. Otherwise: the value for this _key_, as a _t_ instance
      com.fasterxml.jackson.core.JsonProcessingException - When there is an error when converting the key's value into the _t_ class