Class GraphQLRequestBody
java.lang.Object
io.micronaut.configuration.graphql.GraphQLRequestBody
Represents the request body input data to execute a GraphQL query.
- Since:
- 1.0
- Author:
- Marcel Overdijk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation name.getQuery()Returns the query.Returns the variables.voidsetOperationName(String operationName) Sets the operation name.voidSets the query.voidsetVariables(Map<String, Object> variables) Sets the variables.
-
Constructor Details
-
GraphQLRequestBody
public GraphQLRequestBody()
-
-
Method Details
-
getQuery
-
setQuery
-
getOperationName
-
setOperationName
Sets the operation name.- Parameters:
operationName- the operation name
-
getVariables
-
setVariables
-