Package com.datadog.api.client.v2.model
Class CreateSnapshotTemplateVariable
java.lang.Object
com.datadog.api.client.v2.model.CreateSnapshotTemplateVariable
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateSnapshotTemplateVariable
extends Object
A template variable definition for snapshot rendering.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateSnapshotTemplateVariable(String name, String prefix, List<String> values) -
Method Summary
Modifier and TypeMethodDescriptionaddValuesItem(String valuesItem) booleanReturn true if this CreateSnapshotTemplateVariable object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()The template variable name.The tag prefix associated with the template variable.The list of scoped values for this template variable.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PREFIX
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
CreateSnapshotTemplateVariable
public CreateSnapshotTemplateVariable() -
CreateSnapshotTemplateVariable
-
-
Method Details
-
name
-
getName
The template variable name.- Returns:
- name
-
setName
-
prefix
-
getPrefix
The tag prefix associated with the template variable. For example, a prefix ofhostwith a value ofweb-server-1scopes the snapshot tohost:web-server-1.- Returns:
- prefix
-
setPrefix
-
values
-
addValuesItem
-
getValues
The list of scoped values for this template variable.- Returns:
- values
-
setValues
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- CreateSnapshotTemplateVariable
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CreateSnapshotTemplateVariable object is equal to o. -
hashCode
public int hashCode() -
toString
-