Package com.datadog.api.client.v2.model
Class VariantWeightRequest
java.lang.Object
com.datadog.api.client.v2.model.VariantWeightRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class VariantWeightRequest
extends Object
Variant weight request payload.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this VariantWeightRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getValue()The percentage weight for this variant.The variant ID to assign weight to.The variant key to assign weight to.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetVariantId(UUID variantId) voidsetVariantKey(String variantKey) toString()variantKey(String variantKey)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VARIANT_ID
- See Also:
-
JSON_PROPERTY_VARIANT_KEY
- See Also:
-
-
Constructor Details
-
VariantWeightRequest
public VariantWeightRequest() -
VariantWeightRequest
-
-
Method Details
-
value
-
getValue
The percentage weight for this variant.- Returns:
- value
-
setValue
-
variantId
-
getVariantId
The variant ID to assign weight to.- Returns:
- variantId
-
setVariantId
-
variantKey
-
getVariantKey
The variant key to assign weight to.- Returns:
- variantKey
-
setVariantKey
-
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:
- VariantWeightRequest
-
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 VariantWeightRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-