Interface GraphQLNotEnabledError
- All Superinterfaces:
GraphQLErrorObject
Returned when the Project-specific category recommendations feature is not enabled for the Project.
Example to create an instance using the builder pattern
GraphQLNotEnabledError graphQLNotEnabledError = GraphQLNotEnabledError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLNotEnabledError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLNotEnabledErrorbuilder(GraphQLNotEnabledError template) create builder for GraphQLNotEnabledError instancestatic GraphQLNotEnabledErrordeepCopy(GraphQLNotEnabledError template) factory method to create a deep copy of GraphQLNotEnabledError@NotNull StringgetCode()Error identifier.static GraphQLNotEnabledErrorof()factory methodstatic GraphQLNotEnabledErrorof(GraphQLNotEnabledError template) factory method to create a shallow copy GraphQLNotEnabledErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLNotEnabledError>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
-
NOT_ENABLED
discriminator value for GraphQLNotEnabledError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObjectError identifier.
- Specified by:
getCodein interfaceGraphQLErrorObject- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLNotEnabledError
-
of
factory method to create a shallow copy GraphQLNotEnabledError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of GraphQLNotEnabledError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLNotEnabledError- Returns:
- builder
-
builder
create builder for GraphQLNotEnabledError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLNotEnabledError
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
-