Package com.datadog.api.client.v2.model
Class FlakyTestHistoryPolicyMeta
java.lang.Object
com.datadog.api.client.v2.model.FlakyTestHistoryPolicyMeta
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FlakyTestHistoryPolicyMeta
extends Object
Metadata about the policy that triggered this status change.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBranchesItem(String branchesItem) daysActive(Integer daysActive) daysWithoutFlake(Integer daysWithoutFlake) booleanReturn true if this FlakyTestHistoryPolicyMeta object is equal to o.failureRate(Double failureRate) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Branches where the test was flaky at the time of the status change.Configuration parameters of the policy that triggered this status change.The number of days the test has been active at the time of the status change.org.openapitools.jackson.nullable.JsonNullable<Integer>The number of days since the test last exhibited flakiness.org.openapitools.jackson.nullable.JsonNullable<Integer>The failure rate of the test at the time of the status change.org.openapitools.jackson.nullable.JsonNullable<Double>getState()The previous state of the test.org.openapitools.jackson.nullable.JsonNullable<String>The total number of test runs at the time of the status change.org.openapitools.jackson.nullable.JsonNullable<Integer>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBranches(List<String> branches) voidsetBranches_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> branches) voidvoidsetDaysActive(Integer daysActive) voidsetDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive) voidsetDaysWithoutFlake(Integer daysWithoutFlake) voidsetDaysWithoutFlake_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysWithoutFlake) voidsetFailureRate(Double failureRate) voidsetFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate) voidvoidsetState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state) voidsetTotalRuns(Integer totalRuns) voidsetTotalRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> totalRuns) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BRANCHES
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_DAYS_ACTIVE
- See Also:
-
JSON_PROPERTY_DAYS_WITHOUT_FLAKE
- See Also:
-
JSON_PROPERTY_FAILURE_RATE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TOTAL_RUNS
- See Also:
-
-
Constructor Details
-
FlakyTestHistoryPolicyMeta
public FlakyTestHistoryPolicyMeta()
-
-
Method Details
-
branches
-
addBranchesItem
-
getBranches
Branches where the test was flaky at the time of the status change.- Returns:
- branches
-
getBranches_JsonNullable
-
setBranches_JsonNullable
-
setBranches
-
config
-
getConfig
Configuration parameters of the policy that triggered this status change.- Returns:
- config
-
setConfig
-
daysActive
-
getDaysActive
The number of days the test has been active at the time of the status change. maximum: 2147483647- Returns:
- daysActive
-
getDaysActive_JsonNullable
-
setDaysActive_JsonNullable
public void setDaysActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysActive) -
setDaysActive
-
daysWithoutFlake
-
getDaysWithoutFlake
The number of days since the test last exhibited flakiness. maximum: 2147483647- Returns:
- daysWithoutFlake
-
getDaysWithoutFlake_JsonNullable
-
setDaysWithoutFlake_JsonNullable
public void setDaysWithoutFlake_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> daysWithoutFlake) -
setDaysWithoutFlake
-
failureRate
-
getFailureRate
The failure rate of the test at the time of the status change. minimum: 0 maximum: 1- Returns:
- failureRate
-
getFailureRate_JsonNullable
-
setFailureRate_JsonNullable
public void setFailureRate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> failureRate) -
setFailureRate
-
state
-
getState
The previous state of the test.- Returns:
- state
-
getState_JsonNullable
-
setState_JsonNullable
-
setState
-
totalRuns
-
getTotalRuns
The total number of test runs at the time of the status change. maximum: 2147483647- Returns:
- totalRuns
-
getTotalRuns_JsonNullable
-
setTotalRuns_JsonNullable
public void setTotalRuns_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> totalRuns) -
setTotalRuns
-
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:
- FlakyTestHistoryPolicyMeta
-
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 FlakyTestHistoryPolicyMeta object is equal to o. -
hashCode
public int hashCode() -
toString
-