Interface SubscriptionSetEventsAction
- All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>,SubscriptionUpdateAction
SubscriptionSetEventsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SubscriptionSetEventsAction subscriptionSetEventsAction = SubscriptionSetEventsAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for SubscriptionSetEventsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for SubscriptionSetEventsActionbuilder(SubscriptionSetEventsAction template) create builder for SubscriptionSetEventsAction instancecopyDeep()static SubscriptionSetEventsActiondeepCopy(SubscriptionSetEventsAction template) factory method to create a deep copy of SubscriptionSetEventsAction@Valid List<EventSubscription>Value to set.static SubscriptionSetEventsActionof()factory methodstatic SubscriptionSetEventsActionof(SubscriptionSetEventsAction template) factory method to create a shallow copy SubscriptionSetEventsActionvoidsetEvents(EventSubscription... events) Value to set.voidsetEvents(List<EventSubscription> events) Value to set.static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetEventsAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.subscription.SubscriptionUpdateAction
getAction, withSubscriptionUpdateAction
-
Field Details
-
SET_EVENTS
discriminator value for SubscriptionSetEventsAction- See Also:
-
-
Method Details
-
getEvents
Value to set. Can only be unset if either
messagesorchangesis set.- Returns:
- events
-
setEvents
Value to set. Can only be unset if either
messagesorchangesis set.- Parameters:
events- values to be set
-
setEvents
Value to set. Can only be unset if either
messagesorchangesis set.- Parameters:
events- values to be set
-
of
factory method- Returns:
- instance of SubscriptionSetEventsAction
-
of
factory method to create a shallow copy SubscriptionSetEventsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SubscriptionSetEventsAction copyDeep()- Specified by:
copyDeepin interfaceSubscriptionUpdateAction
-
deepCopy
@Nullable static SubscriptionSetEventsAction deepCopy(@Nullable SubscriptionSetEventsAction template) factory method to create a deep copy of SubscriptionSetEventsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SubscriptionSetEventsAction- Returns:
- builder
-
builder
create builder for SubscriptionSetEventsAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSubscriptionSetEventsAction
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
-