Interface GraphQLResourceSizeLimitExceededError
- All Superinterfaces:
GraphQLErrorObject
Returned when the resource exceeds the maximum allowed size of 16 MB.
Example to create an instance using the builder pattern
GraphQLResourceSizeLimitExceededError graphQLResourceSizeLimitExceededError = GraphQLResourceSizeLimitExceededError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLResourceSizeLimitExceededError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLResourceSizeLimitExceededErrorbuilder
(GraphQLResourceSizeLimitExceededError template) create builder for GraphQLResourceSizeLimitExceededError instancefactory method to create a deep copy of GraphQLResourceSizeLimitExceededError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.of()
factory methodof
(GraphQLResourceSizeLimitExceededError template) factory method to create a shallow copy GraphQLResourceSizeLimitExceededErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLResourceSizeLimitExceededError>
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
-
RESOURCE_SIZE_LIMIT_EXCEEDED
discriminator value for GraphQLResourceSizeLimitExceededError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
One of the error codes that is listed on the Errors page.
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLResourceSizeLimitExceededError
-
of
factory method to create a shallow copy GraphQLResourceSizeLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLResourceSizeLimitExceededError deepCopy(@Nullable GraphQLResourceSizeLimitExceededError template) factory method to create a deep copy of GraphQLResourceSizeLimitExceededError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLResourceSizeLimitExceededError- Returns:
- builder
-
builder
static GraphQLResourceSizeLimitExceededErrorBuilder builder(GraphQLResourceSizeLimitExceededError template) create builder for GraphQLResourceSizeLimitExceededError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLResourceSizeLimitExceededError
default <T> T withGraphQLResourceSizeLimitExceededError(Function<GraphQLResourceSizeLimitExceededError, 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<GraphQLResourceSizeLimitExceededError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-