Package com.datadog.api.client.v2.model
Class Variant
java.lang.Object
com.datadog.api.client.v2.model.Variant
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Variant
extends Object
A variant of a feature flag.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this Variant object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp when the variant was created.getId()The unique identifier of the variant.getKey()The unique key of the variant.getName()The name of the variant.The timestamp when the variant was last updated.getValue()The value of the variant as a string.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidtoString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
Variant
public Variant() -
Variant
-
-
Method Details
-
createdAt
-
getCreatedAt
The timestamp when the variant was created.- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
The unique identifier of the variant.- Returns:
- id
-
setId
-
key
-
getKey
The unique key of the variant.- Returns:
- key
-
setKey
-
name
-
getName
The name of the variant.- Returns:
- name
-
setName
-
updatedAt
-
getUpdatedAt
The timestamp when the variant was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
value
-
getValue
The value of the variant as a string.- 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:
- Variant
-
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 Variant object is equal to o. -
hashCode
public int hashCode() -
toString
-