Interface GraphQLContentTooLargeError
- All Superinterfaces:
GraphQLErrorObject
Returned when the request results in too much data being returned from the API. Adjust the request query to reduce the size of the data returned.
Example to create an instance using the builder pattern
GraphQLContentTooLargeError graphQLContentTooLargeError = GraphQLContentTooLargeError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLContentTooLargeError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLContentTooLargeErrorbuilder
(GraphQLContentTooLargeError template) create builder for GraphQLContentTooLargeError instancestatic GraphQLContentTooLargeError
deepCopy
(GraphQLContentTooLargeError template) factory method to create a deep copy of GraphQLContentTooLargeError@NotNull String
getCode()
Error identifier.static GraphQLContentTooLargeError
of()
factory methodstatic GraphQLContentTooLargeError
of
(GraphQLContentTooLargeError template) factory method to create a shallow copy GraphQLContentTooLargeErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLContentTooLargeError>
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
-
CONTENT_TOO_LARGE
discriminator value for GraphQLContentTooLargeError- 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 GraphQLContentTooLargeError
-
of
factory method to create a shallow copy GraphQLContentTooLargeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static GraphQLContentTooLargeError deepCopy(@Nullable GraphQLContentTooLargeError template) factory method to create a deep copy of GraphQLContentTooLargeError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLContentTooLargeError- Returns:
- builder
-
builder
create builder for GraphQLContentTooLargeError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLContentTooLargeError
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
-