java.lang.Object
com.intercom.api.resources.dataevents.types.DataEvent

public final class DataEvent extends Object
  • Method Details

    • getType

      public Optional<String> getType()
      Returns:
      The type of the object
    • getEventName

      public String getEventName()
      Returns:
      The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example updated-plan.
    • getCreatedAt

      public int getCreatedAt()
      Returns:
      The time the event occurred as a UTC Unix timestamp
    • getUserId

      public Optional<String> getUserId()
      Returns:
      Your identifier for the user.
    • getId

      public Optional<String> getId()
      Returns:
      Your identifier for a lead or a user.
    • getIntercomUserId

      public Optional<String> getIntercomUserId()
      Returns:
      The Intercom identifier for the user.
    • getEmail

      public Optional<String> getEmail()
      Returns:
      An email address for your user. An email should only be used where your application uses email to uniquely identify users.
    • getMetadata

      public Optional<Map<String,String>> getMetadata()
      Returns:
      Optional metadata about the event.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static DataEvent.EventNameStage builder()