Class: DatadogAPIClient::V2::ExperimentsBanditPolicyVariantV2
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExperimentsBanditPolicyVariantV2
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/experiments_bandit_policy_variant_v2.rb
Overview
A variant's share of traffic under a policy.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#feature_flag_variant_id ⇒ Object
readonly
The variant's ID on the flag.
-
#probability ⇒ Object
readonly
The share of traffic the variant gets, from 0 to 1.
-
#variant_key ⇒ Object
The variant's key.
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/experiments_bandit_policy_variant_v2.rb', line 33 def additional_properties @additional_properties end |
#feature_flag_variant_id ⇒ Object
The variant's ID on the flag.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_policy_variant_v2.rb', line 25 def feature_flag_variant_id @feature_flag_variant_id end |
#probability ⇒ Object
The share of traffic the variant gets, from 0 to 1.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_policy_variant_v2.rb', line 28 def probability @probability end |
#variant_key ⇒ Object
The variant's key. null when it can't be resolved.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_policy_variant_v2.rb', line 31 def variant_key @variant_key end |