@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FlakyTestHistoryPolicyMetaConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_BRANCHES |
static String |
JSON_PROPERTY_DAYS_ACTIVE |
static String |
JSON_PROPERTY_FAILURE_RATE |
static String |
JSON_PROPERTY_FORGET_BRANCHES |
static String |
JSON_PROPERTY_REQUIRED_RUNS |
static String |
JSON_PROPERTY_STATE |
static String |
JSON_PROPERTY_TEST_SERVICES |
boolean |
unparsed |
| Constructor and Description |
|---|
FlakyTestHistoryPolicyMetaConfig() |
| Modifier and Type | Method and Description |
|---|---|
FlakyTestHistoryPolicyMetaConfig |
addBranchesItem(String branchesItem) |
FlakyTestHistoryPolicyMetaConfig |
addForgetBranchesItem(String forgetBranchesItem) |
FlakyTestHistoryPolicyMetaConfig |
addTestServicesItem(String testServicesItem) |
FlakyTestHistoryPolicyMetaConfig |
branches(List<String> branches) |
FlakyTestHistoryPolicyMetaConfig |
daysActive(Integer daysActive) |
boolean |
equals(Object o)
Return true if this FlakyTestHistoryPolicyMetaConfig object is equal to o.
|
FlakyTestHistoryPolicyMetaConfig |
failureRate(Double failureRate) |
FlakyTestHistoryPolicyMetaConfig |
forgetBranches(List<String> forgetBranches) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getBranches_JsonNullable() |
List<String> |
getBranches()
The branches considered by the policy.
|
org.openapitools.jackson.nullable.JsonNullable<Integer> |
getDaysActive_JsonNullable() |
Integer |
getDaysActive()
The number of days a test must have been active for the policy to trigger.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getFailureRate_JsonNullable() |
Double |
getFailureRate()
The failure rate threshold for the policy to trigger.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getForgetBranches_JsonNullable() |
List<String> |
getForgetBranches()
Branches excluded from the policy evaluation.
|
org.openapitools.jackson.nullable.JsonNullable<Integer> |
getRequiredRuns_JsonNullable() |
Integer |
getRequiredRuns()
The minimum number of test runs required for the policy to trigger.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getState_JsonNullable() |
String |
getState()
The target state the policy transitions the test from.
|
org.openapitools.jackson.nullable.JsonNullable<List<String>> |
getTestServices_JsonNullable() |
List<String> |
getTestServices()
Test services excluded from the policy evaluation.
|
int |
hashCode() |
FlakyTestHistoryPolicyMetaConfig |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FlakyTestHistoryPolicyMetaConfig |
requiredRuns(Integer requiredRuns) |
void |
setBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> branches) |
void |
setBranches(List<String> branches) |
void |
setDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive) |
void |
setDaysActive(Integer daysActive) |
void |
setFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate) |
void |
setFailureRate(Double failureRate) |
void |
setForgetBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> forgetBranches) |
void |
setForgetBranches(List<String> forgetBranches) |
void |
setRequiredRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> requiredRuns) |
void |
setRequiredRuns(Integer requiredRuns) |
void |
setState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state) |
void |
setState(String state) |
void |
setTestServices_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> testServices) |
void |
setTestServices(List<String> testServices) |
FlakyTestHistoryPolicyMetaConfig |
state(String state) |
FlakyTestHistoryPolicyMetaConfig |
testServices(List<String> testServices) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_BRANCHES
public static final String JSON_PROPERTY_DAYS_ACTIVE
public static final String JSON_PROPERTY_FAILURE_RATE
public static final String JSON_PROPERTY_FORGET_BRANCHES
public static final String JSON_PROPERTY_REQUIRED_RUNS
public static final String JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_TEST_SERVICES
public FlakyTestHistoryPolicyMetaConfig branches(List<String> branches)
public FlakyTestHistoryPolicyMetaConfig addBranchesItem(String branchesItem)
@Nullable public List<String> getBranches()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getBranches_JsonNullable()
public void setBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> branches)
public FlakyTestHistoryPolicyMetaConfig daysActive(Integer daysActive)
@Nullable public Integer getDaysActive()
public org.openapitools.jackson.nullable.JsonNullable<Integer> getDaysActive_JsonNullable()
public void setDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive)
public void setDaysActive(Integer daysActive)
public FlakyTestHistoryPolicyMetaConfig failureRate(Double failureRate)
@Nullable public Double getFailureRate()
public org.openapitools.jackson.nullable.JsonNullable<Double> getFailureRate_JsonNullable()
public void setFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate)
public void setFailureRate(Double failureRate)
public FlakyTestHistoryPolicyMetaConfig forgetBranches(List<String> forgetBranches)
public FlakyTestHistoryPolicyMetaConfig addForgetBranchesItem(String forgetBranchesItem)
@Nullable public List<String> getForgetBranches()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getForgetBranches_JsonNullable()
public void setForgetBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> forgetBranches)
public FlakyTestHistoryPolicyMetaConfig requiredRuns(Integer requiredRuns)
@Nullable public Integer getRequiredRuns()
public org.openapitools.jackson.nullable.JsonNullable<Integer> getRequiredRuns_JsonNullable()
public void setRequiredRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> requiredRuns)
public void setRequiredRuns(Integer requiredRuns)
public FlakyTestHistoryPolicyMetaConfig state(String state)
@Nullable public String getState()
public org.openapitools.jackson.nullable.JsonNullable<String> getState_JsonNullable()
public void setState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state)
public void setState(String state)
public FlakyTestHistoryPolicyMetaConfig testServices(List<String> testServices)
public FlakyTestHistoryPolicyMetaConfig addTestServicesItem(String testServicesItem)
@Nullable public List<String> getTestServices()
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTestServices_JsonNullable()
public void setTestServices_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> testServices)
public FlakyTestHistoryPolicyMetaConfig putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.