Interface GraphQLInvalidInputError
- All Superinterfaces:
GraphQLErrorObject
Returned when an invalid input has been sent.
Example to create an instance using the builder pattern
GraphQLInvalidInputError graphQLInvalidInputError = GraphQLInvalidInputError.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for GraphQLInvalidInputError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for GraphQLInvalidInputErrorbuilder
(GraphQLInvalidInputError template) create builder for GraphQLInvalidInputError instancestatic GraphQLInvalidInputError
deepCopy
(GraphQLInvalidInputError template) factory method to create a deep copy of GraphQLInvalidInputError@NotNull String
getCode()
One of the error codes that is listed on the Errors page.static GraphQLInvalidInputError
of()
factory methodstatic GraphQLInvalidInputError
of
(GraphQLInvalidInputError template) factory method to create a shallow copy GraphQLInvalidInputErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLInvalidInputError>
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
-
INVALID_INPUT
discriminator value for GraphQLInvalidInputError- 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 GraphQLInvalidInputError
-
of
factory method to create a shallow copy GraphQLInvalidInputError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of GraphQLInvalidInputError- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLInvalidInputError- Returns:
- builder
-
builder
create builder for GraphQLInvalidInputError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLInvalidInputError
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
-