Interface GraphQLAgentProductSearchNotEnabledError
- All Superinterfaces:
GraphQLErrorObject
Returned by a /responses request when Product Search is not enabled for the project.
Example to create an instance using the builder pattern
GraphQLAgentProductSearchNotEnabledError graphQLAgentProductSearchNotEnabledError = GraphQLAgentProductSearchNotEnabledError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAgentProductSearchNotEnabledError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAgentProductSearchNotEnabledErrorcreate builder for GraphQLAgentProductSearchNotEnabledError instancecopyDeep()factory method to create a deep copy of GraphQLAgentProductSearchNotEnabledError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLAgentProductSearchNotEnabledError template) factory method to create a shallow copy GraphQLAgentProductSearchNotEnabledErrorstatic tools.jackson.core.type.TypeReference<GraphQLAgentProductSearchNotEnabledError>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithGraphQLAgentProductSearchNotEnabledError(Function<GraphQLAgentProductSearchNotEnabledError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
PRODUCT_SEARCH_NOT_ENABLED
discriminator value for GraphQLAgentProductSearchNotEnabledError- 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 GraphQLAgentProductSearchNotEnabledError
-
of
static GraphQLAgentProductSearchNotEnabledError of(GraphQLAgentProductSearchNotEnabledError template) factory method to create a shallow copy GraphQLAgentProductSearchNotEnabledError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLAgentProductSearchNotEnabledError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAgentProductSearchNotEnabledError deepCopy(@Nullable GraphQLAgentProductSearchNotEnabledError template) factory method to create a deep copy of GraphQLAgentProductSearchNotEnabledError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAgentProductSearchNotEnabledError- Returns:
- builder
-
builder
static GraphQLAgentProductSearchNotEnabledErrorBuilder builder(GraphQLAgentProductSearchNotEnabledError template) create builder for GraphQLAgentProductSearchNotEnabledError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAgentProductSearchNotEnabledError
default <T> T withGraphQLAgentProductSearchNotEnabledError(Function<GraphQLAgentProductSearchNotEnabledError, 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<GraphQLAgentProductSearchNotEnabledError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-