@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AnnotationInPage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTHOR_ID |
static String |
JSON_PROPERTY_COLOR |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_END_TIME |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_PAGE_ID |
static String |
JSON_PROPERTY_START_TIME |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_WIDGET_IDS |
boolean |
unparsed |
| Constructor and Description |
|---|
AnnotationInPage() |
AnnotationInPage(String authorId,
AnnotationColor color,
Long createdAt,
String description,
Long endTime,
UUID id,
Long modifiedAt,
String pageId,
Long startTime,
AnnotationKind type) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationInPage |
addWidgetIdsItem(String widgetIdsItem) |
AnnotationInPage |
authorId(String authorId) |
AnnotationInPage |
color(AnnotationColor color) |
AnnotationInPage |
createdAt(Long createdAt) |
AnnotationInPage |
description(String description) |
AnnotationInPage |
endTime(Long endTime) |
boolean |
equals(Object o)
Return true if this AnnotationInPage 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 |
getAuthorId()
Identifier of the user who created the annotation.
|
AnnotationColor |
getColor()
Color used to render the annotation in the UI.
|
Long |
getCreatedAt()
Creation time of the annotation in milliseconds since the Unix epoch.
|
String |
getDescription()
User-defined text attached to the annotation.
|
Long |
getEndTime()
End time of the annotation in milliseconds since the Unix epoch.
|
UUID |
getId()
Unique identifier of the annotation.
|
Long |
getModifiedAt()
Last modification time of the annotation in milliseconds since the Unix epoch.
|
String |
getPageId()
ID of the page the annotation belongs to, prefixed with the page type and joined by a colon
(for example,
dashboard:abc-def-xyz or notebook:1234567890). |
Long |
getStartTime()
Start time of the annotation in milliseconds since the Unix epoch.
|
AnnotationKind |
getType()
Kind of annotation.
|
List<String> |
getWidgetIds()
IDs of widgets the annotation is associated with.
|
int |
hashCode() |
AnnotationInPage |
id(UUID id) |
AnnotationInPage |
modifiedAt(Long modifiedAt) |
AnnotationInPage |
pageId(String pageId) |
AnnotationInPage |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAuthorId(String authorId) |
void |
setColor(AnnotationColor color) |
void |
setCreatedAt(Long createdAt) |
void |
setDescription(String description) |
void |
setEndTime(Long endTime) |
void |
setId(UUID id) |
void |
setModifiedAt(Long modifiedAt) |
void |
setPageId(String pageId) |
void |
setStartTime(Long startTime) |
void |
setType(AnnotationKind type) |
void |
setWidgetIds(List<String> widgetIds) |
AnnotationInPage |
startTime(Long startTime) |
String |
toString() |
AnnotationInPage |
type(AnnotationKind type) |
AnnotationInPage |
widgetIds(List<String> widgetIds) |
public boolean unparsed
public static final String JSON_PROPERTY_AUTHOR_ID
public static final String JSON_PROPERTY_COLOR
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_END_TIME
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_PAGE_ID
public static final String JSON_PROPERTY_START_TIME
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_WIDGET_IDS
public AnnotationInPage()
public AnnotationInPage(String authorId, AnnotationColor color, Long createdAt, String description, Long endTime, UUID id, Long modifiedAt, String pageId, Long startTime, AnnotationKind type)
public AnnotationInPage authorId(String authorId)
public String getAuthorId()
public void setAuthorId(String authorId)
public AnnotationInPage color(AnnotationColor color)
public AnnotationColor getColor()
public void setColor(AnnotationColor color)
public AnnotationInPage createdAt(Long createdAt)
public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
public AnnotationInPage description(String description)
public String getDescription()
public void setDescription(String description)
public AnnotationInPage endTime(Long endTime)
@Nullable public Long getEndTime()
pointInTime
annotations.public void setEndTime(Long endTime)
public AnnotationInPage id(UUID id)
public UUID getId()
public void setId(UUID id)
public AnnotationInPage modifiedAt(Long modifiedAt)
public Long getModifiedAt()
public void setModifiedAt(Long modifiedAt)
public AnnotationInPage pageId(String pageId)
public String getPageId()
dashboard:abc-def-xyz or notebook:1234567890).public void setPageId(String pageId)
public AnnotationInPage startTime(Long startTime)
public Long getStartTime()
public void setStartTime(Long startTime)
public AnnotationInPage type(AnnotationKind type)
public AnnotationKind getType()
pointInTime annotations mark a single moment in time, while
timeRegion annotations span a window of time and require an end_time.public void setType(AnnotationKind type)
public AnnotationInPage widgetIds(List<String> widgetIds)
public AnnotationInPage addWidgetIdsItem(String widgetIdsItem)
@Nullable public List<String> getWidgetIds()
public AnnotationInPage 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.