Interface VariantImagesSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set Images update action.
Example to create an instance using the builder pattern
VariantImagesSetMessage variantImagesSetMessage = VariantImagesSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.plusImages(imagesBuilder -> imagesBuilder)
.plusOldImages(oldImagesBuilder -> oldImagesBuilder)
.staged(true)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for VariantImagesSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for VariantImagesSetMessagebuilder(VariantImagesSetMessage template) create builder for VariantImagesSetMessage instancecopyDeep()static VariantImagesSetMessagedeepCopy(VariantImagesSetMessage template) factory method to create a deep copy of VariantImagesSetMessageThe images that were set on the Variant.The previous images of the Variant.@NotNull BooleanWhether the update was only applied to the staged Variant.static VariantImagesSetMessageof()factory methodstatic VariantImagesSetMessageof(VariantImagesSetMessage template) factory method to create a shallow copy VariantImagesSetMessagevoidThe images that were set on the Variant.voidThe images that were set on the Variant.voidsetOldImages(Image... oldImages) The previous images of the Variant.voidsetOldImages(List<Image> oldImages) The previous images of the Variant.voidWhether the update was only applied to the staged Variant.static tools.jackson.core.type.TypeReference<VariantImagesSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
VARIANT_IMAGES_SET
discriminator value for VariantImagesSetMessage- See Also:
-
-
Method Details
-
getImages
The images that were set on the Variant.
- Returns:
- images
-
getOldImages
The previous images of the Variant.
- Returns:
- oldImages
-
getStaged
Whether the update was only applied to the staged Variant.
- Returns:
- staged
-
setImages
The images that were set on the Variant.
- Parameters:
images- values to be set
-
setImages
The images that were set on the Variant.
- Parameters:
images- values to be set
-
setOldImages
The previous images of the Variant.
- Parameters:
oldImages- values to be set
-
setOldImages
The previous images of the Variant.
- Parameters:
oldImages- values to be set
-
setStaged
Whether the update was only applied to the staged Variant.
- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of VariantImagesSetMessage
-
of
factory method to create a shallow copy VariantImagesSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
VariantImagesSetMessage copyDeep()- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
factory method to create a deep copy of VariantImagesSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for VariantImagesSetMessage- Returns:
- builder
-
builder
create builder for VariantImagesSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withVariantImagesSetMessage
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
-