Interface GraphQLFeatureRemovedError
- All Superinterfaces:
GraphQLErrorObject
Returned when the requested feature was removed.
Example to create an instance using the builder pattern
GraphQLFeatureRemovedError graphQLFeatureRemovedError = GraphQLFeatureRemovedError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLFeatureRemovedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLFeatureRemovedErrorbuilder(GraphQLFeatureRemovedError template) create builder for GraphQLFeatureRemovedError instancecopyDeep()static GraphQLFeatureRemovedErrordeepCopy(GraphQLFeatureRemovedError template) factory method to create a deep copy of GraphQLFeatureRemovedError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLFeatureRemovedErrorof()factory methodstatic GraphQLFeatureRemovedErrorof(GraphQLFeatureRemovedError template) factory method to create a shallow copy GraphQLFeatureRemovedErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLFeatureRemovedError>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
-
FEATURE_REMOVED
discriminator value for GraphQLFeatureRemovedError- 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 GraphQLFeatureRemovedError
-
of
factory method to create a shallow copy GraphQLFeatureRemovedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLFeatureRemovedError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
factory method to create a deep copy of GraphQLFeatureRemovedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLFeatureRemovedError- Returns:
- builder
-
builder
create builder for GraphQLFeatureRemovedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLFeatureRemovedError
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
-