Class CostByOrgAttributes

java.lang.Object
com.datadog.api.client.v2.model.CostByOrgAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostByOrgAttributes extends Object
Cost attributes data.
  • Field Details

  • Constructor Details

    • CostByOrgAttributes

      public CostByOrgAttributes()
  • Method Details

    • accountName

      public CostByOrgAttributes accountName(String accountName)
    • getAccountName

      @Nullable public String getAccountName()
      The account name.
      Returns:
      accountName
    • setAccountName

      public void setAccountName(String accountName)
    • accountPublicId

      public CostByOrgAttributes accountPublicId(String accountPublicId)
    • getAccountPublicId

      @Nullable public String getAccountPublicId()
      The account public ID.
      Returns:
      accountPublicId
    • setAccountPublicId

      public void setAccountPublicId(String accountPublicId)
    • charges

      public CostByOrgAttributes charges(List<ChargebackBreakdown> charges)
    • addChargesItem

      public CostByOrgAttributes addChargesItem(ChargebackBreakdown chargesItem)
    • getCharges

      @Nullable public List<ChargebackBreakdown> getCharges()
      List of charges data reported for the requested month.
      Returns:
      charges
    • setCharges

      public void setCharges(List<ChargebackBreakdown> charges)
    • date

      public CostByOrgAttributes date(OffsetDateTime date)
    • getDate

      @Nullable public OffsetDateTime getDate()
      The month requested.
      Returns:
      date
    • setDate

      public void setDate(OffsetDateTime date)
    • orgName

      public CostByOrgAttributes orgName(String orgName)
    • getOrgName

      @Nullable public String getOrgName()
      The organization name.
      Returns:
      orgName
    • setOrgName

      public void setOrgName(String orgName)
    • publicId

      public CostByOrgAttributes publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      The organization public ID.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • region

      public CostByOrgAttributes region(String region)
    • getRegion

      @Nullable public String getRegion()
      The region of the Datadog instance that the organization belongs to.
      Returns:
      region
    • setRegion

      public void setRegion(String region)
    • totalCost

      public CostByOrgAttributes totalCost(Double totalCost)
    • getTotalCost

      @Nullable public Double getTotalCost()
      The total cost of products for the month.
      Returns:
      totalCost
    • setTotalCost

      public void setTotalCost(Double totalCost)
    • putAdditionalProperty

      public CostByOrgAttributes 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:
      CostByOrgAttributes
    • 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 CostByOrgAttributes 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