Interface GraphQLAgentBusinessUnitUnresolvedError
- All Superinterfaces:
GraphQLErrorObject
Returned by a /responses request when the BusinessUnit could not be resolved from the input. Pin it with an explicit businessUnit reference in the request.
Example to create an instance using the builder pattern
GraphQLAgentBusinessUnitUnresolvedError graphQLAgentBusinessUnitUnresolvedError = GraphQLAgentBusinessUnitUnresolvedError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAgentBusinessUnitUnresolvedError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAgentBusinessUnitUnresolvedErrorcreate builder for GraphQLAgentBusinessUnitUnresolvedError instancecopyDeep()factory method to create a deep copy of GraphQLAgentBusinessUnitUnresolvedError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLAgentBusinessUnitUnresolvedError template) factory method to create a shallow copy GraphQLAgentBusinessUnitUnresolvedErrorstatic tools.jackson.core.type.TypeReference<GraphQLAgentBusinessUnitUnresolvedError>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithGraphQLAgentBusinessUnitUnresolvedError(Function<GraphQLAgentBusinessUnitUnresolvedError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
BUSINESS_UNIT_UNRESOLVED
discriminator value for GraphQLAgentBusinessUnitUnresolvedError- 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 GraphQLAgentBusinessUnitUnresolvedError
-
of
factory method to create a shallow copy GraphQLAgentBusinessUnitUnresolvedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLAgentBusinessUnitUnresolvedError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAgentBusinessUnitUnresolvedError deepCopy(@Nullable GraphQLAgentBusinessUnitUnresolvedError template) factory method to create a deep copy of GraphQLAgentBusinessUnitUnresolvedError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAgentBusinessUnitUnresolvedError- Returns:
- builder
-
builder
static GraphQLAgentBusinessUnitUnresolvedErrorBuilder builder(GraphQLAgentBusinessUnitUnresolvedError template) create builder for GraphQLAgentBusinessUnitUnresolvedError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAgentBusinessUnitUnresolvedError
default <T> T withGraphQLAgentBusinessUnitUnresolvedError(Function<GraphQLAgentBusinessUnitUnresolvedError, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<GraphQLAgentBusinessUnitUnresolvedError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-