Interface AttributeGroupRemoveAttributeAction
- All Superinterfaces:
AttributeGroupUpdateAction
,ResourceUpdateAction<AttributeGroupUpdateAction>
AttributeGroupRemoveAttributeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupRemoveAttributeAction attributeGroupRemoveAttributeAction = AttributeGroupRemoveAttributeAction.builder()
.attribute(attributeBuilder -> attributeBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AttributeGroupRemoveAttributeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AttributeGroupRemoveAttributeActionbuilder
(AttributeGroupRemoveAttributeAction template) create builder for AttributeGroupRemoveAttributeAction instancedeepCopy
(AttributeGroupRemoveAttributeAction template) factory method to create a deep copy of AttributeGroupRemoveAttributeAction@NotNull @Valid AttributeReference
Value to remove.of()
factory methodof
(AttributeGroupRemoveAttributeAction template) factory method to create a shallow copy AttributeGroupRemoveAttributeActionvoid
setAttribute
(AttributeReference attribute) Value to remove.static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupRemoveAttributeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.attribute_group.AttributeGroupUpdateAction
getAction, withAttributeGroupUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
REMOVE_ATTRIBUTE
discriminator value for AttributeGroupRemoveAttributeAction- See Also:
-
-
Method Details
-
getAttribute
Value to remove.
- Returns:
- attribute
-
setAttribute
Value to remove.
- Parameters:
attribute
- value to be set
-
of
factory method- Returns:
- instance of AttributeGroupRemoveAttributeAction
-
of
factory method to create a shallow copy AttributeGroupRemoveAttributeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AttributeGroupRemoveAttributeAction deepCopy(@Nullable AttributeGroupRemoveAttributeAction template) factory method to create a deep copy of AttributeGroupRemoveAttributeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeGroupRemoveAttributeAction- Returns:
- builder
-
builder
static AttributeGroupRemoveAttributeActionBuilder builder(AttributeGroupRemoveAttributeAction template) create builder for AttributeGroupRemoveAttributeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeGroupRemoveAttributeAction
default <T> T withAttributeGroupRemoveAttributeAction(Function<AttributeGroupRemoveAttributeAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupRemoveAttributeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-