Class CustomForecastResponseDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomForecastResponseDataAttributes extends Object
Attributes of a custom forecast.
  • Field Details

  • Constructor Details

    • CustomForecastResponseDataAttributes

      public CustomForecastResponseDataAttributes()
    • CustomForecastResponseDataAttributes

      public CustomForecastResponseDataAttributes(String budgetUid, Long createdAt, String createdBy, List<CustomForecastEntry> entries, Long updatedAt, String updatedBy)
  • Method Details

    • budgetUid

      public CustomForecastResponseDataAttributes budgetUid(String budgetUid)
    • getBudgetUid

      public String getBudgetUid()
      The UUID of the budget that this custom forecast belongs to.
      Returns:
      budgetUid
    • setBudgetUid

      public void setBudgetUid(String budgetUid)
    • createdAt

      public CustomForecastResponseDataAttributes createdAt(Long createdAt)
    • getCreatedAt

      public Long getCreatedAt()
      Timestamp the custom forecast was created, in Unix milliseconds.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • createdBy

      public CustomForecastResponseDataAttributes createdBy(String createdBy)
    • getCreatedBy

      public String getCreatedBy()
      The id of the user that created the custom forecast.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • entries

    • addEntriesItem

      public CustomForecastResponseDataAttributes addEntriesItem(CustomForecastEntry entriesItem)
    • getEntries

      public List<CustomForecastEntry> getEntries()
      Monthly custom forecast entries.
      Returns:
      entries
    • setEntries

      public void setEntries(List<CustomForecastEntry> entries)
    • updatedAt

      public CustomForecastResponseDataAttributes updatedAt(Long updatedAt)
    • getUpdatedAt

      public Long getUpdatedAt()
      Timestamp the custom forecast was last updated, in Unix milliseconds.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • updatedBy

      public CustomForecastResponseDataAttributes updatedBy(String updatedBy)
    • getUpdatedBy

      public String getUpdatedBy()
      The id of the user that last updated the custom forecast.
      Returns:
      updatedBy
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • putAdditionalProperty

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