Class GraphQLResult<T>
java.lang.Object
io.github.besi97.graphql.codegen.model.graphql.GraphQLResult<T>
- Type Parameters:
T- type of response
- Direct Known Subclasses:
GraphQLResponse
GraphQL response. Contains data and errors
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GraphQLResult
public GraphQLResult() -
GraphQLResult
-
-
Method Details
-
getData
-
setData
-
getErrors
-
setErrors
-
hasErrors
public boolean hasErrors()- Returns:
- true if there are any errors present
-