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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ChannelChangeDescriptionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ChannelChangeDescriptionActionbuilder(ChannelChangeDescriptionAction template) create builder for ChannelChangeDescriptionAction instancecopyDeep()deepCopy(ChannelChangeDescriptionAction template) factory method to create a deep copy of ChannelChangeDescriptionAction@NotNull @Valid LocalizedStringNew value to set.of()factory methodof(ChannelChangeDescriptionAction template) factory method to create a shallow copy ChannelChangeDescriptionActionvoidsetDescription(LocalizedString description) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelChangeDescriptionAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateActionMethods 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
-
copyDeep
ChannelChangeDescriptionAction copyDeep()- Specified by:
copyDeepin interfaceChannelUpdateAction
-
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
-