Package com.datadog.api.client.v2.model
Class CustomForecastUpsertRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CustomForecastUpsertRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomForecastUpsertRequestDataAttributes
extends Object
Attributes of a custom forecast upsert request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomForecastUpsertRequestDataAttributes(String budgetUid, List<CustomForecastEntry> entries) -
Method Summary
Modifier and TypeMethodDescriptionaddEntriesItem(CustomForecastEntry entriesItem) entries(List<CustomForecastEntry> entries) booleanReturn true if this CustomForecastUpsertRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The UUID of the budget that this custom forecast belongs to.Monthly custom forecast entries.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBudgetUid(String budgetUid) voidsetEntries(List<CustomForecastEntry> entries) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BUDGET_UID
- See Also:
-
JSON_PROPERTY_ENTRIES
- See Also:
-
-
Constructor Details
-
CustomForecastUpsertRequestDataAttributes
public CustomForecastUpsertRequestDataAttributes() -
CustomForecastUpsertRequestDataAttributes
public CustomForecastUpsertRequestDataAttributes(String budgetUid, List<CustomForecastEntry> entries)
-
-
Method Details
-
budgetUid
-
getBudgetUid
The UUID of the budget that this custom forecast belongs to.- Returns:
- budgetUid
-
setBudgetUid
-
entries
-
addEntriesItem
-
getEntries
Monthly custom forecast entries. An empty list deletes any existing custom forecast for the budget.- Returns:
- entries
-
setEntries
-
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:
- CustomForecastUpsertRequestDataAttributes
-
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 CustomForecastUpsertRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-