Package com.datadog.api.client.v2.model
Class UsageAttributesObject
java.lang.Object
com.datadog.api.client.v2.model.UsageAttributesObject
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageAttributesObject
extends Object
Usage attributes data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTimeseriesItem(UsageTimeSeriesObject timeseriesItem) booleanReturn true if this UsageAttributesObject object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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.List of usage data reported for each requested hour.Usage type that is being measured.inthashCode()productFamily(String productFamily) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOrgName(String orgName) voidsetProductFamily(String productFamily) voidsetPublicId(String publicId) voidvoidsetTimeseries(List<UsageTimeSeriesObject> timeseries) voidsetUsageType(HourlyUsageType usageType) timeseries(List<UsageTimeSeriesObject> timeseries) toString()usageType(HourlyUsageType usageType)
-
Field Details
-
unparsed
public boolean unparsed -
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_TIMESERIES
- See Also:
-
JSON_PROPERTY_USAGE_TYPE
- See Also:
-
-
Constructor Details
-
UsageAttributesObject
public UsageAttributesObject()
-
-
Method Details
-
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
-
timeseries
-
addTimeseriesItem
-
getTimeseries
List of usage data reported for each requested hour.- Returns:
- timeseries
-
setTimeseries
-
usageType
-
getUsageType
Usage type that is being measured.- Returns:
- usageType
-
setUsageType
-
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:
- UsageAttributesObject
-
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 UsageAttributesObject object is equal to o. -
hashCode
public int hashCode() -
toString
-