Interface GraphQLSearchExecutionFailureError
- All Superinterfaces:
GraphQLErrorObject
Returned when a search query could not be completed due to an unexpected failure.
Example to create an instance using the builder pattern
GraphQLSearchExecutionFailureError graphQLSearchExecutionFailureError = GraphQLSearchExecutionFailureError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLSearchExecutionFailureError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLSearchExecutionFailureErrorbuilder
(GraphQLSearchExecutionFailureError template) create builder for GraphQLSearchExecutionFailureError instancedeepCopy
(GraphQLSearchExecutionFailureError template) factory method to create a deep copy of GraphQLSearchExecutionFailureError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.of()
factory methodof
(GraphQLSearchExecutionFailureError template) factory method to create a shallow copy GraphQLSearchExecutionFailureErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLSearchExecutionFailureError>
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
-
SEARCH_EXECUTION_FAILURE
discriminator value for GraphQLSearchExecutionFailureError- 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 GraphQLSearchExecutionFailureError
-
of
factory method to create a shallow copy GraphQLSearchExecutionFailureError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLSearchExecutionFailureError deepCopy(@Nullable GraphQLSearchExecutionFailureError template) factory method to create a deep copy of GraphQLSearchExecutionFailureError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLSearchExecutionFailureError- Returns:
- builder
-
builder
static GraphQLSearchExecutionFailureErrorBuilder builder(GraphQLSearchExecutionFailureError template) create builder for GraphQLSearchExecutionFailureError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLSearchExecutionFailureError
default <T> T withGraphQLSearchExecutionFailureError(Function<GraphQLSearchExecutionFailureError, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<GraphQLSearchExecutionFailureError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-