@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SharedDashboardSelectableTemplateVariable extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALLOW_ANY_VALUE |
static String |
JSON_PROPERTY_DEFAULT_VALUES |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PREFIX |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VISIBLE_TAGS |
boolean |
unparsed |
| Constructor and Description |
|---|
SharedDashboardSelectableTemplateVariable() |
SharedDashboardSelectableTemplateVariable(Boolean allowAnyValue,
List<String> defaultValues,
String name,
String prefix,
String type,
List<String> visibleTags) |
| Modifier and Type | Method and Description |
|---|---|
SharedDashboardSelectableTemplateVariable |
addDefaultValuesItem(String defaultValuesItem) |
SharedDashboardSelectableTemplateVariable |
addVisibleTagsItem(String visibleTagsItem) |
SharedDashboardSelectableTemplateVariable |
allowAnyValue(Boolean allowAnyValue) |
SharedDashboardSelectableTemplateVariable |
defaultValues(List<String> defaultValues) |
boolean |
equals(Object o)
Return true if this SharedDashboardSelectableTemplateVariable object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getAllowAnyValue()
Whether viewers can see all tag values for the template variable and specify any value.
|
List<String> |
getDefaultValues()
Default selected values for the variable.
|
String |
getName()
Name of the template variable.
|
String |
getPrefix()
Tag prefix for the variable.
|
String |
getType()
Type of the template variable.
|
List<String> |
getVisibleTags()
Restricts which tag values are visible to the viewer.
|
int |
hashCode() |
SharedDashboardSelectableTemplateVariable |
name(String name) |
SharedDashboardSelectableTemplateVariable |
prefix(String prefix) |
SharedDashboardSelectableTemplateVariable |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAllowAnyValue(Boolean allowAnyValue) |
void |
setDefaultValues(List<String> defaultValues) |
void |
setName(String name) |
void |
setPrefix(String prefix) |
void |
setType(String type) |
void |
setVisibleTags(List<String> visibleTags) |
String |
toString() |
SharedDashboardSelectableTemplateVariable |
type(String type) |
SharedDashboardSelectableTemplateVariable |
visibleTags(List<String> visibleTags) |
public boolean unparsed
public static final String JSON_PROPERTY_ALLOW_ANY_VALUE
public static final String JSON_PROPERTY_DEFAULT_VALUES
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PREFIX
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VISIBLE_TAGS
public SharedDashboardSelectableTemplateVariable()
public SharedDashboardSelectableTemplateVariable allowAnyValue(Boolean allowAnyValue)
public Boolean getAllowAnyValue()
public void setAllowAnyValue(Boolean allowAnyValue)
public SharedDashboardSelectableTemplateVariable defaultValues(List<String> defaultValues)
public SharedDashboardSelectableTemplateVariable addDefaultValuesItem(String defaultValuesItem)
public List<String> getDefaultValues()
public SharedDashboardSelectableTemplateVariable name(String name)
public String getName()
public void setName(String name)
public SharedDashboardSelectableTemplateVariable prefix(String prefix)
public String getPrefix()
public void setPrefix(String prefix)
public SharedDashboardSelectableTemplateVariable type(String type)
public String getType()
public void setType(String type)
public SharedDashboardSelectableTemplateVariable visibleTags(List<String> visibleTags)
public SharedDashboardSelectableTemplateVariable addVisibleTagsItem(String visibleTagsItem)
public List<String> getVisibleTags()
public SharedDashboardSelectableTemplateVariable putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.