Package com.datadog.api.client.v2.model
Class FlakyTestHistory
java.lang.Object
com.datadog.api.client.v2.model.FlakyTestHistory
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FlakyTestHistory
extends Object
A single history entry representing a status change for a flaky test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this FlakyTestHistory object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The commit SHA associated with this status change.The policy that triggered this status change.Metadata about the policy that triggered this status change.The test status at this point in history.Unix timestamp in milliseconds when this status change occurred.inthashCode()policyId(FlakyTestHistoryPolicyId policyId) policyMeta(FlakyTestHistoryPolicyMeta policyMeta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCommitSha(String commitSha) voidsetPolicyId(FlakyTestHistoryPolicyId policyId) voidsetPolicyMeta(FlakyTestHistoryPolicyMeta policyMeta) voidvoidsetTimestamp(Long timestamp) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMMIT_SHA
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_POLICY_META
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TIMESTAMP
- See Also:
-
-
Constructor Details
-
FlakyTestHistory
public FlakyTestHistory() -
FlakyTestHistory
-
-
Method Details
-
commitSha
-
getCommitSha
The commit SHA associated with this status change. Will be an empty string if the commit SHA is not available.- Returns:
- commitSha
-
setCommitSha
-
policyId
-
getPolicyId
The policy that triggered this status change.- Returns:
- policyId
-
setPolicyId
-
policyMeta
-
getPolicyMeta
Metadata about the policy that triggered this status change.- Returns:
- policyMeta
-
setPolicyMeta
-
status
-
getStatus
The test status at this point in history.- Returns:
- status
-
setStatus
-
timestamp
-
getTimestamp
Unix timestamp in milliseconds when this status change occurred.- Returns:
- timestamp
-
setTimestamp
-
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:
- FlakyTestHistory
-
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 FlakyTestHistory object is equal to o. -
hashCode
public int hashCode() -
toString
-