Interface GraphQLQueryComplexityLimitExceededError
- All Superinterfaces:
GraphQLErrorObject
GraphQLQueryComplexityLimitExceededError
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GraphQLQueryComplexityLimitExceededError graphQLQueryComplexityLimitExceededError = GraphQLQueryComplexityLimitExceededError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLQueryComplexityLimitExceededError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLQueryComplexityLimitExceededErrorcreate builder for GraphQLQueryComplexityLimitExceededError instancefactory method to create a deep copy of GraphQLQueryComplexityLimitExceededError@NotNull String
getCode()
Error identifier.of()
factory methodof
(GraphQLQueryComplexityLimitExceededError template) factory method to create a shallow copy GraphQLQueryComplexityLimitExceededErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLQueryComplexityLimitExceededError>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withGraphQLQueryComplexityLimitExceededError
(Function<GraphQLQueryComplexityLimitExceededError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
QUERY_COMPLEXITY_LIMIT_EXCEEDED
discriminator value for GraphQLQueryComplexityLimitExceededError- 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 GraphQLQueryComplexityLimitExceededError
-
of
static GraphQLQueryComplexityLimitExceededError of(GraphQLQueryComplexityLimitExceededError template) factory method to create a shallow copy GraphQLQueryComplexityLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLQueryComplexityLimitExceededError deepCopy(@Nullable GraphQLQueryComplexityLimitExceededError template) factory method to create a deep copy of GraphQLQueryComplexityLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLQueryComplexityLimitExceededError- Returns:
- builder
-
builder
static GraphQLQueryComplexityLimitExceededErrorBuilder builder(GraphQLQueryComplexityLimitExceededError template) create builder for GraphQLQueryComplexityLimitExceededError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLQueryComplexityLimitExceededError
default <T> T withGraphQLQueryComplexityLimitExceededError(Function<GraphQLQueryComplexityLimitExceededError, 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<GraphQLQueryComplexityLimitExceededError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-