Package com.datadog.api.client.v2.model
Class VariantWeight
java.lang.Object
com.datadog.api.client.v2.model.VariantWeight
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class VariantWeight
extends Object
Variant weight details.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this VariantWeight object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp when the variant weight was created.getId()Unique identifier of the variant weight assignment.The timestamp when the variant weight was last updated.getValue()The percentage weight for the variant.A variant of a feature flag.The variant ID.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidvoidsetVariant(Variant variant) voidsetVariantId(UUID variantId) toString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VARIANT
- See Also:
-
JSON_PROPERTY_VARIANT_ID
- See Also:
-
-
Constructor Details
-
VariantWeight
public VariantWeight() -
VariantWeight
-
-
Method Details
-
createdAt
-
getCreatedAt
The timestamp when the variant weight was created.- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
Unique identifier of the variant weight assignment.- Returns:
- id
-
setId
-
updatedAt
-
getUpdatedAt
The timestamp when the variant weight was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
value
-
getValue
The percentage weight for the variant.- Returns:
- value
-
setValue
-
variant
-
getVariant
A variant of a feature flag.- Returns:
- variant
-
setVariant
-
variantId
-
getVariantId
The variant ID.- Returns:
- variantId
-
setVariantId
-
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:
- VariantWeight
-
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 VariantWeight object is equal to o. -
hashCode
public int hashCode() -
toString
-