Package com.datadog.api.client.v2.model
Class CustomForecastEntry
java.lang.Object
com.datadog.api.client.v2.model.CustomForecastEntry
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomForecastEntry
extends Object
A monthly entry of a custom budget forecast.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomForecastEntry(Double amount, Long month, List<CustomForecastEntryTagFilter> tagFilters) -
Method Summary
Modifier and TypeMethodDescriptionaddTagFiltersItem(CustomForecastEntryTagFilter tagFiltersItem) booleanReturn true if this CustomForecastEntry object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Forecast amount for the month.getMonth()Month the custom forecast entry applies to, inYYYYMMformat.Tag filters that scope this custom forecast entry to specific resources.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetTagFilters(List<CustomForecastEntryTagFilter> tagFilters) tagFilters(List<CustomForecastEntryTagFilter> tagFilters) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AMOUNT
- See Also:
-
JSON_PROPERTY_MONTH
- See Also:
-
JSON_PROPERTY_TAG_FILTERS
- See Also:
-
-
Constructor Details
-
CustomForecastEntry
public CustomForecastEntry() -
CustomForecastEntry
public CustomForecastEntry(Double amount, Long month, List<CustomForecastEntryTagFilter> tagFilters)
-
-
Method Details
-
amount
-
getAmount
Forecast amount for the month.- Returns:
- amount
-
setAmount
-
month
-
getMonth
Month the custom forecast entry applies to, inYYYYMMformat.- Returns:
- month
-
setMonth
-
tagFilters
-
addTagFiltersItem
-
getTagFilters
Tag filters that scope this custom forecast entry to specific resources.- Returns:
- tagFilters
-
setTagFilters
-
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:
- CustomForecastEntry
-
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 CustomForecastEntry object is equal to o. -
hashCode
public int hashCode() -
toString
-