@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WatcherDataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HANDLE |
static String |
JSON_PROPERTY_ICON |
static String |
JSON_PROPERTY_LAST_WATCHED_AT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_WATCH_COUNT |
boolean |
unparsed |
| Constructor and Description |
|---|
WatcherDataAttributes() |
WatcherDataAttributes(String handle,
OffsetDateTime lastWatchedAt,
Integer watchCount) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this WatcherDataAttributes 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.
|
String |
getHandle()
Email handle of the user who watched the session.
|
String |
getIcon()
URL or identifier of the watcher's avatar icon.
|
OffsetDateTime |
getLastWatchedAt()
Timestamp when the watcher last viewed the session.
|
String |
getName()
Display name of the user who watched the session.
|
Integer |
getWatchCount()
Total number of times the user has watched the session.
|
WatcherDataAttributes |
handle(String handle) |
int |
hashCode() |
WatcherDataAttributes |
icon(String icon) |
WatcherDataAttributes |
lastWatchedAt(OffsetDateTime lastWatchedAt) |
WatcherDataAttributes |
name(String name) |
WatcherDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setHandle(String handle) |
void |
setIcon(String icon) |
void |
setLastWatchedAt(OffsetDateTime lastWatchedAt) |
void |
setName(String name) |
void |
setWatchCount(Integer watchCount) |
String |
toString() |
WatcherDataAttributes |
watchCount(Integer watchCount) |
public boolean unparsed
public static final String JSON_PROPERTY_HANDLE
public static final String JSON_PROPERTY_ICON
public static final String JSON_PROPERTY_LAST_WATCHED_AT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_WATCH_COUNT
public WatcherDataAttributes()
public WatcherDataAttributes(String handle, OffsetDateTime lastWatchedAt, Integer watchCount)
public WatcherDataAttributes handle(String handle)
public String getHandle()
public void setHandle(String handle)
public WatcherDataAttributes icon(String icon)
@Nullable public String getIcon()
public void setIcon(String icon)
public WatcherDataAttributes lastWatchedAt(OffsetDateTime lastWatchedAt)
public OffsetDateTime getLastWatchedAt()
public void setLastWatchedAt(OffsetDateTime lastWatchedAt)
public WatcherDataAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public WatcherDataAttributes watchCount(Integer watchCount)
public Integer getWatchCount()
public void setWatchCount(Integer watchCount)
public WatcherDataAttributes 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.