Class SnapshotUpdateRequestDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SnapshotUpdateRequestDataAttributes extends Object
Attributes for updating a heatmap snapshot, including event, session, and view context.
  • Field Details

  • Constructor Details

    • SnapshotUpdateRequestDataAttributes

      public SnapshotUpdateRequestDataAttributes()
    • SnapshotUpdateRequestDataAttributes

      public SnapshotUpdateRequestDataAttributes(String eventId, Boolean isDeviceTypeSelectedByUser, Long start)
  • Method Details

    • eventId

      public SnapshotUpdateRequestDataAttributes eventId(String eventId)
    • getEventId

      public String getEventId()
      Unique identifier of the RUM event associated with the snapshot.
      Returns:
      eventId
    • setEventId

      public void setEventId(String eventId)
    • isDeviceTypeSelectedByUser

      public SnapshotUpdateRequestDataAttributes isDeviceTypeSelectedByUser(Boolean isDeviceTypeSelectedByUser)
    • getIsDeviceTypeSelectedByUser

      public Boolean getIsDeviceTypeSelectedByUser()
      Indicates whether the device type was explicitly selected by the user rather than auto-detected.
      Returns:
      isDeviceTypeSelectedByUser
    • setIsDeviceTypeSelectedByUser

      public void setIsDeviceTypeSelectedByUser(Boolean isDeviceTypeSelectedByUser)
    • sessionId

      public SnapshotUpdateRequestDataAttributes sessionId(String sessionId)
    • getSessionId

      @Nullable public String getSessionId()
      Unique identifier of the RUM session associated with the snapshot.
      Returns:
      sessionId
    • setSessionId

      public void setSessionId(String sessionId)
    • start

    • getStart

      public Long getStart()
      Offset in milliseconds from the start of the session at which the snapshot was captured.
      Returns:
      start
    • setStart

      public void setStart(Long start)
    • viewId

    • getViewId

      @Nullable public String getViewId()
      Unique identifier of the RUM view associated with the snapshot.
      Returns:
      viewId
    • setViewId

      public void setViewId(String viewId)
    • putAdditionalProperty

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