Interface ChannelChangeKeyAction
- All Superinterfaces:
ChannelUpdateAction
,ResourceUpdateAction<ChannelUpdateAction>
ChannelChangeKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelChangeKeyAction channelChangeKeyAction = ChannelChangeKeyAction.builder()
.key("{key}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChannelChangeKeyAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChannelChangeKeyActionbuilder
(ChannelChangeKeyAction template) create builder for ChannelChangeKeyAction instancestatic ChannelChangeKeyAction
deepCopy
(ChannelChangeKeyAction template) factory method to create a deep copy of ChannelChangeKeyAction@NotNull String
getKey()
New value to set.static ChannelChangeKeyAction
of()
factory methodstatic ChannelChangeKeyAction
of
(ChannelChangeKeyAction template) factory method to create a shallow copy ChannelChangeKeyActionvoid
New value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelChangeKeyAction>
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_KEY
discriminator value for ChannelChangeKeyAction- See Also:
-
-
Method Details
-
getKey
New value to set. Must not be empty.
- Returns:
- key
-
setKey
New value to set. Must not be empty.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of ChannelChangeKeyAction
-
of
factory method to create a shallow copy ChannelChangeKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ChannelChangeKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelChangeKeyAction- Returns:
- builder
-
builder
create builder for ChannelChangeKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelChangeKeyAction
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
-