Interface GraphQLResourceNotFoundError
- All Superinterfaces:
GraphQLErrorObject
Returned when the resource addressed by the request URL does not exist.
Example to create an instance using the builder pattern
GraphQLResourceNotFoundError graphQLResourceNotFoundError = GraphQLResourceNotFoundError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLResourceNotFoundError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLResourceNotFoundErrorbuilder(GraphQLResourceNotFoundError template) create builder for GraphQLResourceNotFoundError instancecopyDeep()static GraphQLResourceNotFoundErrordeepCopy(GraphQLResourceNotFoundError template) factory method to create a deep copy of GraphQLResourceNotFoundError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLResourceNotFoundErrorof()factory methodstatic GraphQLResourceNotFoundErrorof(GraphQLResourceNotFoundError template) factory method to create a shallow copy GraphQLResourceNotFoundErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLResourceNotFoundError>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
-
RESOURCE_NOT_FOUND
discriminator value for GraphQLResourceNotFoundError- 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 GraphQLResourceNotFoundError
-
of
factory method to create a shallow copy GraphQLResourceNotFoundError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLResourceNotFoundError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLResourceNotFoundError deepCopy(@Nullable GraphQLResourceNotFoundError template) factory method to create a deep copy of GraphQLResourceNotFoundError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLResourceNotFoundError- Returns:
- builder
-
builder
create builder for GraphQLResourceNotFoundError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLResourceNotFoundError
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
-