Class WatchData

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WatchData extends Object
Data object representing a session watch record, including its identifier, type, and attributes.
  • Field Details

  • Constructor Details

    • WatchData

      public WatchData()
    • WatchData

      public WatchData(WatchDataType type)
  • Method Details

    • attributes

      public WatchData attributes(WatchDataAttributes attributes)
    • getAttributes

      @Nullable public WatchDataAttributes getAttributes()
      Attributes for recording a session watch event, including the application, event reference, and timestamp.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(WatchDataAttributes attributes)
    • id

      public WatchData id(String id)
    • getId

      @Nullable public String getId()
      Unique identifier of the watch record.
      Returns:
      id
    • setId

      public void setId(String id)
    • type

      public WatchData type(WatchDataType type)
    • getType

      public WatchDataType getType()
      Rum replay watch resource type.
      Returns:
      type
    • setType

      public void setType(WatchDataType type)
    • putAdditionalProperty

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