Interface GraphQLExtensionDependencyExistsError
- All Superinterfaces:
GraphQLErrorObject
Returned when attempting to delete an Extension that is a prerequisite for other Extensions.
Example to create an instance using the builder pattern
GraphQLExtensionDependencyExistsError graphQLExtensionDependencyExistsError = GraphQLExtensionDependencyExistsError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLExtensionDependencyExistsError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLExtensionDependencyExistsErrorbuilder(GraphQLExtensionDependencyExistsError template) create builder for GraphQLExtensionDependencyExistsError instancecopyDeep()factory method to create a deep copy of GraphQLExtensionDependencyExistsError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLExtensionDependencyExistsError template) factory method to create a shallow copy GraphQLExtensionDependencyExistsErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLExtensionDependencyExistsError>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
-
EXTENSION_DEPENDENCY_EXISTS
discriminator value for GraphQLExtensionDependencyExistsError- 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 GraphQLExtensionDependencyExistsError
-
of
factory method to create a shallow copy GraphQLExtensionDependencyExistsError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLExtensionDependencyExistsError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLExtensionDependencyExistsError deepCopy(@Nullable GraphQLExtensionDependencyExistsError template) factory method to create a deep copy of GraphQLExtensionDependencyExistsError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLExtensionDependencyExistsError- Returns:
- builder
-
builder
static GraphQLExtensionDependencyExistsErrorBuilder builder(GraphQLExtensionDependencyExistsError template) create builder for GraphQLExtensionDependencyExistsError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLExtensionDependencyExistsError
default <T> T withGraphQLExtensionDependencyExistsError(Function<GraphQLExtensionDependencyExistsError, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<GraphQLExtensionDependencyExistsError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-