Class Event

java.lang.Object
com.mypurecloud.sdk.v2.model.Event
All Implemented Interfaces:
Serializable

public class Event extends Object implements Serializable
Event
See Also:
  • Constructor Details

    • Event

      public Event()
    • Event

      public Event(Boolean initWithEmptyList)
  • Method Details

    • id

      public Event id(String id)
      System-generated UUID for the event.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • correlationId

      public Event correlationId(String correlationId)
      UUID corresponding to triggering action that caused this event (e.g. HTTP POST, SIP invite, another event).
    • getCorrelationId

      public String getCorrelationId()
    • setCorrelationId

      public void setCorrelationId(String correlationId)
    • customerId

      public Event customerId(String customerId)
      Primary identifier of the customer in the source of the events.
    • getCustomerId

      public String getCustomerId()
    • setCustomerId

      public void setCustomerId(String customerId)
    • customerIdType

      public Event customerIdType(String customerIdType)
      Type of primary identifier (e.g. cookie, email, phone).
    • getCustomerIdType

      public String getCustomerIdType()
    • setCustomerIdType

      public void setCustomerIdType(String customerIdType)
    • session

      public Event session(EventSession session)
      The session that the event belongs to.
    • getSession

      public EventSession getSession()
    • setSession

      public void setSession(EventSession session)
    • eventType

      public Event eventType(String eventType)
      The name representing the type of event.
    • getEventType

      public String getEventType()
    • setEventType

      public void setEventType(String eventType)
    • outcomeAchievedEvent

      public Event outcomeAchievedEvent(OutcomeAchievedEvent outcomeAchievedEvent)
      Deprecated. Event where a customer has achieved a specific outcome or goal. Journey Outcomes is being removed. See https://help.genesys.cloud/announcements/genesys-cloud/deprecation-journey-outcomes/
    • getOutcomeAchievedEvent

      public OutcomeAchievedEvent getOutcomeAchievedEvent()
    • setOutcomeAchievedEvent

      public void setOutcomeAchievedEvent(OutcomeAchievedEvent outcomeAchievedEvent)
    • segmentAssignmentEvent

      public Event segmentAssignmentEvent(SegmentAssignmentEvent segmentAssignmentEvent)
      Event that represents a segment being assigned.
    • getSegmentAssignmentEvent

      public SegmentAssignmentEvent getSegmentAssignmentEvent()
    • setSegmentAssignmentEvent

      public void setSegmentAssignmentEvent(SegmentAssignmentEvent segmentAssignmentEvent)
    • webActionEvent

      public Event webActionEvent(WebActionEvent webActionEvent)
      Event triggered by web actions.
    • getWebActionEvent

      public WebActionEvent getWebActionEvent()
    • setWebActionEvent

      public void setWebActionEvent(WebActionEvent webActionEvent)
    • webEvent

      public Event webEvent(WebEvent webEvent)
      Event that tracks user interactions with content in a browser such as pageviews, downloads, mobile ad clicks, etc.
    • getWebEvent

      public WebEvent getWebEvent()
    • setWebEvent

      public void setWebEvent(WebEvent webEvent)
    • appEvent

      public Event appEvent(AppEvent appEvent)
      Event that tracks user interactions with content in an application such as screen views, searches, etc.
    • getAppEvent

      public AppEvent getAppEvent()
    • setAppEvent

      public void setAppEvent(AppEvent appEvent)
    • createdDate

      public Event createdDate(Date createdDate)
      Timestamp indicating when the event actually took place. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getCreatedDate

      public Date getCreatedDate()
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object