Interface ExtensionChangeTriggersAction
- All Superinterfaces:
ExtensionUpdateAction
,ResourceUpdateAction<ExtensionUpdateAction>
ExtensionChangeTriggersAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionChangeTriggersAction extensionChangeTriggersAction = ExtensionChangeTriggersAction.builder()
.plusTriggers(triggersBuilder -> triggersBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ExtensionChangeTriggersAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ExtensionChangeTriggersActionbuilder
(ExtensionChangeTriggersAction template) create builder for ExtensionChangeTriggersAction instancedeepCopy
(ExtensionChangeTriggersAction template) factory method to create a deep copy of ExtensionChangeTriggersAction@NotNull @Valid List<ExtensionTrigger>
New value to set.of()
factory methodof
(ExtensionChangeTriggersAction template) factory method to create a shallow copy ExtensionChangeTriggersActionvoid
setTriggers
(ExtensionTrigger... triggers) New value to set.void
setTriggers
(List<ExtensionTrigger> triggers) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ExtensionChangeTriggersAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.extension.ExtensionUpdateAction
getAction, withExtensionUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_TRIGGERS
discriminator value for ExtensionChangeTriggersAction- See Also:
-
-
Method Details
-
getTriggers
New value to set. Must not be empty.
- Returns:
- triggers
-
setTriggers
New value to set. Must not be empty.
- Parameters:
triggers
- values to be set
-
setTriggers
New value to set. Must not be empty.
- Parameters:
triggers
- values to be set
-
of
factory method- Returns:
- instance of ExtensionChangeTriggersAction
-
of
factory method to create a shallow copy ExtensionChangeTriggersAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ExtensionChangeTriggersAction deepCopy(@Nullable ExtensionChangeTriggersAction template) factory method to create a deep copy of ExtensionChangeTriggersAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionChangeTriggersAction- Returns:
- builder
-
builder
create builder for ExtensionChangeTriggersAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionChangeTriggersAction
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
-