/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.event; import java.util.List; import java.util.HashMap; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.time.DateTime; import java.io.IOException; import java.lang.ClassNotFoundException; import com.mozu.api.contracts.event.EventExtendedProperty; /** * Properties of events as a summary of actions, data, and responses. */ @JsonIgnoreProperties(ignoreUnknown = true) public class EventSummary implements Serializable { // Default Serial Version UID private static final long serialVersionUID = 1L; /** * The unique identifier for the product catalog. Catalogs are part of a master catalog. */ protected Integer catalogId; public Integer getCatalogId() { return this.catalogId; } public void setCatalogId(Integer catalogId) { this.catalogId = catalogId; } /** * The unique identifier of the API request associated with the event action, which might contain multiple actions. */ protected String correlationId; public String getCorrelationId() { return this.correlationId; } public void setCorrelationId(String correlationId) { this.correlationId = correlationId; } /** * The date time in UTC format set when the object was created. */ protected DateTime createDate; public DateTime getCreateDate() { return this.createDate; } public void setCreateDate(DateTime createDate) { this.createDate = createDate; } /** * The unique identifier of the entity that caused the event. For example, if the event is "product.created", the entity ID value represents the product code of the product that was created. */ protected String entityId; public String getEntityId() { return this.entityId; } public void setEntityId(String entityId) { this.entityId = entityId; } /** * Unique identifier for the event. */ protected String eventId; public String getEventId() { return this.eventId; } public void setEventId(String eventId) { this.eventId = eventId; } /** * Unique identifier for the master catalog. */ protected Integer masterCatalogId; public Integer getMasterCatalogId() { return this.masterCatalogId; } public void setMasterCatalogId(Integer masterCatalogId) { this.masterCatalogId = masterCatalogId; } /** * Unique identifier for the site. This ID is used at all levels of a store, catalog, and tenant to associate objects to a site. */ protected Integer siteId; public Integer getSiteId() { return this.siteId; } public void setSiteId(Integer siteId) { this.siteId = siteId; } /** * Unique identifier of the Mozu tenant. */ protected Integer tenantId; public Integer getTenantId() { return this.tenantId; } public void setTenantId(Integer tenantId) { this.tenantId = tenantId; } /** * The type of event that was performed, such as "product.created" or "category.deleted". */ protected String topic; public String getTopic() { return this.topic; } public void setTopic(String topic) { this.topic = topic; } /** * Extended properties. Note: This is purposefully not a CollectionBase type wrapper so consumers start to get used to not having counts returned. */ protected List<EventExtendedProperty> extendedProperties; public List<EventExtendedProperty> getExtendedProperties() { return this.extendedProperties; } public void setExtendedProperties(List<EventExtendedProperty> extendedProperties) { this.extendedProperties = extendedProperties; } }