Interface ImportContainerDeletedEvent
- All Superinterfaces:
Event
Generated when an Import Container is deleted.
Example to create an instance using the builder pattern
ImportContainerDeletedEvent importContainerDeletedEvent = ImportContainerDeletedEvent.builder()
.id("{id}")
.notificationType("{notificationType}")
.resourceType(EventSubscriptionResourceTypeId.CHECKOUT)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.data(dataBuilder -> dataBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for ImportContainerDeletedEvent -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ImportContainerDeletedEventbuilder
(ImportContainerDeletedEvent template) create builder for ImportContainerDeletedEvent instancecopyDeep()
static ImportContainerDeletedEvent
deepCopy
(ImportContainerDeletedEvent template) factory method to create a deep copy of ImportContainerDeletedEvent@NotNull @Valid ImportContainerDeletedEventData
getData()
An object containing details of the deleted Import Container.@NotNull EventSubscriptionResourceTypeId
The type of resource targeted by the Event.static ImportContainerDeletedEvent
of()
factory methodstatic ImportContainerDeletedEvent
of
(ImportContainerDeletedEvent template) factory method to create a shallow copy ImportContainerDeletedEventvoid
An object containing details of the deleted Import Container.void
setResourceType
(EventSubscriptionResourceTypeId resourceType) set resourceTypestatic com.fasterxml.jackson.core.type.TypeReference<ImportContainerDeletedEvent>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.event.Event
getCreatedAt, getId, getNotificationType, getType, setCreatedAt, setId, setNotificationType, withEvent
-
Field Details
-
IMPORT_CONTAINER_DELETED
discriminator value for ImportContainerDeletedEvent- See Also:
-
-
Method Details
-
getResourceType
Description copied from interface:Event
The type of resource targeted by the Event.
- Specified by:
getResourceType
in interfaceEvent
- Returns:
- resourceType
-
getData
An object containing details of the deleted Import Container.
- Returns:
- data
-
setResourceType
set resourceType- Specified by:
setResourceType
in interfaceEvent
- Parameters:
resourceType
- value to be set
-
setData
An object containing details of the deleted Import Container.
- Parameters:
data
- value to be set
-
of
factory method- Returns:
- instance of ImportContainerDeletedEvent
-
of
factory method to create a shallow copy ImportContainerDeletedEvent- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
ImportContainerDeletedEvent copyDeep() -
deepCopy
@Nullable static ImportContainerDeletedEvent deepCopy(@Nullable ImportContainerDeletedEvent template) factory method to create a deep copy of ImportContainerDeletedEvent- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportContainerDeletedEvent- Returns:
- builder
-
builder
create builder for ImportContainerDeletedEvent instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImportContainerDeletedEvent
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
-