Class GraphQLInvocationData

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

public class GraphQLInvocationData extends Object
Represents the data to execute a GraphQL query.

This class should be treated as Immutable.

Since:
1.0
Author:
Marcel Overdijk
  • Constructor Details

    • GraphQLInvocationData

      public GraphQLInvocationData(String query, @Nullable @Nullable String operationName, @Nullable @Nullable Map<String,Object> variables)
      Default constructor.
      Parameters:
      query - the query
      operationName - the operation name
      variables - the variables
  • Method Details

    • getQuery

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

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

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