Interface GraphQLAttributeNameDoesNotExistError
- All Superinterfaces:
GraphQLErrorObject
Returned when an AttributeDefinition does not exist for an Attribute name.
The error is returned as a failed response to the Change AttributeDefinition Name update action.
Example to create an instance using the builder pattern
GraphQLAttributeNameDoesNotExistError graphQLAttributeNameDoesNotExistError = GraphQLAttributeNameDoesNotExistError.builder()
.invalidAttributeName("{invalidAttributeName}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLAttributeNameDoesNotExistError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLAttributeNameDoesNotExistErrorbuilder(GraphQLAttributeNameDoesNotExistError template) create builder for GraphQLAttributeNameDoesNotExistError instancecopyDeep()factory method to create a deep copy of GraphQLAttributeNameDoesNotExistError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.@NotNull StringNon-existent Attribute name.of()factory methodof(GraphQLAttributeNameDoesNotExistError template) factory method to create a shallow copy GraphQLAttributeNameDoesNotExistErrorvoidsetInvalidAttributeName(String invalidAttributeName) Non-existent Attribute name.static com.fasterxml.jackson.core.type.TypeReference<GraphQLAttributeNameDoesNotExistError>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
-
ATTRIBUTE_NAME_DOES_NOT_EXIST
discriminator value for GraphQLAttributeNameDoesNotExistError- 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
-
getInvalidAttributeName
Non-existent Attribute name.
- Returns:
- invalidAttributeName
-
setInvalidAttributeName
Non-existent Attribute name.
- Parameters:
invalidAttributeName- value to be set
-
of
factory method- Returns:
- instance of GraphQLAttributeNameDoesNotExistError
-
of
factory method to create a shallow copy GraphQLAttributeNameDoesNotExistError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLAttributeNameDoesNotExistError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLAttributeNameDoesNotExistError deepCopy(@Nullable GraphQLAttributeNameDoesNotExistError template) factory method to create a deep copy of GraphQLAttributeNameDoesNotExistError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLAttributeNameDoesNotExistError- Returns:
- builder
-
builder
static GraphQLAttributeNameDoesNotExistErrorBuilder builder(GraphQLAttributeNameDoesNotExistError template) create builder for GraphQLAttributeNameDoesNotExistError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLAttributeNameDoesNotExistError
default <T> T withGraphQLAttributeNameDoesNotExistError(Function<GraphQLAttributeNameDoesNotExistError, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<GraphQLAttributeNameDoesNotExistError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-