@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Variant extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_KEY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
Variant() |
Variant(UUID id,
String key,
String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
Variant |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o)
Return true if this Variant 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.
|
OffsetDateTime |
getCreatedAt()
The timestamp when the variant was created.
|
UUID |
getId()
The unique identifier of the variant.
|
String |
getKey()
The unique key of the variant.
|
String |
getName()
The name of the variant.
|
OffsetDateTime |
getUpdatedAt()
The timestamp when the variant was last updated.
|
String |
getValue()
The value of the variant as a string.
|
int |
hashCode() |
Variant |
id(UUID id) |
Variant |
key(String key) |
Variant |
name(String name) |
Variant |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setKey(String key) |
void |
setName(String name) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setValue(String value) |
String |
toString() |
Variant |
updatedAt(OffsetDateTime updatedAt) |
Variant |
value(String value) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_VALUE
public Variant createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public UUID getId()
public void setId(UUID id)
public String getKey()
public void setKey(String key)
public String getName()
public void setName(String name)
public Variant updatedAt(OffsetDateTime updatedAt)
@Nullable public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public String getValue()
public void setValue(String value)
public Variant 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.