Interface ChannelChangeNameAction
- All Superinterfaces:
ChannelUpdateAction,ResourceUpdateAction<ChannelUpdateAction>
ChannelChangeNameAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelChangeNameAction channelChangeNameAction = ChannelChangeNameAction.builder()
.name(nameBuilder -> nameBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ChannelChangeNameAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ChannelChangeNameActionbuilder(ChannelChangeNameAction template) create builder for ChannelChangeNameAction instancecopyDeep()static ChannelChangeNameActiondeepCopy(ChannelChangeNameAction template) factory method to create a deep copy of ChannelChangeNameAction@NotNull @Valid LocalizedStringgetName()New value to set.static ChannelChangeNameActionof()factory methodstatic ChannelChangeNameActionof(ChannelChangeNameAction template) factory method to create a shallow copy ChannelChangeNameActionvoidsetName(LocalizedString name) New value to set.static tools.jackson.core.type.TypeReference<ChannelChangeNameAction>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_NAME
discriminator value for ChannelChangeNameAction- See Also:
-
-
Method Details
-
getName
New value to set.
If set to an empty value, an InvalidOperation error is returned.
If the new value is the same as the current value, an InvalidOperation error is returned.
- Returns:
- name
-
setName
New value to set.
If set to an empty value, an InvalidOperation error is returned.
If the new value is the same as the current value, an InvalidOperation error is returned.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of ChannelChangeNameAction
-
of
factory method to create a shallow copy ChannelChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ChannelChangeNameAction copyDeep()- Specified by:
copyDeepin interfaceChannelUpdateAction
-
deepCopy
factory method to create a deep copy of ChannelChangeNameAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelChangeNameAction- Returns:
- builder
-
builder
create builder for ChannelChangeNameAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withChannelChangeNameAction
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
-