Class: DatadogAPIClient::V2::ExperimentsExperimentV2DTODataAttributesVariantsItems
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ExperimentsExperimentV2DTODataAttributesVariantsItems
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb
Overview
Variant in an experiment, with its identity and traffic allocation.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#feature_flag_variant_id ⇒ Object
Backing feature flag variant ID.
-
#is_active ⇒ Object
readonly
Whether this variant participates in the experiment.
-
#is_control ⇒ Object
readonly
Whether this is the single control variant.
-
#key ⇒ Object
readonly
Value recorded in exposure data for this variant.
-
#name ⇒ Object
Display name of the experiment variant.
-
#weight ⇒ Object
readonly
Traffic allocation percentage.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 42 def additional_properties @additional_properties end |
#feature_flag_variant_id ⇒ Object
Backing feature flag variant ID. Present for Datadog feature flag experiments and omitted for Warehouse experiments.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 25 def feature_flag_variant_id @feature_flag_variant_id end |
#is_active ⇒ Object
Whether this variant participates in the experiment.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 28 def is_active @is_active end |
#is_control ⇒ Object
Whether this is the single control variant.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 31 def is_control @is_control end |
#key ⇒ Object
Value recorded in exposure data for this variant.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 34 def key @key end |
#name ⇒ Object
Display name of the experiment variant.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 37 def name @name end |
#weight ⇒ Object
Traffic allocation percentage.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/experiments_experiment_v2_dto_data_attributes_variants_items.rb', line 40 def weight @weight end |