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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for SubscriptionSetChangesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SubscriptionSetChangesActionbuilder
(SubscriptionSetChangesAction template) create builder for SubscriptionSetChangesAction instancestatic SubscriptionSetChangesAction
deepCopy
(SubscriptionSetChangesAction template) factory method to create a deep copy of SubscriptionSetChangesAction@Valid List<ChangeSubscription>
Value to set.static SubscriptionSetChangesAction
of()
factory methodstatic SubscriptionSetChangesAction
of
(SubscriptionSetChangesAction template) factory method to create a shallow copy SubscriptionSetChangesActionstatic SubscriptionSetChangesAction
ofUnset()
void
setChanges
(ChangeSubscription... changes) Value to set.void
setChanges
(List<ChangeSubscription> changes) Value to set.static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetChangesAction>
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_CHANGES
discriminator value for SubscriptionSetChangesAction- See Also:
-
-
Method Details
-
getChanges
Value to set. Can only be unset if
messages
is set.- Returns:
- changes
-
setChanges
Value to set. Can only be unset if
messages
is set.- Parameters:
changes
- values to be set
-
setChanges
Value to set. Can only be unset if
messages
is 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
-
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
-