Package com.datadog.api.client.v1.model
Class SyntheticsConfigVariable
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsConfigVariable
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsConfigVariable
extends Object
Object defining a variable that can be used in your test configuration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsConfigVariable object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Example for the variable.getId()ID of the variable for global variables.getName()Name of the variable.Pattern of the variable.Whether the value of this variable will be obfuscated in test results.getType()Type of the configuration variable.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetExample(String example) voidvoidvoidsetPattern(String pattern) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EXAMPLE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_SECURE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsConfigVariable
public SyntheticsConfigVariable() -
SyntheticsConfigVariable
-
-
Method Details
-
example
-
getExample
Example for the variable.- Returns:
- example
-
setExample
-
id
-
getId
ID of the variable for global variables.- Returns:
- id
-
setId
-
name
-
getName
Name of the variable.- Returns:
- name
-
setName
-
pattern
-
getPattern
Pattern of the variable.- Returns:
- pattern
-
setPattern
-
secure
-
getSecure
Whether the value of this variable will be obfuscated in test results. Only for config variables of typetext.- Returns:
- secure
-
setSecure
-
type
-
getType
Type of the configuration variable.- Returns:
- type
-
setType
-
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:
- SyntheticsConfigVariable
-
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 SyntheticsConfigVariable object is equal to o. -
hashCode
public int hashCode() -
toString
-