@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageBillableSummaryBody extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE |
static String |
JSON_PROPERTY_ELAPSED_USAGE_HOURS |
static String |
JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR |
static String |
JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR |
static String |
JSON_PROPERTY_ORG_BILLABLE_USAGE |
static String |
JSON_PROPERTY_PERCENTAGE_IN_ACCOUNT |
static String |
JSON_PROPERTY_USAGE_UNIT |
boolean |
unparsed |
| Constructor and Description |
|---|
UsageBillableSummaryBody() |
| Modifier and Type | Method and Description |
|---|---|
UsageBillableSummaryBody |
accountBillableUsage(Long accountBillableUsage) |
UsageBillableSummaryBody |
elapsedUsageHours(Long elapsedUsageHours) |
boolean |
equals(Object o)
Return true if this UsageBillableSummaryBody object is equal to o.
|
UsageBillableSummaryBody |
firstBillableUsageHour(OffsetDateTime firstBillableUsageHour) |
Long |
getAccountBillableUsage()
The total account usage.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getElapsedUsageHours()
Elapsed usage hours for some billable product.
|
OffsetDateTime |
getFirstBillableUsageHour()
The first billable hour for the org.
|
OffsetDateTime |
getLastBillableUsageHour()
The last billable hour for the org.
|
Long |
getOrgBillableUsage()
The number of units used within the billable timeframe.
|
Double |
getPercentageInAccount()
The percentage of account usage the org represents.
|
String |
getUsageUnit()
Units pertaining to the usage.
|
int |
hashCode() |
UsageBillableSummaryBody |
lastBillableUsageHour(OffsetDateTime lastBillableUsageHour) |
UsageBillableSummaryBody |
orgBillableUsage(Long orgBillableUsage) |
UsageBillableSummaryBody |
percentageInAccount(Double percentageInAccount) |
UsageBillableSummaryBody |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAccountBillableUsage(Long accountBillableUsage) |
void |
setElapsedUsageHours(Long elapsedUsageHours) |
void |
setFirstBillableUsageHour(OffsetDateTime firstBillableUsageHour) |
void |
setLastBillableUsageHour(OffsetDateTime lastBillableUsageHour) |
void |
setOrgBillableUsage(Long orgBillableUsage) |
void |
setPercentageInAccount(Double percentageInAccount) |
void |
setUsageUnit(String usageUnit) |
String |
toString() |
UsageBillableSummaryBody |
usageUnit(String usageUnit) |
public boolean unparsed
public static final String JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE
public static final String JSON_PROPERTY_ELAPSED_USAGE_HOURS
public static final String JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR
public static final String JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR
public static final String JSON_PROPERTY_ORG_BILLABLE_USAGE
public static final String JSON_PROPERTY_PERCENTAGE_IN_ACCOUNT
public static final String JSON_PROPERTY_USAGE_UNIT
public UsageBillableSummaryBody accountBillableUsage(Long accountBillableUsage)
@Nullable public Long getAccountBillableUsage()
public void setAccountBillableUsage(Long accountBillableUsage)
public UsageBillableSummaryBody elapsedUsageHours(Long elapsedUsageHours)
@Nullable public Long getElapsedUsageHours()
public void setElapsedUsageHours(Long elapsedUsageHours)
public UsageBillableSummaryBody firstBillableUsageHour(OffsetDateTime firstBillableUsageHour)
@Nullable public OffsetDateTime getFirstBillableUsageHour()
public void setFirstBillableUsageHour(OffsetDateTime firstBillableUsageHour)
public UsageBillableSummaryBody lastBillableUsageHour(OffsetDateTime lastBillableUsageHour)
@Nullable public OffsetDateTime getLastBillableUsageHour()
public void setLastBillableUsageHour(OffsetDateTime lastBillableUsageHour)
public UsageBillableSummaryBody orgBillableUsage(Long orgBillableUsage)
@Nullable public Long getOrgBillableUsage()
public void setOrgBillableUsage(Long orgBillableUsage)
public UsageBillableSummaryBody percentageInAccount(Double percentageInAccount)
@Nullable public Double getPercentageInAccount()
public void setPercentageInAccount(Double percentageInAccount)
public UsageBillableSummaryBody usageUnit(String usageUnit)
@Nullable public String getUsageUnit()
public void setUsageUnit(String usageUnit)
public UsageBillableSummaryBody putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.