Class: DatadogAPIClient::V2::FlakyTestHistoryPolicyMetaConfig

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

Overview

Configuration parameters of the policy that triggered this status change.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v2/models/flaky_test_history_policy_meta_config.rb', line 45

def additional_properties
  @additional_properties
end

#branchesObject

The branches considered by the policy.



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

def branches
  @branches
end

#days_activeObject

The number of days a test must have been active for the policy to trigger.



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

def days_active
  @days_active
end

#failure_rateObject

The failure rate threshold for the policy to trigger.



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

def failure_rate
  @failure_rate
end

#forget_branchesObject

Branches excluded from the policy evaluation.



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

def forget_branches
  @forget_branches
end

#required_runsObject

The minimum number of test runs required for the policy to trigger.



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

def required_runs
  @required_runs
end

#stateObject

The target state the policy transitions the test from.



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

def state
  @state
end

#test_servicesObject

Test services excluded from the policy evaluation.



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

def test_services
  @test_services
end