Package com.datadog.api.client.v2.model
Class FlakyTestHistoryPolicyMetaConfig
java.lang.Object
com.datadog.api.client.v2.model.FlakyTestHistoryPolicyMetaConfig
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FlakyTestHistoryPolicyMetaConfig
extends Object
Configuration parameters of the policy that triggered this status change.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBranchesItem(String branchesItem) addForgetBranchesItem(String forgetBranchesItem) addTestServicesItem(String testServicesItem) daysActive(Integer daysActive) booleanReturn true if this FlakyTestHistoryPolicyMetaConfig object is equal to o.failureRate(Double failureRate) forgetBranches(List<String> forgetBranches) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The branches considered by the policy.The number of days a test must have been active for the policy to trigger.org.openapitools.jackson.nullable.JsonNullable<Integer>The failure rate threshold for the policy to trigger.org.openapitools.jackson.nullable.JsonNullable<Double>Branches excluded from the policy evaluation.The minimum number of test runs required for the policy to trigger.org.openapitools.jackson.nullable.JsonNullable<Integer>getState()The target state the policy transitions the test from.org.openapitools.jackson.nullable.JsonNullable<String>Test services excluded from the policy evaluation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requiredRuns(Integer requiredRuns) voidsetBranches(List<String> branches) voidsetBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> branches) voidsetDaysActive(Integer daysActive) voidsetDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive) voidsetFailureRate(Double failureRate) voidsetFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate) voidsetForgetBranches(List<String> forgetBranches) voidsetForgetBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> forgetBranches) voidsetRequiredRuns(Integer requiredRuns) voidsetRequiredRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> requiredRuns) voidvoidsetState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state) voidsetTestServices(List<String> testServices) voidsetTestServices_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> testServices) testServices(List<String> testServices) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BRANCHES
- See Also:
-
JSON_PROPERTY_DAYS_ACTIVE
- See Also:
-
JSON_PROPERTY_FAILURE_RATE
- See Also:
-
JSON_PROPERTY_FORGET_BRANCHES
- See Also:
-
JSON_PROPERTY_REQUIRED_RUNS
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TEST_SERVICES
- See Also:
-
-
Constructor Details
-
FlakyTestHistoryPolicyMetaConfig
public FlakyTestHistoryPolicyMetaConfig()
-
-
Method Details
-
branches
-
addBranchesItem
-
getBranches
The branches considered by the policy.- Returns:
- branches
-
getBranches_JsonNullable
-
setBranches_JsonNullable
-
setBranches
-
daysActive
-
getDaysActive
The number of days a test must have been active for the policy to trigger. maximum: 2147483647- Returns:
- daysActive
-
getDaysActive_JsonNullable
-
setDaysActive_JsonNullable
public void setDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive) -
setDaysActive
-
failureRate
-
getFailureRate
The failure rate threshold for the policy to trigger. minimum: 0 maximum: 1- Returns:
- failureRate
-
getFailureRate_JsonNullable
-
setFailureRate_JsonNullable
public void setFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate) -
setFailureRate
-
forgetBranches
-
addForgetBranchesItem
-
getForgetBranches
Branches excluded from the policy evaluation.- Returns:
- forgetBranches
-
getForgetBranches_JsonNullable
-
setForgetBranches_JsonNullable
-
setForgetBranches
-
requiredRuns
-
getRequiredRuns
The minimum number of test runs required for the policy to trigger. maximum: 2147483647- Returns:
- requiredRuns
-
getRequiredRuns_JsonNullable
-
setRequiredRuns_JsonNullable
public void setRequiredRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> requiredRuns) -
setRequiredRuns
-
state
-
getState
The target state the policy transitions the test from.- Returns:
- state
-
getState_JsonNullable
-
setState_JsonNullable
-
setState
-
testServices
-
addTestServicesItem
-
getTestServices
Test services excluded from the policy evaluation.- Returns:
- testServices
-
getTestServices_JsonNullable
-
setTestServices_JsonNullable
-
setTestServices
-
putAdditionalProperty
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:
- FlakyTestHistoryPolicyMetaConfig
-
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 FlakyTestHistoryPolicyMetaConfig object is equal to o. -
hashCode
public int hashCode() -
toString
-