Class: DatadogAPIClient::V2::ExperimentsBanditVariantV2
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExperimentsBanditVariantV2
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb
Overview
A flag variant the bandit uses.
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.
-
#is_active ⇒ Object
readonly
Whether the variant is one of the arms the bandit chooses between.
-
#is_fallback ⇒ Object
readonly
Whether the variant is served when the bandit reaches its scheduled end.
-
#key ⇒ Object
The variant's key.
-
#name ⇒ Object
The variant's name on the flag.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb', line 39 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_variant_v2.rb', line 25 def feature_flag_variant_id @feature_flag_variant_id end |
#is_active ⇒ Object
Whether the variant is one of the arms the bandit chooses between.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb', line 28 def is_active @is_active end |
#is_fallback ⇒ Object
Whether the variant is served when the bandit reaches its scheduled end. At most one variant is the fallback.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb', line 31 def is_fallback @is_fallback end |
#key ⇒ Object
The variant's key. An arm keeps the key it had when it was added, because exposures are matched on it. null only for a fallback deleted from the flag.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb', line 34 def key @key end |
#name ⇒ Object
The variant's name on the flag. null when it is no longer on the flag.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_v2.rb', line 37 def name @name end |