Interface GraphQLSearchNotReadyError
- All Superinterfaces:
GraphQLErrorObject
Returned if the requested search service is not ready. The search might be deactivated or indexing is in progress.
Example to create an instance using the builder pattern
GraphQLSearchNotReadyError graphQLSearchNotReadyError = GraphQLSearchNotReadyError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLSearchNotReadyError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLSearchNotReadyErrorbuilder
(GraphQLSearchNotReadyError template) create builder for GraphQLSearchNotReadyError instancestatic GraphQLSearchNotReadyError
deepCopy
(GraphQLSearchNotReadyError template) factory method to create a deep copy of GraphQLSearchNotReadyError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.static GraphQLSearchNotReadyError
of()
factory methodstatic GraphQLSearchNotReadyError
of
(GraphQLSearchNotReadyError template) factory method to create a shallow copy GraphQLSearchNotReadyErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLSearchNotReadyError>
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_NOT_READY
discriminator value for GraphQLSearchNotReadyError- 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 GraphQLSearchNotReadyError
-
of
factory method to create a shallow copy GraphQLSearchNotReadyError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of GraphQLSearchNotReadyError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLSearchNotReadyError- Returns:
- builder
-
builder
create builder for GraphQLSearchNotReadyError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLSearchNotReadyError
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
-