Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ViewershipHistorySessionDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Unique identifier of the RUM event associated with the watched session.Timestamp when the session was last watched by the user.Raw event data associated with the replay session.getTrack()Replay track identifier indicating which recording track the session belongs to.inthashCode()lastWatchedAt(OffsetDateTime lastWatchedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putSessionEventItem(String key, Object sessionEventItem) sessionEvent(Map<String, Object> sessionEvent) voidsetEventId(String eventId) voidsetLastWatchedAt(OffsetDateTime lastWatchedAt) voidsetSessionEvent(Map<String, Object> sessionEvent) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EVENT_ID
- See Also:
-
JSON_PROPERTY_LAST_WATCHED_AT
- See Also:
-
JSON_PROPERTY_SESSION_EVENT
- See Also:
-
JSON_PROPERTY_TRACK
- See Also:
-
-
Constructor Details
-
ViewershipHistorySessionDataAttributes
public ViewershipHistorySessionDataAttributes() -
ViewershipHistorySessionDataAttributes
-
-
Method Details
-
eventId
-
getEventId
Unique identifier of the RUM event associated with the watched session.- Returns:
- eventId
-
setEventId
-
lastWatchedAt
-
getLastWatchedAt
Timestamp when the session was last watched by the user.- Returns:
- lastWatchedAt
-
setLastWatchedAt
-
sessionEvent
-
putSessionEventItem
public ViewershipHistorySessionDataAttributes putSessionEventItem(String key, Object sessionEventItem) -
getSessionEvent
Raw event data associated with the replay session.- Returns:
- sessionEvent
-
setSessionEvent
-
track
-
getTrack
Replay track identifier indicating which recording track the session belongs to.- Returns:
- track
-
setTrack
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- ViewershipHistorySessionDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ViewershipHistorySessionDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-