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 TypeMethodDescription@Nullable StringReturns the operation name.@Nullable StringgetQuery()Returns the query.Returns the variables.voidsetOperationName(@Nullable String operationName) Sets the operation name.voidSets the query.voidsetVariables(@Nullable 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
-