Package com.datadog.api.client.v2.model
Class DashboardUsageAttributes
java.lang.Object
com.datadog.api.client.v2.model.DashboardUsageAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DashboardUsageAttributes
extends Object
Usage statistics for a dashboard. The
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTeamsItem(String teamsItem) author(DashboardUsageUser author) createdAt(OffsetDateTime createdAt) dashboardQualityScore(Double dashboardQualityScore) editedAt(OffsetDateTime editedAt) booleanReturn true if this DashboardUsageAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A user referenced from a dashboard usage record (author or viewer).org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser>When the dashboard was created.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The dashboard quality score, ornullwhen no score is available.org.openapitools.jackson.nullable.JsonNullable<Double>When the dashboard was most recently edited.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getOrgId()The Datadog organization that owns the dashboard.getTeams()Teams the dashboard is tagged with.getTitle()The dashboard title.Total view count for the dashboard.View counts keyed by view type (in_app,embed,public,shared,api,unknown).When the dashboard was most recently viewed.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>A user referenced from a dashboard usage record (author or viewer).org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser>The total number of widgets on the dashboard.org.openapitools.jackson.nullable.JsonNullable<Long>Widget counts keyed by widget type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTotalViewsByTypeItem(String key, Long totalViewsByTypeItem) putWidgetCountByTypeItem(String key, Long widgetCountByTypeItem) voidsetAuthor(DashboardUsageUser author) voidsetAuthor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> author) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> createdAt) voidsetDashboardQualityScore(Double dashboardQualityScore) voidsetDashboardQualityScore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> dashboardQualityScore) voidsetEditedAt(OffsetDateTime editedAt) voidsetEditedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> editedAt) voidvoidvoidsetTeams_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> teams) voidvoidsetTotalViews(Long totalViews) voidsetTotalViewsByType(Map<String, Long> totalViewsByType) voidsetTotalViewsByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Long>> totalViewsByType) voidsetViewedAt(OffsetDateTime viewedAt) voidsetViewedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> viewedAt) voidsetViewer(DashboardUsageUser viewer) voidsetViewer_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> viewer) voidsetWidgetCount(Long widgetCount) voidsetWidgetCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> widgetCount) voidsetWidgetCountByType(Map<String, Long> widgetCountByType) voidsetWidgetCountByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Long>> widgetCountByType) toString()totalViews(Long totalViews) totalViewsByType(Map<String, Long> totalViewsByType) viewedAt(OffsetDateTime viewedAt) viewer(DashboardUsageUser viewer) widgetCount(Long widgetCount) widgetCountByType(Map<String, Long> widgetCountByType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DASHBOARD_QUALITY_SCORE
- See Also:
-
JSON_PROPERTY_EDITED_AT
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_TEAMS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TOTAL_VIEWS
- See Also:
-
JSON_PROPERTY_TOTAL_VIEWS_BY_TYPE
- See Also:
-
JSON_PROPERTY_VIEWED_AT
- See Also:
-
JSON_PROPERTY_VIEWER
- See Also:
-
JSON_PROPERTY_WIDGET_COUNT
- See Also:
-
JSON_PROPERTY_WIDGET_COUNT_BY_TYPE
- See Also:
-
-
Constructor Details
-
DashboardUsageAttributes
public DashboardUsageAttributes() -
DashboardUsageAttributes
-
-
Method Details
-
author
-
getAuthor
A user referenced from a dashboard usage record (author or viewer).- Returns:
- author
-
getAuthor_JsonNullable
-
setAuthor_JsonNullable
public void setAuthor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> author) -
setAuthor
-
createdAt
-
getCreatedAt
When the dashboard was created.- Returns:
- createdAt
-
getCreatedAt_JsonNullable
-
setCreatedAt_JsonNullable
public void setCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> createdAt) -
setCreatedAt
-
dashboardQualityScore
-
getDashboardQualityScore
The dashboard quality score, ornullwhen no score is available.- Returns:
- dashboardQualityScore
-
getDashboardQualityScore_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Double> getDashboardQualityScore_JsonNullable() -
setDashboardQualityScore_JsonNullable
public void setDashboardQualityScore_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> dashboardQualityScore) -
setDashboardQualityScore
-
editedAt
-
getEditedAt
When the dashboard was most recently edited.- Returns:
- editedAt
-
getEditedAt_JsonNullable
-
setEditedAt_JsonNullable
public void setEditedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> editedAt) -
setEditedAt
-
orgId
-
getOrgId
The Datadog organization that owns the dashboard.- Returns:
- orgId
-
setOrgId
-
teams
-
addTeamsItem
-
getTeams
Teams the dashboard is tagged with.- Returns:
- teams
-
getTeams_JsonNullable
-
setTeams_JsonNullable
-
setTeams
-
title
-
getTitle
The dashboard title.- Returns:
- title
-
setTitle
-
totalViews
-
getTotalViews
Total view count for the dashboard. Counts only views captured by Real User Monitoring (RUM);0in orgs without RUM.- Returns:
- totalViews
-
setTotalViews
-
totalViewsByType
-
putTotalViewsByTypeItem
-
getTotalViewsByType
View counts keyed by view type (in_app,embed,public,shared,api,unknown). Counts only views captured by Real User Monitoring (RUM); empty in orgs without RUM.- Returns:
- totalViewsByType
-
getTotalViewsByType_JsonNullable
-
setTotalViewsByType_JsonNullable
-
setTotalViewsByType
-
viewedAt
-
getViewedAt
When the dashboard was most recently viewed. Populated only when Real User Monitoring (RUM) is active for the org;nullin orgs without RUM.- Returns:
- viewedAt
-
getViewedAt_JsonNullable
-
setViewedAt_JsonNullable
public void setViewedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> viewedAt) -
setViewedAt
-
viewer
-
getViewer
A user referenced from a dashboard usage record (author or viewer).- Returns:
- viewer
-
getViewer_JsonNullable
-
setViewer_JsonNullable
public void setViewer_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> viewer) -
setViewer
-
widgetCount
-
getWidgetCount
The total number of widgets on the dashboard.- Returns:
- widgetCount
-
getWidgetCount_JsonNullable
-
setWidgetCount_JsonNullable
public void setWidgetCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> widgetCount) -
setWidgetCount
-
widgetCountByType
-
putWidgetCountByTypeItem
-
getWidgetCountByType
Widget counts keyed by widget type. The map includes group widgets and widgets without requests.- Returns:
- widgetCountByType
-
getWidgetCountByType_JsonNullable
-
setWidgetCountByType_JsonNullable
-
setWidgetCountByType
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- DashboardUsageAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this DashboardUsageAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-