Interface AttributeGroupSetAttributesAction
- All Superinterfaces:
AttributeGroupUpdateAction
,ResourceUpdateAction<AttributeGroupUpdateAction>
AttributeGroupSetAttributesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupSetAttributesAction attributeGroupSetAttributesAction = AttributeGroupSetAttributesAction.builder()
.plusAttributes(attributesBuilder -> attributesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AttributeGroupSetAttributesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AttributeGroupSetAttributesActionbuilder
(AttributeGroupSetAttributesAction template) create builder for AttributeGroupSetAttributesAction instancedeepCopy
(AttributeGroupSetAttributesAction template) factory method to create a deep copy of AttributeGroupSetAttributesAction@NotNull @Valid List<AttributeReference>
New unique values to set.of()
factory methodof
(AttributeGroupSetAttributesAction template) factory method to create a shallow copy AttributeGroupSetAttributesActionvoid
setAttributes
(AttributeReference... attributes) New unique values to set.void
setAttributes
(List<AttributeReference> attributes) New unique values to set.static com.fasterxml.jackson.core.type.TypeReference<AttributeGroupSetAttributesAction>
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
-
SET_ATTRIBUTES
discriminator value for AttributeGroupSetAttributesAction- See Also:
-
-
Method Details
-
getAttributes
New unique values to set.
- Returns:
- attributes
-
setAttributes
New unique values to set.
- Parameters:
attributes
- values to be set
-
setAttributes
New unique values to set.
- Parameters:
attributes
- values to be set
-
of
factory method- Returns:
- instance of AttributeGroupSetAttributesAction
-
of
factory method to create a shallow copy AttributeGroupSetAttributesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AttributeGroupSetAttributesAction deepCopy(@Nullable AttributeGroupSetAttributesAction template) factory method to create a deep copy of AttributeGroupSetAttributesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeGroupSetAttributesAction- Returns:
- builder
-
builder
create builder for AttributeGroupSetAttributesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeGroupSetAttributesAction
default <T> T withAttributeGroupSetAttributesAction(Function<AttributeGroupSetAttributesAction, 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<AttributeGroupSetAttributesAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-