@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WatchData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
WatchData() |
WatchData(WatchDataType type) |
| Modifier and Type | Method and Description |
|---|---|
WatchData |
attributes(WatchDataAttributes attributes) |
boolean |
equals(Object o)
Return true if this WatchData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
WatchDataAttributes |
getAttributes()
Attributes for recording a session watch event, including the application, event reference, and
timestamp.
|
String |
getId()
Unique identifier of the watch record.
|
WatchDataType |
getType()
Rum replay watch resource type.
|
int |
hashCode() |
WatchData |
id(String id) |
WatchData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(WatchDataAttributes attributes) |
void |
setId(String id) |
void |
setType(WatchDataType type) |
String |
toString() |
WatchData |
type(WatchDataType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public WatchData()
public WatchData(WatchDataType type)
public WatchData attributes(WatchDataAttributes attributes)
@Nullable public WatchDataAttributes getAttributes()
public void setAttributes(WatchDataAttributes attributes)
@Nullable public String getId()
public void setId(String id)
public WatchData type(WatchDataType type)
public WatchDataType getType()
public void setType(WatchDataType type)
public WatchData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.