Class GraphQLRequestBody

java.lang.Object
io.micronaut.configuration.graphql.GraphQLRequestBody

public class GraphQLRequestBody extends Object
Represents the request body input data to execute a GraphQL query.
Since:
1.0
Author:
Marcel Overdijk
  • Constructor Details

    • GraphQLRequestBody

      public GraphQLRequestBody()
  • Method Details

    • getQuery

      public String getQuery()
      Returns the query.
      Returns:
      the query
    • setQuery

      public void setQuery(String query)
      Sets the query.
      Parameters:
      query - the query
    • getOperationName

      public String getOperationName()
      Returns the operation name.
      Returns:
      the operation name
    • setOperationName

      public void setOperationName(String operationName)
      Sets the operation name.
      Parameters:
      operationName - the operation name
    • getVariables

      public Map<String,Object> getVariables()
      Returns the variables.
      Returns:
      the variables
    • setVariables

      public void setVariables(Map<String,Object> variables)
      Sets the variables.
      Parameters:
      variables - the variables