Interface GraphQLQueryTimedOutError
- All Superinterfaces:
GraphQLErrorObject
Returned when the query times out.
If a query constantly times out, please check if it follows the performance best practices.
Example to create an instance using the builder pattern
GraphQLQueryTimedOutError graphQLQueryTimedOutError = GraphQLQueryTimedOutError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLQueryTimedOutError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLQueryTimedOutErrorbuilder
(GraphQLQueryTimedOutError template) create builder for GraphQLQueryTimedOutError instancestatic GraphQLQueryTimedOutError
deepCopy
(GraphQLQueryTimedOutError template) factory method to create a deep copy of GraphQLQueryTimedOutError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.static GraphQLQueryTimedOutError
of()
factory methodstatic GraphQLQueryTimedOutError
of
(GraphQLQueryTimedOutError template) factory method to create a shallow copy GraphQLQueryTimedOutErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLQueryTimedOutError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
QUERY_TIMED_OUT
discriminator value for GraphQLQueryTimedOutError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
One of the error codes that is listed on the Errors page.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLQueryTimedOutError
-
of
factory method to create a shallow copy GraphQLQueryTimedOutError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of GraphQLQueryTimedOutError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLQueryTimedOutError- Returns:
- builder
-
builder
create builder for GraphQLQueryTimedOutError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLQueryTimedOutError
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-