Package com.datadog.api.client.v2.model
Class HourlyUsageAttributes
java.lang.Object
com.datadog.api.client.v2.model.HourlyUsageAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HourlyUsageAttributes
extends Object
Attributes of hourly usage for a product family for an org for a time period.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountName(String accountName) accountPublicId(String accountPublicId) addMeasurementsItem(HourlyUsageMeasurement measurementsItem) booleanReturn true if this HourlyUsageAttributes object is equal to o.The account name.The account public ID.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of the measured usage values for the product family for the org for the time period.The organization name.The product for which usage is being reported.The organization public ID.The region of the Datadog instance that the organization belongs to.Datetime in ISO-8601 format, UTC.inthashCode()measurements(List<HourlyUsageMeasurement> measurements) productFamily(String productFamily) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountName(String accountName) voidsetAccountPublicId(String accountPublicId) voidsetMeasurements(List<HourlyUsageMeasurement> measurements) voidsetOrgName(String orgName) voidsetProductFamily(String productFamily) voidsetPublicId(String publicId) voidvoidsetTimestamp(OffsetDateTime timestamp) timestamp(OffsetDateTime timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT_NAME
- See Also:
-
JSON_PROPERTY_ACCOUNT_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_MEASUREMENTS
- See Also:
-
JSON_PROPERTY_ORG_NAME
- See Also:
-
JSON_PROPERTY_PRODUCT_FAMILY
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
HourlyUsageAttributes
public HourlyUsageAttributes()
-
-
Method Details
-
accountName
-
getAccountName
The account name.- Returns:
- accountName
-
setAccountName
-
accountPublicId
-
getAccountPublicId
The account public ID.- Returns:
- accountPublicId
-
setAccountPublicId
-
measurements
-
addMeasurementsItem
-
getMeasurements
List of the measured usage values for the product family for the org for the time period.- Returns:
- measurements
-
setMeasurements
-
orgName
-
getOrgName
The organization name.- Returns:
- orgName
-
setOrgName
-
productFamily
-
getProductFamily
The product for which usage is being reported.- Returns:
- productFamily
-
setProductFamily
-
publicId
-
getPublicId
The organization public ID.- Returns:
- publicId
-
setPublicId
-
region
-
getRegion
The region of the Datadog instance that the organization belongs to.- Returns:
- region
-
setRegion
-
timestamp
-
getTimestamp
Datetime in ISO-8601 format, UTC. The hour for the usage.- Returns:
- timestamp
-
setTimestamp
-
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:
- HourlyUsageAttributes
-
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 HourlyUsageAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-