Interface ChannelUpdateAction
- All Superinterfaces:
ResourceUpdateAction<ChannelUpdateAction>
- All Known Subinterfaces:
ChannelAddRolesAction
,ChannelChangeDescriptionAction
,ChannelChangeKeyAction
,ChannelChangeNameAction
,ChannelRemoveRolesAction
,ChannelSetAddressAction
,ChannelSetAddressCustomFieldAction
,ChannelSetAddressCustomTypeAction
,ChannelSetCustomFieldAction
,ChannelSetCustomTypeAction
,ChannelSetGeoLocationAction
,ChannelSetRolesAction
ChannelUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ChannelUpdateAction channelUpdateAction = ChannelUpdateAction.addRolesBuilder()
plusRoles(rolesBuilder -> rolesBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelAddRolesActionBuilder
builder for addRoles subtypebuilder for changeDescription subtypebuilder for changeKey subtypebuilder for changeName subtypestatic ChannelUpdateAction
deepCopy
(ChannelUpdateAction template) factory method to create a deep copy of ChannelUpdateAction@NotNull String
builder for removeRoles subtypebuilder for setAddress subtypebuilder for setAddressCustomField subtypebuilder for setAddressCustomType subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setGeoLocation subtypestatic ChannelSetRolesActionBuilder
builder for setRoles subtypestatic com.fasterxml.jackson.core.type.TypeReference<ChannelUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withChannelUpdateAction
(Function<ChannelUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ChannelUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of ChannelUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addRolesBuilder
builder for addRoles subtype- Returns:
- builder
-
changeDescriptionBuilder
builder for changeDescription subtype- Returns:
- builder
-
changeKeyBuilder
builder for changeKey subtype- Returns:
- builder
-
changeNameBuilder
builder for changeName subtype- Returns:
- builder
-
removeRolesBuilder
builder for removeRoles subtype- Returns:
- builder
-
setAddressBuilder
builder for setAddress subtype- Returns:
- builder
-
setAddressCustomFieldBuilder
builder for setAddressCustomField subtype- Returns:
- builder
-
setAddressCustomTypeBuilder
builder for setAddressCustomType subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setGeoLocationBuilder
builder for setGeoLocation subtype- Returns:
- builder
-
setRolesBuilder
builder for setRoles subtype- Returns:
- builder
-
withChannelUpdateAction
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
-