Class: DatadogAPIClient::V2::BudgetAttributes

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

Overview

The attributes of a budget.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



57
58
59
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 57

def additional_properties
  @additional_properties
end

#created_atObject

The timestamp when the budget was created.



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

def created_at
  @created_at
end

#created_byObject

The id of the user that created the budget.



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

def created_by
  @created_by
end

#end_monthObject

The month when the budget ends.



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

def end_month
  @end_month
end

#entriesObject

The entries of the budget.



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

def entries
  @entries
end

#metrics_queryObject

The cost query used to track against the budget.



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

def metrics_query
  @metrics_query
end

#nameObject

The name of the budget.



40
41
42
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 40

def name
  @name
end

#org_idObject

The id of the org the budget belongs to.



43
44
45
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 43

def org_id
  @org_id
end

#start_monthObject

The month when the budget starts.



46
47
48
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 46

def start_month
  @start_month
end

#total_amountObject

The sum of all budget entries' amounts.



49
50
51
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 49

def total_amount
  @total_amount
end

#updated_atObject

The timestamp when the budget was last updated.



52
53
54
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 52

def updated_at
  @updated_at
end

#updated_byObject

The id of the user that created the budget.



55
56
57
# File 'lib/datadog_api_client/v2/models/budget_attributes.rb', line 55

def updated_by
  @updated_by
end