Package com.datadog.api.client.v1.model
Class HourlyUsageAttributionBody
java.lang.Object
com.datadog.api.client.v1.model.HourlyUsageAttributionBody
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HourlyUsageAttributionBody
extends Object
The usage for one set of tags for one hour.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this HourlyUsageAttributionBody object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getHour()The hour for the usage.The name of the organization.The organization public ID.The region of the Datadog instance that the organization belongs to.The source of the usage attribution tag configuration and the selected tags in the format of<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>.getTags()Tag keys and values.Total product usage for the given tags within the hour.Shows the most recent hour in the current month for all organizations where usages are calculated.Supported products for hourly usage attribution requests.inthashCode()hour(OffsetDateTime hour) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTagsItem(String key, List<String> tagsItem) voidsetHour(OffsetDateTime hour) voidsetOrgName(String orgName) voidsetPublicId(String publicId) voidvoidsetTagConfigSource(String tagConfigSource) voidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, List<String>>> tags) voidsetTotalUsageSum(Double totalUsageSum) voidsetUpdatedAt(String updatedAt) voidsetUsageType(HourlyUsageAttributionUsageType usageType) tagConfigSource(String tagConfigSource) toString()totalUsageSum(Double totalUsageSum) usageType(HourlyUsageAttributionUsageType usageType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HOUR
- See Also:
-
JSON_PROPERTY_ORG_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
JSON_PROPERTY_TAG_CONFIG_SOURCE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TOTAL_USAGE_SUM
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_USAGE_TYPE
- See Also:
-
-
Constructor Details
-
HourlyUsageAttributionBody
public HourlyUsageAttributionBody()
-
-
Method Details
-
hour
-
getHour
The hour for the usage.- Returns:
- hour
-
setHour
-
orgName
-
getOrgName
The name of the organization.- Returns:
- orgName
-
setOrgName
-
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
-
tagConfigSource
-
getTagConfigSource
The source of the usage attribution tag configuration and the selected tags in the format of<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>.- Returns:
- tagConfigSource
-
setTagConfigSource
-
tags
-
putTagsItem
-
getTags
Tag keys and values.A
nullvalue here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total usage, not broken down by tags.- Returns:
- tags
-
getTags_JsonNullable
-
setTags_JsonNullable
-
setTags
-
totalUsageSum
-
getTotalUsageSum
Total product usage for the given tags within the hour.- Returns:
- totalUsageSum
-
setTotalUsageSum
-
updatedAt
-
getUpdatedAt
Shows the most recent hour in the current month for all organizations where usages are calculated.- Returns:
- updatedAt
-
setUpdatedAt
-
usageType
-
getUsageType
Supported products for hourly usage attribution requests. Usage types are in the format<usage_type>_usage. To obtain the complete list of valid usage types, make a request to the Get usage attribution types API.- 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:
- HourlyUsageAttributionBody
-
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 HourlyUsageAttributionBody object is equal to o. -
hashCode
public int hashCode() -
toString
-