@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardUsageAttributes extends Object
viewer field and all view-count fields (
total_views, viewed_at, total_views_by_type) are populated only
when Real User Monitoring (RUM) is active for the org.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTHOR |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_DASHBOARD_QUALITY_SCORE |
static String |
JSON_PROPERTY_EDITED_AT |
static String |
JSON_PROPERTY_ORG_ID |
static String |
JSON_PROPERTY_TEAMS |
static String |
JSON_PROPERTY_TITLE |
static String |
JSON_PROPERTY_TOTAL_VIEWS |
static String |
JSON_PROPERTY_TOTAL_VIEWS_BY_TYPE |
static String |
JSON_PROPERTY_VIEWED_AT |
static String |
JSON_PROPERTY_VIEWER |
static String |
JSON_PROPERTY_WIDGET_COUNT |
static String |
JSON_PROPERTY_WIDGET_COUNT_BY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
DashboardUsageAttributes() |
DashboardUsageAttributes(Long orgId) |
| Modifier and Type | Method and Description |
|---|---|
DashboardUsageAttributes |
addTeamsItem(String teamsItem) |
DashboardUsageAttributes |
author(DashboardUsageUser author) |
DashboardUsageAttributes |
createdAt(OffsetDateTime createdAt) |
DashboardUsageAttributes |
dashboardQualityScore(Double dashboardQualityScore) |
DashboardUsageAttributes |
editedAt(OffsetDateTime editedAt) |
boolean |
equals(Object o)
Return true if this DashboardUsageAttributes 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.
|
org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> |
getAuthor_JsonNullable() |
DashboardUsageUser |
getAuthor()
A user referenced from a dashboard usage record (author or viewer).
|
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getCreatedAt_JsonNullable() |
OffsetDateTime |
getCreatedAt()
When the dashboard was created.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getDashboardQualityScore_JsonNullable() |
Double |
getDashboardQualityScore()
The dashboard quality score, or
null when no score is available. |
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getEditedAt_JsonNullable() |
OffsetDateTime |
getEditedAt()
When the dashboard was most recently edited.
|
Long |
getOrgId()
The Datadog organization that owns the dashboard.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getTeams_JsonNullable() |
List<String> |
getTeams()
Teams the dashboard is tagged with.
|
String |
getTitle()
The dashboard title.
|
Long |
getTotalViews()
Total view count for the dashboard.
|
org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> |
getTotalViewsByType_JsonNullable() |
Map<String,Long> |
getTotalViewsByType()
View counts keyed by view type (
in_app, embed, public,
shared, api, unknown). |
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getViewedAt_JsonNullable() |
OffsetDateTime |
getViewedAt()
When the dashboard was most recently viewed.
|
org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> |
getViewer_JsonNullable() |
DashboardUsageUser |
getViewer()
A user referenced from a dashboard usage record (author or viewer).
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getWidgetCount_JsonNullable() |
Long |
getWidgetCount()
The total number of widgets on the dashboard.
|
org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> |
getWidgetCountByType_JsonNullable() |
Map<String,Long> |
getWidgetCountByType()
Widget counts keyed by widget type.
|
int |
hashCode() |
DashboardUsageAttributes |
orgId(Long orgId) |
DashboardUsageAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
DashboardUsageAttributes |
putTotalViewsByTypeItem(String key,
Long totalViewsByTypeItem) |
DashboardUsageAttributes |
putWidgetCountByTypeItem(String key,
Long widgetCountByTypeItem) |
void |
setAuthor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> author) |
void |
setAuthor(DashboardUsageUser author) |
void |
setCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> createdAt) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDashboardQualityScore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> dashboardQualityScore) |
void |
setDashboardQualityScore(Double dashboardQualityScore) |
void |
setEditedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> editedAt) |
void |
setEditedAt(OffsetDateTime editedAt) |
void |
setOrgId(Long orgId) |
void |
setTeams_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> teams) |
void |
setTeams(List<String> teams) |
void |
setTitle(String title) |
void |
setTotalViews(Long totalViews) |
void |
setTotalViewsByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> totalViewsByType) |
void |
setTotalViewsByType(Map<String,Long> totalViewsByType) |
void |
setViewedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> viewedAt) |
void |
setViewedAt(OffsetDateTime viewedAt) |
void |
setViewer_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> viewer) |
void |
setViewer(DashboardUsageUser viewer) |
void |
setWidgetCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> widgetCount) |
void |
setWidgetCount(Long widgetCount) |
void |
setWidgetCountByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> widgetCountByType) |
void |
setWidgetCountByType(Map<String,Long> widgetCountByType) |
DashboardUsageAttributes |
teams(List<String> teams) |
DashboardUsageAttributes |
title(String title) |
String |
toString() |
DashboardUsageAttributes |
totalViews(Long totalViews) |
DashboardUsageAttributes |
totalViewsByType(Map<String,Long> totalViewsByType) |
DashboardUsageAttributes |
viewedAt(OffsetDateTime viewedAt) |
DashboardUsageAttributes |
viewer(DashboardUsageUser viewer) |
DashboardUsageAttributes |
widgetCount(Long widgetCount) |
DashboardUsageAttributes |
widgetCountByType(Map<String,Long> widgetCountByType) |
public boolean unparsed
public static final String JSON_PROPERTY_AUTHOR
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_DASHBOARD_QUALITY_SCORE
public static final String JSON_PROPERTY_EDITED_AT
public static final String JSON_PROPERTY_ORG_ID
public static final String JSON_PROPERTY_TEAMS
public static final String JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_TOTAL_VIEWS
public static final String JSON_PROPERTY_TOTAL_VIEWS_BY_TYPE
public static final String JSON_PROPERTY_VIEWED_AT
public static final String JSON_PROPERTY_VIEWER
public static final String JSON_PROPERTY_WIDGET_COUNT
public static final String JSON_PROPERTY_WIDGET_COUNT_BY_TYPE
public DashboardUsageAttributes()
public DashboardUsageAttributes(Long orgId)
public DashboardUsageAttributes author(DashboardUsageUser author)
@Nullable public DashboardUsageUser getAuthor()
public org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> getAuthor_JsonNullable()
public void setAuthor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> author)
public void setAuthor(DashboardUsageUser author)
public DashboardUsageAttributes createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCreatedAt_JsonNullable()
public void setCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> createdAt)
public void setCreatedAt(OffsetDateTime createdAt)
public DashboardUsageAttributes dashboardQualityScore(Double dashboardQualityScore)
@Nullable public Double getDashboardQualityScore()
null when no score is available.public org.openapitools.jackson.nullable.JsonNullable<Double> getDashboardQualityScore_JsonNullable()
public void setDashboardQualityScore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> dashboardQualityScore)
public void setDashboardQualityScore(Double dashboardQualityScore)
public DashboardUsageAttributes editedAt(OffsetDateTime editedAt)
@Nullable public OffsetDateTime getEditedAt()
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getEditedAt_JsonNullable()
public void setEditedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> editedAt)
public void setEditedAt(OffsetDateTime editedAt)
public DashboardUsageAttributes orgId(Long orgId)
public Long getOrgId()
public void setOrgId(Long orgId)
public DashboardUsageAttributes teams(List<String> teams)
public DashboardUsageAttributes addTeamsItem(String teamsItem)
@Nullable public List<String> getTeams()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTeams_JsonNullable()
public void setTeams_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> teams)
public DashboardUsageAttributes title(String title)
@Nullable public String getTitle()
public void setTitle(String title)
public DashboardUsageAttributes totalViews(Long totalViews)
@Nullable public Long getTotalViews()
0 in orgs without RUM.public void setTotalViews(Long totalViews)
public DashboardUsageAttributes totalViewsByType(Map<String,Long> totalViewsByType)
public DashboardUsageAttributes putTotalViewsByTypeItem(String key, Long totalViewsByTypeItem)
@Nullable public Map<String,Long> getTotalViewsByType()
in_app, embed, public,
shared, api, unknown). Counts only views captured by
Real User Monitoring (RUM); empty in orgs without RUM.public org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> getTotalViewsByType_JsonNullable()
public void setTotalViewsByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> totalViewsByType)
public DashboardUsageAttributes viewedAt(OffsetDateTime viewedAt)
@Nullable public OffsetDateTime getViewedAt()
null in orgs without RUM.public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getViewedAt_JsonNullable()
public void setViewedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> viewedAt)
public void setViewedAt(OffsetDateTime viewedAt)
public DashboardUsageAttributes viewer(DashboardUsageUser viewer)
@Nullable public DashboardUsageUser getViewer()
public org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> getViewer_JsonNullable()
public void setViewer_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> viewer)
public void setViewer(DashboardUsageUser viewer)
public DashboardUsageAttributes widgetCount(Long widgetCount)
@Nullable public Long getWidgetCount()
public org.openapitools.jackson.nullable.JsonNullable<Long> getWidgetCount_JsonNullable()
public void setWidgetCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> widgetCount)
public void setWidgetCount(Long widgetCount)
public DashboardUsageAttributes widgetCountByType(Map<String,Long> widgetCountByType)
public DashboardUsageAttributes putWidgetCountByTypeItem(String key, Long widgetCountByTypeItem)
@Nullable public Map<String,Long> getWidgetCountByType()
public org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> getWidgetCountByType_JsonNullable()
public void setWidgetCountByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> widgetCountByType)
public DashboardUsageAttributes 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.