Interface SubscriptionSetMessagesAction
- All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>
,SubscriptionUpdateAction
SubscriptionSetMessagesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SubscriptionSetMessagesAction subscriptionSetMessagesAction = SubscriptionSetMessagesAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for SubscriptionSetMessagesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SubscriptionSetMessagesActionbuilder
(SubscriptionSetMessagesAction template) create builder for SubscriptionSetMessagesAction instancedeepCopy
(SubscriptionSetMessagesAction template) factory method to create a deep copy of SubscriptionSetMessagesAction@Valid List<MessageSubscription>
Value to set.of()
factory methodof
(SubscriptionSetMessagesAction template) factory method to create a shallow copy SubscriptionSetMessagesActionofUnset()
void
setMessages
(MessageSubscription... messages) Value to set.void
setMessages
(List<MessageSubscription> messages) Value to set.static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetMessagesAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.subscription.SubscriptionUpdateAction
getAction, withSubscriptionUpdateAction
-
Field Details
-
SET_MESSAGES
discriminator value for SubscriptionSetMessagesAction- See Also:
-
-
Method Details
-
getMessages
Value to set. Can only be unset if
changes
is set.- Returns:
- messages
-
setMessages
Value to set. Can only be unset if
changes
is set.- Parameters:
messages
- values to be set
-
setMessages
Value to set. Can only be unset if
changes
is set.- Parameters:
messages
- values to be set
-
of
factory method- Returns:
- instance of SubscriptionSetMessagesAction
-
of
factory method to create a shallow copy SubscriptionSetMessagesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SubscriptionSetMessagesAction deepCopy(@Nullable SubscriptionSetMessagesAction template) factory method to create a deep copy of SubscriptionSetMessagesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SubscriptionSetMessagesAction- Returns:
- builder
-
builder
create builder for SubscriptionSetMessagesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSubscriptionSetMessagesAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-