Interface ProductRevertedStagedChangesMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Revert Staged Changes update action.
Example to create an instance using the builder pattern
ProductRevertedStagedChangesMessagePayload productRevertedStagedChangesMessagePayload = ProductRevertedStagedChangesMessagePayload.builder()
.plusRemovedImageUrls(removedImageUrlsBuilder -> removedImageUrlsBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProductRevertedStagedChangesMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductRevertedStagedChangesMessagePayloadcreate builder for ProductRevertedStagedChangesMessagePayload instancefactory method to create a deep copy of ProductRevertedStagedChangesMessagePayloadList of image URLs that were removed during the Revert Staged Changes update action.of()
factory methodof
(ProductRevertedStagedChangesMessagePayload template) factory method to create a shallow copy ProductRevertedStagedChangesMessagePayloadvoid
setRemovedImageUrls
(String... removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.void
setRemovedImageUrls
(List<String> removedImageUrls) List of image URLs that were removed during the Revert Staged Changes update action.static com.fasterxml.jackson.core.type.TypeReference<ProductRevertedStagedChangesMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProductRevertedStagedChangesMessagePayload
(Function<ProductRevertedStagedChangesMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PRODUCT_REVERTED_STAGED_CHANGES
discriminator value for ProductRevertedStagedChangesMessagePayload- See Also:
-
-
Method Details
-
getRemovedImageUrls
List of image URLs that were removed during the Revert Staged Changes update action.
- Returns:
- removedImageUrls
-
setRemovedImageUrls
List of image URLs that were removed during the Revert Staged Changes update action.
- Parameters:
removedImageUrls
- values to be set
-
setRemovedImageUrls
List of image URLs that were removed during the Revert Staged Changes update action.
- Parameters:
removedImageUrls
- values to be set
-
of
factory method- Returns:
- instance of ProductRevertedStagedChangesMessagePayload
-
of
static ProductRevertedStagedChangesMessagePayload of(ProductRevertedStagedChangesMessagePayload template) factory method to create a shallow copy ProductRevertedStagedChangesMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductRevertedStagedChangesMessagePayload deepCopy(@Nullable ProductRevertedStagedChangesMessagePayload template) factory method to create a deep copy of ProductRevertedStagedChangesMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductRevertedStagedChangesMessagePayload- Returns:
- builder
-
builder
static ProductRevertedStagedChangesMessagePayloadBuilder builder(ProductRevertedStagedChangesMessagePayload template) create builder for ProductRevertedStagedChangesMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductRevertedStagedChangesMessagePayload
default <T> T withProductRevertedStagedChangesMessagePayload(Function<ProductRevertedStagedChangesMessagePayload, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductRevertedStagedChangesMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-