Package com.datadog.api.client.v2.model
Class CustomAttributeValue
java.lang.Object
com.datadog.api.client.v2.model.CustomAttributeValue
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomAttributeValue
extends Object
A typed value for a custom attribute on a specific case.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomAttributeValue(Boolean isMulti, CustomAttributeType type, CustomAttributeValuesUnion value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CustomAttributeValue object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.If true, value must be an arraygetType()The data type of the custom attribute, which determines the allowed values and UI input control.getValue()The value of a custom attribute.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsMulti(Boolean isMulti) voidsetType(CustomAttributeType type) voidtoString()type(CustomAttributeType type) value(CustomAttributeValuesUnion value)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_MULTI
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
CustomAttributeValue
public CustomAttributeValue() -
CustomAttributeValue
public CustomAttributeValue(Boolean isMulti, CustomAttributeType type, CustomAttributeValuesUnion value)
-
-
Method Details
-
isMulti
-
getIsMulti
If true, value must be an array- Returns:
- isMulti
-
setIsMulti
-
type
-
getType
The data type of the custom attribute, which determines the allowed values and UI input control.- Returns:
- type
-
setType
-
value
-
getValue
The value of a custom attribute. The accepted format depends on the attribute's type and whether it accepts multiple values.- Returns:
- value
-
setValue
-
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:
- CustomAttributeValue
-
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 CustomAttributeValue object is equal to o. -
hashCode
public int hashCode() -
toString
-