Package com.datadog.api.client.v1.model
Class UsageTopAvgMetricsResponse
java.lang.Object
com.datadog.api.client.v1.model.UsageTopAvgMetricsResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageTopAvgMetricsResponse
extends Object
Response containing the number of hourly recorded custom metrics for a given organization.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsageItem(UsageTopAvgMetricsHour usageItem) booleanReturn true if this UsageTopAvgMetricsResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The object containing document metadata.getUsage()Number of hourly recorded custom metrics for a given organization.inthashCode()metadata(UsageTopAvgMetricsMetadata metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMetadata(UsageTopAvgMetricsMetadata metadata) voidsetUsage(List<UsageTopAvgMetricsHour> usage) toString()usage(List<UsageTopAvgMetricsHour> usage)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
-
Constructor Details
-
UsageTopAvgMetricsResponse
public UsageTopAvgMetricsResponse()
-
-
Method Details
-
metadata
-
getMetadata
The object containing document metadata.- Returns:
- metadata
-
setMetadata
-
usage
-
addUsageItem
-
getUsage
Number of hourly recorded custom metrics for a given organization.- Returns:
- usage
-
setUsage
-
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:
- UsageTopAvgMetricsResponse
-
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 UsageTopAvgMetricsResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-