Class ViewershipHistorySessionDataAttributes

java.lang.Object
com.datadog.api.client.v2.model.ViewershipHistorySessionDataAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ViewershipHistorySessionDataAttributes extends Object
Attributes of a viewership history session entry, capturing when it was last watched and the associated event data.
  • Field Details

  • Constructor Details

    • ViewershipHistorySessionDataAttributes

      public ViewershipHistorySessionDataAttributes()
    • ViewershipHistorySessionDataAttributes

      public ViewershipHistorySessionDataAttributes(OffsetDateTime lastWatchedAt)
  • Method Details

    • eventId

    • getEventId

      @Nullable public String getEventId()
      Unique identifier of the RUM event associated with the watched session.
      Returns:
      eventId
    • setEventId

      public void setEventId(String eventId)
    • lastWatchedAt

      public ViewershipHistorySessionDataAttributes lastWatchedAt(OffsetDateTime lastWatchedAt)
    • getLastWatchedAt

      public OffsetDateTime getLastWatchedAt()
      Timestamp when the session was last watched by the user.
      Returns:
      lastWatchedAt
    • setLastWatchedAt

      public void setLastWatchedAt(OffsetDateTime lastWatchedAt)
    • sessionEvent

      public ViewershipHistorySessionDataAttributes sessionEvent(Map<String,Object> sessionEvent)
    • putSessionEventItem

      public ViewershipHistorySessionDataAttributes putSessionEventItem(String key, Object sessionEventItem)
    • getSessionEvent

      @Nullable public Map<String,Object> getSessionEvent()
      Raw event data associated with the replay session.
      Returns:
      sessionEvent
    • setSessionEvent

      public void setSessionEvent(Map<String,Object> sessionEvent)
    • track

    • getTrack

      @Nullable public String getTrack()
      Replay track identifier indicating which recording track the session belongs to.
      Returns:
      track
    • setTrack

      public void setTrack(String track)
    • putAdditionalProperty

      public ViewershipHistorySessionDataAttributes putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      ViewershipHistorySessionDataAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this ViewershipHistorySessionDataAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object