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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLSearchExecutionFailureError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLSearchExecutionFailureErrorbuilder(GraphQLSearchExecutionFailureError template) create builder for GraphQLSearchExecutionFailureError instancecopyDeep()deepCopy(GraphQLSearchExecutionFailureError template) factory method to create a deep copy of GraphQLSearchExecutionFailureError@NotNull StringgetCode()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> Taccessor 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:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein 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
-
copyDeep
GraphQLSearchExecutionFailureError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
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
-