Package com.datadog.api.client.v2.model
Class TestOptimizationFlakyTestsManagementPoliciesDisabled
java.lang.Object
com.datadog.api.client.v2.model.TestOptimizationFlakyTestsManagementPoliciesDisabled
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TestOptimizationFlakyTestsManagementPoliciesDisabled
extends Object
Configuration for the disabled Flaky Tests Management policy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this TestOptimizationFlakyTestsManagementPoliciesDisabled object is equal to o.failureRateRule(TestOptimizationFlakyTestsManagementPoliciesDisabledFailureRateRule failureRateRule) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Automatic disable triggering rule based on a time window and test status.Branch filtering rule for a Flaky Tests Management policy.Whether the disabled policy is enabled.Failure-rate-based rule for the disabled policy.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetEnabled(Boolean enabled) voidsetFailureRateRule(TestOptimizationFlakyTestsManagementPoliciesDisabledFailureRateRule failureRateRule) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTO_DISABLE_RULE
- See Also:
-
JSON_PROPERTY_BRANCH_RULE
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FAILURE_RATE_RULE
- See Also:
-
-
Constructor Details
-
TestOptimizationFlakyTestsManagementPoliciesDisabled
public TestOptimizationFlakyTestsManagementPoliciesDisabled()
-
-
Method Details
-
autoDisableRule
public TestOptimizationFlakyTestsManagementPoliciesDisabled autoDisableRule(TestOptimizationFlakyTestsManagementPoliciesAutoDisableRule autoDisableRule) -
getAutoDisableRule
Automatic disable triggering rule based on a time window and test status.- Returns:
- autoDisableRule
-
setAutoDisableRule
public void setAutoDisableRule(TestOptimizationFlakyTestsManagementPoliciesAutoDisableRule autoDisableRule) -
branchRule
public TestOptimizationFlakyTestsManagementPoliciesDisabled branchRule(TestOptimizationFlakyTestsManagementPoliciesBranchRule branchRule) -
getBranchRule
Branch filtering rule for a Flaky Tests Management policy.- Returns:
- branchRule
-
setBranchRule
-
enabled
-
getEnabled
Whether the disabled policy is enabled.- Returns:
- enabled
-
setEnabled
-
failureRateRule
public TestOptimizationFlakyTestsManagementPoliciesDisabled failureRateRule(TestOptimizationFlakyTestsManagementPoliciesDisabledFailureRateRule failureRateRule) -
getFailureRateRule
@Nullable public TestOptimizationFlakyTestsManagementPoliciesDisabledFailureRateRule getFailureRateRule()Failure-rate-based rule for the disabled policy.- Returns:
- failureRateRule
-
setFailureRateRule
public void setFailureRateRule(TestOptimizationFlakyTestsManagementPoliciesDisabledFailureRateRule failureRateRule) -
putAdditionalProperty
public TestOptimizationFlakyTestsManagementPoliciesDisabled putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- TestOptimizationFlakyTestsManagementPoliciesDisabled
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this TestOptimizationFlakyTestsManagementPoliciesDisabled object is equal to o. -
hashCode
public int hashCode() -
toString
-