Class GraphQLEnumKeyDoesNotExistErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLEnumKeyDoesNotExistErrorImpl
- All Implemented Interfaces:
GraphQLEnumKeyDoesNotExistError
,GraphQLErrorObject
,io.vrap.rmf.base.client.ModelBase
public class GraphQLEnumKeyDoesNotExistErrorImpl
extends Object
implements GraphQLEnumKeyDoesNotExistError, io.vrap.rmf.base.client.ModelBase
Returned when an AttributeEnumType or AttributeLocalizedEnumType already contains a value with the given key.
The error is returned as a failed response to the Change the key of an EnumValue update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.error.GraphQLEnumKeyDoesNotExistError
ENUM_KEY_DOES_NOT_EXIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Name of the conflicting Attribute.Conflicting enum key.int
hashCode()
void
setConflictingAttributeName
(String conflictingAttributeName) Name of the conflicting Attribute.void
setConflictingEnumKey
(String conflictingEnumKey) Conflicting enum key.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.GraphQLEnumKeyDoesNotExistError
withGraphQLEnumKeyDoesNotExistError
Methods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
withGraphQLErrorObject
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLEnumKeyDoesNotExistErrorImpl
public GraphQLEnumKeyDoesNotExistErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLEnumKeyDoesNotExistError
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getConflictingEnumKey
Conflicting enum key.
- Specified by:
getConflictingEnumKey
in interfaceGraphQLEnumKeyDoesNotExistError
- Returns:
- conflictingEnumKey
-
getConflictingAttributeName
Name of the conflicting Attribute.
- Specified by:
getConflictingAttributeName
in interfaceGraphQLEnumKeyDoesNotExistError
- Returns:
- conflictingAttributeName
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setConflictingEnumKey
Description copied from interface:GraphQLEnumKeyDoesNotExistError
Conflicting enum key.
- Specified by:
setConflictingEnumKey
in interfaceGraphQLEnumKeyDoesNotExistError
- Parameters:
conflictingEnumKey
- value to be set
-
setConflictingAttributeName
Description copied from interface:GraphQLEnumKeyDoesNotExistError
Name of the conflicting Attribute.
- Specified by:
setConflictingAttributeName
in interfaceGraphQLEnumKeyDoesNotExistError
- Parameters:
conflictingAttributeName
- value to be set
-
equals
-
hashCode
public int hashCode()
-