Class WatcherDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WatcherDataAttributes extends Object
Attributes of a user who has watched a RUM replay session, including contact information and watch statistics.
  • Field Details

  • Constructor Details

    • WatcherDataAttributes

      public WatcherDataAttributes()
    • WatcherDataAttributes

      public WatcherDataAttributes(String handle, OffsetDateTime lastWatchedAt, Integer watchCount)
  • Method Details

    • handle

      public WatcherDataAttributes handle(String handle)
    • getHandle

      public String getHandle()
      Email handle of the user who watched the session.
      Returns:
      handle
    • setHandle

      public void setHandle(String handle)
    • icon

      public WatcherDataAttributes icon(String icon)
    • getIcon

      @Nullable public String getIcon()
      URL or identifier of the watcher's avatar icon.
      Returns:
      icon
    • setIcon

      public void setIcon(String icon)
    • lastWatchedAt

      public WatcherDataAttributes lastWatchedAt(OffsetDateTime lastWatchedAt)
    • getLastWatchedAt

      public OffsetDateTime getLastWatchedAt()
      Timestamp when the watcher last viewed the session.
      Returns:
      lastWatchedAt
    • setLastWatchedAt

      public void setLastWatchedAt(OffsetDateTime lastWatchedAt)
    • name

      public WatcherDataAttributes name(String name)
    • getName

      @Nullable public String getName()
      Display name of the user who watched the session.
      Returns:
      name
    • setName

      public void setName(String name)
    • watchCount

      public WatcherDataAttributes watchCount(Integer watchCount)
    • getWatchCount

      public Integer getWatchCount()
      Total number of times the user has watched the session. maximum: 2147483647
      Returns:
      watchCount
    • setWatchCount

      public void setWatchCount(Integer watchCount)
    • putAdditionalProperty

      public WatcherDataAttributes 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:
      WatcherDataAttributes
    • 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 WatcherDataAttributes 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