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 Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE

      public static final String JSON_PROPERTY_ACCOUNT_BILLABLE_USAGE
      See Also:
    • JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE

      public static final String JSON_PROPERTY_ACCOUNT_COMMITTED_USAGE
      See Also:
    • JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE

      public static final String JSON_PROPERTY_ACCOUNT_ON_DEMAND_USAGE
      See Also:
    • JSON_PROPERTY_ELAPSED_USAGE_HOURS

      public static final String JSON_PROPERTY_ELAPSED_USAGE_HOURS
      See Also:
    • JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR

      public static final String JSON_PROPERTY_FIRST_BILLABLE_USAGE_HOUR
      See Also:
    • JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR

      public static final String JSON_PROPERTY_LAST_BILLABLE_USAGE_HOUR
      See Also:
    • JSON_PROPERTY_ORG_BILLABLE_USAGE

      public static final String JSON_PROPERTY_ORG_BILLABLE_USAGE
      See Also:
    • JSON_PROPERTY_PERCENTAGE_IN_ACCOUNT

      public static final String JSON_PROPERTY_PERCENTAGE_IN_ACCOUNT
      See Also:
    • JSON_PROPERTY_USAGE_UNIT

      public static final String JSON_PROPERTY_USAGE_UNIT
      See Also:
  • Constructor Details

    • UsageBillableSummaryBody

      public UsageBillableSummaryBody()
  • Method Details

    • accountBillableUsage

      public UsageBillableSummaryBody accountBillableUsage(Long accountBillableUsage)
    • getAccountBillableUsage

      @Nullable public Long getAccountBillableUsage()
      The total account usage.
      Returns:
      accountBillableUsage
    • setAccountBillableUsage

      public void setAccountBillableUsage(Long accountBillableUsage)
    • accountCommittedUsage

      public UsageBillableSummaryBody accountCommittedUsage(Long accountCommittedUsage)
    • getAccountCommittedUsage

      @Nullable public Long getAccountCommittedUsage()
      The total account committed usage.
      Returns:
      accountCommittedUsage
    • setAccountCommittedUsage

      public void setAccountCommittedUsage(Long accountCommittedUsage)
    • accountOnDemandUsage

      public UsageBillableSummaryBody accountOnDemandUsage(Long accountOnDemandUsage)
    • getAccountOnDemandUsage

      @Nullable public Long getAccountOnDemandUsage()
      The total account on-demand usage.
      Returns:
      accountOnDemandUsage
    • setAccountOnDemandUsage

      public void setAccountOnDemandUsage(Long accountOnDemandUsage)
    • elapsedUsageHours

      public UsageBillableSummaryBody elapsedUsageHours(Long elapsedUsageHours)
    • getElapsedUsageHours

      @Nullable public Long getElapsedUsageHours()
      Elapsed usage hours for some billable product.
      Returns:
      elapsedUsageHours
    • setElapsedUsageHours

      public void setElapsedUsageHours(Long elapsedUsageHours)
    • firstBillableUsageHour

      public UsageBillableSummaryBody firstBillableUsageHour(OffsetDateTime firstBillableUsageHour)
    • getFirstBillableUsageHour

      @Nullable public OffsetDateTime getFirstBillableUsageHour()
      The first billable hour for the org.
      Returns:
      firstBillableUsageHour
    • setFirstBillableUsageHour

      public void setFirstBillableUsageHour(OffsetDateTime firstBillableUsageHour)
    • lastBillableUsageHour

      public UsageBillableSummaryBody lastBillableUsageHour(OffsetDateTime lastBillableUsageHour)
    • getLastBillableUsageHour

      @Nullable public OffsetDateTime getLastBillableUsageHour()
      The last billable hour for the org.
      Returns:
      lastBillableUsageHour
    • setLastBillableUsageHour

      public void setLastBillableUsageHour(OffsetDateTime lastBillableUsageHour)
    • orgBillableUsage

      public UsageBillableSummaryBody orgBillableUsage(Long orgBillableUsage)
    • getOrgBillableUsage

      @Nullable public Long getOrgBillableUsage()
      The number of units used within the billable timeframe.
      Returns:
      orgBillableUsage
    • setOrgBillableUsage

      public void setOrgBillableUsage(Long orgBillableUsage)
    • percentageInAccount

      public UsageBillableSummaryBody percentageInAccount(Double percentageInAccount)
    • getPercentageInAccount

      @Nullable public Double getPercentageInAccount()
      The percentage of account usage the org represents.
      Returns:
      percentageInAccount
    • setPercentageInAccount

      public void setPercentageInAccount(Double percentageInAccount)
    • usageUnit

      public UsageBillableSummaryBody usageUnit(String usageUnit)
    • getUsageUnit

      @Nullable public String getUsageUnit()
      Units pertaining to the usage.
      Returns:
      usageUnit
    • setUsageUnit

      public void setUsageUnit(String usageUnit)
    • putAdditionalProperty

      public UsageBillableSummaryBody putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      UsageBillableSummaryBody
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this UsageBillableSummaryBody object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object