Class: DatadogAPIClient::V2::ExperimentsBanditV2ListDTODataAttributes

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

Overview

Summary of a bandit. Use Get bandit for its setup, active policy, and latest refresh.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



63
64
65
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 63

def additional_properties
  @additional_properties
end

#created_at ⇒ Object

When the bandit was created.



25
26
27
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 25

def created_at
  @created_at
end

#description ⇒ Object

The bandit's description.



28
29
30
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 28

def description
  @description
end

#ended_at ⇒ Object

When the bandit was stopped or reached its scheduled end. null while it hasn't ended.



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

def ended_at
  @ended_at
end

#metric_id ⇒ Object

The metric the bandit optimizes. null until set on a draft.



34
35
36
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 34

def metric_id
  @metric_id
end

#name ⇒ Object

The bandit's name.



37
38
39
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 37

def name
  @name
end

#optimal_variant_key ⇒ Object

The key of the arm most likely to be best, when one arm leads and the bandit is outside warmup. null otherwise.



40
41
42
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 40

def optimal_variant_key
  @optimal_variant_key
end

#optimal_variant_unavailable_reason ⇒ Object

Why no optimal variant is reported. Absent when one is, or when the cause isn't known.



43
44
45
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 43

def optimal_variant_unavailable_reason
  @optimal_variant_unavailable_reason
end

#started_at ⇒ Object

When the bandit started. null until it starts.



46
47
48
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 46

def started_at
  @started_at
end

#status ⇒ Object

The bandit's status. STOPPED means the bandit was stopped and serves the variant chosen then. COMPLETED means it reached its scheduled end and serves its fallback.



49
50
51
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 49

def status
  @status
end

#subject_type_id ⇒ Object

The subject type the bandit randomizes and measures by. null until set on a draft.



52
53
54
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 52

def subject_type_id
  @subject_type_id
end

#tags ⇒ Object

The bandit's tags, without team tags.



55
56
57
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 55

def tags
  @tags
end

#teams ⇒ Object

Handles of the teams that own the bandit.



58
59
60
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 58

def teams
  @teams
end

#updated_at ⇒ Object

When the bandit was last changed.



61
62
63
# File 'lib/datadog_api_client/v2/models/experiments_bandit_v2_list_dto_data_attributes.rb', line 61

def updated_at
  @updated_at
end