Interface ChannelChangeDescriptionAction
- All Superinterfaces:
ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
ChannelChangeDescriptionAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelChangeDescriptionAction channelChangeDescriptionAction = ChannelChangeDescriptionAction.builder()
.description(descriptionBuilder -> descriptionBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChannelChangeDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChannelChangeDescriptionActionbuilder
(ChannelChangeDescriptionAction template) create builder for ChannelChangeDescriptionAction instancedeepCopy
(ChannelChangeDescriptionAction template) factory method to create a deep copy of ChannelChangeDescriptionAction@NotNull @Valid LocalizedString
New value to set.of()
factory methodof
(ChannelChangeDescriptionAction template) factory method to create a shallow copy ChannelChangeDescriptionActionvoid
setDescription
(LocalizedString description) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelChangeDescriptionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_DESCRIPTION
discriminator value for ChannelChangeDescriptionAction- See Also:
-
-
Method Details
-
getDescription
New value to set. Must not be empty.
- Returns:
- description
-
setDescription
New value to set. Must not be empty.
- Parameters:
description
- value to be set
-
of
factory method- Returns:
- instance of ChannelChangeDescriptionAction
-
of
factory method to create a shallow copy ChannelChangeDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChannelChangeDescriptionAction deepCopy(@Nullable ChannelChangeDescriptionAction template) factory method to create a deep copy of ChannelChangeDescriptionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelChangeDescriptionAction- Returns:
- builder
-
builder
create builder for ChannelChangeDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelChangeDescriptionAction
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<ChannelChangeDescriptionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-