Class GraphQLDuplicateAttributeValuesErrorImpl
java.lang.Object
com.commercetools.api.models.error.GraphQLDuplicateAttributeValuesErrorImpl
- All Implemented Interfaces:
GraphQLDuplicateAttributeValuesError
,GraphQLErrorObject
,io.vrap.rmf.base.client.ModelBase
public class GraphQLDuplicateAttributeValuesErrorImpl
extends Object
implements GraphQLDuplicateAttributeValuesError, io.vrap.rmf.base.client.ModelBase
Returned when the CombinationUnique
AttributeConstraint criteria are not met during an Update Product request.
-
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.GraphQLDuplicateAttributeValuesError
DUPLICATE_ATTRIBUTE_VALUES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Conflicting Attributes.getCode()
Error identifier.int
hashCode()
void
setAttributes
(Attribute... attributes) Conflicting Attributes.void
setAttributes
(List<Attribute> attributes) Conflicting Attributes.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.GraphQLDuplicateAttributeValuesError
withGraphQLDuplicateAttributeValuesError
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
-
GraphQLDuplicateAttributeValuesErrorImpl
create empty instance
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObject
Error identifier.
- Specified by:
getCode
in interfaceGraphQLDuplicateAttributeValuesError
- Specified by:
getCode
in interfaceGraphQLErrorObject
- Returns:
- code
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceGraphQLErrorObject
- Returns:
- map of the pattern property values
-
getAttributes
Conflicting Attributes.
- Specified by:
getAttributes
in interfaceGraphQLDuplicateAttributeValuesError
- Returns:
- attributes
-
setValue
Description copied from interface:GraphQLErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceGraphQLErrorObject
- Parameters:
key
- property namevalue
- property value
-
setAttributes
Description copied from interface:GraphQLDuplicateAttributeValuesError
Conflicting Attributes.
- Specified by:
setAttributes
in interfaceGraphQLDuplicateAttributeValuesError
- Parameters:
attributes
- values to be set
-
setAttributes
Description copied from interface:GraphQLDuplicateAttributeValuesError
Conflicting Attributes.
- Specified by:
setAttributes
in interfaceGraphQLDuplicateAttributeValuesError
- Parameters:
attributes
- values to be set
-
equals
-
hashCode
-