Class ProductTypeRemoveEnumValuesActionImpl
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeRemoveEnumValuesActionImpl
- All Implemented Interfaces:
ProductTypeRemoveEnumValuesAction
,ProductTypeUpdateAction
,ResourceUpdateAction<ProductTypeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeRemoveEnumValuesActionImpl
extends Object
implements ProductTypeRemoveEnumValuesAction, io.vrap.rmf.base.client.ModelBase
Removes enum values from an AttributeDefinition of AttributeEnumType, AttributeLocalizedEnumType, AttributeSetType of AttributeEnumType, or AttributeSetType of AttributeLocalizedEnumType.
If the Attribute is not required, the Attributes of all Products using those enum keys will also be removed in an eventually consistent way. If the Attribute is required, the operation returns an EnumValueIsUsed error.
-
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.product_type.ProductTypeRemoveEnumValuesAction
REMOVE_ENUM_VALUES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Name of the AttributeDefinition to update.getKeys()
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.int
hashCode()
void
setAttributeName
(String attributeName) Name of the AttributeDefinition to update.void
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.void
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeRemoveEnumValuesAction
withProductTypeRemoveEnumValuesAction
Methods inherited from interface com.commercetools.api.models.product_type.ProductTypeUpdateAction
withProductTypeUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductTypeRemoveEnumValuesActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductTypeUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductTypeUpdateAction>
- Returns:
- action
-
getAttributeName
Name of the AttributeDefinition to update.
- Specified by:
getAttributeName
in interfaceProductTypeRemoveEnumValuesAction
- Returns:
- attributeName
-
getKeys
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Specified by:
getKeys
in interfaceProductTypeRemoveEnumValuesAction
- Returns:
- keys
-
setAttributeName
Description copied from interface:ProductTypeRemoveEnumValuesAction
Name of the AttributeDefinition to update.
- Specified by:
setAttributeName
in interfaceProductTypeRemoveEnumValuesAction
- Parameters:
attributeName
- value to be set
-
setKeys
Description copied from interface:ProductTypeRemoveEnumValuesAction
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Specified by:
setKeys
in interfaceProductTypeRemoveEnumValuesAction
- Parameters:
keys
- values to be set
-
setKeys
Description copied from interface:ProductTypeRemoveEnumValuesAction
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Specified by:
setKeys
in interfaceProductTypeRemoveEnumValuesAction
- Parameters:
keys
- values to be set
-
equals
-
hashCode
-