Interface GraphQLNotEnabledError
- All Superinterfaces:
GraphQLErrorObject
- All Known Implementing Classes:
GraphQLNotEnabledErrorImpl
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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLNotEnabledError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLNotEnabledErrorbuilder
(GraphQLNotEnabledError template) create builder for GraphQLNotEnabledError instancestatic GraphQLNotEnabledError
deepCopy
(GraphQLNotEnabledError template) factory method to create a deep copy of GraphQLNotEnabledError@NotNull String
getCode()
Error identifier.static GraphQLNotEnabledError
of()
factory methodstatic GraphQLNotEnabledError
of
(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> T
accessor 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:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in 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
-