Package com.datadog.api.client.v2.model
Class DashboardUsage
java.lang.Object
com.datadog.api.client.v2.model.DashboardUsage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DashboardUsage
extends Object
A single dashboard usage record.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDashboardUsage(DashboardUsageAttributes attributes, String id, DashboardUsageType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(DashboardUsageAttributes attributes) booleanReturn true if this DashboardUsage object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Usage statistics for a dashboard.getId()The dashboard ID.getType()The type of the resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(DashboardUsageAttributes attributes) voidvoidsetType(DashboardUsageType type) toString()type(DashboardUsageType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DashboardUsage
public DashboardUsage() -
DashboardUsage
-
-
Method Details
-
attributes
-
getAttributes
Usage statistics for a dashboard. Theviewerfield 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.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The dashboard ID.- Returns:
- id
-
setId
-
type
-
getType
The type of the resource. Alwaysdashboards-usages.- Returns:
- type
-
setType
-
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:
- DashboardUsage
-
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 DashboardUsage object is equal to o. -
hashCode
public int hashCode() -
toString
-