Class DashboardTemplateVariable

java.lang.Object
com.datadog.api.client.v1.model.DashboardTemplateVariable

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DashboardTemplateVariable extends Object
Template variable.
  • Field Details

  • Constructor Details

    • DashboardTemplateVariable

      public DashboardTemplateVariable()
    • DashboardTemplateVariable

      public DashboardTemplateVariable(String name)
  • Method Details

    • availableValues

      public DashboardTemplateVariable availableValues(List<String> availableValues)
    • addAvailableValuesItem

      public DashboardTemplateVariable addAvailableValuesItem(String availableValuesItem)
    • getAvailableValues

      @Nullable public List<String> getAvailableValues()
      The list of values that the template variable drop-down is limited to.
      Returns:
      availableValues
    • getAvailableValues_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getAvailableValues_JsonNullable()
    • setAvailableValues_JsonNullable

      public void setAvailableValues_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> availableValues)
    • setAvailableValues

      public void setAvailableValues(List<String> availableValues)
    • _default

      public DashboardTemplateVariable _default(String _default)
    • getDefault

      @Deprecated @Nullable public String getDefault()
      Deprecated.
      (deprecated) The default value for the template variable on dashboard load. Cannot be used in conjunction with defaults.
      Returns:
      _default
    • getDefault_JsonNullable

      @Deprecated public org.openapitools.jackson.nullable.JsonNullable<String> getDefault_JsonNullable()
      Deprecated.
    • setDefault_JsonNullable

      public void setDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> _default)
    • setDefault

      public void setDefault(String _default)
    • defaults

      public DashboardTemplateVariable defaults(List<String> defaults)
    • addDefaultsItem

      public DashboardTemplateVariable addDefaultsItem(String defaultsItem)
    • getDefaults

      @Nullable public List<String> getDefaults()
      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.
      Returns:
      defaults
    • setDefaults

      public void setDefaults(List<String> defaults)
    • name

      public DashboardTemplateVariable name(String name)
    • getName

      public String getName()
      The name of the variable.
      Returns:
      name
    • setName

      public void setName(String name)
    • prefix

      public DashboardTemplateVariable prefix(String prefix)
    • getPrefix

      @Nullable public String getPrefix()
      The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.
      Returns:
      prefix
    • getPrefix_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getPrefix_JsonNullable()
    • setPrefix_JsonNullable

      public void setPrefix_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> prefix)
    • setPrefix

      public void setPrefix(String prefix)
    • type

      public DashboardTemplateVariable type(String type)
    • getType

      @Nullable public String getType()
      The type of variable. This is to differentiate between filter variables (interpolated in query) and group by variables (interpolated into group by).
      Returns:
      type
    • getType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getType_JsonNullable()
    • setType_JsonNullable

      public void setType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> type)
    • setType

      public void setType(String type)
    • putAdditionalProperty

      public DashboardTemplateVariable putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      DashboardTemplateVariable
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this DashboardTemplateVariable object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object