Class: DatadogAPIClient::V2::ExperimentsBanditVariantInputV2

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/experiments_bandit_variant_input_v2.rb

Overview

A flag variant the bandit uses, named by its ID. The variant's key and name come from the flag and can't be set.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

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_variant_input_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_variant_input_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. Defaults to true.



28
29
30
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_input_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, and it doesn't have to be an arm. Defaults to false.



31
32
33
# File 'lib/datadog_api_client/v2/models/experiments_bandit_variant_input_v2.rb', line 31

def is_fallback
  @is_fallback
end