Interface AttributeGroupUpdateAction
- All Superinterfaces:
ResourceUpdateAction<AttributeGroupUpdateAction>
- All Known Subinterfaces:
AttributeGroupAddAttributeAction
,AttributeGroupChangeNameAction
,AttributeGroupRemoveAttributeAction
,AttributeGroupSetAttributesAction
,AttributeGroupSetDescriptionAction
,AttributeGroupSetKeyAction
public interface AttributeGroupUpdateAction
extends ResourceUpdateAction<AttributeGroupUpdateAction>
AttributeGroupUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
AttributeGroupUpdateAction attributeGroupUpdateAction = AttributeGroupUpdateAction.addAttributeBuilder()
attribute(attributeBuilder -> attributeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addAttribute subtypebuilder for changeName subtypestatic AttributeGroupUpdateAction
deepCopy
(AttributeGroupUpdateAction template) factory method to create a deep copy of AttributeGroupUpdateAction@NotNull String
builder for removeAttribute subtypebuilder for setAttributes subtypebuilder for setDescription subtypebuilder for setKey subtypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeGroupUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<AttributeGroupUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of AttributeGroupUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addAttributeBuilder
builder for addAttribute subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
removeAttributeBuilder
builder for removeAttribute subtype- Returns:
- builder
-
setAttributesBuilder
builder for setAttributes subtype- Returns:
- builder
-
setDescriptionBuilder
builder for setDescription subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
withAttributeGroupUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-