Package com.datadog.api.client.v2.model
Class StateVariable
java.lang.Object
com.datadog.api.client.v2.model.StateVariable
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class StateVariable
extends Object
A variable, which can be set and read by other components in the app.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStateVariable(UUID id, String name, StateVariableProperties properties, StateVariableType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this StateVariable object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getId()The ID of the state variable.getName()A unique identifier for this state variable.The properties of the state variable.getType()The state variable type.inthashCode()properties(StateVariableProperties properties) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetProperties(StateVariableProperties properties) voidsetType(StateVariableType type) toString()type(StateVariableType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROPERTIES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
StateVariable
public StateVariable() -
StateVariable
public StateVariable(UUID id, String name, StateVariableProperties properties, StateVariableType type)
-
-
Method Details
-
id
-
getId
The ID of the state variable.- Returns:
- id
-
setId
-
name
-
getName
A unique identifier for this state variable. This name is also used to access the variable's value throughout the app.- Returns:
- name
-
setName
-
properties
-
getProperties
The properties of the state variable.- Returns:
- properties
-
setProperties
-
type
-
getType
The state variable type.- 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:
- StateVariable
-
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 StateVariable object is equal to o. -
hashCode
public int hashCode() -
toString
-