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