@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomAttributeValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_IS_MULTI |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomAttributeValue() |
CustomAttributeValue(Boolean isMulti,
CustomAttributeType type,
CustomAttributeValuesUnion value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this CustomAttributeValue 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 |
getIsMulti()
If true, value must be an array
|
CustomAttributeType |
getType()
The data type of the custom attribute, which determines the allowed values and UI input
control.
|
CustomAttributeValuesUnion |
getValue()
The value of a custom attribute.
|
int |
hashCode() |
CustomAttributeValue |
isMulti(Boolean isMulti) |
CustomAttributeValue |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setIsMulti(Boolean isMulti) |
void |
setType(CustomAttributeType type) |
void |
setValue(CustomAttributeValuesUnion value) |
String |
toString() |
CustomAttributeValue |
type(CustomAttributeType type) |
CustomAttributeValue |
value(CustomAttributeValuesUnion value) |
public boolean unparsed
public static final String JSON_PROPERTY_IS_MULTI
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VALUE
public CustomAttributeValue()
public CustomAttributeValue(Boolean isMulti, CustomAttributeType type, CustomAttributeValuesUnion value)
public CustomAttributeValue isMulti(Boolean isMulti)
public Boolean getIsMulti()
public void setIsMulti(Boolean isMulti)
public CustomAttributeValue type(CustomAttributeType type)
public CustomAttributeType getType()
public void setType(CustomAttributeType type)
public CustomAttributeValue value(CustomAttributeValuesUnion value)
public CustomAttributeValuesUnion getValue()
public void setValue(CustomAttributeValuesUnion value)
public CustomAttributeValue 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.