Interface GraphQLAgentStoreUnresolvedError
- All Superinterfaces:
GraphQLErrorObject
Returned by a /responses request when the Store could not be resolved from the input. Pin it with an explicit store reference in the request.
Example to create an instance using the builder pattern
GraphQLAgentStoreUnresolvedError graphQLAgentStoreUnresolvedError = GraphQLAgentStoreUnresolvedError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAgentStoreUnresolvedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAgentStoreUnresolvedErrorbuilder(GraphQLAgentStoreUnresolvedError template) create builder for GraphQLAgentStoreUnresolvedError instancecopyDeep()deepCopy(GraphQLAgentStoreUnresolvedError template) factory method to create a deep copy of GraphQLAgentStoreUnresolvedError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLAgentStoreUnresolvedError template) factory method to create a shallow copy GraphQLAgentStoreUnresolvedErrorstatic tools.jackson.core.type.TypeReference<GraphQLAgentStoreUnresolvedError>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
-
STORE_UNRESOLVED
discriminator value for GraphQLAgentStoreUnresolvedError- 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 GraphQLAgentStoreUnresolvedError
-
of
factory method to create a shallow copy GraphQLAgentStoreUnresolvedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLAgentStoreUnresolvedError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAgentStoreUnresolvedError deepCopy(@Nullable GraphQLAgentStoreUnresolvedError template) factory method to create a deep copy of GraphQLAgentStoreUnresolvedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAgentStoreUnresolvedError- Returns:
- builder
-
builder
create builder for GraphQLAgentStoreUnresolvedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAgentStoreUnresolvedError
default <T> T withGraphQLAgentStoreUnresolvedError(Function<GraphQLAgentStoreUnresolvedError, T> helper) 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
-