Class SnapshotCreateRequestDataAttributes

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

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

  • Constructor Details

    • SnapshotCreateRequestDataAttributes

      public SnapshotCreateRequestDataAttributes()
    • SnapshotCreateRequestDataAttributes

      public SnapshotCreateRequestDataAttributes(String applicationId, String deviceType, String eventId, Boolean isDeviceTypeSelectedByUser, String snapshotName, Long start, String viewName)
  • Method Details

    • applicationId

      public SnapshotCreateRequestDataAttributes applicationId(String applicationId)
    • getApplicationId

      public String getApplicationId()
      Unique identifier of the RUM application.
      Returns:
      applicationId
    • setApplicationId

      public void setApplicationId(String applicationId)
    • deviceType

      public SnapshotCreateRequestDataAttributes deviceType(String deviceType)
    • getDeviceType

      public String getDeviceType()
      Device type used when capturing the snapshot (e.g., desktop, mobile, tablet).
      Returns:
      deviceType
    • setDeviceType

      public void setDeviceType(String deviceType)
    • eventId

      public SnapshotCreateRequestDataAttributes 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 SnapshotCreateRequestDataAttributes 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 SnapshotCreateRequestDataAttributes 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)
    • snapshotName

      public SnapshotCreateRequestDataAttributes snapshotName(String snapshotName)
    • getSnapshotName

      public String getSnapshotName()
      Human-readable name for the snapshot.
      Returns:
      snapshotName
    • setSnapshotName

      public void setSnapshotName(String snapshotName)
    • 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)
    • viewName

      public SnapshotCreateRequestDataAttributes viewName(String viewName)
    • getViewName

      public String getViewName()
      URL path or name of the view where the snapshot was captured.
      Returns:
      viewName
    • setViewName

      public void setViewName(String viewName)
    • putAdditionalProperty

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