Class GraphQLEnumKeyAlreadyExistsErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLEnumKeyAlreadyExistsErrorImpl
- All Implemented Interfaces:
GraphQLEnumKeyAlreadyExistsError
,GraphQLErrorObject
,io.vrap.rmf.base.client.ModelBase
public class GraphQLEnumKeyAlreadyExistsErrorImpl
extends Object
implements GraphQLEnumKeyAlreadyExistsError, io.vrap.rmf.base.client.ModelBase
Returned when an AttributeEnumType or AttributeLocalizedEnumType contains a key that already exists.
-
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.GraphQLEnumKeyAlreadyExistsError
ENUM_KEY_ALREADY_EXISTS
-
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.GraphQLEnumKeyAlreadyExistsError
withGraphQLEnumKeyAlreadyExistsError
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
-
GraphQLEnumKeyAlreadyExistsErrorImpl
public GraphQLEnumKeyAlreadyExistsErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLEnumKeyAlreadyExistsError
- 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 interfaceGraphQLEnumKeyAlreadyExistsError
- Returns:
- conflictingEnumKey
-
getConflictingAttributeName
Name of the conflicting Attribute.
- Specified by:
getConflictingAttributeName
in interfaceGraphQLEnumKeyAlreadyExistsError
- 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:GraphQLEnumKeyAlreadyExistsError
Conflicting enum key.
- Specified by:
setConflictingEnumKey
in interfaceGraphQLEnumKeyAlreadyExistsError
- Parameters:
conflictingEnumKey
- value to be set
-
setConflictingAttributeName
Description copied from interface:GraphQLEnumKeyAlreadyExistsError
Name of the conflicting Attribute.
- Specified by:
setConflictingAttributeName
in interfaceGraphQLEnumKeyAlreadyExistsError
- Parameters:
conflictingAttributeName
- value to be set
-
equals
-
hashCode
-