Class: DatadogAPIClient::V2::VariantWeightRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::VariantWeightRequest
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/variant_weight_request.rb
Overview
Variant weight request payload.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#value ⇒ Object
readonly
The percentage weight for this variant.
-
#variant_id ⇒ Object
The variant ID to assign weight to.
-
#variant_key ⇒ Object
The variant key to assign weight to.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/variant_weight_request.rb', line 33 def additional_properties @additional_properties end |
#value ⇒ Object
The percentage weight for this variant.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/variant_weight_request.rb', line 25 def value @value end |
#variant_id ⇒ Object
The variant ID to assign weight to.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/variant_weight_request.rb', line 28 def variant_id @variant_id end |
#variant_key ⇒ Object
The variant key to assign weight to.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/variant_weight_request.rb', line 31 def variant_key @variant_key end |