Class: DatadogAPIClient::V2::BudgetWithEntriesDataAttributesEntriesItemsCosts

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb

Overview

Cost data for a single budget entry.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#actualObject

The actual cost for this entry. Present only when actual=true is requested.



25
26
27
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 25

def actual
  @actual
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 39

def additional_properties
  @additional_properties
end

#amountObject

The budgeted amount for this entry.



28
29
30
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 28

def amount
  @amount
end

#custom_forecastObject

The custom forecast override for this entry. null when forecast=true is requested but no custom forecast has been set for this entry's month. A numeric value, including 0, indicates an explicit custom forecast override. Omitted when forecast=false or the feature is not available for the organization.



31
32
33
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 31

def custom_forecast
  @custom_forecast
end

#forecastObject

The final forecast for this entry, with any custom forecast override applied. Present only when forecast=true is requested.



34
35
36
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 34

def forecast
  @forecast
end

#ootb_forecastObject

The out-of-the-box ML forecast for this entry, before custom overrides. Present only when forecast=true is requested.



37
38
39
# File 'lib/datadog_api_client/v2/models/budget_with_entries_data_attributes_entries_items_costs.rb', line 37

def ootb_forecast
  @ootb_forecast
end