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 Details

  • Constructor Details

    • DashboardUsageAttributes

      public DashboardUsageAttributes()
    • DashboardUsageAttributes

      public DashboardUsageAttributes(Long orgId)
  • Method Details

    • author

    • getAuthor

      @Nullable public DashboardUsageUser getAuthor()
      A user referenced from a dashboard usage record (author or viewer).
      Returns:
      author
    • getAuthor_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> getAuthor_JsonNullable()
    • setAuthor_JsonNullable

      public void setAuthor_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> author)
    • setAuthor

      public void setAuthor(DashboardUsageUser author)
    • createdAt

      public DashboardUsageAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      When the dashboard was created.
      Returns:
      createdAt
    • getCreatedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCreatedAt_JsonNullable()
    • setCreatedAt_JsonNullable

      public void setCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> createdAt)
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • dashboardQualityScore

      public DashboardUsageAttributes dashboardQualityScore(Double dashboardQualityScore)
    • getDashboardQualityScore

      @Nullable public Double getDashboardQualityScore()
      The dashboard quality score, or null when 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

      public void setDashboardQualityScore(Double dashboardQualityScore)
    • editedAt

      public DashboardUsageAttributes editedAt(OffsetDateTime editedAt)
    • getEditedAt

      @Nullable public OffsetDateTime getEditedAt()
      When the dashboard was most recently edited.
      Returns:
      editedAt
    • getEditedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getEditedAt_JsonNullable()
    • setEditedAt_JsonNullable

      public void setEditedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> editedAt)
    • setEditedAt

      public void setEditedAt(OffsetDateTime editedAt)
    • orgId

      public DashboardUsageAttributes orgId(Long orgId)
    • getOrgId

      public Long getOrgId()
      The Datadog organization that owns the dashboard.
      Returns:
      orgId
    • setOrgId

      public void setOrgId(Long orgId)
    • teams

      public DashboardUsageAttributes teams(List<String> teams)
    • addTeamsItem

      public DashboardUsageAttributes addTeamsItem(String teamsItem)
    • getTeams

      @Nullable public List<String> getTeams()
      Teams the dashboard is tagged with.
      Returns:
      teams
    • getTeams_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTeams_JsonNullable()
    • setTeams_JsonNullable

      public void setTeams_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> teams)
    • setTeams

      public void setTeams(List<String> teams)
    • title

      public DashboardUsageAttributes title(String title)
    • getTitle

      @Nullable public String getTitle()
      The dashboard title.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • totalViews

      public DashboardUsageAttributes totalViews(Long totalViews)
    • getTotalViews

      @Nullable public Long getTotalViews()
      Total view count for the dashboard. Counts only views captured by Real User Monitoring (RUM); 0 in orgs without RUM.
      Returns:
      totalViews
    • setTotalViews

      public void setTotalViews(Long totalViews)
    • totalViewsByType

      public DashboardUsageAttributes totalViewsByType(Map<String,Long> totalViewsByType)
    • putTotalViewsByTypeItem

      public DashboardUsageAttributes putTotalViewsByTypeItem(String key, Long totalViewsByTypeItem)
    • getTotalViewsByType

      @Nullable public Map<String,Long> 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

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> getTotalViewsByType_JsonNullable()
    • setTotalViewsByType_JsonNullable

      public void setTotalViewsByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> totalViewsByType)
    • setTotalViewsByType

      public void setTotalViewsByType(Map<String,Long> totalViewsByType)
    • viewedAt

      public DashboardUsageAttributes viewedAt(OffsetDateTime viewedAt)
    • getViewedAt

      @Nullable public OffsetDateTime getViewedAt()
      When the dashboard was most recently viewed. Populated only when Real User Monitoring (RUM) is active for the org; null in orgs without RUM.
      Returns:
      viewedAt
    • getViewedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getViewedAt_JsonNullable()
    • setViewedAt_JsonNullable

      public void setViewedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> viewedAt)
    • setViewedAt

      public void setViewedAt(OffsetDateTime viewedAt)
    • viewer

    • getViewer

      @Nullable public DashboardUsageUser getViewer()
      A user referenced from a dashboard usage record (author or viewer).
      Returns:
      viewer
    • getViewer_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> getViewer_JsonNullable()
    • setViewer_JsonNullable

      public void setViewer_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<DashboardUsageUser> viewer)
    • setViewer

      public void setViewer(DashboardUsageUser viewer)
    • widgetCount

      public DashboardUsageAttributes widgetCount(Long widgetCount)
    • getWidgetCount

      @Nullable public Long getWidgetCount()
      The total number of widgets on the dashboard.
      Returns:
      widgetCount
    • getWidgetCount_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getWidgetCount_JsonNullable()
    • setWidgetCount_JsonNullable

      public void setWidgetCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> widgetCount)
    • setWidgetCount

      public void setWidgetCount(Long widgetCount)
    • widgetCountByType

      public DashboardUsageAttributes widgetCountByType(Map<String,Long> widgetCountByType)
    • putWidgetCountByTypeItem

      public DashboardUsageAttributes putWidgetCountByTypeItem(String key, Long widgetCountByTypeItem)
    • getWidgetCountByType

      @Nullable public Map<String,Long> getWidgetCountByType()
      Widget counts keyed by widget type. The map includes group widgets and widgets without requests.
      Returns:
      widgetCountByType
    • getWidgetCountByType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> getWidgetCountByType_JsonNullable()
    • setWidgetCountByType_JsonNullable

      public void setWidgetCountByType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Long>> widgetCountByType)
    • setWidgetCountByType

      public void setWidgetCountByType(Map<String,Long> widgetCountByType)
    • putAdditionalProperty

      public DashboardUsageAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      DashboardUsageAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this DashboardUsageAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object