Package com.datadog.api.client.v2.model
Class FlakyTestRunMetadata
java.lang.Object
com.datadog.api.client.v2.model.FlakyTestRunMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FlakyTestRunMetadata
extends Object
Metadata about the latest failed test run of the flaky test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondurationMs(Long durationMs) booleanReturn true if this FlakyTestRunMetadata object is equal to o.errorMessage(String errorMessage) errorStack(String errorStack) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The duration of the test run in milliseconds.org.openapitools.jackson.nullable.JsonNullable<Long>The error message from the test failure.org.openapitools.jackson.nullable.JsonNullable<String>The stack trace from the test failure.org.openapitools.jackson.nullable.JsonNullable<String>The line number where the test ends in the source file.org.openapitools.jackson.nullable.JsonNullable<Long>The source file where the test is defined.org.openapitools.jackson.nullable.JsonNullable<String>The line number where the test starts in the source file.org.openapitools.jackson.nullable.JsonNullable<Long>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDurationMs(Long durationMs) voidsetDurationMs_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> durationMs) voidsetErrorMessage(String errorMessage) voidsetErrorMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorMessage) voidsetErrorStack(String errorStack) voidsetErrorStack_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorStack) voidsetSourceEnd(Long sourceEnd) voidsetSourceEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceEnd) voidsetSourceFile(String sourceFile) voidsetSourceFile_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourceFile) voidsetSourceStart(Long sourceStart) voidsetSourceStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceStart) sourceFile(String sourceFile) sourceStart(Long sourceStart) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION_MS
- See Also:
-
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_ERROR_STACK
- See Also:
-
JSON_PROPERTY_SOURCE_END
- See Also:
-
JSON_PROPERTY_SOURCE_FILE
- See Also:
-
JSON_PROPERTY_SOURCE_START
- See Also:
-
-
Constructor Details
-
FlakyTestRunMetadata
public FlakyTestRunMetadata()
-
-
Method Details
-
durationMs
-
getDurationMs
The duration of the test run in milliseconds.- Returns:
- durationMs
-
getDurationMs_JsonNullable
-
setDurationMs_JsonNullable
public void setDurationMs_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> durationMs) -
setDurationMs
-
errorMessage
-
getErrorMessage
The error message from the test failure.- Returns:
- errorMessage
-
getErrorMessage_JsonNullable
-
setErrorMessage_JsonNullable
public void setErrorMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorMessage) -
setErrorMessage
-
errorStack
-
getErrorStack
The stack trace from the test failure.- Returns:
- errorStack
-
getErrorStack_JsonNullable
-
setErrorStack_JsonNullable
public void setErrorStack_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> errorStack) -
setErrorStack
-
sourceEnd
-
getSourceEnd
The line number where the test ends in the source file.- Returns:
- sourceEnd
-
getSourceEnd_JsonNullable
-
setSourceEnd_JsonNullable
public void setSourceEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceEnd) -
setSourceEnd
-
sourceFile
-
getSourceFile
The source file where the test is defined.- Returns:
- sourceFile
-
getSourceFile_JsonNullable
-
setSourceFile_JsonNullable
public void setSourceFile_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sourceFile) -
setSourceFile
-
sourceStart
-
getSourceStart
The line number where the test starts in the source file.- Returns:
- sourceStart
-
getSourceStart_JsonNullable
-
setSourceStart_JsonNullable
public void setSourceStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> sourceStart) -
setSourceStart
-
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:
- FlakyTestRunMetadata
-
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 FlakyTestRunMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-