Class: DatadogAPIClient::V1::DashboardTemplateVariable

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

Overview

Template variable.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 39

def additional_properties
  @additional_properties
end

#available_valuesObject

The list of values that the template variable drop-down is limited to.



25
26
27
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 25

def available_values
  @available_values
end

#defaultObject

(deprecated) The default value for the template variable on dashboard load. Cannot be used in conjunction with defaults.



28
29
30
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 28

def default
  @default
end

#defaultsObject

One or many default values for template variables on load. If more than one default is specified, they will be unioned together with OR. Cannot be used in conjunction with default.



31
32
33
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 31

def defaults
  @defaults
end

#nameObject

The name of the variable.



34
35
36
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 34

def name
  @name
end

#prefixObject

The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.



37
38
39
# File 'lib/datadog_api_client/v1/models/dashboard_template_variable.rb', line 37

def prefix
  @prefix
end