Package com.datadog.api.client.v1.model
Class UsageBillableSummaryBody
java.lang.Object
com.datadog.api.client.v1.model.UsageBillableSummaryBody
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageBillableSummaryBody
extends Object
Response with properties for each aggregated usage type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountBillableUsage(Long accountBillableUsage) accountCommittedUsage(Long accountCommittedUsage) accountOnDemandUsage(Long accountOnDemandUsage) elapsedUsageHours(Long elapsedUsageHours) booleanReturn true if this UsageBillableSummaryBody object is equal to o.firstBillableUsageHour(OffsetDateTime firstBillableUsageHour) The total account usage.The total account committed usage.The total account on-demand usage.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Elapsed usage hours for some billable product.The first billable hour for the org.The last billable hour for the org.The number of units used within the billable timeframe.The percentage of account usage the org represents.Units pertaining to the usage.inthashCode()lastBillableUsageHour(OffsetDateTime lastBillableUsageHour) orgBillableUsage(Long orgBillableUsage) percentageInAccount(Double percentageInAccount) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountBillableUsage(Long accountBillableUsage) voidsetAccountCommittedUsage(Long accountCommittedUsage) voidsetAccountOnDemandUsage(Long accountOnDemandUsage) voidsetElapsedUsageHours(Long elapsedUsageHours) voidsetFirstBillableUsageHour(OffsetDateTime firstBillableUsageHour) voidsetLastBillableUsageHour(OffsetDateTime lastBillableUsageHour) voidsetOrgBillableUsage(Long orgBillableUsage) voidsetPercentageInAccount(Double percentageInAccount) voidsetUsageUnit(String usageUnit) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE
- See Also:
-
JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE
- See Also:
-
JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE
- See Also:
-
JSON_PROPERTY_ELAPSED_USAGE_HOURS
- See Also:
-
JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR
- See Also:
-
JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR
- See Also:
-
JSON_PROPERTY_ORG_BILLABLE_USAGE
- See Also:
-
JSON_PROPERTY_PERCENTAGE_IN_ACCOUNT
- See Also:
-
JSON_PROPERTY_USAGE_UNIT
- See Also:
-
-
Constructor Details
-
UsageBillableSummaryBody
public UsageBillableSummaryBody()
-
-
Method Details
-
accountBillableUsage
-
getAccountBillableUsage
The total account usage.- Returns:
- accountBillableUsage
-
setAccountBillableUsage
-
accountCommittedUsage
-
getAccountCommittedUsage
The total account committed usage.- Returns:
- accountCommittedUsage
-
setAccountCommittedUsage
-
accountOnDemandUsage
-
getAccountOnDemandUsage
The total account on-demand usage.- Returns:
- accountOnDemandUsage
-
setAccountOnDemandUsage
-
elapsedUsageHours
-
getElapsedUsageHours
Elapsed usage hours for some billable product.- Returns:
- elapsedUsageHours
-
setElapsedUsageHours
-
firstBillableUsageHour
-
getFirstBillableUsageHour
The first billable hour for the org.- Returns:
- firstBillableUsageHour
-
setFirstBillableUsageHour
-
lastBillableUsageHour
-
getLastBillableUsageHour
The last billable hour for the org.- Returns:
- lastBillableUsageHour
-
setLastBillableUsageHour
-
orgBillableUsage
-
getOrgBillableUsage
The number of units used within the billable timeframe.- Returns:
- orgBillableUsage
-
setOrgBillableUsage
-
percentageInAccount
-
getPercentageInAccount
The percentage of account usage the org represents.- Returns:
- percentageInAccount
-
setPercentageInAccount
-
usageUnit
-
getUsageUnit
Units pertaining to the usage.- Returns:
- usageUnit
-
setUsageUnit
-
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:
- UsageBillableSummaryBody
-
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 UsageBillableSummaryBody object is equal to o. -
hashCode
public int hashCode() -
toString
-