Interface GraphQLCircularDependencyError
- All Superinterfaces:
GraphQLErrorObject
Returned when a circular reference is detected among Extension dependencies.
Example to create an instance using the builder pattern
GraphQLCircularDependencyError graphQLCircularDependencyError = GraphQLCircularDependencyError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLCircularDependencyError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLCircularDependencyErrorbuilder(GraphQLCircularDependencyError template) create builder for GraphQLCircularDependencyError instancecopyDeep()deepCopy(GraphQLCircularDependencyError template) factory method to create a deep copy of GraphQLCircularDependencyError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLCircularDependencyError template) factory method to create a shallow copy GraphQLCircularDependencyErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLCircularDependencyError>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
-
CIRCULAR_DEPENDENCY
discriminator value for GraphQLCircularDependencyError- 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 GraphQLCircularDependencyError
-
of
factory method to create a shallow copy GraphQLCircularDependencyError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLCircularDependencyError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLCircularDependencyError deepCopy(@Nullable GraphQLCircularDependencyError template) factory method to create a deep copy of GraphQLCircularDependencyError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLCircularDependencyError- Returns:
- builder
-
builder
create builder for GraphQLCircularDependencyError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLCircularDependencyError
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<GraphQLCircularDependencyError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-