Interface GraphQLSearchDeactivatedError
- All Superinterfaces:
GraphQLErrorObject
Returned when the indexing of Product information is deactivated in a Project.
To activate indexing, call Change Product Search Indexing Enabled and set enabled
to true
.
Example to create an instance using the builder pattern
GraphQLSearchDeactivatedError graphQLSearchDeactivatedError = GraphQLSearchDeactivatedError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLSearchDeactivatedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLSearchDeactivatedErrorbuilder
(GraphQLSearchDeactivatedError template) create builder for GraphQLSearchDeactivatedError instancedeepCopy
(GraphQLSearchDeactivatedError template) factory method to create a deep copy of GraphQLSearchDeactivatedError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.of()
factory methodof
(GraphQLSearchDeactivatedError template) factory method to create a shallow copy GraphQLSearchDeactivatedErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLSearchDeactivatedError>
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_DEACTIVATED
discriminator value for GraphQLSearchDeactivatedError- 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 GraphQLSearchDeactivatedError
-
of
factory method to create a shallow copy GraphQLSearchDeactivatedError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLSearchDeactivatedError deepCopy(@Nullable GraphQLSearchDeactivatedError template) factory method to create a deep copy of GraphQLSearchDeactivatedError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLSearchDeactivatedError- Returns:
- builder
-
builder
create builder for GraphQLSearchDeactivatedError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLSearchDeactivatedError
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
-