Class GraphQLQueryResponse<T>
java.lang.Object
com.atlassian.confluence.rest.client.graphql.GraphQLQueryResponse<T>
- Direct Known Subclasses:
GraphQLRemoteChildContentServiceImpl.GraphQLQueryChildContentResponse,GraphQLRemoteContentLabelServiceImpl.GraphQLQueryLabelsResponse,GraphQLRemoteContentServiceImpl.GraphQLQueryContentResponse,GraphQLRemoteWebViewImpl.GraphQLWebItemsResponse,GraphQLRemoteWebViewImpl.GraphQLWebPanelsResponse,GraphQLRemoteWebViewImpl.GraphQLWebSectionsResponse
The JSON response object for a graphql API.
- Since:
- 9.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GraphQLQueryResponse
public GraphQLQueryResponse()
-
-
Method Details
-
getData
Get the response data. -
getErrors
Get any errors that happened while executing the query. -
throwFirstErrorIfExists
public void throwFirstErrorIfExists()Throw an exception for the first error returned by this response.
-