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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLContentTooLargeError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLContentTooLargeErrorbuilder(GraphQLContentTooLargeError template) create builder for GraphQLContentTooLargeError instancecopyDeep()static GraphQLContentTooLargeErrordeepCopy(GraphQLContentTooLargeError template) factory method to create a deep copy of GraphQLContentTooLargeError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLContentTooLargeErrorof()factory methodstatic GraphQLContentTooLargeErrorof(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> Taccessor 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:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein 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
-
copyDeep
GraphQLContentTooLargeError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
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
-