Class GraphQLResponse
-
- All Implemented Interfaces:
public final class GraphQLResponse<T extends Object>Representation of a graphql response
-
-
Field Summary
Fields Modifier and Type Field Description private final Tdataprivate final List<GraphQLError>errors
-
Constructor Summary
Constructors Constructor Description GraphQLResponse(T data, List<GraphQLError> errors)
-
Method Summary
Modifier and Type Method Description final TgetData()final List<GraphQLError>getErrors()final BooleanhasErrors()final BooleanisSuccessful()-
-
Constructor Detail
-
GraphQLResponse
GraphQLResponse(T data, List<GraphQLError> errors)
-
-
Method Detail
-
getErrors
final List<GraphQLError> getErrors()
-
isSuccessful
final Boolean isSuccessful()
-
-
-
-