Interface SubscriptionSetChangesAction
- All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>,SubscriptionUpdateAction
SubscriptionSetChangesAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SubscriptionSetChangesAction subscriptionSetChangesAction = SubscriptionSetChangesAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for SubscriptionSetChangesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for SubscriptionSetChangesActionbuilder(SubscriptionSetChangesAction template) create builder for SubscriptionSetChangesAction instancecopyDeep()static SubscriptionSetChangesActiondeepCopy(SubscriptionSetChangesAction template) factory method to create a deep copy of SubscriptionSetChangesAction@Valid List<ChangeSubscription>Value to set.static SubscriptionSetChangesActionof()factory methodstatic SubscriptionSetChangesActionof(SubscriptionSetChangesAction template) factory method to create a shallow copy SubscriptionSetChangesActionstatic SubscriptionSetChangesActionofUnset()voidsetChanges(ChangeSubscription... changes) Value to set.voidsetChanges(List<ChangeSubscription> changes) Value to set.static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetChangesAction>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_CHANGES
discriminator value for SubscriptionSetChangesAction- See Also:
-
-
Method Details
-
getChanges
Value to set. Can only be unset if either
messagesoreventsis set.- Returns:
- changes
-
setChanges
Value to set. Can only be unset if either
messagesoreventsis set.- Parameters:
changes- values to be set
-
setChanges
Value to set. Can only be unset if either
messagesoreventsis set.- Parameters:
changes- values to be set
-
of
factory method- Returns:
- instance of SubscriptionSetChangesAction
-
of
factory method to create a shallow copy SubscriptionSetChangesAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SubscriptionSetChangesAction copyDeep()- Specified by:
copyDeepin interfaceSubscriptionUpdateAction
-
deepCopy
@Nullable static SubscriptionSetChangesAction deepCopy(@Nullable SubscriptionSetChangesAction template) factory method to create a deep copy of SubscriptionSetChangesAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SubscriptionSetChangesAction- Returns:
- builder
-
builder
create builder for SubscriptionSetChangesAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSubscriptionSetChangesAction
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
-